ShortUrl Object

Root Connection

All ShortUrl objects of an account are accessible by a query on the root connection shortUrls. Such a query will return a ShortUrlConnection!, which contains the ShortUrl objects in its nodes field.

shortUrls (ShortUrlConnection!)

Root connection for retrieving ShortUrl records.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

filter ShortUrlFilter

Filter to determine which ShortUrl records are returned.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

order [ShortUrlOrder!]

Order of the ShortUrl records returned.

view ShortUrlView

View name.

The default value is current_account.


The fields in this section list which values can be retrieved when querying ShortUrl records.

accessToken (String)

Unique token that someone who uses the short URL for a dashboard is asked to enter.

account (Account)

The account this record belongs to.

createdAt (ISO8601Timestamp)

The date and time at which the record was created.

dataType (ShortUrlDataType)

Kind of URI the short URL forwards to.

id (ID!)

Unique identifier of the object.

shortUrl (String)

The automatically generated website address that is forwarded to URI.

updatedAt (ISO8601Timestamp)

The date and time of the last update of the record. If the record has no updates it contains the createdAt value.

uri (String)

The uniform resource identifier (URI) to which the short URL is forwarded.


ShortUrl implements the following interfaces. This means that fragments defined on these interfaces may be used in queries returning a ShortUrl.