List all active upload tokens
GET {{baseUrl}}/upload-tokens?sortBy=createdAt&sortOrder=asc¤tPage=1&pageSize=25
Retrieve a list of all currently active delegated tokens.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
sortBy | string | 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 ISO-8601 format. | |
sortOrder | string | Allowed: asc, desc. Ascending is 0-9 or A-Z. Descending is 9-0 or Z-A. | |
currentPage | number | Choose the number of search results to return per page. Minimum value: 1 | |
pageSize | number | Results per page. Allowed values 1-100, default is 25. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"data":[{"token":"\u003cstring\u003e","ttl":"\u003cinteger\u003e","createdAt":"\u003cdateTime\u003e","expiresAt":"\u003cdateTime\u003e"},{"token":"\u003cstring\u003e","ttl":"\u003cinteger\u003e","createdAt":"\u003cdateTime\u003e","expiresAt":"\u003cdateTime\u003e"}],"pagination":{"links":[{"rel":"\u003cstring\u003e","uri":"\u003curi\u003e"},{"rel":"\u003cstring\u003e","uri":"\u003curi\u003e"}],"itemsTotal":"\u003cinteger\u003e","pagesTotal":"\u003cinteger\u003e","pageSize":"\u003cinteger\u003e","currentPage":"\u003cinteger\u003e","currentPageItems":"\u003cinteger\u003e"}}