custom-tools

Create a source upload

Create a temporary upload for a source archive.

Upload the file to uploadUrl using uploadMethod and every value in uploadHeaders, then use uploadId to build a version.

post/api/custom-tools/{name}/uploads

Request

  • Base URL: https://app.tamarind.bio
  • URL: https://app.tamarind.bio/api/custom-tools/{name}/uploads
  • Auth: API key in header x-api-key

Path parameters

namestring required

The custom tool name.

Headers

If-Matchstring

Optionally send the etag field returned in the Get tool JSON body to reject a stale tool before uploading. To protect build admission too, also send it on the build request.

Response

Successful Response

expiresAtstring required

When the upload URL expires, as an ISO 8601 timestamp.

maxBytesinteger required

Maximum source-archive size, in bytes.

uploadHeadersobject required

Headers to include exactly as provided when uploading to uploadUrl.

uploadIdstring required

Pass this value to the version-build request after uploading.

uploadMethod'PUT' required

HTTP method to use with uploadUrl.

uploadUrlstring required

Short-lived URL for uploading the source archive.

Changes

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