{"action":"closed","number":714,"pull_request":{"url":"https://api.github.com/repos/openfisca/openfisca-core/pulls/714","id":210463778,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwNDYzNzc4","html_url":"https://github.com/openfisca/openfisca-core/pull/714","diff_url":"https://github.com/openfisca/openfisca-core/pull/714.diff","patch_url":"https://github.com/openfisca/openfisca-core/pull/714.patch","issue_url":"https://api.github.com/repos/openfisca/openfisca-core/issues/714","number":714,"state":"closed","locked":false,"title":" Add a `/entities` endpoint to the API","user":{"login":"Anna-Livia","id":13916213,"node_id":"MDQ6VXNlcjEzOTE2MjEz","avatar_url":"https://avatars0.githubusercontent.com/u/13916213?v=4","gravatar_id":"","url":"https://api.github.com/users/Anna-Livia","html_url":"https://github.com/Anna-Livia","followers_url":"https://api.github.com/users/Anna-Livia/followers","following_url":"https://api.github.com/users/Anna-Livia/following{/other_user}","gists_url":"https://api.github.com/users/Anna-Livia/gists{/gist_id}","starred_url":"https://api.github.com/users/Anna-Livia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anna-Livia/subscriptions","organizations_url":"https://api.github.com/users/Anna-Livia/orgs","repos_url":"https://api.github.com/users/Anna-Livia/repos","events_url":"https://api.github.com/users/Anna-Livia/events{/privacy}","received_events_url":"https://api.github.com/users/Anna-Livia/received_events","type":"User","site_admin":false},"body":"Fixes #561 \r\n#### New features\r\n- Get information on a country package's entities, and their roles\r\n- Introduce the `/entities` endpoint for the Web API\r\n```json\r\n{\r\n            \"description\": \"[...]\",\r\n            \"plural\": \"households\",\r\n            \"roles\": {\r\n                \"parent\": {\r\n                    \"description\": \"The one or two adults in charge of the household.\",\r\n                    \"mandatory\": \"true\",\r\n                    \"max\": 2,\r\n                    \"plural\": \"parents\"\r\n                    },\r\n                \"child\": {\r\n                    \"description\": \"Other individuals living in the household.\",\r\n                    \"mandatory\": \"false\",\r\n                    \"plural\": \"children\"\r\n                    }\r\n                }\r\n            }\r\n```\r\n","created_at":"2018-08-23T14:16:08Z","updated_at":"2018-09-04T14:42:25Z","closed_at":"2018-09-04T14:42:25Z","merged_at":"2018-09-04T14:42:24Z","merge_commit_sha":"7aeadae1f91bc0f28e5530ea6cb72fd2f6c43195","assignee":null,"assignees":[],"requested_reviewers":[{"login":"sandcha","id":6567910,"node_id":"MDQ6VXNlcjY1Njc5MTA=","avatar_url":"https://avatars1.githubusercontent.com/u/6567910?v=4","gravatar_id":"","url":"https://api.github.com/users/sandcha","html_url":"https://github.com/sandcha","followers_url":"https://api.github.com/users/sandcha/followers","following_url":"https://api.github.com/users/sandcha/following{/other_user}","gists_url":"https://api.github.com/users/sandcha/gists{/gist_id}","starred_url":"https://api.github.com/users/sandcha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandcha/subscriptions","organizations_url":"https://api.github.com/users/sandcha/orgs","repos_url":"https://api.github.com/users/sandcha/repos","events_url":"https://api.github.com/users/sandcha/events{/privacy}","received_events_url":"https://api.github.com/users/sandcha/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/openfisca/openfisca-core/pulls/714/commits","review_comments_url":"https://api.github.com/repos/openfisca/openfisca-core/pulls/714/comments","review_comment_url":"https://api.github.com/repos/openfisca/openfisca-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openfisca/openfisca-core/issues/714/comments","statuses_url":"https://api.github.com/repos/openfisca/openfisca-core/statuses/082625df80042d5f11e8b9bccb6c6204530fc8a2","head":{"label":"openfisca:entities","ref":"entities","sha":"082625df80042d5f11e8b9bccb6c6204530fc8a2","user":{"login":"openfisca","id":1794404,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3OTQ0MDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1794404?v=4","gravatar_id":"","url":"https://api.github.com/users/openfisca","html_url":"https://github.com/openfisca","followers_url":"https://api.github.com/users/openfisca/followers","following_url":"https://api.github.com/users/openfisca/following{/other_user}","gists_url":"https://api.github.com/users/openfisca/gists{/gist_id}","starred_url":"https://api.github.com/users/openfisca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfisca/subscriptions","organizations_url":"https://api.github.com/users/openfisca/orgs","repos_url":"https://api.github.com/users/openfisca/repos","events_url":"https://api.github.com/users/openfisca/events{/privacy}","received_events_url":"https://api.github.com/users/openfisca/received_events","type":"Organization","site_admin":false},"repo":{"id":15510254,"node_id":"MDEwOlJlcG9zaXRvcnkxNTUxMDI1NA==","name":"openfisca-core","full_name":"openfisca/openfisca-core","owner":{"login":"openfisca","id":1794404,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3OTQ0MDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1794404?v=4","gravatar_id":"","url":"https://api.github.com/users/openfisca","html_url":"https://github.com/openfisca","followers_url":"https://api.github.com/users/openfisca/followers","following_url":"https://api.github.com/users/openfisca/following{/other_user}","gists_url":"https://api.github.com/users/openfisca/gists{/gist_id}","starred_url":"https://api.github.com/users/openfisca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfisca/subscriptions","organizations_url":"https://api.github.com/users/openfisca/orgs","repos_url":"https://api.github.com/users/openfisca/repos","events_url":"https://api.github.com/users/openfisca/events{/privacy}","received_events_url":"https://api.github.com/users/openfisca/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openfisca/openfisca-core","description":"OpenFisca core engine. See other repositories for countries-specific code & data.","fork":false,"url":"https://api.github.com/repos/openfisca/openfisca-core","forks_url":"https://api.github.com/repos/openfisca/openfisca-core/forks","keys_url":"https://api.github.com/repos/openfisca/openfisca-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openfisca/openfisca-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openfisca/openfisca-core/teams","hooks_url":"https://api.github.com/repos/openfisca/openfisca-core/hooks","issue_events_url":"https://api.github.com/repos/openfisca/openfisca-core/issues/events{/number}","events_url":"https://api.github.com/repos/openfisca/openfisca-core/events","assignees_url":"https://api.github.com/repos/openfisca/openfisca-core/assignees{/user}","branches_url":"https://api.github.com/repos/openfisca/openfisca-core/branches{/branch}","tags_url":"https://api.github.com/repos/openfisca/openfisca-core/tags","blobs_url":"https://api.github.com/repos/openfisca/openfisca-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openfisca/openfisca-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openfisca/openfisca-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/openfisca/openfisca-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openfisca/openfisca-core/statuses/{sha}","languages_url":"https://api.github.com/repos/openfisca/openfisca-core/languages","stargazers_url":"https://api.github.com/repos/openfisca/openfisca-core/stargazers","contributors_url":"https://api.github.com/repos/openfisca/openfisca-core/contributors","subscribers_url":"https://api.github.com/repos/openfisca/openfisca-core/subscribers","subscription_url":"https://api.github.com/repos/openfisca/openfisca-core/subscription","commits_url":"https://api.github.com/repos/openfisca/openfisca-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/openfisca/openfisca-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/openfisca/openfisca-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/openfisca/openfisca-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/openfisca/openfisca-core/contents/{+path}","compare_url":"https://api.github.com/repos/openfisca/openfisca-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openfisca/openfisca-core/merges","archive_url":"https://api.github.com/repos/openfisca/openfisca-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openfisca/openfisca-core/downloads","issues_url":"https://api.github.com/repos/openfisca/openfisca-core/issues{/number}","pulls_url":"https://api.github.com/repos/openfisca/openfisca-core/pulls{/number}","milestones_url":"https://api.github.com/repos/openfisca/openfisca-core/milestones{/number}","notifications_url":"https://api.github.com/repos/openfisca/openfisca-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openfisca/openfisca-core/labels{/name}","releases_url":"https://api.github.com/repos/openfisca/openfisca-core/releases{/id}","deployments_url":"https://api.github.com/repos/openfisca/openfisca-core/deployments","created_at":"2013-12-29T15:17:04Z","updated_at":"2018-08-29T15:19:10Z","pushed_at":"2018-09-04T14:42:24Z","git_url":"git://github.com/openfisca/openfisca-core.git","ssh_url":"git@github.com:openfisca/openfisca-core.git","clone_url":"https://github.com/openfisca/openfisca-core.git","svn_url":"https://github.com/openfisca/openfisca-core","homepage":"https://openfisca.org","size":26507,"stargazers_count":44,"watchers_count":44,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":50,"mirror_url":null,"archived":false,"open_issues_count":49,"license":null,"forks":50,"open_issues":49,"watchers":44,"default_branch":"master"}},"base":{"label":"openfisca:master","ref":"master","sha":"74041c3d1e29015ebfe2b4322189ec39e98391ad","user":{"login":"openfisca","id":1794404,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3OTQ0MDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1794404?v=4","gravatar_id":"","url":"https://api.github.com/users/openfisca","html_url":"https://github.com/openfisca","followers_url":"https://api.github.com/users/openfisca/followers","following_url":"https://api.github.com/users/openfisca/following{/other_user}","gists_url":"https://api.github.com/users/openfisca/gists{/gist_id}","starred_url":"https://api.github.com/users/openfisca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfisca/subscriptions","organizations_url":"https://api.github.com/users/openfisca/orgs","repos_url":"https://api.github.com/users/openfisca/repos","events_url":"https://api.github.com/users/openfisca/events{/privacy}","received_events_url":"https://api.github.com/users/openfisca/received_events","type":"Organization","site_admin":false},"repo":{"id":15510254,"node_id":"MDEwOlJlcG9zaXRvcnkxNTUxMDI1NA==","name":"openfisca-core","full_name":"openfisca/openfisca-core","owner":{"login":"openfisca","id":1794404,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3OTQ0MDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1794404?v=4","gravatar_id":"","url":"https://api.github.com/users/openfisca","html_url":"https://github.com/openfisca","followers_url":"https://api.github.com/users/openfisca/followers","following_url":"https://api.github.com/users/openfisca/following{/other_user}","gists_url":"https://api.github.com/users/openfisca/gists{/gist_id}","starred_url":"https://api.github.com/users/openfisca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfisca/subscriptions","organizations_url":"https://api.github.com/users/openfisca/orgs","repos_url":"https://api.github.com/users/openfisca/repos","events_url":"https://api.github.com/users/openfisca/events{/privacy}","received_events_url":"https://api.github.com/users/openfisca/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openfisca/openfisca-core","description":"OpenFisca core engine. See other repositories for countries-specific code & data.","fork":false,"url":"https://api.github.com/repos/openfisca/openfisca-core","forks_url":"https://api.github.com/repos/openfisca/openfisca-core/forks","keys_url":"https://api.github.com/repos/openfisca/openfisca-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openfisca/openfisca-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openfisca/openfisca-core/teams","hooks_url":"https://api.github.com/repos/openfisca/openfisca-core/hooks","issue_events_url":"https://api.github.com/repos/openfisca/openfisca-core/issues/events{/number}","events_url":"https://api.github.com/repos/openfisca/openfisca-core/events","assignees_url":"https://api.github.com/repos/openfisca/openfisca-core/assignees{/user}","branches_url":"https://api.github.com/repos/openfisca/openfisca-core/branches{/branch}","tags_url":"https://api.github.com/repos/openfisca/openfisca-core/tags","blobs_url":"https://api.github.com/repos/openfisca/openfisca-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openfisca/openfisca-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openfisca/openfisca-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/openfisca/openfisca-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openfisca/openfisca-core/statuses/{sha}","languages_url":"https://api.github.com/repos/openfisca/openfisca-core/languages","stargazers_url":"https://api.github.com/repos/openfisca/openfisca-core/stargazers","contributors_url":"https://api.github.com/repos/openfisca/openfisca-core/contributors","subscribers_url":"https://api.github.com/repos/openfisca/openfisca-core/subscribers","subscription_url":"https://api.github.com/repos/openfisca/openfisca-core/subscription","commits_url":"https://api.github.com/repos/openfisca/openfisca-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/openfisca/openfisca-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/openfisca/openfisca-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/openfisca/openfisca-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/openfisca/openfisca-core/contents/{+path}","compare_url":"https://api.github.com/repos/openfisca/openfisca-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openfisca/openfisca-core/merges","archive_url":"https://api.github.com/repos/openfisca/openfisca-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openfisca/openfisca-core/downloads","issues_url":"https://api.github.com/repos/openfisca/openfisca-core/issues{/number}","pulls_url":"https://api.github.com/repos/openfisca/openfisca-core/pulls{/number}","milestones_url":"https://api.github.com/repos/openfisca/openfisca-core/milestones{/number}","notifications_url":"https://api.github.com/repos/openfisca/openfisca-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openfisca/openfisca-core/labels{/name}","releases_url":"https://api.github.com/repos/openfisca/openfisca-core/releases{/id}","deployments_url":"https://api.github.com/repos/openfisca/openfisca-core/deployments","created_at":"2013-12-29T15:17:04Z","updated_at":"2018-08-29T15:19:10Z","pushed_at":"2018-09-04T14:42:24Z","git_url":"git://github.com/openfisca/openfisca-core.git","ssh_url":"git@github.com:openfisca/openfisca-core.git","clone_url":"https://github.com/openfisca/openfisca-core.git","svn_url":"https://github.com/openfisca/openfisca-core","homepage":"https://openfisca.org","size":26507,"stargazers_count":44,"watchers_count":44,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":50,"mirror_url":null,"archived":false,"open_issues_count":49,"license":null,"forks":50,"open_issues":49,"watchers":44,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openfisca/openfisca-core/pulls/714"},"html":{"href":"https://github.com/openfisca/openfisca-core/pull/714"},"issue":{"href":"https://api.github.com/repos/openfisca/openfisca-core/issues/714"},"comments":{"href":"https://api.github.com/repos/openfisca/openfisca-core/issues/714/comments"},"review_comments":{"href":"https://api.github.com/repos/openfisca/openfisca-core/pulls/714/comments"},"review_comment":{"href":"https://api.github.com/repos/openfisca/openfisca-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openfisca/openfisca-core/pulls/714/commits"},"statuses":{"href":"https://api.github.com/repos/openfisca/openfisca-core/statuses/082625df80042d5f11e8b9bccb6c6204530fc8a2"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"Anna-Livia","id":13916213,"node_id":"MDQ6VXNlcjEzOTE2MjEz","avatar_url":"https://avatars0.githubusercontent.com/u/13916213?v=4","gravatar_id":"","url":"https://api.github.com/users/Anna-Livia","html_url":"https://github.com/Anna-Livia","followers_url":"https://api.github.com/users/Anna-Livia/followers","following_url":"https://api.github.com/users/Anna-Livia/following{/other_user}","gists_url":"https://api.github.com/users/Anna-Livia/gists{/gist_id}","starred_url":"https://api.github.com/users/Anna-Livia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anna-Livia/subscriptions","organizations_url":"https://api.github.com/users/Anna-Livia/orgs","repos_url":"https://api.github.com/users/Anna-Livia/repos","events_url":"https://api.github.com/users/Anna-Livia/events{/privacy}","received_events_url":"https://api.github.com/users/Anna-Livia/received_events","type":"User","site_admin":false},"comments":0,"review_comments":24,"maintainer_can_modify":false,"commits":12,"additions":160,"deletions":3,"changed_files":9}}
{"actor":{"display_login":"Anna-Livia"}}