Check a file through a signed URL
Return the size and ETag of the file of a GET signed URL, like HEAD files/content.
- An archive URL returns 405.
- Needs no other credential.
- Served at the access endpoint. The mint returns the full URL.
See Share a file with a signed URL in the guide.
Authorization
apiKey API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.
In: header
Query Parameters
The token from the signed URL
Response Body
curl -X HEAD "https://example.com/v1/files/signed?token=string"No body.
No body.
No body.
No body.
No body.
No body.
No body.
No body.
No body.
No body.
Check file content HEAD
Return the file size and an ETag for files up to 1 GiB.
Upload a tar archive PUT
Extract a tar or tar.gz archive into the directory at `path`. The API creates `path` and its parents. - A regular file goes through a temporary file and a rename. It gets the mode (0o777 bits) and mtime of the archive, and replaces an existing file. - A missing directory is created. An existing directory keeps its mode. - A symlink replaces its target path in one step. - The upload takes one transfer slot and stops after 60 seconds without progress. - Needs write access to the sandbox. - Runs in the sandbox as the image user, or as `user` when set. Setting `user` needs write access to the sandbox. - Served at the access endpoint of the sandbox (`access_endpoint` of `GET /v1/sandboxes/{sandboxId}`), not at the API host. - A paused sandbox returns 409, unless `resume=true`. A sandbox that started before its files server existed returns 409 `sandbox_update_required` until it restarts. - A refused operation returns its code as the problem type. - A path that starts with `~` or `~/` names the home directory of the user that the operation runs as. `~name` returns 422. See [Upload a folder](https://docs.tektona.ai/files#upload-a-folder) in the guide for `TEKTONA.keep_mode`, refused entries and partial failures.