Obtaining API Information
- Endpoint and URI that will constitute the request URL
- AK/SK used for signing and authentication
- Project ID and subproject ID
- Account name and account ID
- API environment
- Domain name for Host
|
Item |
Description |
|---|---|
|
Endpoint |
Endpoint of a cloud service in a region. For details, see Regions and Endpoints.
NOTE:
For all example request URLs in this document, the endpoint service.region.example.com is used as an example. |
|
URI |
API request path and parameters. Obtain the request path and parameters from the API Reference of the cloud service. |
|
AK/SK |
Access key ID (AK) and secret access key (SK), which are used to sign API requests. For details on how to obtain the AK/SK, see Obtaining an AK/SK. |
|
Project_Id |
Project ID, which needs to be configured for the URI of most APIs to identify different projects. To obtain the project ID, perform the following steps:
|
|
X-Project-Id |
Subproject ID, which is used in multi-project scenarios. To access resources in a subproject through AK/SK-based authentication, the X-Project-Id field must be added to the request header. To obtain the project ID, perform the following steps:
|
|
X-Domain-Id |
Account ID, which is used to:
To obtain the account ID, perform the following steps:
|
|
x-stage |
For details, see the API environment information of each cloud service. |
|
Host |
Debugging domain name or independent domain name of the group to which the API belongs. For details, see the domain name information in the API group to which the API of each cloud service belongs. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot