Files

Uploads a file to a session via multipart/form-data with a file field that accepts either binary data or a URL string to download from, and an optional path field for the file storage path.

post/v1/sessions/{sessionId}/files

Request

  • Base URL: http://0.0.0.0:3000
  • URL: http://0.0.0.0:3000/v1/sessions/{sessionId}/files
  • Auth: none declared

Path parameters

sessionIdstring required

Response

Default Response

pathstring required

Path to the file in the storage system

sizenumber required

Size of the file in bytes

lastModifiedstring date-time required

Timestamp when the file was last updated

Changes