View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0034425 | mantisbt | api rest | public | 2024-04-26 15:09 | 2026-08-22 13:14 |
| Reporter | newtondino | Assigned To | vboctor | ||
| Priority | normal | Severity | feature | Reproducibility | N/A |
| Status | resolved | Resolution | fixed | ||
| Target Version | 2.29.0 | Fixed in Version | 2.29.0 | ||
| Summary | 0034425: Delete attachment via REST | ||||
| Description | Periodically I do attachment cleanup on old tickets:
It's really close to being a fully scripted process except for the delete part. I've seen 2 cancelled PRs related to this topic. Hoping it can be revisited sometime soon. TIA | ||||
| Tags | No tags attached. | ||||
|
Sorry, there is only 1 cancelled PR for 0023871 and that request was to provide a delete_url. |
|
|
Contributions are welcome |
|
|
MantisBT: master 8ea22d7d 2026-08-22 04:34 Details Diff |
Add issue attachment delete command Fixes 0034425 |
Affected Issues 0034425 |
|
| add - core/commands/IssueFileDeleteCommand.php | Diff File | ||
|
MantisBT: master fbb64787 2026-08-22 04:35 Details Diff |
Expose issue attachment deletion via REST Fixes 0034425 |
Affected Issues 0034425 |
|
| mod - api/rest/mantisbt_openapi.yaml | Diff File | ||
| mod - api/rest/restcore/issues_rest.php | Diff File | ||
|
MantisBT: master f0dcf7ff 2026-08-22 04:35 Details Diff |
Test REST issue attachment operations Fixes 0034425 |
Affected Issues 0034425 |
|
| add - tests/rest/RestIssueFilesTest.php | Diff File | ||
|
MantisBT: master ff40be06 2026-08-22 04:39 Details Diff |
Use command for web attachment deletion Fixes 0034425 |
Affected Issues 0034425 |
|
| mod - bug_file_delete.php | Diff File | ||
|
MantisBT: master 5a4f4da6 2026-08-22 04:39 Details Diff |
Use command for SOAP attachment deletion Fixes 0034425 |
Affected Issues 0034425 |
|
| mod - api/soap/mc_issue_attachment_api.php | Diff File | ||
| mod - tests/soap/AttachmentTest.php | Diff File | ||
|
MantisBT: master 2435c4eb 2026-08-22 04:51 Details Diff |
Fix OpenAPI attachment delete path Fixes 0034425 |
Affected Issues 0034425 |
|
| mod - api/rest/mantisbt_openapi.yaml | Diff File | ||