Upload Tokens

List all active upload tokens

Retrieve a list of all currently active delegated tokens.

get/upload-tokens

Query parameters

sortBy'createdAt' | 'ttl'

Allowed: createdAt, ttl. You can use these to sort by when a token was created, or how much longer the token will be active (ttl - time to live). Date and time is presented in ATOM UTC format.

sortOrder'asc' | 'desc'

Allowed: asc, desc. Ascending is 0-9 or A-Z. Descending is 9-0 or Z-A.

currentPageinteger

Choose the number of search results to return per page. Minimum value: 1

pageSizeinteger

Results per page. Allowed values 1-100, default is 25.

Response

Success

Example response

{
  "pagination": {
    "itemsTotal": 123,
    "pagesTotal": 7,
    "pageSize": 20,
    "currentPage": 3,
    "currentPageItems": 20,
    "links": {
      "first": {
        "rel": "first",
        "uri": "/videos/search?currentPage=1&pageSize=20"
      },
      "previous": {
        "rel": "previous",
        "uri": "/videos/search?currentPage=2&pageSize=20"
      },
      "next": {
        "rel": "next",
        "uri": "/videos/search?currentPage=4&pageSize=20"
      },
      "last": {
        "rel": "last",
        "uri": "/videos/search?currentPage=6&pageSize=20"
      }
    }
  },
  "data": [
    {
      "createdAt": "2019-12-16T08:25:51Z",
      "ttl": 171976544,
      "expiresAt": "2019-12-16T09:25:51Z",
      "token": "to1tcmSFHeYY5KzyhOqVKMKb"
    },
    {
      "createdAt": "2019-12-16T08:25:51Z",
      "ttl": 171976544,
      "expiresAt": "2019-12-16T09:25:51Z",
      "token": "to1tcmSFHeYY5KzyhOqVKMKb"
    }
  ]
}

Changes

Changed in 3 of the 50 revisions of this API.36

    • added the non-success response with the status 429

      response-non-success-status-added

    • the endpoint scheme security apiKey was added to the API

      api-security-added

    • the endpoint scheme security bearerAuth was removed from the API

      api-security-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the optional response header X-RateLimit-Limit removed for the status 200

      optional-response-header-removed

    • the optional response header X-RateLimit-Remaining removed for the status 200

      optional-response-header-removed

    • the optional response header X-RateLimit-Retry-After removed for the status 200

      optional-response-header-removed

    • the endpoint scheme security bearerAuth was added to the API

      api-security-added

    • the endpoint scheme security apiKey was removed from the API

      api-security-removed

    • removed the non-success response with the status 429

      response-non-success-status-removed

    This revision also has 32 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

Of the 50 revisions, 1 has no diff computed.