{"action":"opened","issue":{"url":"https://api.github.com/repos/justarrived/just_match_api/issues/618","repository_url":"https://api.github.com/repos/justarrived/just_match_api","labels_url":"https://api.github.com/repos/justarrived/just_match_api/issues/618/labels{/name}","comments_url":"https://api.github.com/repos/justarrived/just_match_api/issues/618/comments","events_url":"https://api.github.com/repos/justarrived/just_match_api/issues/618/events","html_url":"https://github.com/justarrived/just_match_api/issues/618","id":183361567,"number":618,"title":"Utilize Frilans Finans remote_id for idempotent requests","user":{"login":"buren","id":922411,"avatar_url":"https://avatars.githubusercontent.com/u/922411?v=3","gravatar_id":"","url":"https://api.github.com/users/buren","html_url":"https://github.com/buren","followers_url":"https://api.github.com/users/buren/followers","following_url":"https://api.github.com/users/buren/following{/other_user}","gists_url":"https://api.github.com/users/buren/gists{/gist_id}","starred_url":"https://api.github.com/users/buren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buren/subscriptions","organizations_url":"https://api.github.com/users/buren/orgs","repos_url":"https://api.github.com/users/buren/repos","events_url":"https://api.github.com/users/buren/events{/privacy}","received_events_url":"https://api.github.com/users/buren/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-17T09:03:25Z","updated_at":"2016-10-17T09:03:25Z","closed_at":null,"body":"See http://developers.frilansfinans.xyz/#idempotent-requests.\r\n\r\nResponse if `remote_id` already has been seen:\r\n\r\n```json\r\n{\r\n \"errors\": [\r\n   {\r\n     \"status\": \"422\",\r\n     \"title\": \"Validation failed\",\r\n     \"detail\": {\r\n       \"errors\": {\r\n         \"remote_id\": \"uniqperclient:invoice\"\r\n       }\r\n     }\r\n   }\r\n ],\r\n \"jsonapi\": {\r\n   \"version\": \"1.0\"\r\n }\r\n}\r\n```"}}
{"actor":{"display_login":"buren"}}