Project

General

Profile

Actions

Subtask #46181

closed

Feature #40907: mgr/dashboard: REST API improvements

Bug #44013: mgr/dashboard: current REST API flaws

Consolidate OSD mark endpoints

Added by Anonymous almost 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Docs
Target version:
% 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.

Actions #1

Updated by Anonymous almost 4 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Anonymous almost 4 years ago

  • % Done changed from 50 to 70
Actions #3

Updated by Avan Thakkar over 3 years ago

  • Status changed from In Progress to Fix Under Review
Actions #4

Updated by Lenz Grimmer over 3 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF