Add POST support to the DiffFileAttachmentResource.

Review Request #13544 — Created Feb. 16, 2024 and submitted — Latest diff uploaded

Information

Review Board
release-7.x

Reviewers

This change adds the ability to upload files to attach to diffs via the
DiffFileAttachmentResource. This was previously read-only in the API.

  • Ran unit tests.
  • Used this from RBTools.

Changes between revision 1 and 2

orig
1
2
3
4

Commits

Summary ID Author
Add POST support to the DiffFileAttachmentResource.
This change adds the ability to upload files to attach to diffs via the `DiffFileAttachmentResource`. This was previously read-only in the API. Testing Done: - Ran unit tests. - Used this from RBTools.
9f20aac4be65cf18462dc95b4721675772563d4b David Trowbridge
Add POST support to the DiffFileAttachmentResource.
This change adds the ability to upload files to attach to diffs via the `DiffFileAttachmentResource`. This was previously read-only in the API. Testing Done: - Ran unit tests. - Used this from RBTools.
5c8697b55d73100add926350ef4f02174fb883de David Trowbridge
reviewboard/webapi/resources/diff_file_attachment.py
reviewboard/webapi/tests/test_diff_file_attachment.py
Loading...