All URIs are relative to https://ws.api.video.
Method | Description | HTTP request |
---|---|---|
createToken() | Generate an upload token | POST /upload-tokens |
getToken() | Retrieve upload token | GET /upload-tokens/{uploadToken} |
deleteToken() | Delete an upload token | DELETE /upload-tokens/{uploadToken} |
list() | List all active upload tokens | GET /upload-tokens |
Generates an upload token that can be used to replace the API Key. More information can be found here
Name | Type | Description | Notes |
---|---|---|---|
tokenCreationPayload |
\ApiVideo\Client\Model\TokenCreationPayload |
\ApiVideo\Client\Model\UploadToken
Retrieve details about a specific upload token by id.
Name | Type | Description | Notes |
---|---|---|---|
uploadToken |
string | The unique identifier for the token you want information about. |
\ApiVideo\Client\Model\UploadToken
Delete an existing upload token. This is especially useful for tokens you may have created that do not expire.
Name | Type | Description | Notes |
---|---|---|---|
uploadToken |
string | The unique identifier for the upload token you want to delete. Deleting a token will make it so the token can no longer be used for authentication. |
void (empty response body)
Retrieve a list of all currently active delegated tokens.
Note: queryParams
argument is an associative array with the keys listed below.
Name | Type | Description | Notes |
---|---|---|---|
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 ATOM UTC format. | [optional] |
sortOrder |
string | Allowed: asc, desc. Ascending is 0-9 or A-Z. Descending is 9-0 or Z-A. | [optional] |
currentPage |
int | Choose the number of search results to return per page. Minimum value: 1 | [optional] [default to 1] |
pageSize |
int | Results per page. Allowed values 1-100, default is 25. | [optional] [default to 25] |