Feature #7308
Expose ?defaults data on POST-able API resources
Status:
Resolved
Priority:
Normal
Assignee:
Category:
Backend (REST API)
Target version:
% Done:
0%
Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Description
Some fields have configurable defaults in Ceph, notably the osd_pool_default* settings.
Expose these in the REST API by allowing consumers to do a GET to e.g. /cluster/<foo>/pool?defaults before a POST, so that they can show a user what values would be used for attributes which are left out of a POST.
This will be a partial set of fields, only covering those that there are static defaults for, aka those which are optional in a POST.
Associated revisions
Fix #7308 (1/2) Get a copy of the ceph config
Fix #7308 (2/2) Expose ?defaults on /cluster/<fsid>/pool
History
#1 Updated by John Spray about 10 years ago
- translation missing: en.field_story_points set to 1.0
#2 Updated by John Spray about 10 years ago
- Status changed from New to Resolved
Merged to wip-2.0 at 34933213e79829bcd2bb80da251d85da7f917a63