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

Bulk changes #2

Closed
garethsb opened this issue Apr 26, 2023 · 2 comments
Closed

Bulk changes #2

garethsb opened this issue Apr 26, 2023 · 2 comments

Comments

@garethsb
Copy link
Contributor

Do we need a bulk API?

Making changes for many resources of one type could be done by supporting PATCH (or POST) on the collection endpoints /devices, /sources, etc. with an array of objects - each object would need id property in addition to the current resource_core_patch.json properties.

Obvs, could also come up with a single request endpoint to do resources of several types.

These approaches would still need an object per resource. If we want a way to have one change applied to multiple resources, that needs a different kind of API.

@cristian-recoseanu
Copy link

Discussion during the meeting: the group feels this will complicate the API and put more burden on the nodes/devices which can instead be better placed in the provisioning tool / controller.

@peterbrightwell
Copy link
Contributor

Decision 2023-05-04: no bulk API support this iteration. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants