Upload Body
PUT
/api/v1/files/upload/body
const url = 'https://aura.strangeworks.com/api/v1/files/upload/body?token=';const options = {method: 'PUT', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url 'https://aura.strangeworks.com/api/v1/files/upload/body?token=' \ --header 'Authorization: Bearer <token>'Dev-fallback byte sink for backends that can’t presign a direct PUT.
Write access was gated at plan time (a token is only minted after
require_write_access), so the token is the sole credential here.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”token
Token
string
Responses
Section titled “Responses”Successful Response
Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}