Torch Object Storage
Call the GetSymlink interface to obtain symbolic link object information.
GET /ObjectName?symlink HTTP/1.1 Host: bucketname.tos-cn-beijing.volces.com Date: GMT Date Authorization: SignatureValue
This request uses the common request message headers. See Common Parameters.
| Name | Location | Type | Required | Sample Value | Description |
|---|---|---|---|---|---|
| symlink | Query | String | Yes | - | Represents a special identifier for the GetSymlink request. |
| versionId | Query | String | No | 5840E600C6FBD446792D | Version number of the soft link target. |
There are no request message elements in this request.
This request returns common response message headers. See Common Parameters.
| Name | Type | Sample Value | Description |
|---|---|---|---|
| Last-Modified | String | Thu, 06 Jun 2024 09:45:58 GMT | Last update time of the soft link. |
| x-tos-version-id | String | 5840E600C6FBD446792D | Version number of the symbolic link. If the version number does not exist, this header will not appear in the response. |
| x-tos-symlink-target | String | test-object | Target file pointed to by the symbolic link. |
| x-tos-symlink-bucket | String | test-bucket | The bucket to which the target file pointed to by the symbolic link belongs. |
There is no message element in this request response.
GET /link-to-abc?symlink HTTP/1.1 Host: bucketname.tos-cn-beijing.volces.com Date: Wed, 29 May 2024 08:39:35 GMT Authorization: authorization string
HTTP/1.1 200 OK Date: Wed, 29 May 2024 08:42:35 GMT Server: TosServer Content-Length: 0 x-tos-id-2: 1e89f203jld00006-a444fd0 x-tos-request-id: 1e89f203b2d00006-a444ed0 Etag: "47bce5c74f589f4867dbd57e9****" Last-Modified: Wed, 03 Apr 2024 08:12:47 GMT x-tos-symlink-target: test-object x-tos-symlink-bucket: test-bucket