Run Script Environments

Generate a direct upload URL

Returns a pre-signed URL for uploading an environment file directly to storage. Upload the file to the returned URL, then pass the returned blob_signed_id when creating the environment.

post/api/v1/run_script_environments/direct_upload_url

Request

  • Base URL: https://your-tenant.tines.com
  • URL: https://your-tenant.tines.com/api/v1/run_script_environments/direct_upload_url
  • Auth: one of:
    • API key in header X-User-Token
    • HTTP bearer

Request body

filenamestring required

The name of the file to upload

content_typestring required

The MIME type of the file (application/zip or application/x-zip-compressed)

byte_sizeinteger required

The size of the file in bytes

environment_typestring required

The type of environment the file is for

checksumstring required

MD5 checksum of the file (e.g. output of md5 -q <file>)

Response

Successful response

successboolean

Whether the request succeeded

Changes

No recorded changes to this operation across all 1 revision of this API.