查询集合详情信息

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String GetMetaCollectionDetail

系统规定参数。取值:GetMetaCollectionDetail

QualifiedName String album.12345

集合唯一标识符

返回数据

名称 类型 示例值 描述
RequestId String 0000-ABCD-E****

Id of the request

Collection Collection

集合对象

Success Boolean true

调用是否成功。取值如下:

true:调用成功。

false:调用失败。

ErrorCode String 9999

错误码。

ErrorMessage String album.xxxx does not exist.

错误信息。

HttpStatusCode Integer HTTP状态码。

HTTP状态码。

示例

请求示例

http(s)://[Endpoint]/?Action=GetMetaCollectionDetail
&QualifiedName=album.12345
&公共请求参数

正常返回示例

XML格式

HTTP/1.1 200 OK
Content-Type:application/xml

<GetMetaCollectionDetailResponse>
    <RequestId>0000-ABCD-E****</RequestId>
    <Collection>
        <QualifiedName>album.12334</QualifiedName>
        <CollectionType>album</CollectionType>
        <Name>collectionName</Name>
        <Comment>comment</Comment>
        <OwnerId>1234444</OwnerId>
        <OwnerName>owner</OwnerName>
        <CreateTime>1668600147617</CreateTime>
        <UpdateTime>1668600148617</UpdateTime>
        <Level>1</Level>
    </Collection>
    <Success>true</Success>
    <ErrorCode>9999</ErrorCode>
    <ErrorMessage>album.xxxx does not exist.</ErrorMessage>
</GetMetaCollectionDetailResponse>

JSON格式

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "0000-ABCD-E****",
  "Collection" : {
    "QualifiedName" : "album.12334",
    "CollectionType" : "album",
    "Name" : "collectionName",
    "Comment" : "comment",
    "OwnerId" : "1234444",
    "OwnerName" : "owner",
    "CreateTime" : 1668600147617,
    "UpdateTime" : 1668600148617,
    "Level" : 1
  },
  "Success" : true,
  "ErrorCode" : "9999",
  "ErrorMessage" : "album.xxxx does not exist."
}

错误码

访问错误中心查看更多错误码。