{"action":"closed","issue":{"url":"https://api.github.com/repos/DiscipleTools/disciple-tools/issues/177","repository_url":"https://api.github.com/repos/DiscipleTools/disciple-tools","labels_url":"https://api.github.com/repos/DiscipleTools/disciple-tools/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/DiscipleTools/disciple-tools/issues/177/comments","events_url":"https://api.github.com/repos/DiscipleTools/disciple-tools/issues/177/events","html_url":"https://github.com/DiscipleTools/disciple-tools/issues/177","id":261300757,"number":177,"title":"Refactor 'dt-hooks' to 'dt' in DT API","user":{"login":"ChrisChasm","id":7318348,"avatar_url":"https://avatars3.githubusercontent.com/u/7318348?v=4","gravatar_id":"","url":"https://api.github.com/users/ChrisChasm","html_url":"https://github.com/ChrisChasm","followers_url":"https://api.github.com/users/ChrisChasm/followers","following_url":"https://api.github.com/users/ChrisChasm/following{/other_user}","gists_url":"https://api.github.com/users/ChrisChasm/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisChasm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisChasm/subscriptions","organizations_url":"https://api.github.com/users/ChrisChasm/orgs","repos_url":"https://api.github.com/users/ChrisChasm/repos","events_url":"https://api.github.com/users/ChrisChasm/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisChasm/received_events","type":"User","site_admin":false},"labels":[{"id":655581374,"url":"https://api.github.com/repos/DiscipleTools/disciple-tools/labels/configuration","name":"configuration","color":"c5def5","default":false}],"state":"closed","locked":false,"assignee":{"login":"ChrisChasm","id":7318348,"avatar_url":"https://avatars3.githubusercontent.com/u/7318348?v=4","gravatar_id":"","url":"https://api.github.com/users/ChrisChasm","html_url":"https://github.com/ChrisChasm","followers_url":"https://api.github.com/users/ChrisChasm/followers","following_url":"https://api.github.com/users/ChrisChasm/following{/other_user}","gists_url":"https://api.github.com/users/ChrisChasm/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisChasm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisChasm/subscriptions","organizations_url":"https://api.github.com/users/ChrisChasm/orgs","repos_url":"https://api.github.com/users/ChrisChasm/repos","events_url":"https://api.github.com/users/ChrisChasm/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisChasm/received_events","type":"User","site_admin":false},"assignees":[{"login":"ChrisChasm","id":7318348,"avatar_url":"https://avatars3.githubusercontent.com/u/7318348?v=4","gravatar_id":"","url":"https://api.github.com/users/ChrisChasm","html_url":"https://github.com/ChrisChasm","followers_url":"https://api.github.com/users/ChrisChasm/followers","following_url":"https://api.github.com/users/ChrisChasm/following{/other_user}","gists_url":"https://api.github.com/users/ChrisChasm/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisChasm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisChasm/subscriptions","organizations_url":"https://api.github.com/users/ChrisChasm/orgs","repos_url":"https://api.github.com/users/ChrisChasm/repos","events_url":"https://api.github.com/users/ChrisChasm/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisChasm/received_events","type":"User","site_admin":false},{"login":"corsacca","id":24901539,"avatar_url":"https://avatars1.githubusercontent.com/u/24901539?v=4","gravatar_id":"","url":"https://api.github.com/users/corsacca","html_url":"https://github.com/corsacca","followers_url":"https://api.github.com/users/corsacca/followers","following_url":"https://api.github.com/users/corsacca/following{/other_user}","gists_url":"https://api.github.com/users/corsacca/gists{/gist_id}","starred_url":"https://api.github.com/users/corsacca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corsacca/subscriptions","organizations_url":"https://api.github.com/users/corsacca/orgs","repos_url":"https://api.github.com/users/corsacca/repos","events_url":"https://api.github.com/users/corsacca/events{/privacy}","received_events_url":"https://api.github.com/users/corsacca/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/DiscipleTools/disciple-tools/milestones/16","html_url":"https://github.com/DiscipleTools/disciple-tools/milestone/16","labels_url":"https://api.github.com/repos/DiscipleTools/disciple-tools/milestones/16/labels","id":2850657,"number":16,"title":"0.1.0-alpha (mvp)","description":"","creator":{"login":"ChrisChasm","id":7318348,"avatar_url":"https://avatars3.githubusercontent.com/u/7318348?v=4","gravatar_id":"","url":"https://api.github.com/users/ChrisChasm","html_url":"https://github.com/ChrisChasm","followers_url":"https://api.github.com/users/ChrisChasm/followers","following_url":"https://api.github.com/users/ChrisChasm/following{/other_user}","gists_url":"https://api.github.com/users/ChrisChasm/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisChasm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisChasm/subscriptions","organizations_url":"https://api.github.com/users/ChrisChasm/orgs","repos_url":"https://api.github.com/users/ChrisChasm/repos","events_url":"https://api.github.com/users/ChrisChasm/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisChasm/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":12,"state":"open","created_at":"2017-10-19T13:20:18Z","updated_at":"2017-10-23T15:27:01Z","due_on":"2017-10-31T07:00:00Z","closed_at":null},"comments":0,"created_at":"2017-09-28T12:29:35Z","updated_at":"2017-10-23T15:27:00Z","closed_at":"2017-10-23T15:27:00Z","author_association":"COLLABORATOR","body":"I propose we refactor `dt-hooks` to `dt` and unify the api URLs of the system. \r\n\r\nI think we established `dt-hooks` and `dt-facebook` early as we were exploring the API, but now I think it is clear we can use `dt` as the stub for our entire system. We can govern it with the `v1` version number, followed by the section appropriate to the api call `contacts`, `groups`, `users`, `notifications`, etc.\r\n\r\nI've started a draft of a api pattern guide here: https://github.com/DiscipleTools/disciple-tools/wiki/API-Route-Naming-Pattern\r\n\r\n\r\n|                    | base | version | section    | (optional) id          | function call     | (optional) param          |\r\n|---                 |---   |---      |---         |---                     |---                |---                        |\r\n|  _route example_   | `dt` | `v1`    | `contacts` | `(?P<id>\\d+)`          | get_new_contacts  | (?P<additional_param>\\d+) |\r\n|  _js get example_  | `dt` | `v1`    | `contacts` | 51                     | get_new_contacts  | 'requires_update'         | \r\n\r\n"}}
{"actor":{"display_login":"corsacca"}}