百度智能云

All Product Document

          Object Storage

          GetSymlink

          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

          • Request syntax

          GET /<ObjectName>?symlink HTTP/1.1
          Host: <BucketName>.bj.bcebos.com
          Date: <Date>
          Content-Length: 0
          Authorization: AuthorizationString
          • Request parameters

          No special parameters.

          • Request header field

          No special header field.

          Response

          • Response header field

          Name Type Description
          x-bce-symlink-target String Destination file pointed to the soft link
          • Response element

          No special element.

          Example

          • Request example

          GET /<ObjectName>?symlink HTTP/1.1
          Host: <BucketName>.bj.bcebos.com
          Date: <Date>
          Content-Length: 0
          Authorization: <AuthorizationString>
          • Response example

          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>
          Previous
          Select Scanning
          Next
          PutSymlink