{"action":"created","issue":{"url":"https://api.github.com/repos/alexandrialibrary/Alexandria/issues/68","labels_url":"https://api.github.com/repos/alexandrialibrary/Alexandria/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/alexandrialibrary/Alexandria/issues/68/comments","events_url":"https://api.github.com/repos/alexandrialibrary/Alexandria/issues/68/events","html_url":"https://github.com/alexandrialibrary/Alexandria/issues/68","id":92732426,"number":68,"title":"POST response for objects that already exist","user":{"login":"hawkw","id":2796466,"avatar_url":"https://avatars.githubusercontent.com/u/2796466?v=3","gravatar_id":"","url":"https://api.github.com/users/hawkw","html_url":"https://github.com/hawkw","followers_url":"https://api.github.com/users/hawkw/followers","following_url":"https://api.github.com/users/hawkw/following{/other_user}","gists_url":"https://api.github.com/users/hawkw/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkw/subscriptions","organizations_url":"https://api.github.com/users/hawkw/orgs","repos_url":"https://api.github.com/users/hawkw/repos","events_url":"https://api.github.com/users/hawkw/events{/privacy}","received_events_url":"https://api.github.com/users/hawkw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/alexandrialibrary/Alexandria/labels/api","name":"api","color":"fad8c7"},{"url":"https://api.github.com/repos/alexandrialibrary/Alexandria/labels/documentation","name":"documentation","color":"bfe5bf"},{"url":"https://api.github.com/repos/alexandrialibrary/Alexandria/labels/next%20release","name":"next release","color":"fbca04"},{"url":"https://api.github.com/repos/alexandrialibrary/Alexandria/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"redbassett","id":1379565,"avatar_url":"https://avatars.githubusercontent.com/u/1379565?v=3","gravatar_id":"","url":"https://api.github.com/users/redbassett","html_url":"https://github.com/redbassett","followers_url":"https://api.github.com/users/redbassett/followers","following_url":"https://api.github.com/users/redbassett/following{/other_user}","gists_url":"https://api.github.com/users/redbassett/gists{/gist_id}","starred_url":"https://api.github.com/users/redbassett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redbassett/subscriptions","organizations_url":"https://api.github.com/users/redbassett/orgs","repos_url":"https://api.github.com/users/redbassett/repos","events_url":"https://api.github.com/users/redbassett/events{/privacy}","received_events_url":"https://api.github.com/users/redbassett/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/alexandrialibrary/Alexandria/milestones/2","html_url":"https://github.com/alexandrialibrary/Alexandria/milestones/v0.2.0%20%22Jose%20Luis%20Borges%22","labels_url":"https://api.github.com/repos/alexandrialibrary/Alexandria/milestones/2/labels","id":1127598,"number":2,"title":"v0.2.0 \"Jose Luis Borges\"","description":"+ Books may be added by filling a form\r\n+ List of books may be sorted by title, date, author, Dewey Decimal number\r\n+ List of books may be searched\r\n+ Lists of books for individual authors and publishers may be viewed","creator":{"login":"hawkw","id":2796466,"avatar_url":"https://avatars.githubusercontent.com/u/2796466?v=3","gravatar_id":"","url":"https://api.github.com/users/hawkw","html_url":"https://github.com/hawkw","followers_url":"https://api.github.com/users/hawkw/followers","following_url":"https://api.github.com/users/hawkw/following{/other_user}","gists_url":"https://api.github.com/users/hawkw/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkw/subscriptions","organizations_url":"https://api.github.com/users/hawkw/orgs","repos_url":"https://api.github.com/users/hawkw/repos","events_url":"https://api.github.com/users/hawkw/events{/privacy}","received_events_url":"https://api.github.com/users/hawkw/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":7,"state":"open","created_at":"2015-05-24T19:07:26Z","updated_at":"2015-07-02T22:29:57Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-07-02T20:50:30Z","updated_at":"2015-07-02T22:35:06Z","closed_at":null,"body":"What should the `POST /books/` and `POST /authors/` routes return when the entity POSTed already exists in the database?\r\n\r\nThis should be added to the API spec."},"comment":{"url":"https://api.github.com/repos/alexandrialibrary/Alexandria/issues/comments/118185527","html_url":"https://github.com/alexandrialibrary/Alexandria/issues/68#issuecomment-118185527","issue_url":"https://api.github.com/repos/alexandrialibrary/Alexandria/issues/68","id":118185527,"user":{"login":"hawkw","id":2796466,"avatar_url":"https://avatars.githubusercontent.com/u/2796466?v=3","gravatar_id":"","url":"https://api.github.com/users/hawkw","html_url":"https://github.com/hawkw","followers_url":"https://api.github.com/users/hawkw/followers","following_url":"https://api.github.com/users/hawkw/following{/other_user}","gists_url":"https://api.github.com/users/hawkw/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkw/subscriptions","organizations_url":"https://api.github.com/users/hawkw/orgs","repos_url":"https://api.github.com/users/hawkw/repos","events_url":"https://api.github.com/users/hawkw/events{/privacy}","received_events_url":"https://api.github.com/users/hawkw/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T22:35:06Z","updated_at":"2015-07-02T22:35:06Z","body":"Of course, there's also the option of using multiple POSTs to update an entry, but my understanding of HTTP verb semantics is that it's best to use PUT for that."}}