{ "opencollection": "1.0.0", "info": { "name": "Lemmy REST Account Authentication API", "version": "4.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Authentication", "type": "folder" }, "items": [ { "info": { "name": "Register a new account", "type": "http" }, "http": { "method": "POST", "url": "https://lemmy.world/api/v4/account/auth/register", "body": { "type": "json", "data": "{}" } }, "docs": "Create a new user account on this instance." }, { "info": { "name": "Login to account", "type": "http" }, "http": { "method": "POST", "url": "https://lemmy.world/api/v4/account/auth/login", "body": { "type": "json", "data": "{}" } }, "docs": "Authenticate with username/email and password to receive a JWT token." }, { "info": { "name": "Logout from account", "type": "http" }, "http": { "method": "POST", "url": "https://lemmy.world/api/v4/account/auth/logout" }, "docs": "Invalidate the current JWT token." }, { "info": { "name": "Reset password", "type": "http" }, "http": { "method": "POST", "url": "https://lemmy.world/api/v4/account/auth/password_reset", "body": { "type": "json", "data": "{}" } }, "docs": "Send a password reset email to the account." }, { "info": { "name": "Change account password", "type": "http" }, "http": { "method": "PUT", "url": "https://lemmy.world/api/v4/account/auth/change_password", "body": { "type": "json", "data": "{}" } }, "docs": "Change password for the authenticated user." } ] } ], "bundled": true }