Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Xiaomi Access Control API

The Access Control API from Xiaomi — 1 operation(s) for access control.

Xiaomi Access Control API is one of 8 APIs that Xiaomi publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Access Control. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 3 operations across 1 path, and defines 2 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.

3 operations 1 paths 2 schemas 1 DELETE1 GET1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.0
Base URL
https://open.account.xiaomi.com
Authentication
HTTP Custom
Resource Areas
1

Authentication & Security 1

Xiaomi Access Control 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 3

Across 1 path, the API surfaces 3 operations — 1 DELETE, 1 GET, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Access Control 3
PUT
/{bucketName}/{objectName}?acl
Put Object ACL
putObjectAcl 2 params body → 200
GET
/{bucketName}/{objectName}?acl
Get Object ACL
getObjectAcl 2 params → 200
DELETE
/{bucketName}/{objectName}?acl
Delete Object ACL
deleteObjectAcl 2 params → 200

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are AclResponse (2 properties), AclRequest (1 property). Each schema is shown below with its type and property counts.

AclResponse
object
2 properties
AclRequest
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

xiaomi-access-control-api-openapi.yml Raw ↑

Other APIs Xiaomi publishes across the network.

Xiaomi Authentication API
Xiaomi CDN API
Xiaomi Chat API
Xiaomi Models API
Xiaomi Multipart Upload API
Xiaomi Objects API
Xiaomi User API