Create a resource
Resources
Create a resource
Creates a resource. With url, creates a link-type file; otherwise creates a pending upload and returns a signed upload_url to stream the file into R2.
POST
Create a resource
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
The created resource, including an upload_url.
Response payload.