{"action":"opened","issue":{"url":"https://api.github.com/repos/davidjosefson/mah-book-room-api/issues/2","labels_url":"https://api.github.com/repos/davidjosefson/mah-book-room-api/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/davidjosefson/mah-book-room-api/issues/2/comments","events_url":"https://api.github.com/repos/davidjosefson/mah-book-room-api/issues/2/events","html_url":"https://github.com/davidjosefson/mah-book-room-api/issues/2","id":117786878,"number":2,"title":"Fix self-links for created bookings","user":{"login":"davidjosefson","id":7073402,"avatar_url":"https://avatars.githubusercontent.com/u/7073402?v=3","gravatar_id":"","url":"https://api.github.com/users/davidjosefson","html_url":"https://github.com/davidjosefson","followers_url":"https://api.github.com/users/davidjosefson/followers","following_url":"https://api.github.com/users/davidjosefson/following{/other_user}","gists_url":"https://api.github.com/users/davidjosefson/gists{/gist_id}","starred_url":"https://api.github.com/users/davidjosefson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidjosefson/subscriptions","organizations_url":"https://api.github.com/users/davidjosefson/orgs","repos_url":"https://api.github.com/users/davidjosefson/repos","events_url":"https://api.github.com/users/davidjosefson/events{/privacy}","received_events_url":"https://api.github.com/users/davidjosefson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-19T10:42:17Z","updated_at":"2015-11-19T10:42:17Z","closed_at":null,"body":"All results containing self-links to specific bookings are broken.\r\nThe problem can be found when POST:ing to /bookings (to create a booking). The JSON-response contains something like this:\r\n\r\n```json\r\n  \"_links\": {\r\n    \"self\": {\r\n      \"href\": \"/bookings/nia03012015-11-1917152000\"\r\n    }\r\n```\r\n... but the link doesn't work.\r\n\r\nThe same thing goes for GET-requests to /bookings!"}}