{"action":"created","issue":{"url":"https://api.github.com/repos/learningtapestry/learningregistry/issues/18","repository_url":"https://api.github.com/repos/learningtapestry/learningregistry","labels_url":"https://api.github.com/repos/learningtapestry/learningregistry/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/learningtapestry/learningregistry/issues/18/comments","events_url":"https://api.github.com/repos/learningtapestry/learningregistry/issues/18/events","html_url":"https://github.com/learningtapestry/learningregistry/issues/18","id":154246834,"number":18,"title":"Add root & community info endpoints","user":{"login":"aspino","id":1306310,"avatar_url":"https://avatars.githubusercontent.com/u/1306310?v=3","gravatar_id":"","url":"https://api.github.com/users/aspino","html_url":"https://github.com/aspino","followers_url":"https://api.github.com/users/aspino/followers","following_url":"https://api.github.com/users/aspino/following{/other_user}","gists_url":"https://api.github.com/users/aspino/gists{/gist_id}","starred_url":"https://api.github.com/users/aspino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspino/subscriptions","organizations_url":"https://api.github.com/users/aspino/orgs","repos_url":"https://api.github.com/users/aspino/repos","events_url":"https://api.github.com/users/aspino/events{/privacy}","received_events_url":"https://api.github.com/users/aspino/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"aspino","id":1306310,"avatar_url":"https://avatars.githubusercontent.com/u/1306310?v=3","gravatar_id":"","url":"https://api.github.com/users/aspino","html_url":"https://github.com/aspino","followers_url":"https://api.github.com/users/aspino/followers","following_url":"https://api.github.com/users/aspino/following{/other_user}","gists_url":"https://api.github.com/users/aspino/gists{/gist_id}","starred_url":"https://api.github.com/users/aspino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspino/subscriptions","organizations_url":"https://api.github.com/users/aspino/orgs","repos_url":"https://api.github.com/users/aspino/repos","events_url":"https://api.github.com/users/aspino/events{/privacy}","received_events_url":"https://api.github.com/users/aspino/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-05-11T13:42:46Z","updated_at":"2016-05-16T12:04:36Z","closed_at":null,"body":"Take advantage of the root endpoint, currently unused, to give some status info (version, node name, status, available communities, etc.). \r\n\r\nAnother info endpoint scoped by community  (e.g: `/api/learning-registry`) would be useful to give community-specific details like total number of records, archive.org collection, etc."},"comment":{"url":"https://api.github.com/repos/learningtapestry/learningregistry/issues/comments/219409701","html_url":"https://github.com/learningtapestry/learningregistry/issues/18#issuecomment-219409701","issue_url":"https://api.github.com/repos/learningtapestry/learningregistry/issues/18","id":219409701,"user":{"login":"aspino","id":1306310,"avatar_url":"https://avatars.githubusercontent.com/u/1306310?v=3","gravatar_id":"","url":"https://api.github.com/users/aspino","html_url":"https://github.com/aspino","followers_url":"https://api.github.com/users/aspino/followers","following_url":"https://api.github.com/users/aspino/following{/other_user}","gists_url":"https://api.github.com/users/aspino/gists{/gist_id}","starred_url":"https://api.github.com/users/aspino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspino/subscriptions","organizations_url":"https://api.github.com/users/aspino/orgs","repos_url":"https://api.github.com/users/aspino/repos","events_url":"https://api.github.com/users/aspino/events{/privacy}","received_events_url":"https://api.github.com/users/aspino/received_events","type":"User","site_admin":false},"created_at":"2016-05-16T12:04:36Z","updated_at":"2016-05-16T12:04:36Z","body":"My preference is using `api` as the root endpoint. Keep in mind that its purpose is just to act as a top-level scope to differentiate it from other resources in the same server, like a login page, documentation or anything that involves HTML or other non-API friendly formats. This way you can be sure that anything under `/api` is related to the API and will return a `JSON` response. That's why `/api/[community]/...` makes more sense to me.\r\n\r\nAgree with everything else you said."}}