V3 > Media
Creates a new token.
Changed onCreates a new token associated with the provided media based on the provided parameters.
post/2/vod/media/{media}/token
Request
- Base URL: https://api.infomaniak.com
- URL: https://api.infomaniak.com/2/vod/media/{media}/token
- Auth: HTTP bearer
Path parameters
mediastring required
Headers
X-Ik-Token-Enforce-Ipboolean
Extra header to pass if ip_address should be used, if this header isn't passed, the ip_address field will be ignored.
Request body
Example request
{
"expires_at": "\"toto\"",
"ip_address": "192.168.31.1",
"payload": "\"toto\"",
"salt": "\"toto\"",
"session": "\"toto\"",
"starts_at": "\"toto\"",
"strategy": "hls"
}Response
OK
Example response
{
"result": "success"
}Changes
- ○
endpoint added
- ○