Usage
Huawei Cloud provides RESTful APIs.
REST allocates Uniform Resource Identifiers (URIs) to dispersed resources so the resources can be located. Applications on clients use unified resource locators (URLs) to access the resources.
A URL is in the format of https://Endpoint/uri.
Table 1 describes the parameters in a URL.
Parameter |
Description |
---|---|
Endpoint |
Entry (URL) for a web service. The KooGallery endpoint is mkt-intl.myhuaweicloud.com. |
uri |
Resource path, that is, the API access path. Obtain this value from the URI of the API, for example, v1.0/{partner_id}/billing/bill-mgr/push-usage-data. For the user ID parameter in the URI: partner_id is used, indicating that the API can be called only using the AK/SK or token of a partner (seller). |
Huawei Cloud APIs use the HTTP transmission protocol and have the following restrictions:
- Request and response messages are encoded using UTF-8 and in the JSON format.
- The media type is Application/json.
- Optional parameters do not need to be encoded in message bodies.
- UTC time (including the time zone) is used in requests and responses. The format is yyyyMMdd'T'HHmmss'Z'.
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