edit-icon download-icon

ListAllMediaBucket

Last Updated: Apr 19, 2018

Description

Lists all the media buckets in the library.

Request parameters

Name Type Required or not Description
Action String Yes Operation interface name, system-defined parameter, value: ListAllMediaBucket

Return parameters

Name Type Description
MediaBucket MediaBucket[] Media Bucket List

Example

Request example

  1. http://mts.cn-hangzhou.aliyuncs.com?Action=ListAllMediaBucket&<Public parameters>

Return example

XML

  1. <ListAllMediaBucketResponse>
  2. <RequestId>79760D91-D3CF-4165-8068-B7E2836EF62A</RequestId>
  3. <MediaBucketList>
  4. <MediaBucket>
  5. <Type>Input</Type>
  6. <Bucket>watermark-zzz</Bucket>
  7. </MediaBucket>
  8. <MediaBucket>
  9. <Type>Output</Type>
  10. <Bucket>zzyoutputbucket</Bucket>
  11. </MediaBucket>
  12. <MediaBucket>
  13. <Type>Input</Type>
  14. <Bucket>zzzinput-test</Bucket>
  15. </MediaBucket>
  16. </MediaBucketList>
  17. </ListAllMediaBucketResponse>

JSON

  1. {
  2. "RequestId": "50B35FE9-18B2-45D6-B8C4-99D05E7570F6",
  3. "MediaBucketList": {
  4. "MediaBucket": [
  5. {
  6. "Type": "Input",
  7. "Bucket": "watermark-zzz"
  8. },
  9. {
  10. "Type": "Output",
  11. "Bucket": "zzyoutputbucket"
  12. },
  13. {
  14. "Type": "Input",
  15. "Bucket": "zzzinput-test"
  16. }
  17. ]
  18. }
  19. }
Thank you! We've received your feedback.