All Products
Search
Document Center

Drive and Photo Service:Call methods

Last Updated:Sep 24, 2024

Before you call an API operation of Photo and Drive Service (PDS), you must obtain information about PDS API calls, such as the endpoint, communication protocol, request method, request and response format, and encoding format.

Endpoints

The following table describes the endpoints of the PDS API.

Note

domainID in the endpoint indicates the ID of the domain name and regionID in the endpoint indicates the region ID. Replace them with the actual values.

Network type

Endpoint for identity authentication

Endpoint for access to PDS

Endpoint for management of PDS

Internet

{domainID}.api.aliyunpds.com

{domainID}.api.aliyunpds.com

{regionID}.admin.aliyunpds.com

Virtual Private Cloud (VPC)

N/A

{domainID}.api-vpc.aliyunpds.com

{regionID}.admin-vpc.aliyunpds.com

Communication protocols

You can call the PDS API operations by sending HTTP or HTTPS requests. We recommend that you use HTTPS to improve communication security.

Request method

You can use the POST method to send requests over HTTP. The request parameters must be included in the request body.

Request and response format

Requests and responses are in the Content-Type: application/json format.

Encoding format

Requests and responses are encoded in UTF-8.