Slight inconsistencies remain in APIv2 resources

Bug #1745294 reported by Jeremy Freudberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
New
Undecided
Unassigned

Bug Description

For example, the object returned in POST/GET/PATCH/DELETE on the /v2/job-templates endpoint is of the form {"job": ...}, and for /v2/jobs it's of the form {"job_execution": ...}.

You can see that those keys are the legacy name of that kind of resource. That's a holdover from APIv1 and it has to do with Sahara's data model, going down to how the conductor module works.

It is possible to refactor a bit, and we should do so, before moving APIv2 from EXPERIMENTAL to CURRENT/SUPPORTED.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.