Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API service edits should support parent_service references #13664

Closed
abellotti opened this issue Jan 26, 2017 · 0 comments · Fixed by #14124
Closed

API service edits should support parent_service references #13664

abellotti opened this issue Jan 26, 2017 · 0 comments · Fixed by #14124
Assignees

Comments

@abellotti
Copy link
Member

While we support specifying parent_id when editing a service via POST /api/services/:id, API should support the parent_service reference signature (href or id) like it does for create:

Example:

POST /api/services/:id

{
   "action" : "edit",
   "resource" : {
       "parent_service" : { "href" : "http://localhost:3000/api/services/10" }
   }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant