First, you need to determine access and refresh token with the following request:
Request
curl -X POST https://api.video-cdn.net/v1/vms/auth/login -H "Content-Type: application/json" -d "{
"username":"<USER NAME>",
"password":"<PASSWORD>"
}"
The following parameters must be added:
Prameter | Description |
---|---|
URL | The URL mentioned above refers to the gneral live instance of movingimage. Customers with their own instance must adjust the domain in the URL accordingly. |
USER NAME | User name for VideoManager |
PASSWORD | Password of the user |
Response
Sample HTTP-response
{ "accessToken": <ACCESS TOKEN>, "refreshToken": <REFRESH TOKEN>, "videoManagerList": [{"id":<VIDEOMANAGER ID>,"name":<VIDEOMANAGER NAME>}, {...}] "validForVideoManager": "<VIDEOMANAGER ID>" }