{"action":"created","comment":{"url":"https://api.github.com/repos/cfpb/hmda-platform-ui/pulls/comments/63531918","id":63531918,"diff_hunk":"@@ -0,0 +1,73 @@\n+* `/api`\n+    * `GET` - Information about the API (version, metadata, links to repo, supported endpoints) - TODO\n+\n+* `/api/years`\n+    * `GET` - List of all supported years. Structure: `{\"years\": [\"2017\"]}`\n+\n+* `/api/years/<year>`\n+    * `GET` - Detailed attributes/metadata for a given year. Structure: [years](https://github.com/cfpb/hmda-platform-ui/blob/c7590b1e6bd3243a8cd7909463ab8e2dc8c046a5/server/json/year.json)\n+\n+* `/api/years/<year>/institutions`\n+    * `GET` - Complete list of institutions a user can/could file for a given year. Structure: [institutions](https://github.com/cfpb/hmda-platform-ui/blob/c7590b1e6bd3243a8cd7909463ab8e2dc8c046a5/server/json/user1-institutions.json)\n+\n+* `/api/institutions/`","path":"api.md","position":13,"original_position":13,"commit_id":"b502ca574b8c7fe1a2711d0d400d19b9df73647f","original_commit_id":"b502ca574b8c7fe1a2711d0d400d19b9df73647f","user":{"login":"awolfe76","id":2932572,"avatar_url":"https://avatars.githubusercontent.com/u/2932572?v=3","gravatar_id":"","url":"https://api.github.com/users/awolfe76","html_url":"https://github.com/awolfe76","followers_url":"https://api.github.com/users/awolfe76/followers","following_url":"https://api.github.com/users/awolfe76/following{/other_user}","gists_url":"https://api.github.com/users/awolfe76/gists{/gist_id}","starred_url":"https://api.github.com/users/awolfe76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awolfe76/subscriptions","organizations_url":"https://api.github.com/users/awolfe76/orgs","repos_url":"https://api.github.com/users/awolfe76/repos","events_url":"https://api.github.com/users/awolfe76/events{/privacy}","received_events_url":"https://api.github.com/users/awolfe76/received_events","type":"User","site_admin":false},"body":"Just curious what the use case is for this list?","created_at":"2016-05-17T14:28:37Z","updated_at":"2016-05-17T14:28:37Z","html_url":"https://github.com/cfpb/hmda-platform-ui/pull/109#discussion_r63531918","pull_request_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/pulls/109","_links":{"self":{"href":"https://api.github.com/repos/cfpb/hmda-platform-ui/pulls/comments/63531918"},"html":{"href":"https://github.com/cfpb/hmda-platform-ui/pull/109#discussion_r63531918"},"pull_request":{"href":"https://api.github.com/repos/cfpb/hmda-platform-ui/pulls/109"}}},"pull_request":{"url":"https://api.github.com/repos/cfpb/hmda-platform-ui/pulls/109","id":70318192,"html_url":"https://github.com/cfpb/hmda-platform-ui/pull/109","diff_url":"https://github.com/cfpb/hmda-platform-ui/pull/109.diff","patch_url":"https://github.com/cfpb/hmda-platform-ui/pull/109.patch","issue_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/issues/109","number":109,"state":"open","locked":false,"title":"Api docs","user":{"login":"wpears","id":1558033,"avatar_url":"https://avatars.githubusercontent.com/u/1558033?v=3","gravatar_id":"","url":"https://api.github.com/users/wpears","html_url":"https://github.com/wpears","followers_url":"https://api.github.com/users/wpears/followers","following_url":"https://api.github.com/users/wpears/following{/other_user}","gists_url":"https://api.github.com/users/wpears/gists{/gist_id}","starred_url":"https://api.github.com/users/wpears/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wpears/subscriptions","organizations_url":"https://api.github.com/users/wpears/orgs","repos_url":"https://api.github.com/users/wpears/repos","events_url":"https://api.github.com/users/wpears/events{/privacy}","received_events_url":"https://api.github.com/users/wpears/received_events","type":"User","site_admin":false},"body":"Documents the API, as implemented in the dev server.\r\n\r\nAlso, has a few code changes where the implementation wasn't conforming to the spec as conceived.","created_at":"2016-05-17T08:35:09Z","updated_at":"2016-05-17T14:28:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3fdef085b1bfab31385a45de631a1cb81e11b9f7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/pulls/109/commits","review_comments_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/pulls/109/comments","review_comment_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/issues/109/comments","statuses_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/statuses/b502ca574b8c7fe1a2711d0d400d19b9df73647f","head":{"label":"cfpb:api-docs","ref":"api-docs","sha":"b502ca574b8c7fe1a2711d0d400d19b9df73647f","user":{"login":"cfpb","id":1071563,"avatar_url":"https://avatars.githubusercontent.com/u/1071563?v=3","gravatar_id":"","url":"https://api.github.com/users/cfpb","html_url":"https://github.com/cfpb","followers_url":"https://api.github.com/users/cfpb/followers","following_url":"https://api.github.com/users/cfpb/following{/other_user}","gists_url":"https://api.github.com/users/cfpb/gists{/gist_id}","starred_url":"https://api.github.com/users/cfpb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfpb/subscriptions","organizations_url":"https://api.github.com/users/cfpb/orgs","repos_url":"https://api.github.com/users/cfpb/repos","events_url":"https://api.github.com/users/cfpb/events{/privacy}","received_events_url":"https://api.github.com/users/cfpb/received_events","type":"Organization","site_admin":false},"repo":{"id":50206262,"name":"hmda-platform-ui","full_name":"cfpb/hmda-platform-ui","owner":{"login":"cfpb","id":1071563,"avatar_url":"https://avatars.githubusercontent.com/u/1071563?v=3","gravatar_id":"","url":"https://api.github.com/users/cfpb","html_url":"https://github.com/cfpb","followers_url":"https://api.github.com/users/cfpb/followers","following_url":"https://api.github.com/users/cfpb/following{/other_user}","gists_url":"https://api.github.com/users/cfpb/gists{/gist_id}","starred_url":"https://api.github.com/users/cfpb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfpb/subscriptions","organizations_url":"https://api.github.com/users/cfpb/orgs","repos_url":"https://api.github.com/users/cfpb/repos","events_url":"https://api.github.com/users/cfpb/events{/privacy}","received_events_url":"https://api.github.com/users/cfpb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cfpb/hmda-platform-ui","description":"","fork":false,"url":"https://api.github.com/repos/cfpb/hmda-platform-ui","forks_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/forks","keys_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/teams","hooks_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/hooks","issue_events_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/issues/events{/number}","events_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/events","assignees_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/assignees{/user}","branches_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/branches{/branch}","tags_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/tags","blobs_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/languages","stargazers_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/stargazers","contributors_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/contributors","subscribers_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/subscribers","subscription_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/subscription","commits_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/contents/{+path}","compare_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/merges","archive_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/downloads","issues_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/issues{/number}","pulls_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/labels{/name}","releases_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/releases{/id}","deployments_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/deployments","created_at":"2016-01-22T20:39:34Z","updated_at":"2016-03-18T23:36:50Z","pushed_at":"2016-05-17T08:35:09Z","git_url":"git://github.com/cfpb/hmda-platform-ui.git","ssh_url":"git@github.com:cfpb/hmda-platform-ui.git","clone_url":"https://github.com/cfpb/hmda-platform-ui.git","svn_url":"https://github.com/cfpb/hmda-platform-ui","homepage":"https://github.com/cfpb","size":543,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":24,"forks":1,"open_issues":24,"watchers":1,"default_branch":"master"}},"base":{"label":"cfpb:master","ref":"master","sha":"4c2b41ce2f0ecb00bb410ac6db08d5e30c8d2c0c","user":{"login":"cfpb","id":1071563,"avatar_url":"https://avatars.githubusercontent.com/u/1071563?v=3","gravatar_id":"","url":"https://api.github.com/users/cfpb","html_url":"https://github.com/cfpb","followers_url":"https://api.github.com/users/cfpb/followers","following_url":"https://api.github.com/users/cfpb/following{/other_user}","gists_url":"https://api.github.com/users/cfpb/gists{/gist_id}","starred_url":"https://api.github.com/users/cfpb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfpb/subscriptions","organizations_url":"https://api.github.com/users/cfpb/orgs","repos_url":"https://api.github.com/users/cfpb/repos","events_url":"https://api.github.com/users/cfpb/events{/privacy}","received_events_url":"https://api.github.com/users/cfpb/received_events","type":"Organization","site_admin":false},"repo":{"id":50206262,"name":"hmda-platform-ui","full_name":"cfpb/hmda-platform-ui","owner":{"login":"cfpb","id":1071563,"avatar_url":"https://avatars.githubusercontent.com/u/1071563?v=3","gravatar_id":"","url":"https://api.github.com/users/cfpb","html_url":"https://github.com/cfpb","followers_url":"https://api.github.com/users/cfpb/followers","following_url":"https://api.github.com/users/cfpb/following{/other_user}","gists_url":"https://api.github.com/users/cfpb/gists{/gist_id}","starred_url":"https://api.github.com/users/cfpb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfpb/subscriptions","organizations_url":"https://api.github.com/users/cfpb/orgs","repos_url":"https://api.github.com/users/cfpb/repos","events_url":"https://api.github.com/users/cfpb/events{/privacy}","received_events_url":"https://api.github.com/users/cfpb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cfpb/hmda-platform-ui","description":"","fork":false,"url":"https://api.github.com/repos/cfpb/hmda-platform-ui","forks_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/forks","keys_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/teams","hooks_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/hooks","issue_events_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/issues/events{/number}","events_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/events","assignees_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/assignees{/user}","branches_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/branches{/branch}","tags_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/tags","blobs_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/languages","stargazers_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/stargazers","contributors_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/contributors","subscribers_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/subscribers","subscription_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/subscription","commits_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/contents/{+path}","compare_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/merges","archive_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/downloads","issues_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/issues{/number}","pulls_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/labels{/name}","releases_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/releases{/id}","deployments_url":"https://api.github.com/repos/cfpb/hmda-platform-ui/deployments","created_at":"2016-01-22T20:39:34Z","updated_at":"2016-03-18T23:36:50Z","pushed_at":"2016-05-17T08:35:09Z","git_url":"git://github.com/cfpb/hmda-platform-ui.git","ssh_url":"git@github.com:cfpb/hmda-platform-ui.git","clone_url":"https://github.com/cfpb/hmda-platform-ui.git","svn_url":"https://github.com/cfpb/hmda-platform-ui","homepage":"https://github.com/cfpb","size":543,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":24,"forks":1,"open_issues":24,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cfpb/hmda-platform-ui/pulls/109"},"html":{"href":"https://github.com/cfpb/hmda-platform-ui/pull/109"},"issue":{"href":"https://api.github.com/repos/cfpb/hmda-platform-ui/issues/109"},"comments":{"href":"https://api.github.com/repos/cfpb/hmda-platform-ui/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/cfpb/hmda-platform-ui/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/cfpb/hmda-platform-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cfpb/hmda-platform-ui/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/cfpb/hmda-platform-ui/statuses/b502ca574b8c7fe1a2711d0d400d19b9df73647f"}}}}