GetSymlink
Updated at:2025-11-03
API description
The GetSymlink API retrieves the symlink. Read permission for the symlink is required to perform this operation.
Request
Plain Text
1GET /<ObjectName>?symlink HTTP/1.1
2Host: <BucketName>.bj.bcebos.com
3Date: <Date>
4Content-Length: 0
5Authorization: AuthorizationString
Response
-
Response headers
Name Types Description x-bce-symlink-target String Target file which the symlink points to -
Response element
No special elements
Example
Plain Text
1GET /<ObjectName>?symlink HTTP/1.1
2Host: <BucketName>.bj.bcebos.com
3Date: <Date>
4Content-Length: 0
5Authorization: <AuthorizationString>
Plain Text
1HTTP/1.1 200 OK
2x-bce-request-id: 4db4b34d-653d-4d9a-b49b-3049ca786409
3Date: <Date>
4Server: BceBos
5Content-Type: text/plain
6Content-Length: 0
7x-bce-symlink-target:<TargetObjectName>
