{"action":"created","issue":{"url":"https://api.github.com/repos/Wikia/pandora/issues/361","labels_url":"https://api.github.com/repos/Wikia/pandora/issues/361/labels{/name}","comments_url":"https://api.github.com/repos/Wikia/pandora/issues/361/comments","events_url":"https://api.github.com/repos/Wikia/pandora/issues/361/events","html_url":"https://github.com/Wikia/pandora/pull/361","id":97767222,"number":361,"title":"SOC-786 Create HAL response classes, consolidated create and updates into single PUT route","user":{"login":"jsutterfield","id":1657792,"avatar_url":"https://avatars.githubusercontent.com/u/1657792?v=3","gravatar_id":"","url":"https://api.github.com/users/jsutterfield","html_url":"https://github.com/jsutterfield","followers_url":"https://api.github.com/users/jsutterfield/followers","following_url":"https://api.github.com/users/jsutterfield/following{/other_user}","gists_url":"https://api.github.com/users/jsutterfield/gists{/gist_id}","starred_url":"https://api.github.com/users/jsutterfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsutterfield/subscriptions","organizations_url":"https://api.github.com/users/jsutterfield/orgs","repos_url":"https://api.github.com/users/jsutterfield/repos","events_url":"https://api.github.com/users/jsutterfield/events{/privacy}","received_events_url":"https://api.github.com/users/jsutterfield/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-28T18:13:04Z","updated_at":"2015-07-31T07:28:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Wikia/pandora/pulls/361","html_url":"https://github.com/Wikia/pandora/pull/361","diff_url":"https://github.com/Wikia/pandora/pull/361.diff","patch_url":"https://github.com/Wikia/pandora/pull/361.patch"},"body":"This PR does a couple of things:\r\n\r\n1.) It removes the old POST route for creating a User Attribute resource. That change was made following Charle's blogpost https://one.wikia-inc.com/wiki/User_blog:Charles_Miller/REST_Tips:_Which_Verb_Should_I_Use%3F. I followed up with Charles to make sure consolidating creating and updating into a single PUT route and he confirmed that was the way to go. Ping @jcellary since you brought this to my attention initially :)\r\n2.) Create HAL response classes to be used by Swagger. Since we're using swagger-codegen to create the PHP client for us, the Swagger annotations need to know exactly what the responses look like. "},"comment":{"url":"https://api.github.com/repos/Wikia/pandora/issues/comments/126592129","html_url":"https://github.com/Wikia/pandora/pull/361#issuecomment-126592129","issue_url":"https://api.github.com/repos/Wikia/pandora/issues/361","id":126592129,"user":{"login":"kvas-damian","id":2725894,"avatar_url":"https://avatars.githubusercontent.com/u/2725894?v=3","gravatar_id":"","url":"https://api.github.com/users/kvas-damian","html_url":"https://github.com/kvas-damian","followers_url":"https://api.github.com/users/kvas-damian/followers","following_url":"https://api.github.com/users/kvas-damian/following{/other_user}","gists_url":"https://api.github.com/users/kvas-damian/gists{/gist_id}","starred_url":"https://api.github.com/users/kvas-damian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kvas-damian/subscriptions","organizations_url":"https://api.github.com/users/kvas-damian/orgs","repos_url":"https://api.github.com/users/kvas-damian/repos","events_url":"https://api.github.com/users/kvas-damian/events{/privacy}","received_events_url":"https://api.github.com/users/kvas-damian/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T07:28:12Z","updated_at":"2015-07-31T07:28:12Z","body":"LGTM"}}