{ "opencollection": "1.0.0", "info": { "name": "Lichess.org API reference Account API", "version": "2.0.144" }, "items": [ { "info": { "name": "Account", "type": "folder" }, "items": [ { "info": { "name": "Get my profile", "type": "http" }, "http": { "method": "GET", "url": "https://lichess.org/api/account", "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://lichess.org/oauth", "accessTokenUrl": "https://lichess.org/api/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Public information about the logged in user.\n" }, { "info": { "name": "Get my email address", "type": "http" }, "http": { "method": "GET", "url": "https://lichess.org/api/account/email", "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://lichess.org/oauth", "accessTokenUrl": "https://lichess.org/api/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Read the email address of the logged in user.\n" }, { "info": { "name": "Get my preferences", "type": "http" }, "http": { "method": "GET", "url": "https://lichess.org/api/account/preferences", "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://lichess.org/oauth", "accessTokenUrl": "https://lichess.org/api/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Read the preferences of the logged in user.\n- \n- \n" }, { "info": { "name": "Get my kid mode status", "type": "http" }, "http": { "method": "GET", "url": "https://lichess.org/api/account/kid", "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://lichess.org/oauth", "accessTokenUrl": "https://lichess.org/api/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Read the kid mode status of the logged in user.\n- \n" }, { "info": { "name": "Set my kid mode status", "type": "http" }, "http": { "method": "POST", "url": "https://lichess.org/api/account/kid", "params": [ { "name": "v", "value": "true", "type": "query", "description": "Kid mode status" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://lichess.org/oauth", "accessTokenUrl": "https://lichess.org/api/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Set the kid mode status of the logged in user.\n- \n" }, { "info": { "name": "Get my timeline", "type": "http" }, "http": { "method": "GET", "url": "https://lichess.org/api/timeline", "params": [ { "name": "since", "value": "", "type": "query", "description": "Show events since this timestamp." }, { "name": "nb", "value": "", "type": "query", "description": "Max number of events to fetch." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://lichess.org/oauth", "accessTokenUrl": "https://lichess.org/api/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get the timeline events of the logged in user.\n" } ] } ], "bundled": true }