Mounts

Write Mount File

Changed on
put/mounts/{mount_id}/files

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/mounts/{mount_id}/files
  • Auth
    API key in header Authorization

Path parameters

mount_idstring uuid required

Query parameters

pathstring required

Headers

if-matchstring nullable
if-none-matchstring nullable
x-agenta-app-scopestring nullable

Request body application/octet-stream

string binary required

Response

Successful Response

pathstring required
sizeinteger
etagstring nullable

Changes

    • breaking

      added required request body

    • info

      added the new optional header request parameter if-match

    • info

      added the new optional header request parameter if-none-match

    • info

      added the new optional header request parameter x-agenta-app-scope

    • info

      added the optional property to the response with the status

    • info

      endpoint added