Help Center/ Cloud Phone Host/ API Reference/ Cloud Phone Server APIs/ Images/ Obtaining Projects that the Image Is Shared with
Updated on 2026-07-07 GMT+08:00

Obtaining Projects that the Image Is Shared with

Function

This API is used to obtain projects that the image is shared with.

Authorization Information

Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions. For details about the required permissions, see Permissions Policies and Supported Actions.

URI

GET /v1/{project_id}/cloud-phone/images/{image_id}/members

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID.

image_id

Yes

String

Specifies the image ID.

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

marker

No

String

Specifies the pagination marker.

limit

No

Integer

Specifies the number of image recipients (accounts) returned on each page. The value ranges from 1 to 100. The default value is 100. Generally, the value is set to 10, 20, or 50.

Request Parameters

Table 3 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Specifies the user token.

It can be obtained by calling an Identity and Access Management (IAM) API. The value of X-Subject-Token in the response header is the user token.

Response Parameters

Status code: 200

Table 4 Response body parameters

Parameter

Type

Description

members

Array of ListImageMembersView objects

Specifies details of projects that the image is shared with.

page_info

page_info object

Specifies the page marker.

Table 5 ListImageMembersView

Parameter

Type

Description

create_time

Long

Specifies the time when the image was shared.

update_time

Long

Specifies the update time.

image_id

String

Specifies the image ID.

member_id

String

Specifies the IDs of the projects that the image is shared with.

Table 6 page_info

Parameter

Type

Description

next_marker

String

Specifies the marker for next page query.

Example Requests

Obtaining projects that the image is shared with

GET https://{CPH Endpoint}/v1/{project_id}/cloud-phone/images/{image_id}/members

Example Responses

Status code: 200

OK

{
  "members" : [ {
    "image_id" : "23030320230421e300221a2000004167",
    "member_id" : "87dc6af96095488d9205b6f31f314b16",
    "create_time" : 1713320018058,
    "update_time" : 1713320018058
  }, {
    "image_id" : "23030320230421e300221a2000004167",
    "member_id" : "6733a7ad58694af18c7ee4820052d63f",
    "create_time" : 1713083265307,
    "update_time" : 1713083265307
  } ],
  "page_info" : {
    "next_marker" : "string"
  }
}

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.