Get a weights upload slot
Returns an upload slot for one file of the weight set you will put. Upload the bytes with
an HTTP PUT to presigned_url, sending the Content-Type and size you declared. Files
are stored once per account by SHA-256, so a file you already uploaded at the same size
returns copied: true and needs no upload.
Files up to 5 GiB use this route. Use the multipart routes for larger files. Available when
weight sets are enabled for your account. Requires the account_admin or developer role
and Serve access.
Authorizations
A Reactor API key (rk_...), sent as Authorization: Bearer rk_.... Keep it on a server.
Path Parameters
The project's ID, a UUID. It is not the model's ID.
The full set digest, sha256:<64 hex> or the 64 hex characters. A tag or prefix is not accepted.
Body
Bytes. The upload must send exactly this many.
x >= 0Send application/octet-stream.
The file's SHA-256, as 64 hex characters.
The file's path in the manifest.
file Upload again even when the file is already stored.