ListBucket
Interface description
Query a specific account for its storage container list.
Request Syntax
Request Header
Key | Type | Description | Sample value |
---|---|---|---|
Account | character string | Specify the address of the account | cXke5ujexNiSo8qdpvpf6cwtHRVRVbdrAz62Sgt5HZbk1vPkR |
Don't forget to add your identity signature to the header.
Response
Response format:application/json
Status code | Message | Response description |
---|---|---|
200 | success | Query successful, return the bucket list |
400 | InvalidHead.MissingAccount | Account does not exist |
400 | InvalidHead.Account | Account error |
400 | InvalidParameter.Name | Request parameter error |
404 | NotFound | No results found |
500 | InternalError | Server internal error |
Request example
Request to return a bucket information with account address: cXke5ujexNiSo8qdpvpf6cwtHRVRVbdrAz62Sgt5HZbk1vPkR
Response example
Last updated