Making an API Request

Domain

Service access adopts domain name resolution method, and access domain names in different regions are as follows:

RegionDomain
Chinaai.jocloud.com

Note: For access in other regions, please contact technical support.

Making an API Request

The content of the RESTful API HTTP request is a structure in JSON format. The JSON structure of each service request is different, please refer to API Overview Click to enter the definition of each service interface.

To ensure a clear interface and communication security, the request path format and communication method are defined as follows:

Request Path

Different detection services are distinguished by the request path, and the access path of each service is detailed in API Overview.

Take the picture content synchronization detection interface path description path as an example, the complete request path is: https://ai.jocloud.com/app/123456789/v1/image/sync?traceId=bd526528-c0d7-4aa4-803b-f5a3fdc05805

among them

  • ai.jocloud.com: Specifies the service access domain name of the content detection API service.
  • 123456789: Specify the business id.
  • v1: Refers to the API version, the current version is v1.
  • /image/sync: Specify the specific business url, that is, the image content synchronization review interface.
  • traceId=bd526528-c0d7-4aa4-803b-f5a3fdc05805: Specify traceId, which is used to identify each request of the user.

Protocol

All interfaces use the HTTPS protocol to send requests. If HTTP requests are used, a response that jumps to HTTPS will be returned.

Character Encoding

Both the request and the returned result are encoded using the UTF-8 character set.

Request Parameters

The request parameters are filled in the http request body in JSON format. For details of each service parameter, please refer to the detailed introduction page of the service interface.

Was this page helpful?

Helpful Not helpful
Submitted! Your feedback would help us improve the website.
Feedback
Top