El contenido no se encuentra disponible en el idioma seleccionado. Estamos trabajando continuamente para agregar más idiomas. Gracias por su apoyo.
- Service Overview
- User Guide
-
API Reference
- Before You Start
- Calling APIs
-
Platform APIs
-
Video Center
- Creating a Video Source
- Modifying a Video Source
- Deleting a Video Source
- Obtaining Details About a Video Source
- Obtaining Video Sources
- Creating a Video Source Group
- Deleting a Video Source Group
- Updating a Video Source Group
- Obtaining Details About a Video Source Group
- Obtaining Video Source Groups
- Task Center
- Algorithm Center
- Operation Center
-
Video Center
-
Algorithm APIs
-
Edge Service APIs
- Creating a People Flow Counting (Edge) Job
- Creating an Intrusion Detection (Edge) Job
- Creating an On-Duty Inspection (Edge) Job for Key Positions
- Creating an Abandoned Object Detection (Edge) Job
- Creating a Crowd Density Monitoring (Edge) Job
- Creating a Work Gear and Helmet Detection (Edge) Job
- Creating a Smoke and Fire Detection (Edge) Job
- Creating a Fight Detection (Edge) Job
- Creating a Shared Bicycle Detection (Edge) Job
- Creating an Individual Behavior Detection (Edge) Job
- Creating an Individual Action Detection (Edge) Job
- Creating a Mask Detection (Edge) Job
- Creating an Abnormal Parking Detection (Edge) Job
- Creating a Vehicle Detection (Edge) Job
- Creating a Fire Passage Obstruction Detection (Edge) Job
- Creating a Non-motorized Vehicle Detection (Edge) Job
- Creating a Trash Can Anomaly Detection (Edge) Job
- Creating an Overflowing Garbage Can Detection in Cities (Edge) Job
- Creating a Crowd Counting at High Altitudes (Edge) Job
- Creating a Target Attribute Recognition (Edge) Job
- Creating an E-bike Rider Helmet Detection (Edge) Job
- Creating an Umbrella Violation Detection (Edge) Job
- Creating an Advertisement Violation Detection (Edge) Job
- Creating a Messy Piles Detection (Edge) Job
- Creating a Clothes Airing Violation Detection (Edge) Job
- Creating a Littering Construction Waste Detection (Edge) Job
- Creating a Missing Manhole Cover Detection (Edge) Job
- Creating a Missing Manhole Cover Detection From a Dynamic Perspective (Edge) Job
- Creating an Urban Trash Detection (Edge) Job
- Creating an Urban Mobile Trash Detection (Edge) Job
- Creating an Urban Roadside Stall Detection (Edge) Job
- Creating an Exposed Bare Soil Detection (Edge) Job
- Creating a Wrong-Way Driving Detection (Edge) Job
- Creating a Speeding Detection at High Altitudes (Edge) Job
- Creating a Vehicle Counting at High Altitudes (Edge) Job
- Creating a Vessel Intrusion Detection (Edge) Job
- Creating a Floating Debris Detection (Edge) Job
- Creating a Drainage Outlet Monitoring (Edge) Job
- Creating a River Water Level Gauge Reading (Edge) Job
- Creating a Waterlogging Detection (Edge) Job
-
Cloud Service APIs
- Creating a People Flow Counting (Cloud) Job
- Creating an Intrusion Detection (Cloud) Job
- Creating an On-Duty Inspection (Cloud) Job for Key Positions
- Creating an Abandoned Object Detection (Cloud) Job
- Creating a Crowd Density Monitoring (Cloud) Job
- Creating a Work Gear and Helmet Detection (Cloud) Job
- Creating a Smoke and Fire Detection (Cloud) Job
- Creating a Fight Detection (Cloud) Job
- Creating a Shared Bicycle Detection (Cloud) Job
- Creating an Individual Behavior Detection (Cloud) Job
- Creating an Individual Action Detection (Cloud) Job
- Creating a Mask Detection (Cloud) Job
- Creating an Abnormal Parking Detection (Cloud) Job
- Creating a Vehicle Detection (Cloud) Job
- Creating a Fire Passage Obstruction Detection (Cloud) Job
- Creating a Non-motorized Vehicle Detection (Cloud) Job
- Creating a Trash Can Anomaly Detection (Cloud) Job
- Creating an Overflowing Garbage Can Detection in Cities (Cloud) Job
- Creating a Crowd Counting at High Altitudes (Cloud) Job
- Creating a Target Attribute Recognition (Cloud) Job
- Creating an E-bike Rider Helmet Detection (Cloud) Job
- Creating an Umbrella Violation Detection (Cloud) Job
- Creating an Advertisement Violation Detection (Cloud) Job
- Creating a Messy Piles Detection (Cloud) Job
- Creating a Clothes Airing Violation Detection (Cloud) Job
- Creating a Littering Construction Waste Detection (Cloud) Job
- Creating a Missing Manhole Cover Detection (Cloud) Job
- Creating a Missing Manhole Cover Detection From a Dynamic Perspective (Cloud) Job
- Creating an Urban Trash Detection (Cloud) Job
- Creating an Urban Mobile Trash Detection (Cloud) Job
- Creating an Urban Roadside Stall Detection (Cloud) Job
- Creating an Exposed Bare Soil Detection (Cloud) Job
- Creating a Vessel Intrusion Detection (Cloud) Job
- Creating a Floating Debris Detection (Cloud) Job
- Creating a Drainage Outlet Monitoring (Cloud) Job
- Creating a River Water Level Gauge Reading (Cloud) Job
- Creating a Waterlogging Detection (Cloud) Job
- Public APIs
-
Edge Service APIs
-
Alarm Information
- People Flow Counting
- Intrusion Detection
- Staff On-Duty Detection
- Abandoned Object Detection
- Crowd Density Monitoring
- Safety Suite Detection
- Fire and Smoke Detection
- Fight Detection
- Shared Bicycle Detection
- Individual Behavior Detection
- Individual Action Detection
- Mask Wearing Detection
- Abnormal Parking
- Vehicle Detection
- Fire Passage Obstruction Detection
- Non-motorized Vehicle Detection
- Trash Can Anomaly Detection
- Overflowing Garbage Can Detection in Cities
- Peak Crowd Counting
- Target Attribute Recognition
- E-bike Rider Helmet Detection
- Umbrella Violation Detection
- Advertisement Violation Detection
- Messy Piles Detection
- Clothes Airing Violation Detection
- Littering Construction Waste Detection
- Missing Manhole Cover Detection
- Missing Manhole Cover Detection From a Dynamic Perspective
- Urban Trash Detection
- Urban Mobile Trash Detection
- Urban Roadside Stall Detection
- Exposed Bare Soil Detection
- Wrong-Way Driving Detection
- Peak Speeding Detection
- Peak Vehicle Counting
- Vessel Intrusion Detection
- Floating Debris Detection
- Drainage Outlet Monitoring
- Water Level Gauge Reading
- Standing Water Detection
- Cyanobacteria Identification
- Common Parameters
- Appendix
- Change History
- FAQs
- General Reference
Copied.
Response
After sending a request, you will receive a response, including the status code, response header, and response body.
Status Code
A status code is a group of digits, ranging from 1xx to 5xx. It indicates the status of a request. For more information, see Status Codes.
If status code 201 is returned for calling the API used to obtain a user token, the request is successful.
Response Header
Similar to a request, a response also has a header, for example, Content-Type.
Parameter |
Description |
Mandatory |
---|---|---|
Content-Type |
Media type of the message body sent to a receiver Type: string Default value: application/json; charset=UTF-8 |
Yes |
X-request-id |
This field carries the request ID for task tracing. Type: string. request_id-timestamp-hostname (request_id is the UUID generated on the server. timestamp indicates the current timestamp, and hostname is the name of the server that processes the current API.) Default value: none |
No |
X-ratelimit |
This field carries the total number of flow control requests. Type: integer Default value: none |
No |
X-ratelimit-used |
This field carries the number of remaining requests. Type: integer Default value: none |
No |
X-ratelimit-window |
This field carries the flow control unit. Type: string. The unit is minute, hour, or day. Default value: hour |
No |
The following figure shows the response header for the API used to obtain a user token
x-subject-token is the desired user token. This token can then be used to authenticate the calling of other APIs.

Response Body
The body of a response is often returned in a structured format as specified in Content-Type. The response body transfers content except the response header.
For the API used to obtain a user token, the response body is as follows:
{ "token": { "expires_at": "2019-02-13T06:52:13.855000Z", "methods": [ "password" ], "catalog": [ { "endpoints": [ { "region_id": "cn-north-1", ......
If an error occurs during API calling, an error code and a message will be displayed. The following shows an error response body.
{ "error_msg": "The API does not exist or has not been publish in the environment", "error_code": "IVA.0101", "request_id": "8ec47b9ec686af9976bed342d5cd5e06" }
In the error response body, error_code is an error code, and error_msg provides information about the error. For more information, see Error Codes.
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