Mint a connect token for a sandbox file transfer
Changed onMint a short-lived, capability-scoped connect token that authorizes a single file upload or download against the sandbox, and return the sandbox-proxy endpoint to invoke with it. The caller streams the file bytes directly to (or from) that endpoint with the token as a bearer credential. application/octet-stream carries a single file and application/x-tar a directory archive, with compression carried separately by Content-Encoding: gzip in either direction; directory downloads return application/x-tar with Content-Encoding: gzip. The token is bound to this sandbox, operation, and path, and expires shortly after issuance.
409 with code: sandbox_group_suspended if the sandbox group is suspended.
Request
- Base URLhttps://api.render.com/v1
- AuthHTTP bearer
Query parameters
Path in the sandbox this token authorizes. A relative path resolves within the sandbox's working directory, which is the image's WORKDIR or, when the image sets none, the home directory ("." is the working directory itself); an absolute path addresses the sandbox filesystem root. For an archive upload, the extraction root; for a download, the file or directory to fetch.
Parameters
Response
Connect token minted.
Changes
- info
endpoint added
- info