Skip to content

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

Request

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

Security
bearer and appkey
Path
fileNamestringrequired

The name of the file.

containerIdstringrequired

The ID of the container

Headers
slb-partition-idstringrequired

Data partition id.

curl -i -X GET \
  'https://api.delfi.slb.com/fdplan/evaluation/v1/containers/{containerId}/files/{fileName}/upload-url' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'appkey: YOUR_API_KEY_HERE' \
  -H 'slb-partition-id: string'

Responses

Upload signed URL generation successful.

Bodyapplication/json
signedURLstringrequired

The signed URL

filePathstringrequired

The file path for which the signed URL was generated.

Example:"01JKZXK6ZDKC25MN3BN2ZDP1AQ/containers/slb:data-types:drilling-parameters/01JKZXMA7WRM8RCQKANECXZ9K1/slb-data-types-drilling-parameters.json"
requiredHeadersArray of strings or null

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

Example:
[ "x-goog-content-length-range:0,<max-file-size-in-bytes>" ]
Response
{ "signedURL": "string", "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>" ] }