{"action":"created","issue":{"url":"https://api.github.com/repos/ppy/osu-web/issues/3863","repository_url":"https://api.github.com/repos/ppy/osu-web","labels_url":"https://api.github.com/repos/ppy/osu-web/issues/3863/labels{/name}","comments_url":"https://api.github.com/repos/ppy/osu-web/issues/3863/comments","events_url":"https://api.github.com/repos/ppy/osu-web/issues/3863/events","html_url":"https://github.com/ppy/osu-web/pull/3863","id":378502009,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5MTkzNjYx","number":3863,"title":"Add API scopes","user":{"login":"cl8n","id":9954349,"node_id":"MDQ6VXNlcjk5NTQzNDk=","avatar_url":"https://avatars3.githubusercontent.com/u/9954349?v=4","gravatar_id":"","url":"https://api.github.com/users/cl8n","html_url":"https://github.com/cl8n","followers_url":"https://api.github.com/users/cl8n/followers","following_url":"https://api.github.com/users/cl8n/following{/other_user}","gists_url":"https://api.github.com/users/cl8n/gists{/gist_id}","starred_url":"https://api.github.com/users/cl8n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cl8n/subscriptions","organizations_url":"https://api.github.com/users/cl8n/orgs","repos_url":"https://api.github.com/users/cl8n/repos","events_url":"https://api.github.com/users/cl8n/events{/privacy}","received_events_url":"https://api.github.com/users/cl8n/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-07T22:45:23Z","updated_at":"2018-11-08T07:54:21Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/ppy/osu-web/pulls/3863","html_url":"https://github.com/ppy/osu-web/pull/3863","diff_url":"https://github.com/ppy/osu-web/pull/3863.diff","patch_url":"https://github.com/ppy/osu-web/pull/3863.patch"},"body":"closes #3857 \r\n\r\nadds five scopes: `beatmapset.download`, `chat.read`, `chat.write`, `user.identify` and `user.read`\r\n\r\n---"},"comment":{"url":"https://api.github.com/repos/ppy/osu-web/issues/comments/436904257","html_url":"https://github.com/ppy/osu-web/pull/3863#issuecomment-436904257","issue_url":"https://api.github.com/repos/ppy/osu-web/issues/3863","id":436904257,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjkwNDI1Nw==","user":{"login":"nekodex","id":272140,"node_id":"MDQ6VXNlcjI3MjE0MA==","avatar_url":"https://avatars0.githubusercontent.com/u/272140?v=4","gravatar_id":"","url":"https://api.github.com/users/nekodex","html_url":"https://github.com/nekodex","followers_url":"https://api.github.com/users/nekodex/followers","following_url":"https://api.github.com/users/nekodex/following{/other_user}","gists_url":"https://api.github.com/users/nekodex/gists{/gist_id}","starred_url":"https://api.github.com/users/nekodex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nekodex/subscriptions","organizations_url":"https://api.github.com/users/nekodex/orgs","repos_url":"https://api.github.com/users/nekodex/repos","events_url":"https://api.github.com/users/nekodex/events{/privacy}","received_events_url":"https://api.github.com/users/nekodex/received_events","type":"User","site_admin":false},"created_at":"2018-11-08T07:54:21Z","updated_at":"2018-11-08T07:54:21Z","author_association":"COLLABORATOR","body":"Also after a bit of internal discussion, we're thinking just three scopes initially is enough:\r\n - `identify`\r\n - `read`\r\n - `write`\r\n\r\n`identify` and global `read` being available to third-party clients, but global `write` only available for lazer to begin with (AFAIK chat-related endpoints would be the only 'write' ones ATM, with things like account settings being added later).\r\n\r\nOnce the API is more finalised later on, we'll add more granularity to the read/write scopes. "}}
{"actor":{"display_login":"nekodex"}}