POST api/Files/{id}/Related

Adds a related file.

Request

Parameters

Name Description Default
id Unique file ID
fileID Unique ID of related file

Response

Body

Status Codes

Code Condition
200 OKThe file was already related.
201 CreatedThe related file was added.
400 Bad RequestInvalid file or related file IDs.
401 Unauthorized Access token is invalid, expired or not specified.
403 ForbiddenUser does not have permission.
404 Not FoundFile does not exist.
406 Not Acceptable Content type specified in the Accept header isn't supported.
500 Internal Server Error An internal error occurred.