Actions
Subtask #46181
closedFeature #40907: mgr/dashboard: REST API improvements
Bug #44013: mgr/dashboard: current REST API flaws
Consolidate OSD mark endpoints
% Done:
70%
Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
We currently expose 191 different endpoints (only the /osd resource has 17, and that doesn't include the new ones for creating/deleting OSDs). This could be improved by aggregating endpoints (e.g.: /osd/{id}, body: {down, out, up, in, lost..} instead of /osd/{id}/mark_down, /osd/{id}/mark_out, /osd/{id}/mark_up, /osd/{id}/mark_in, /osd/{id}/mark_lost,...
This will also result in less redundant code to maintain and fix.
OSD mark endpoints will be consolidated into one endpoint.
Updated by Avan Thakkar over 3 years ago
- Status changed from In Progress to Fix Under Review
Updated by Lenz Grimmer over 3 years ago
- Status changed from Fix Under Review to Resolved
Actions