Chief Tools Logo

User

object

A user or actor in the system.

Implements

Entity·interface

An object with an ID.

Fields

id·ID!

The unique identifier for the object.

name·String!

The user name.

email·String!

The user email address.

timezone·String!

The timezone configured for the user.

createdAt·DateTime!

Identifies the date and time when the object was created.

preferences·[UserPreference!]!(2 args)

The user preferences.

Arguments
  • Indicate which preferences to retrieve by their key.

  • categories[String]!

    Indicates which preferences to retrieve by their category.

teams·[Team!]!

The teams the user belongs to.

linkById·Link(1 arg)

Retrieve a shortened URL by it's ID.

Arguments
  • idID!

    The ID of the short URL.

linkBySlug·Link(2 args)

Retrieve a shortened URL by it's slug.

Arguments
  • The slug of the short URL.

  • domainString

    The (custom) domain or (custom) domain ID that was used to generate the short URL with. Defaults to tny.app.

linkDomains·CustomDomainPaginator!(2 args)

Custom domains that can be used to shorten links.

Arguments
  • firstInt!= 10

    Limits number of fetched items. Maximum allowed value: 100.

  • pageInt

    The offset from which items are returned.

domainRedirects·CustomDomainPaginator!(2 args)

Custom domains that redirect to another location.

Arguments
  • firstInt!= 10

    Limits number of fetched items. Maximum allowed value: 100.

  • pageInt

    The offset from which items are returned.

List of shortened URLs.

Arguments
  • searchString

    Search for a specific original URL or short URL slug.

  • firstInt!= 10

    Limits number of fetched items. Maximum allowed value: 100.

  • pageInt

    The offset from which items are returned.