{"action":"created","issue":{"url":"https://api.github.com/repos/tootsuite/mastodon/issues/9180","repository_url":"https://api.github.com/repos/tootsuite/mastodon","labels_url":"https://api.github.com/repos/tootsuite/mastodon/issues/9180/labels{/name}","comments_url":"https://api.github.com/repos/tootsuite/mastodon/issues/9180/comments","events_url":"https://api.github.com/repos/tootsuite/mastodon/issues/9180/events","html_url":"https://github.com/tootsuite/mastodon/issues/9180","id":375928047,"node_id":"MDU6SXNzdWUzNzU5MjgwNDc=","number":9180,"title":"[Feature Request]API: Get total registered count / next free id slot for instance (aka fix/extend user_count)","user":{"login":"blubbll","id":34196146,"node_id":"MDQ6VXNlcjM0MTk2MTQ2","avatar_url":"https://avatars2.githubusercontent.com/u/34196146?v=4","gravatar_id":"","url":"https://api.github.com/users/blubbll","html_url":"https://github.com/blubbll","followers_url":"https://api.github.com/users/blubbll/followers","following_url":"https://api.github.com/users/blubbll/following{/other_user}","gists_url":"https://api.github.com/users/blubbll/gists{/gist_id}","starred_url":"https://api.github.com/users/blubbll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blubbll/subscriptions","organizations_url":"https://api.github.com/users/blubbll/orgs","repos_url":"https://api.github.com/users/blubbll/repos","events_url":"https://api.github.com/users/blubbll/events{/privacy}","received_events_url":"https://api.github.com/users/blubbll/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-10-31T11:59:40Z","updated_at":"2018-11-02T10:45:11Z","closed_at":"2018-11-02T08:28:29Z","author_association":"NONE","body":"I currently solve this by having a bot check if a new accounts older than the latest known id exists:\r\nhttps://github.com/blubbll/mastodon/blob/master/masto-count.js\r\n\r\nit wouldn't be too hard to use an actual query like the current user_count does.\r\nbut it instead should also return unconfirmed accounts.\r\n\r\nbut maybe this is too niche and will never be implemented, but that's fine too, as i have a scraping solution for disconnected mastodons/mastodons without user holes yet.\r\n\r\nthis isn't perfect and fails on mastodons that have a broken user record (404 holes between first and lastest used id).\r\n\r\nfollowing on that: or maybe always return a 410 on actually gone / hole accounts instead of a 404. since that id spot cannot be used anyways, heck maybe even a 423 Locked or a 202 (Marked for deletion).\r\n\r\nthx\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tootsuite/mastodon/issues/comments/435339853","html_url":"https://github.com/tootsuite/mastodon/issues/9180#issuecomment-435339853","issue_url":"https://api.github.com/repos/tootsuite/mastodon/issues/9180","id":435339853,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTMzOTg1Mw==","user":{"login":"blubbll","id":34196146,"node_id":"MDQ6VXNlcjM0MTk2MTQ2","avatar_url":"https://avatars2.githubusercontent.com/u/34196146?v=4","gravatar_id":"","url":"https://api.github.com/users/blubbll","html_url":"https://github.com/blubbll","followers_url":"https://api.github.com/users/blubbll/followers","following_url":"https://api.github.com/users/blubbll/following{/other_user}","gists_url":"https://api.github.com/users/blubbll/gists{/gist_id}","starred_url":"https://api.github.com/users/blubbll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blubbll/subscriptions","organizations_url":"https://api.github.com/users/blubbll/orgs","repos_url":"https://api.github.com/users/blubbll/repos","events_url":"https://api.github.com/users/blubbll/events{/privacy}","received_events_url":"https://api.github.com/users/blubbll/received_events","type":"User","site_admin":false},"created_at":"2018-11-02T10:45:11Z","updated_at":"2018-11-02T10:45:11Z","author_association":"NONE","body":"Yeah well, i would, but there's no total_accounts count (that includes gone, occupied, unconfirmed, remote, etc users) in the mastodon API yet"}}
{"actor":{"display_login":"blubbll"}}