You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

DE

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:

PrameterDescription
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 NAMEUser name for VideoManager
PASSWORDPassword of the user


Response

Sample HTTP response
{
    "accessToken": <ACCESS TOKEN>,
    "refreshToken": <REFRESH TOKEN>,
    "videoManagerList": [{"id":<VIDEOMANAGER ID>,"name":<VIDEOMANAGER NAME>}, {...}]
    "validForVideoManager": "<VIDEOMANAGER ID>"
}