Upload a file to a running session
Allocates an upload slot on a placed session and returns a presigned URL for the bytes. Then:
PUTthe file topresigned_urlwithContent-Lengthequal tosize. The URL is valid for 15 minutes.- Name the file to the model in a command, using
presigned_idandpath.
To prepare a file before the session exists, use POST /files instead.
Only the user who started the session may call this. A session token works only for the sessions bound to it.
Authorizations
A Reactor API key (rk_...), sent as Authorization: Bearer rk_.... Keep it on a server.
Headers
The API protocol version the client speaks. Currently 1. Older versions than the server's minimum get 426.
"1"
Path Parameters
The session's ID, as returned by POST /sessions.