Xiaomi Chat API
The Chat API from Xiaomi — 1 operation(s) for chat.
Xiaomi Chat API is one of 8 APIs that Xiaomi publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Chat. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.
This API exposes 1 operation across 1 path, and defines 3 schemas. It is described by OpenAPI 3.0.3, at version 1.0.0.
Requests are made against 3 base URLs: https://cnbj0.fds.api.xiaomi.com, https://awsbj0.fds.api.xiaomi.com, https://awssgp0.fds.api.xiaomi.com.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Xiaomi Chat API declares
1 security scheme
for authenticating requests.
It uses HTTP custom authentication (hmacAuth).
By default, every request must be authenticated.
hmacAuth— HMAC-based signature authentication. Requests must include a Date header and Authorization header with HMAC-SHA1 signature.
Paths & Operations 1
Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.
Schemas 3
The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are ChatCompletionResponse (6 properties), ChatCompletionRequest (6 properties), ChatMessage (2 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Xiaomi 7
Other APIs Xiaomi publishes across the network.