Put Object Metadata

API Description

Save or update a object metadata.

API Info

API Url Method
https://[HOST]/api/clouddisk-service/clouddisk/object/putmetadata POST
Parameter Value
Authorization Get Token via API (/cas/ebao/v1/json/tickets)

API Parameters

Data format: application/json

Name Type Description Example
bucketName String Bucket name MyBucket
key String file key myfile/cloud.jpg
metadata Object Bucket metadata info {'data':{'owner':'abc', ...}}

Successful Response

{
    "status": "Ok",
    "message": null,
    "body": true
}

Failed Response

{
    "status": "Ok",
    "message": null,
    "body": false
}

Exception Response

{
    "status": "Failed",
    "message": "error message",
    "body": null
}

results matching ""

    No results matching ""