Home >Operation and Maintenance >Linux Operation and Maintenance >How to query all users who have shared a custom image

How to query all users who have shared a custom image

坏嘻嘻
坏嘻嘻Original
2018-09-21 15:29:262370browse

The content of this article is about how to query all users who have shared a custom image. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.

DescribeImageSharePermission

Request Parameters

How to query all users who have shared a custom image

##Return Parameters

How to query all users who have shared a custom image

Example

Request Example

https://ecs.aliyuncs.com/?Action=DescribeImageSharePermission
&RegionId=cn-qingdao
&ImageId=m-282dzntc7
&<公共请求参数>

Return example

XML format

<DescribeImageSharePermissionResponse>
    <ImageId>m-282dzntc7</ImageId>
    <PageNumber>1</PageNumber>
    <PageSize>10</PageSize>
    <RegionId>cn-qingdao</RegionId>
    <TotalCount>1</TotalCount>
    <RequestId>441CF898-42FF-47CF-9348-3C3BFF557278</RequestId>
    <ShareGroups>
        <ShareGroup>
            <Group>all</Group>
        </ShareGroup>
    </ShareGroups>
    <Accounts>
        <Account>
            <AliyunId>1886508529898586</AliyunId>
        </Account>
    </Accounts>
</DescribeImageSharePermissionResponse>

JSON format

{
    "ShareGroups": {
        "ShareGroup": [
            {
                "Group": "all"
            }
        ]
    },
    "Accounts": {
        "Account": [
            {
                "AliyunId": "1886508529898586"
            }
        ]
    },
    "ImageId": "m-282dzntc7",
    "PageNumber": 1,
    "PageSize": 10,
    "RegionId": "cn-qingdao",
    "TotalCount": 1,
    "RequestId": "9AD96F49-0BE5-4868-A66A-224352549CEC"
}

Error codes

The following are the error codes unique to this interface. For more error codes, please visit the API Error Center.

How to query all users who have shared a custom image

The above is the detailed content of How to query all users who have shared a custom image. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn