{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/galaxy-api/issues/329","labels_url":"https://api.github.com/repos/mozilla/galaxy-api/issues/329/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/galaxy-api/issues/329/comments","events_url":"https://api.github.com/repos/mozilla/galaxy-api/issues/329/events","html_url":"https://github.com/mozilla/galaxy-api/pull/329","id":53879624,"number":329,"title":"Closes #308 - Use uuids instead of database IDs.","user":{"login":"AdrianGaudebert","id":328790,"avatar_url":"https://avatars.githubusercontent.com/u/328790?v=3","gravatar_id":"","url":"https://api.github.com/users/AdrianGaudebert","html_url":"https://github.com/AdrianGaudebert","followers_url":"https://api.github.com/users/AdrianGaudebert/followers","following_url":"https://api.github.com/users/AdrianGaudebert/following{/other_user}","gists_url":"https://api.github.com/users/AdrianGaudebert/gists{/gist_id}","starred_url":"https://api.github.com/users/AdrianGaudebert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdrianGaudebert/subscriptions","organizations_url":"https://api.github.com/users/AdrianGaudebert/orgs","repos_url":"https://api.github.com/users/AdrianGaudebert/repos","events_url":"https://api.github.com/users/AdrianGaudebert/events{/privacy}","received_events_url":"https://api.github.com/users/AdrianGaudebert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-09T15:34:43Z","updated_at":"2015-01-12T20:59:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/galaxy-api/pulls/329","html_url":"https://github.com/mozilla/galaxy-api/pull/329","diff_url":"https://github.com/mozilla/galaxy-api/pull/329.diff","patch_url":"https://github.com/mozilla/galaxy-api/pull/329.patch"},"body":"@cvan r?\r\n\r\nDo we want to publicly expose the UUID? "},"comment":{"url":"https://api.github.com/repos/mozilla/galaxy-api/issues/comments/69644859","html_url":"https://github.com/mozilla/galaxy-api/pull/329#issuecomment-69644859","issue_url":"https://api.github.com/repos/mozilla/galaxy-api/issues/329","id":69644859,"user":{"login":"cvan","id":203725,"avatar_url":"https://avatars.githubusercontent.com/u/203725?v=3","gravatar_id":"","url":"https://api.github.com/users/cvan","html_url":"https://github.com/cvan","followers_url":"https://api.github.com/users/cvan/followers","following_url":"https://api.github.com/users/cvan/following{/other_user}","gists_url":"https://api.github.com/users/cvan/gists{/gist_id}","starred_url":"https://api.github.com/users/cvan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvan/subscriptions","organizations_url":"https://api.github.com/users/cvan/orgs","repos_url":"https://api.github.com/users/cvan/repos","events_url":"https://api.github.com/users/cvan/events{/privacy}","received_events_url":"https://api.github.com/users/cvan/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T20:59:38Z","updated_at":"2015-01-12T20:59:38Z","body":"> > Do we want to publicly expose the UUID?\r\n> \r\n> if we're going to be truly REST-ful, no (since it's not an updatable field). all fields in `POST` and `PUT` (and in `GET` responses) should correspond to columns that are updatable in the DB.\r\n\r\nI just started thinking about this and how would the game developers ever know the UUID?\r\nwe'd probably need to change the `Location` header when a game is created:\r\n\r\nhttps://github.com/AdrianGaudebert/galaxy-api/blob/308-uuids/api/models/game.js#L110\r\nhttps://github.com/AdrianGaudebert/galaxy-api/blob/308-uuids/api/routes.js#L60\r\n\r\ndo you think we should expose UUID in API responses? what are your thoughts/concerns?\r\n"}}