I want to restore a version of an item by REST API. I've tried restoring the version in the browser by opening the view below and it did work. The ID of the version which I wanted to restore is "1.0" and I could evoke this version by selecting "restore":
{URL}/_layouts/15/Versions.aspx?list=%7{LIST GUID}%7D&ID={ITEM ID}
However, I want to use the API directory to do it but it does not seem to work:
{URL}/_api/web/lists(guid'{LIST GUID}')/items({ITEM ID})/Versions/restoreByLabel(1.0)
I just receive a message "Cannot find resource for the request Versions"
. The variation "/File/Versions/restoreByLabel"
also does not seem to work. Why is it not possible to access the versions of a particular item through this directory? Is there another way to restore a version through REST API?