Found 0 result in total
Content is empty
If you don't find the content you expect, please try another search term
Last updated:2021-03-17 11:06:45
You can call this operation to configure video seeking for a domain name.
Notes:
The API request contains the specified directory /2016-09-01/domain/SetVideoSeekConfig, common request headers, and operation-specific request parameters. For more information, see the sample request.
Header | Required | Type | Description |
---|---|---|---|
X-Version | Yes | String | The version number. Set the value to 2016-09-01. |
X-Action | Yes | String | The operation that you want to perform. Set the value to SetVideoSeekConfig. |
Parameter | Required | Type | Description |
---|---|---|---|
DomainId | Yes | String | The ID of the domain name. |
Enable | Yes | String | Specifies whether to enable video seeking. Valid values: on and off. Default value: off. |
Sample request
GET method:
GET /2016-09-01/domain/SetVideoSeekConfig?DomainId=2D08M8V&Enable=off
Host: cdn.api.ksyun.com
X-Amz-Date: date
Authorization:authorization string
x-action: SetVideoSeekConfig
x-version: 2016-09-01
POST method:
POST /2016-09-01/domain/SetVideoSeekConfig
Host: cdn.api.ksyun.com
X-Amz-Date: date
Authorization:authorization string
x-action: SetVideoSeekConfig
x-version: 2016-09-01
Content-Type: application/json
{
"DomainId": "2D08M8V",
"Enable": "off"
}
Sample response
Pure Mode