ScaleEngine Virtual Usher system provides security on your streams and Video on Demand files.
SEVU token used for Playback Authentication.
Sample value:mystream.53ffc996dd39d5.39102367
Password used for Playback Authentication. This field can be used to store an identifier of the user this ticket is for, to allow matching logs and tracking abuse.
String
Sample value:user123|randomdata
A pipe (|) separated list of IP Restrictions: Single IP (1.1.1.1), IP range using CIDR notation (1.1.1.1/24), IP Detection (auto or auto/24) will use the first IP address to make a playback request, or 0.0.0.0/0 to allow any IP. Multiple IPs can be separated by a |, to allow only the first 2 subnets or similar.
String
Default:
Sample value:auto/24|auto/24
A pipe (|) separated list of videos to allow with optional wildcards (*)
String
Default:
Sample value:my_video.mp4|my_folder/*
A pipe (|) separated list of Application names to allow with optional wildcards (*)
The application name must begin with "username-"
Sample value:username-*
Number of times the token is allowed to be used
Integer
Sample value:999
Date and time the token was created
Sample value:2019-12-23 23:59:59
Date and time the token will expire
String
Default:+1 week
Sample value:2019-12-24 23:59:59
Date and time the token was last used
Sample value:2019-12-23 13:59:59
Password used for Playback Authentication. This field can be used to store an identifier of the user this ticket is for, to allow matching logs and tracking abuse.
Sample value:user123|randomdata
A pipe (|) separated list of IP Restrictions: Single IP (1.1.1.1), IP range using CIDR notation (1.1.1.1/24), IP Detection (auto or auto/24) will use the first IP address to make a playback request, or 0.0.0.0/0 to allow any IP. Multiple IPs can be separated by a |, to allow only the first 2 subnets or similar.
Sample value:auto/24|auto/24
A pipe (|) separated list of videos to allow with optional wildcards (*)
Sample value:my_video.mp4|my_folder/*
A pipe (|) separated list of Application names to allow with optional wildcards (*)
Sample value:username-*
Date and time the token was created
Sample value:2019-12-23 23:59:59
Date and time the token was last used
Sample value:2019-12-23 13:59:59
Attempt log entries for SEVU tickets
Get the SEVU Token object with id mystream.53ffc996dd39d5.39102367.
https://api.scaleengine.net/dev/v2/sevu_token/mystream.53ffc996dd39d5.39102367
curl --user 158:8fc8c48da81e6a2a06a9556379bf798af508dc0792497c678b4c3532ba8b637f https://api.scaleengine.net/dev/v2/sevu_token/mystream.53ffc996dd39d5.39102367
None
{ "id": "N/A", "cdn_id": "8123", "key": "mystream.53ffc996dd39d5.39102367", "pass": "user123|randomdata", "ip": "auto/24|auto/24", "video": "my_video.mp4|my_folder/*", "app": "username-*", "uses": 999, "active": true, "created_date": "2019-12-23 23:59:59", "expire_date": "2019-12-24 23:59:59", "used_date": "2019-12-23 13:59:59" }
Create a new SEVU Token object.
https://api.scaleengine.net/dev/v2/sevu_token
curl -X PUT --data-binary @/path/to/request/body --user 158:8fc8c48da81e6a2a06a9556379bf798af508dc0792497c678b4c3532ba8b637f https://api.scaleengine.net/dev/v2/sevu_token
{ "pass": "user123|randomdata", "ip": "auto/24|auto/24", "video": "my_video.mp4|my_folder/*", "app": "username-*", "uses": 999, "active": true, "expire_date": "2019-12-24 23:59:59" }
{ "id": "N/A", "cdn_id": "8123", "key": "mystream.53ffc996dd39d5.39102367", "pass": "user123|randomdata", "ip": "auto/24|auto/24", "video": "my_video.mp4|my_folder/*", "app": "username-*", "uses": 999, "active": true, "created_date": "2019-12-23 23:59:59", "expire_date": "2019-12-24 23:59:59", "used_date": "2019-12-23 13:59:59" }
Update the SEVU Token object with id mystream.53ffc996dd39d5.39102367.
https://api.scaleengine.net/dev/v2/sevu_token/mystream.53ffc996dd39d5.39102367
curl -X POST --data-binary @/path/to/request/body --user 158:8fc8c48da81e6a2a06a9556379bf798af508dc0792497c678b4c3532ba8b637f https://api.scaleengine.net/dev/v2/sevu_token/mystream.53ffc996dd39d5.39102367
{ "active": true, "expire_date": "2019-12-24 23:59:59" }
{ "id": "N/A", "cdn_id": "8123", "key": "mystream.53ffc996dd39d5.39102367", "pass": "user123|randomdata", "ip": "auto/24|auto/24", "video": "my_video.mp4|my_folder/*", "app": "username-*", "uses": 999, "active": true, "created_date": "2019-12-23 23:59:59", "expire_date": "2019-12-24 23:59:59", "used_date": "2019-12-23 13:59:59" }
Delete the SEVU Token object with id mystream.53ffc996dd39d5.39102367.
https://api.scaleengine.net/dev/v2/sevu_token/mystream.53ffc996dd39d5.39102367
curl -X DELETE --user 158:8fc8c48da81e6a2a06a9556379bf798af508dc0792497c678b4c3532ba8b637f https://api.scaleengine.net/dev/v2/sevu_token/mystream.53ffc996dd39d5.39102367
None