{ "opencollection": "1.0.0", "info": { "name": "Reolink Camera HTTP AI Authentication API", "version": "8.0" }, "request": { "auth": { "type": "apikey", "key": "token", "value": "{{token}}", "placement": "query" } }, "items": [ { "info": { "name": "Authentication", "type": "folder" }, "items": [ { "info": { "name": "Authenticate and obtain session token", "type": "http" }, "http": { "method": "POST", "url": "https://{camera_ip}/cgi-bin/api.cgi", "body": { "type": "json", "data": "{}" } }, "docs": "Authenticates a user with the camera and returns a session token for use in subsequent API requests." }, { "info": { "name": "End session and invalidate token", "type": "http" }, "http": { "method": "POST", "url": "https://{camera_ip}/cgi-bin/api.cgi?cmd=Logout&token=:token", "params": [ { "name": "token", "value": "", "type": "path", "description": "Authentication token obtained from the Login command" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Logs out the current session and invalidates the authentication token." } ] } ], "bundled": true }