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

Also available in: Atom PDF