Adds a related file.
| Name | Description | Default |
|---|---|---|
id
|
Unique file ID | |
fileID
|
Unique ID of related file |
| Code | Condition |
|---|---|
| 200 OK | The file was already related. |
| 201 Created | The related file was added. |
| 400 Bad Request | Invalid file or related file IDs. |
| 401 Unauthorized | Access token is invalid, expired or not specified. |
| 403 Forbidden | User does not have permission. |
| 404 Not Found | File does not exist. |
| 406 Not Acceptable | Content type specified in the Accept header isn't supported. |
| 500 Internal Server Error | An internal error occurred. |