GetObjectACL
Description
GetObjectACL is used to obtain access information for Object.
Request Method
POST
Request Path
/apsara/route/OneRouter/GetObjectACL
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
AccessControlList | BODY | container | No | No sample value for this parameter. | container for storing ACL information. |
Grant | BODY | enumeration string | No | No sample value for this parameter. | ACL permissions of Object. valid values: private, public-read, public-read-write |
AccessControlPolicy | BODY | container | No | No sample value for this parameter. | container for holding GetObjectACL results. |
Owner | BODY | container | No | No sample value for this parameter. | container for storing bucket owner information. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
DisplayName | BODY | string | No | No sample value for this parameter. | the name of the bucket owner (currently the same as the ID). |
ID | BODY | string | No | No sample value for this parameter. | the user ID of the bucket owner. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}