Uploads

Upload a file.

Stores a file in your organization's upload area and returns a reference. Use the returned id to attach the file to other resources (e.g., when creating a project revision).

Uploads expire 24 hours after creation. The maximum file size is 100 MB.

post/v1/uploads

Request

  • Base URL: https://api.scatool.com
  • URL: https://api.scatool.com/v1/uploads
  • Auth: HTTP bearer

Response

The request has succeeded and a new resource has been created as a result.

idstring uuid required
contentTypestring required

Detected media type (sniffed server-side from the file contents, not the request header).

sizeinteger required

File size in bytes.

filenamestring

Original filename as sent by the client. Absent if the client did not provide one.

createdAtstring date-time required
expiresAtstring date-time required

Changes

No recorded changes to this operation across all 2 revisions of this API.