List Object

API Description

List object in bucket.

API Info

API Url Method
https://[HOST]/api/clouddisk-service/clouddisk/object/getobject 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
prefix String Prefix of file key myfile

Successful Response

{
    "status": "Ok",
    "message": null,
    "body": [
        {
            "guid": "xxx",
            "updateDate": "2019-05-07T23:29:36.000Z",
            "bucketName": "xxx",
            "key": "test.png",
            "tenant": "xxx",
            "metadata": {
                "data": {
                    ...
                }
            }
        }
    ]
}

Failed Response

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

Exception Response

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

results matching ""

    No results matching ""