Update Items with revision

Hi,

is there a way to update an item via the API including a revision history of that item?
It looks like a revision history is only created when an item is updated via the UI.

Greetings
Kai

It should work by passing param revision=1

I have tried the following:

1

curl -X POST \
'https://myhost.com/cockpit/api/collections/save/blog?token=...&revision=1' \
-H 'Content-Type: application/json' \
-d '{ 
    "data": {
	"_id": "5d5d13d26637336217000283",
	"Content": "revisioned article 2"
     }
   }'

2

   curl -X POST \
    'https://myhost.com/cockpit/api/collections/save/blog?token=...' \
    -H 'Content-Type: application/json' \
    -d '{ 
	"data": {
		"_id": "5d5d13d26637336217000283",
		"Content": "revisioned article 3",
		"revision": 1
	 }
    }

3

   curl -X POST \
    'https://myhost.com/cockpit/api/collections/save/blog?token=...' \
    -H 'Content-Type: application/json' \
    -d '{ 
	"data": {
		"_id": "5d5d13d26637336217000283",
		"Content": "revisioned article 4"
	 },
        "revision": 1
    }

Yet i can’t see any revisions…