Containers

Get a signed url which can be used to upload a file.

Changed on

Generate a signed url which can be used for uploading a specified file.

get/containers/{containerId}/files/{fileName}/upload-url

Request

  • Base URL
    https://api.delfi.slb.com/fdplan/evaluation/v1
  • Auth
    API key in header Authorization and API key in header appkey

Path parameters

fileNamestring required

The name of the file.

containerIdstring required

The ID of the container

Headers

slb-partition-idstring required

Data partition id.

Response

Upload signed URL generation successful.

signedURLstring required

The signed URL

filePathstring required

The file path for which the signed URL was generated.

requiredHeadersstring[] nullable

Headers that need to be set when calling the generated upload signed URL

Example response

{
  "filePath": "01JKZXK6ZDKC25MN3BN2ZDP1AQ/containers/slb:data-types:drilling-parameters/01JKZXMA7WRM8RCQKANECXZ9K1/slb-data-types-drilling-parameters.json",
  "requiredHeaders": [
    "x-goog-content-length-range:0,<max-file-size-in-bytes>"
  ]
}

Changes

    • breaking

      added the new required header request parameter slb-partition-id

    • warning

      deleted the header request parameter slb-data-partition-id

    • info

      added the optional property to the response with the status