Upload a file
put/sessions/{sessionId}/filerefs/{fileref}/content
Uploads a physical file that is associated with a fileref.
Name | Type | Required | Description |
---|---|---|---|
fileref | string | true | Specifies the fileref name. The name must be eight or fewer characters. |
sessionId | string<object-id> | true | Specifies the ID of the session. |
Name | Type | Required | Description |
---|---|---|---|
If-Match | string | true | Specifies the ETag of the fileref that you are updating. |
Status | Meaning | Description | ||
---|---|---|---|---|
201 | Created | The file content was created. | Headers | |
400 | Bad Request | The request was invalid. | Schema | |
404 | Not Found | No resource exists at the requested path. | Schema | |
412 | Precondition Failed | The `If-Match` request header did not match the resource's entity tag, or the `If-Unmodified-Since` request header did not match the resources last modified timestamp. | Schema | |
428 | Precondition Required | The request headers did not include an `If-Match` or `If-Unmodified-Since` precondition. | Schema |