Uploads

Request a signed URL to upload a file

Requires the content.write scope.

post/uploads

Request

  • Base URL: https://developer.solofire.com/v1
  • URL: https://developer.solofire.com/v1/uploads
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

A unique key for this request. Retrying with the same key returns the original response instead of repeating the work. Reusing a key with a different body is rejected with 422.

Request body

filenamestring required

File name including extension, e.g. "deck.pptx".

library_idstring required

Library to upload into. See GET /v1/libraries.

namestring

Display name shown in SoloFire. Defaults to the filename without its extension.

folder_idstring

Optional folder to link the file into. Must be in the same library.

content_typestring

MIME type. Sent as the Content-Type header when you PUT the bytes.

size_bytesinteger

Size in bytes. Rejected up front if it exceeds the slot maximum (500 MB, or 2 GiB with large_file).

large_fileboolean

Set true to raise this slot's ceiling from 500 MB to 2 GiB. Default false.

Response

Created

object required

Changes

No recorded changes to this operation across all 1 revision of this API.