Response Result of GET Objects
Type Definition
type ListObjectsOutput struct
Parameter Description
| Field | Type | Description |
|---|---|---|
| StatusCode | int | HTTP status code |
| RequestId | string | Request ID returned by the OBS server |
| ResponseHeaders | map[string][]string | HTTP response headers |
| Location | string | Bucket location |
| Name | string | Bucket name |
| Prefix | string | Object name prefix, which is consistent with that set in the request |
| Marker | string | Start position for listing objects, which is consistent with that set in the request |
| Delimiter | string | Character used to group object names, which is consistent with that set in the request |
| MaxKeys | int | Maximum number of listed objects, which is consistent with that set in the request |
| IsTruncated | bool | Whether all versioning objects are returned. If the field value is true, not all versioning objects are returned. If the field value is false, all versioning objects are returned. |
| NextMarker | string | Object name to start with upon next request for listing objects |
| Contents | []Content | List of objects in the bucket |
| CommonPrefixes | []string | List of object name prefixes grouped according to the Delimiter parameter (if specified) |
Last Article: Request Parameter of GET Objects
Next Article: Object in a Bucket
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.