{"action":"created","issue":{"url":"https://api.github.com/repos/osuosl/timesync/issues/4","labels_url":"https://api.github.com/repos/osuosl/timesync/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/osuosl/timesync/issues/4/comments","events_url":"https://api.github.com/repos/osuosl/timesync/issues/4/events","html_url":"https://github.com/osuosl/timesync/pull/4","id":69224817,"number":4,"title":"New draft API","user":{"login":"tschuy","id":6532435,"avatar_url":"https://avatars.githubusercontent.com/u/6532435?v=3","gravatar_id":"","url":"https://api.github.com/users/tschuy","html_url":"https://github.com/tschuy","followers_url":"https://api.github.com/users/tschuy/followers","following_url":"https://api.github.com/users/tschuy/following{/other_user}","gists_url":"https://api.github.com/users/tschuy/gists{/gist_id}","starred_url":"https://api.github.com/users/tschuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tschuy/subscriptions","organizations_url":"https://api.github.com/users/tschuy/orgs","repos_url":"https://api.github.com/users/tschuy/repos","events_url":"https://api.github.com/users/tschuy/events{/privacy}","received_events_url":"https://api.github.com/users/tschuy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-17T21:53:22Z","updated_at":"2015-04-18T05:46:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/osuosl/timesync/pulls/4","html_url":"https://github.com/osuosl/timesync/pull/4","diff_url":"https://github.com/osuosl/timesync/pull/4.diff","patch_url":"https://github.com/osuosl/timesync/pull/4.patch"},"body":"This changes the API significantly.\r\n\r\nThis puts the ADD, UPDATE request bodies into the body of the request as JSON.\r\n\r\nIt also removes the ext field (why is this a thing), and makes errors only show upon error. (This is how most APIs I'm familiar with implement errors.)\r\n\r\nIt also specifies the response bodies of API requests more fully."},"comment":{"url":"https://api.github.com/repos/osuosl/timesync/issues/comments/94131608","html_url":"https://github.com/osuosl/timesync/pull/4#issuecomment-94131608","issue_url":"https://api.github.com/repos/osuosl/timesync/issues/4","id":94131608,"user":{"login":"iankronquist","id":5192353,"avatar_url":"https://avatars.githubusercontent.com/u/5192353?v=3","gravatar_id":"","url":"https://api.github.com/users/iankronquist","html_url":"https://github.com/iankronquist","followers_url":"https://api.github.com/users/iankronquist/followers","following_url":"https://api.github.com/users/iankronquist/following{/other_user}","gists_url":"https://api.github.com/users/iankronquist/gists{/gist_id}","starred_url":"https://api.github.com/users/iankronquist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iankronquist/subscriptions","organizations_url":"https://api.github.com/users/iankronquist/orgs","repos_url":"https://api.github.com/users/iankronquist/repos","events_url":"https://api.github.com/users/iankronquist/events{/privacy}","received_events_url":"https://api.github.com/users/iankronquist/received_events","type":"User","site_admin":false},"created_at":"2015-04-18T05:46:13Z","updated_at":"2015-04-18T05:46:13Z","body":"@tschuy It sounds like we have a one to many relationship between projects and slugs, and possible activities and slugs. The project slugs will go in a table called \"project_slugs\", or something. This table will have two columns, a foreign key pointing at a project and a primary key which is the slug. This way slugs cannot be accidentally duplicated."}}