Halaman ini belum tersedia dalam bahasa lokal Anda. Kami berusaha keras untuk menambahkan lebih banyak versi bahasa. Terima kasih atas dukungan Anda.
- What's New
- Service Overview
- Getting Started
- SDK Reference
- API Reference
-
FAQs
-
General Consulting
- How Can Multiple Faces Be Recognized in an Image with Multiple Faces?
- Can Certificate Photos Be Used for Facial Recognition?
- How Do I Deal with Unauthorization Issues?
- Why Do Recognition Errors Occur?
- What Causes the Low Pass Rate in Face Recognition?
- Why Is the Request Response so Slow?
- What Is the Limit for Free Calls to the Face Detection API?
- How Do I Disable a Service?
- Are There SDKs Available for Mobile Phones (Android and iOS) in FRS?
-
APIs
- How Can I Use FRS APIs?
- What Do I Do If Error FRS.0022 Is Reported When Images Are Accessed on OBS?
- How Do I Obtain the Correct Endpoint?
- How Do I Obtain the Base64 Code of an Image?
- How Do I Set the top_n Parameter in the Face Retrieval API?
- Why Is the Data Returned by FRS Empty?
- What Is the Minimum Bandwidth Needed for FRS?
- How Do I Obtain the URL of the Most Recent Image in an OBS Bucket?
- Can I Query Facial Images Uploaded for Face Recognition?
- Error Codes
- Region and AZ FAQs
- Permissions
- Data Security
-
General Consulting
- Glossary
- General Reference
Copied.
Common Message Headers
Common Request Headers
Parameter |
Description |
Mandatory |
Example Value |
---|---|---|---|
Content-type |
Request body type or format. Its default value is application/json. |
Yes |
application/json |
X-Project-Id |
Project ID, which is used to obtain the token of a project. For how to obtain the project ID, see Obtaining the Project ID/Account Name/AK/SK. |
No |
e9993fc787d94b6c886cbaa340f9c0f4 |
X-Auth-Token |
User token, a response to the API used to obtain a user token. This API is the only one that does not require authentication. |
This parameter is mandatory for token authentication. |
- |
X-Sdk-Date |
Time when the request is sent. The time is in YYYYMMDD'T'HHMMSS'Z' format. The value is the current Greenwich Mean Time (GMT) of the system. |
This parameter is mandatory for AK/SK-based authentication, but not required for PKI token-based authentication |
20190307T101459Z |
Authorization |
Signature authentication information. The value is obtained from the request signature result and is required when the AK and SK are used to encrypt the signature. Type: string Default value: none |
This parameter is mandatory for AK/SK-based authentication. For details about AK/SK-based authentication, see Authentication. |
SDK-HMAC-SHA256 Credential=ZIRRKMTWPTQFQI1WKNKB/20150907//ec2/sdk_request, SignedHeaders=content-type;host;x-sdk-date, Signature=55741b610f3c9fa3ae40b5a8021ebf7ebc2a28a603fc62d25cb3bfe6608e1994 |
Host |
Information about the requested server. The value can be obtained from the URL of the service API. The value is hostname[:port]. If the port number is not specified, the default port is used. The default port number for https is 443. |
This parameter is mandatory for AK/SK-based authentication. |
code.test.com or code.test.com:443 |
For details about other parameters in the header, see the HTTPS protocol documentation.
Common Response Headers
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 (The 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 |
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