Files

Upload User File

Changed on

Upload a file for the current user and track it in the database.

post/api/v2/files

Request

  • The document declares no server URL.
  • Auth
    • OAuth 2
      Password
      Token URL: api/v1/login
    • or API key in query parameter x-api-key
    • or API key in header x-api-key

Query parameters

appendboolean
ephemeralboolean

Request body multipart/form-data

filestring binary required

Response

Successful Response

idstring uuid required
namestring required
pathstring required
providerstring nullable
sizeinteger required

Changes

    • breaking

      the response's property format changed from path to no format for status

    • info

      added the new optional query request parameter ephemeral

    • breaking

      the request property contentMediaType changed from to application/octet-stream

    • info

      the request property format was generalized from binary to no format

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status