Project

General

Profile

Actions

Cleanup #42514

open

Feature #40907: mgr/dashboard: REST API improvements

mgr/dashboard: REST API: express RBD hierarchies (pool > namespace > image > snapshot) via URL subparts

Added by Ernesto Puerta over 4 years ago. Updated about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Component - RBD
Target version:
-
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Currently, RBD items don't keep a URLized hierarchy, but composed IDs to convey those relationships. Ideally, this should be expressed by:

api/block/pool/<pool_id>/namespace/<namespace_id>/image/<image_id>/snapshot/<snapshot_id>

And every URL sub part should respond to the corresponding HTTP verbs (GET, POST, PUT, DELETE).

Actions #1

Updated by Ricardo Marques over 4 years ago

Note that namespace is optional, see the following comment for a possible solution:

https://github.com/ceph/ceph/pull/30935#discussion_r339778187

Actions #2

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 139 to Component - RBD
Actions

Also available in: Atom PDF