Feature #35949
open
This is a recurring feature request, although it usually seems to come from people who want a particular piece of functionality, but don't want to ask for an actual REST API for it.
Don't forget to put a huge health warning on the docs around this, to note that any passed-through commands may change even if the REST API itself is stable.
Also I guess access to this would be limited to super-privileged user accounts?
John Spray wrote:
This is a recurring feature request, although it usually seems to come from people who want a particular piece of functionality, but don't want to ask for an actual REST API for it.
Indeed, it would be helpful to get more specific feedback on what's actually missing that would require this kind of "low-level" API, but IIRC this is primarily intended to support existing customers with legacy applications that use this feature.
Don't forget to put a huge health warning on the docs around this, to note that any passed-through commands may change even if the REST API itself is stable.
Good point, indeed.
Also I guess access to this would be limited to super-privileged user accounts?
It probably should - maybe with a special security scope in the roles management?
- Assignee set to Paul Cuzner
@Paul - according to the notes on the Dashboard F2F Etherpad , it was an action item for you to further specify/clarify this. Any guidance / input would be helpful. I assume this is a feature from the deprecated ceph_rest_api.py
script, not the "restful" manager module?
- Parent task set to #40907
There has been ongoing discussion if we really want to have such a thing in an API. It's basically against the RESTful concept and there are other downsides (mostly around security, auth, ...). One idea was instead of fully deprecating the current restful
module, to just remove the other API endpoints and only keep the pass-through MON command part.
- Related to Tasks #47066: mgr/restful: Deprecate the "restful" module in favor of the Ceph Dashboard REST API added
- Project changed from mgr to Dashboard
- Category changed from 146 to General - Back-end
Also available in: Atom
PDF