Files

Upload a file

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

Path parameters

sessionIdstring required

Response

Default Response

lastModifiedstring date-time required

Timestamp when the file was created

pathstring required

Path to the file in the storage system

sizenumber required

Size of the file in bytes

Changes

Changed in 6 of the 54 revisions of this API.520

    • request body became required

      request-body-became-required

    • added the non-success response with the status 401

      response-non-success-status-added

    • added the optional property linkToDocs to the response with the 400 status

      response-optional-property-added

    • added the optional property linkToDocs to the response with the 404 status

      response-optional-property-added

    • added the optional property linkToDocs to the response with the 409 status

      response-optional-property-added

    • added the optional property linkToDocs to the response with the 415 status

      response-optional-property-added

    • added the optional property linkToDocs to the response with the 500 status

      response-optional-property-added

    • the request property file became required

      request-property-became-required

    • the file request property contentEncoding changed from to binary

      request-property-content-encoding-changed

    • the file request property type/format was generalized from / to string/binary

      request-property-type-generalized

    • the response property context/items/params became required for the status 400

      response-property-became-required

    • the response property context/items/params became required for the status 404

      response-property-became-required

    • the response property context/items/params became required for the status 409

      response-property-became-required

    • the response property context/items/params became required for the status 415

      response-property-became-required

    • the response property context/items/params became required for the status 500

      response-property-became-required

    • the lastModified response's property pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ was added for the status 201

      response-property-pattern-added

  • 15ffd3fc04f316See the full diff
    • removed the success response with the status 200

      response-success-status-removed

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the non-success response with the status 404

      response-non-success-status-added

    • added the non-success response with the status 409

      response-non-success-status-added

    • added the non-success response with the status 415

      response-non-success-status-added

    • added the non-success response with the status 500

      response-non-success-status-added

    • added the success response with the status 201

      response-success-status-added

    • endpoint added

      endpoint-added

    • api removed without deprecation

      api-removed-without-deprecation

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog