Operation | HTTP Method | Description |
---|---|---|
/projects/{ProjectId}/{EntityCode}/{EntityId}/files | GET | Returns a list of attachments for the specified item (a defect, requirement, and so on). |
/projects/{ProjectID}/{EntityCode}/{EntityId}/files | POST | Adds a new attachment to an item (a defect, requirement, and so on). |
/projects/{ProjectID}/{EntityCode}/{EntityId}/files/{Id} | DELETE | Deletes an attachment. |
/projects/{ProjectID}/{EntityCode}/{EntityId}/files/{Id} | GET | Gets information on an attachment. |
/projects/{ProjectID}/{EntityCode}/{EntityId}/files/{Id} | PUT | Updates the specified attachment. |
/projects/{ProjectID}/{EntityCode}/{EntityId}/files/{Id} | POST | Updates the fields of the specified attachment. |