users/files

Initiate GCS async upload

Creates a pending document record and returns a signed PUT URL for direct client upload to GCS

post/api/users/files/upload/initiate

Request

  • Base URL: https://localhost:8080
  • URL: https://localhost:8080/api/users/files/upload/initiate
  • Auth: bearer (a scheme the document does not define)

Request body

fileNamestring required

Original file name

mimeTypestring required

File MIME type

fileSizenumber required

File size in bytes

folderIdstring

Target folder ID — defaults to My Files when omitted

Response

documentId, signedUploadUrl, expiresAt

Changes

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