- wrong endpoint
/updateCollection/
updates the collection itself, its labels and fields config - not an entry
You need to call /save/
instead:
/api/collections/save/COLLECTION_NAME
- wrong params
The params expected are
{
data: {_id: ENTRY_ID, ...}, // or array of entries [{_id: ...}, {_id: ...}]
revision: true, // optional; default: false
}
// update
corrected misspelled param revision
(was revisions
).