Queries the time shifting configurations under a domain name.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeLiveShiftConfigs

The operation that you want to perform. Set the value to DescribeLiveShiftConfigs.

DomainName String Yes test.com

The streaming domain.

RegionId String No cn-shanghai

The ID of the region where the streaming domain resides.

Response parameters

Parameter Type Example Description
Content Array of Config

The time shifting configurations.

Config
AppName String app

The application for which you configure time shifting.

DomainName String test.com

The domain name for which you configure time shifting.

StreamName String 0001

The name of the live stream for which you configure time shifting.

Vision Integer 7

The number of days for which the time shifting configurations are retained.

RequestId String B49E6DDA-F413-422B-B58E-2FA23F286726

The ID of the request.

Examples

Sample requests

http(s)://live.aliyuncs.com/?Action=DescribeLiveShiftConfigs
&DomainName=test.com
&<Common request parameters>

Sample success responses

XML format

<DescribeLiveShiftConfigsResponse>
      <RequestId>B49E6DDA-F413-422B-B58E-2FA23F286726</RequestId>
      <Content>
            <Config>
                  <StreamName>0001</StreamName>
                  <DomainName>test.com</DomainName>
                  <Vision>7</Vision>
                  <AppName>app</AppName>
            </Config>
      </Content>
</DescribeLiveShiftConfigsResponse>

JSON format

{
    "RequestId":"B49E6DDA-F413-422B-B58E-2FA23F286726",
    "Content":
    {
        "Config":
        [{
            "StreamName":"0001",
            "DomainName":"test.com",
            "Vision":"7",
            "AppName":"app"
          }]
    }
}

Error codes

For a list of error codes, visit the API Error Center.

Special error codes

Error code

Error message

HTTP status code

Description

InvalidParam

param error

400

The error message returned because one or more specified parameters are invalid.

InvalidDataNotFound

data not found

404

The error message returned because user data cannot be found.