Responses

Last updated:2021-03-17 10:52:30

Responses

If a Kingsoft Cloud CDN API operation is successfully called, the HTTP status code 200 is returned. Otherwise, the HTTP status code 400 is returned.
The response is in the JSON format.
The sample response in this topic is formatted for ease of reading. An actual response contains no line break or indention.

Successful call

If an API operation is successfully called, result data is returned with the HTTP status code 200.
No uniform format is specified for the data returned after an API operation is successfully called. For more information, see the format of data returned for each API operation.

Failed call

If an API operation fails to be called, no result data is returned. The HTTP response contains the HTTP status code 400, detailed error information including the error code and message, and the request ID. For more information about the error codes, see Usage notes. If you cannot locate the error cause, contact Kingsoft Cloud customer service and provide the request ID for help.
JSON format:

{
  "Error": {
    "Type": "Sender",
    "Code": "DomainNotFound",
    "Message": "Through the domain name ID did not find the domain name information.receive domainId:2D091RBQ"
  },
  "RequestId": "4f2a7abe05524b3fbbbe0b89d0548329"
}

Did you find the above information helpful?

Unhelpful
Mostly Unhelpful
A little helpful
Helpful
Very helpful

What might be the problems?

Insufficient
Outdated
Unclear or awkward
Redundant or clumsy
Lack of context for the complex system or functionality

More suggestions

0/200

Please give us your feedback.

Submitted

Thank you for your feedback.

问题反馈