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.
Body
PARAM
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": "<string>",
"ttl": "<integer>",
"createdAt": "<dateTime>",
"expiresAt": "<dateTime>"
},
{
&q Curl curl -X GET 'https://ws.api.video/upload-tokens?sortBy=createdAt&sortOrder=asc¤tPage=1&pageSize=25?sortBy=createdAt&sortOrder=asc¤tPage=1&pageSize=25' -H 'Accept: application/json' ENDPOINTS |