{ "opencollection": "1.0.0", "info": { "name": "Coder Agents Authorization API", "version": "2.0" }, "request": { "auth": { "type": "apikey", "key": "Coder-Session-Token", "value": "{{Coder-Session-Token}}", "placement": "header" } }, "items": [ { "info": { "name": "Authorization", "type": "folder" }, "items": [ { "info": { "name": "List API key scopes", "type": "http" }, "http": { "method": "GET", "url": "https://{coderHost}/api/v2/api/v2/auth/scopes", "auth": { "type": "apikey", "key": "Coder-Session-Token", "value": "{{Coder-Session-Token}}", "placement": "header" } }, "docs": "List API key scopes" }, { "info": { "name": "Check authorization", "type": "http" }, "http": { "method": "POST", "url": "https://{coderHost}/api/v2/api/v2/authcheck", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Coder-Session-Token", "value": "{{Coder-Session-Token}}", "placement": "header" } }, "docs": "Check authorization" }, { "info": { "name": "Log in user", "type": "http" }, "http": { "method": "POST", "url": "https://{coderHost}/api/v2/api/v2/users/login", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Coder-Session-Token", "value": "{{Coder-Session-Token}}", "placement": "header" } }, "docs": "Log in user" }, { "info": { "name": "Change password with a one-time passcode", "type": "http" }, "http": { "method": "POST", "url": "https://{coderHost}/api/v2/api/v2/users/otp/change-password", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Coder-Session-Token", "value": "{{Coder-Session-Token}}", "placement": "header" } }, "docs": "Change password with a one-time passcode" }, { "info": { "name": "Request one-time passcode", "type": "http" }, "http": { "method": "POST", "url": "https://{coderHost}/api/v2/api/v2/users/otp/request", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Coder-Session-Token", "value": "{{Coder-Session-Token}}", "placement": "header" } }, "docs": "Request one-time passcode" }, { "info": { "name": "Validate user password", "type": "http" }, "http": { "method": "POST", "url": "https://{coderHost}/api/v2/api/v2/users/validate-password", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Coder-Session-Token", "value": "{{Coder-Session-Token}}", "placement": "header" } }, "docs": "Validate user password" }, { "info": { "name": "Convert user from password to oauth authentication", "type": "http" }, "http": { "method": "POST", "url": "https://{coderHost}/api/v2/api/v2/users/:user/convert-login", "params": [ { "name": "user", "value": "", "type": "path", "description": "User ID, name, or me" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Coder-Session-Token", "value": "{{Coder-Session-Token}}", "placement": "header" } }, "docs": "Convert user from password to oauth authentication" } ] } ], "bundled": true }