/api/notes/by-id/{noteId}/versionsPATCHapplication/jsonrequiredcurl -X PATCH "https://bri.fyi/api/notes/by-id/<noteId>/versions" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{ "action": "restore", "versionId": "string" }'