Last Updated on : 2023-06-20 14:53:44download
Generate a key for video files in the cloud by user ID, device ID, and random string.
GET: /v1.0/users/{uid}/devices/{device_id}/storage/stream/key
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
uid | String | uri | true | The user ID. |
device_id | String | uri | true | The device ID. |
magic | String | uri | true | The random string. |
Parameter name | Type | Description |
---|---|---|
result | HLSKeyVO | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
key | String | The key of cloud storage. |
GET: /v1.0/users/ay156402688xxxxvoY5W/devices/6c08578d894xxxx11afye1/storage/stream/key
{}
{
"result": {
"key": "6zz+T7vd6aiu7Hnd3l4m****"
},
"t": 1607515452206,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback