{ "opencollection": "1.0.0", "info": { "name": "Xiaomi Galaxy FDS Access Control Objects API", "version": "1.0.0" }, "items": [ { "info": { "name": "Objects", "type": "folder" }, "items": [ { "info": { "name": "Get Object", "type": "http" }, "http": { "method": "GET", "url": "https://cnbj0.fds.api.xiaomi.com/:bucketName/:objectName", "params": [ { "name": "bucketName", "value": "", "type": "path", "description": "Name of the bucket." }, { "name": "objectName", "value": "", "type": "path", "description": "Name/key of the object to retrieve." } ] }, "docs": "Retrieves the content of the specified object from the bucket." }, { "info": { "name": "Put Object", "type": "http" }, "http": { "method": "PUT", "url": "https://cnbj0.fds.api.xiaomi.com/:bucketName/:objectName", "params": [ { "name": "bucketName", "value": "", "type": "path", "description": "Name of the target bucket." }, { "name": "objectName", "value": "", "type": "path", "description": "Name/key of the object to upload." } ] }, "docs": "Uploads an object to the specified bucket. The request body contains the object content. Supports standard HTTP headers for content type and metadata." }, { "info": { "name": "Delete Object", "type": "http" }, "http": { "method": "DELETE", "url": "https://cnbj0.fds.api.xiaomi.com/:bucketName/:objectName", "params": [ { "name": "bucketName", "value": "", "type": "path" }, { "name": "objectName", "value": "", "type": "path" } ] }, "docs": "Removes the specified object from the bucket." }, { "info": { "name": "Head Object", "type": "http" }, "http": { "method": "HEAD", "url": "https://cnbj0.fds.api.xiaomi.com/:bucketName/:objectName", "params": [ { "name": "bucketName", "value": "", "type": "path" }, { "name": "objectName", "value": "", "type": "path" } ] }, "docs": "Retrieves metadata for the specified object without returning the body." }, { "info": { "name": "Delete Multiple Objects", "type": "http" }, "http": { "method": "POST", "url": "https://cnbj0.fds.api.xiaomi.com/:bucketName?delete", "params": [ { "name": "bucketName", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Deletes multiple objects from the bucket in a single request." }, { "info": { "name": "Restore Object", "type": "http" }, "http": { "method": "POST", "url": "https://cnbj0.fds.api.xiaomi.com/:bucketName/:objectName?restore", "params": [ { "name": "bucketName", "value": "", "type": "path" }, { "name": "objectName", "value": "", "type": "path" } ] }, "docs": "Restores an archived object for temporary access." }, { "info": { "name": "Rename Object", "type": "http" }, "http": { "method": "POST", "url": "https://cnbj0.fds.api.xiaomi.com/:bucketName/:objectName?rename", "params": [ { "name": "bucketName", "value": "", "type": "path" }, { "name": "objectName", "value": "", "type": "path" }, { "name": "newObjectName", "value": "", "type": "query", "description": "New name for the object." } ] }, "docs": "Renames an object within the bucket." } ] } ], "bundled": true }