You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
Do we need a bulk API?
Making changes for many resources of one type could be done by supporting
PATCH
(orPOST
) on the collection endpoints /devices, /sources, etc. with an array of objects - each object would needid
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.
The text was updated successfully, but these errors were encountered: