Upload Urls
List of valid attributes:
Attribute | Description | Specifics |
---|---|---|
filename | Name of the file | Must be set |
Create
This endpoint returns a temporary secure upload URL which can be used to upload a file for the user space.
Example request:
{ "data": { "type": "upload_url", "attributes": { "filename": "image.jpg" } }}
Example response:
{ "data": { "id": "98815bd8-f3e6-41ec-8c4a-25a431ac6ce4", "type": "upload_url", "attributes": { "upload_url": "https://s3.amazonaws.com/..." } }}
This endpoint creates a user.
HTTP Request
POST /api/v1/upload_url