Open thijsbenschop opened 1 week ago
The API endpoint has changed and now accepts an array for both collections and projects. The input/payload should look like this:
{
"collections": [13,12,15],
"id_format": "id",
"projects": [1,2,3,4]
}
Thanks Mehmood
Hi,
the function collection_remove_projects doesn't work. One reason is that the function argument collection_id in the R function is passed in the body as "collection_id", but should be "collections" according to the API documentation.
Also, the argument id_format cannot be passed through the R function. Therefore, I would propose to change the function as follows.
After these changes, the function returns a 200 success response, but the project is not removed from the collection.