百度智能云

All Product Document

          Object Storage

          Get Soft Link

          Interface Description

          The GetSymlink API is used to get the soft link. This operation requires you to have the read permission of this soft link.

          Request URI

          GET /v1/{bucketName}/{objectKey}?symlink

          Parameter Name Parameter type Required Description Example value Parameter position
          bucketName String Yes Bucket name "bucketName_example" Path
          objectKey String Yes Object name "objectKey_example" Path

          Request Body Parameters

          Instructions for Data Structure of Request Body Field

          Response Header Parameters

          Parameter Name Parameter type Description Example value
          x-bce-symlink-target String Destination file pointed to the soft link

          Response Body Parameters

          Instructions for Data Structure of Response Body Field

          Request Example

          GET /v1/bucketName_example/objectKey_example?symlink
          Common Request Header
          
          
          { }

          Response Example

          HTTP/1.1 200 OK
          <Common response header>
          
          { }

          Error code

          See universal error code

          Previous
          Create Soft Link
          Next
          Service Related Interfaces