Issues
Issues copied to clipboard
/api/releases endpoint does not honor the ?ids=Releases-Id query parameter
Team
- [X] I've assigned a team label to this issue
Severity
One report
Version
2022.4.3913-hotfix.4575
Latest Version
No response
What happened?
The /api/releases endpoint has an ids parameter to filter based on ID ("Template": "/api/Spaces-323/releases{?skip,take,ids}",), however this endpoint does not filter out releases when using ?ids=Releases-Id filter.
As mentioned in the report, other endpoints do honor the ids filter, e.g. /api/tasks?ids=ServerTasks-123
Reproduction
- Create two unique releases taking note of each Releases-Id
- Attempt to use the ?ids= filter on the /api/releases endpoint (e.g. OctoURL/api/releases?ids=Releases-123)
- See the results don't filter out releases
Error and Stacktrace
No response
More Information
Reported here: https://help.octopus.com/t/ids-filter-ignored-by-api-when-get-releases/28487
Workaround
No response