İçeriğe geç
R-Service R-Service
Документация Р-Сервис

ShortUrl Object

Bu içerik henüz dilinizde mevcut değil.

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.

ArgumentTypeDescription
afterStringReturns the elements in the list that come after the specified cursor.
beforeStringReturns the elements in the list that come before the specified cursor.
filterShortUrlFilterFilter to determine which ShortUrl records are returned.
firstIntReturns the first n elements from the list.
lastIntReturns the last n elements from the list.
orderShortUrlOrderOrder of the ShortUrl records returned.
viewShortUrlViewView 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 record.

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.