{"action":"created","issue":{"url":"https://api.github.com/repos/openfisca/openfisca-core/issues/678","repository_url":"https://api.github.com/repos/openfisca/openfisca-core","labels_url":"https://api.github.com/repos/openfisca/openfisca-core/issues/678/labels{/name}","comments_url":"https://api.github.com/repos/openfisca/openfisca-core/issues/678/comments","events_url":"https://api.github.com/repos/openfisca/openfisca-core/issues/678/events","html_url":"https://github.com/openfisca/openfisca-core/issues/678","id":334532540,"node_id":"MDU6SXNzdWUzMzQ1MzI1NDA=","number":678,"title":"Make parameters node accessible through the Web API","user":{"login":"fpagnoux","id":11834997,"node_id":"MDQ6VXNlcjExODM0OTk3","avatar_url":"https://avatars3.githubusercontent.com/u/11834997?v=4","gravatar_id":"","url":"https://api.github.com/users/fpagnoux","html_url":"https://github.com/fpagnoux","followers_url":"https://api.github.com/users/fpagnoux/followers","following_url":"https://api.github.com/users/fpagnoux/following{/other_user}","gists_url":"https://api.github.com/users/fpagnoux/gists{/gist_id}","starred_url":"https://api.github.com/users/fpagnoux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpagnoux/subscriptions","organizations_url":"https://api.github.com/users/fpagnoux/orgs","repos_url":"https://api.github.com/users/fpagnoux/repos","events_url":"https://api.github.com/users/fpagnoux/events{/privacy}","received_events_url":"https://api.github.com/users/fpagnoux/received_events","type":"User","site_admin":false},"labels":[{"id":977394025,"node_id":"MDU6TGFiZWw5NzczOTQwMjU=","url":"https://api.github.com/repos/openfisca/openfisca-core/labels/flow:qualified-issues","name":"flow:qualified-issues","color":"b6db51","default":false},{"id":879889799,"node_id":"MDU6TGFiZWw4Nzk4ODk3OTk=","url":"https://api.github.com/repos/openfisca/openfisca-core/labels/kind:solution","name":"kind:solution","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"fpagnoux","id":11834997,"node_id":"MDQ6VXNlcjExODM0OTk3","avatar_url":"https://avatars3.githubusercontent.com/u/11834997?v=4","gravatar_id":"","url":"https://api.github.com/users/fpagnoux","html_url":"https://github.com/fpagnoux","followers_url":"https://api.github.com/users/fpagnoux/followers","following_url":"https://api.github.com/users/fpagnoux/following{/other_user}","gists_url":"https://api.github.com/users/fpagnoux/gists{/gist_id}","starred_url":"https://api.github.com/users/fpagnoux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpagnoux/subscriptions","organizations_url":"https://api.github.com/users/fpagnoux/orgs","repos_url":"https://api.github.com/users/fpagnoux/repos","events_url":"https://api.github.com/users/fpagnoux/events{/privacy}","received_events_url":"https://api.github.com/users/fpagnoux/received_events","type":"User","site_admin":false},"assignees":[{"login":"fpagnoux","id":11834997,"node_id":"MDQ6VXNlcjExODM0OTk3","avatar_url":"https://avatars3.githubusercontent.com/u/11834997?v=4","gravatar_id":"","url":"https://api.github.com/users/fpagnoux","html_url":"https://github.com/fpagnoux","followers_url":"https://api.github.com/users/fpagnoux/followers","following_url":"https://api.github.com/users/fpagnoux/following{/other_user}","gists_url":"https://api.github.com/users/fpagnoux/gists{/gist_id}","starred_url":"https://api.github.com/users/fpagnoux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpagnoux/subscriptions","organizations_url":"https://api.github.com/users/fpagnoux/orgs","repos_url":"https://api.github.com/users/fpagnoux/repos","events_url":"https://api.github.com/users/fpagnoux/events{/privacy}","received_events_url":"https://api.github.com/users/fpagnoux/received_events","type":"User","site_admin":false}],"milestone":null,"comments":13,"created_at":"2018-06-21T14:56:20Z","updated_at":"2018-07-11T23:43:57Z","closed_at":null,"author_association":"MEMBER","body":"In OpenFisca, the structure of parameters is a tree. For instance:\r\n- `prestations.minima_sociaux.rsa.montant_de_base_du_rsa` is a leaf that represents a concrete parameter of the legislation\r\n- `prestations.minima_sociaux.rsa` is a node that represents a structured group of parameters of the legislation\r\n\r\nToday, in the Web API, I can access two things: \r\n- A [leaf](https://fr.openfisca.org/api/v21/parameter/prestations.minima_sociaux.rsa.montant_de_base_du_rsa).\r\n- The [flattened list of all leafs](https://fr.openfisca.org/api/v21/parameters).\r\n\r\nI'm trying to represent, in a web view, a node of the legislation parameters.\r\nBut there is no way for me to directly access a node of the parameters.\r\nThe best I can do is parse the list of leafs to reconstruct the graph, but this seems silly and tedious, and it doesn't allow me to access the metadata associated with a node (description).\r\n\r\n-------\r\n\r\nAs a client of the API building a front displaying the parameters,\r\nI'd like to be able to access a node through the Web API,\r\nSo that I can build a view of this node that include its metadata\r\n"},"comment":{"url":"https://api.github.com/repos/openfisca/openfisca-core/issues/comments/404344208","html_url":"https://github.com/openfisca/openfisca-core/issues/678#issuecomment-404344208","issue_url":"https://api.github.com/repos/openfisca/openfisca-core/issues/678","id":404344208,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDM0NDIwOA==","user":{"login":"MattiSG","id":222463,"node_id":"MDQ6VXNlcjIyMjQ2Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/222463?v=4","gravatar_id":"","url":"https://api.github.com/users/MattiSG","html_url":"https://github.com/MattiSG","followers_url":"https://api.github.com/users/MattiSG/followers","following_url":"https://api.github.com/users/MattiSG/following{/other_user}","gists_url":"https://api.github.com/users/MattiSG/gists{/gist_id}","starred_url":"https://api.github.com/users/MattiSG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattiSG/subscriptions","organizations_url":"https://api.github.com/users/MattiSG/orgs","repos_url":"https://api.github.com/users/MattiSG/repos","events_url":"https://api.github.com/users/MattiSG/events{/privacy}","received_events_url":"https://api.github.com/users/MattiSG/received_events","type":"User","site_admin":false},"created_at":"2018-07-11T23:43:57Z","updated_at":"2018-07-11T23:43:57Z","author_association":"MEMBER","body":"My order of preference is:\r\n\r\n1. `subparams`\r\n2. `children`\r\n3. `rel`\r\n4. `_`\r\n"}}
{"actor":{"display_login":"MattiSG"}}