Upload a file

put/sessions/{sessionId}/filerefs/{fileref}/content
Internal-Use Only

Uploads a physical file that is associated with a fileref.

Request Samples

1

Response Samples

1No example avaliable

Path Parameters

NameTypeRequiredDescription
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.

Header Parameters

NameTypeRequiredDescription
If-Match
string
true

Specifies the ETag of the fileref that you are updating.

Request Body

Specifies the data to upload to the fileref.

Responses

StatusMeaningDescription
201CreatedThe file content was created.Headers
400Bad RequestThe request was invalid.Schema
404Not FoundNo resource exists at the requested path.Schema
412Precondition FailedThe `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
428Precondition RequiredThe request headers did not include an `If-Match` or `If-Unmodified-Since` precondition.Schema