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 CDN API

The CDN API from Xiaomi — 2 operation(s) for cdn.

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

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

This API exposes 2 operations across 2 paths. 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.

2 operations 2 paths 0 schemas 2 POST

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 CDN 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 2

Across 2 paths, the API surfaces 2 operations — 2 POST. Each is listed below with its method, path, parameters, and response codes.

CDN 2
POST
/{bucketName}/{objectName}?prefetch
Prefetch Object
prefetchObject 2 params → 200
POST
/{bucketName}/{objectName}?refresh
Refresh Object
refreshObject 2 params → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

xiaomi-cdn-api-openapi.yml Raw ↑

Other APIs Xiaomi publishes across the network.

Xiaomi Access Control API
Xiaomi Authentication API
Xiaomi Chat API
Xiaomi Models API
Xiaomi Multipart Upload API
Xiaomi Objects API
Xiaomi User API