-
-
Notifications
You must be signed in to change notification settings - Fork 163
Open
Description
Hello
So i have to batch a list of members who are either new or will be updated. In the docs example i saw you'd need something like this
gibbon.batches.create(body: {
operations: [{
method: "POST",
path: "lists/#{ list_id }/members",
body: "{...}" # The JSON payload for PUT, POST, or PATCH
}, ...]})
So here the JSON payload is the same. if it's a PUT or POST (the upsert and create have the exact same body), but this would not work, because the method is 'POST' and if the member is there, it will throw a 400. But if i change that to 'PUT' then this would not go through, signaling a 405 error of method not allowed.
Is updating via batching not supported or am i missing something ?
Metadata
Metadata
Assignees
Labels
No labels