GetSymlink
Last Updated:2021-12-08
Interface Description
The GetSymlink interface is used to get the soft link. This operation requires you to have the read permission of this soft link.
Request
GET /<ObjectName>?symlink HTTP/1.1
Host: <BucketName>.bj.bcebos.com
Date: <Date>
Content-Length: 0
Authorization: AuthorizationString
No special parameters.
No special header field.
Response
Name | Type | Description |
---|---|---|
x-bce-symlink-target | String | Destination file pointed to the soft link |
No special element.
Example
GET /<ObjectName>?symlink HTTP/1.1
Host: <BucketName>.bj.bcebos.com
Date: <Date>
Content-Length: 0
Authorization: <AuthorizationString>
HTTP/1.1 200 OK
x-bce-request-id: 4db4b34d-653d-4d9a-b49b-3049ca786409
Date: <Date>
Server: BceBos
Content-Type: text/plain
Content-Length: 0
x-bce-symlink-target:<TargetObjectName>