edit-icon download-icon

DescribeLiveDomainTranscodeData

Last Updated: Apr 08, 2018

Description

Obtain the duration of transcoding data of a live domain name.

  • Support data query of daily transcoding duration for a single live domain name in a specified time range.

  • Data of daily transcoding duration includes the total duration of transcoding data of the day and duration data list according to transcoding format.

  • Support query of data starting from January 1, 2018. The maximum interval between Starttime and Endtime is 90 days.

Request parameters

Parameters Type Required Example values Description
Action String Yes DescribeLiveDomainTranscodeData

The name of this interface. Value: DescribeLiveDomainTranscodeData

DomainName String Yes www.livetest.com

The live domain name to be queried.

StartTime String Yes 2018-01-01T00:00:00Z

Starttime of data query.

  • The date format adopts ISO8601 notation and uses the UTC time.
  • Format: YYYY-MM-DDThh:mm:ssZ.
  • Support query of data starting from January 1, 2018, that is, StartTime≥2018-01-01T00:00:00Z.

EndTime String Yes 2018-01-02T01:00:00Z

Endtime of data query.

  • EndTime must be later than Starttime.
  • The date format adopts ISO8601 notation and uses the UTC time.
  • Format: YYYY-MM-DDThh:mm:ssZ.

Return parameters

Parameters Type Example values Description
TranscodeDataInfos

Daily statistics of live transcoding duration.

  └Date String 20180202

Date, accurate to day.

  └Total Integer 4710

Total transcoding duration of a single day.
Unit: seconds.

  └Detail String { “LD_CASTER”: 86315, “SD_CASTER”: 86315 }, “Date”: “20180212”, “Total”: 172630}

Transcoding duration information sorted by transcoding formats.

RequestId String B955107D-E658-4E77-B913-E0AC3D31693F

Request ID.

Example

Request example

  1. /?Action=DescribeLiveDomainTranscodeData
  2. &DomainName=www.livetest.com
  3. &EndTime=2018-02-12T00:00:00Z
  4. &StartTime=2018-02-15T00:00:00Z
  5. &<Public request parameter>

Normal return example

JSON format

  1. {
  2. "RequestId":"BCB009C1-10B1-47F0-BD2F-936D5DD4F5FA",
  3. "TranscodeDataInfos":{
  4. "TranscodeDataInfo":[
  5. {
  6. "Date":"20180212",
  7. "Detail":{
  8. "LD_CASTER":86315,
  9. "SD_CASTER":86315
  10. },
  11. "Total":172630
  12. },
  13. {
  14. "Date":"20180213",
  15. "Detail":{
  16. "LD_CASTER":86315,
  17. "SD_CASTER":86320
  18. },
  19. "Total":172635
  20. },
  21. {
  22. "Date":"20180214",
  23. "Detail":{
  24. "LD_CASTER":86315,
  25. "SD_CASTER":86315
  26. },
  27. "Total":172630
  28. },
  29. {
  30. "Date":"20180215",
  31. "Detail":{
  32. "LD_CASTER":86315,
  33. "SD_CASTER":86320
  34. },
  35. "Total":172635
  36. }
  37. ]
  38. }
  39. }

Exception return example

JSON format

  1. {
  2. "Code":"InvalidEndTime.BeyondCurrent",
  3. "HostId":"live.aliyuncs.com",
  4. "Message":"EndTime beyond current time.",
  5. "RequestId":"D561201C-1192-4BCB-BDA9-AD16AA62F6FD"
  6. }

Error code

For more information about error code of this product, see Error code.

Thank you! We've received your feedback.