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

The Objects API from Xiaomi — 4 operation(s) for objects.

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

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

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

7 operations 4 paths 2 schemas 1 DELETE1 GET1 HEAD3 POST1 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 Objects 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 7

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

Objects 7
PUT
/{bucketName}/{objectName}
Put Object
putObject 2 params body → 200403404
GET
/{bucketName}/{objectName}
Get Object
getObject 2 params → 200404
HEAD
/{bucketName}/{objectName}
Head Object
headObject 2 params → 200404
DELETE
/{bucketName}/{objectName}
Delete Object
deleteObject 2 params → 200404
POST
/{bucketName}?delete
Delete Multiple Objects
deleteMultipleObjects 1 param body → 200
POST
/{bucketName}/{objectName}?restore
Restore Object
restoreObject 2 params → 200
POST
/{bucketName}/{objectName}?rename
Rename Object
renameObject 3 params → 200

Schemas 2

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

DeleteMultipleResponse
object
2 properties
DeleteMultipleRequest
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

xiaomi-objects-api-openapi.yml Raw ↑

Other APIs Xiaomi publishes across the network.

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