{"action":"created","issue":{"url":"https://api.github.com/repos/bonobos/spree/issues/397","labels_url":"https://api.github.com/repos/bonobos/spree/issues/397/labels{/name}","comments_url":"https://api.github.com/repos/bonobos/spree/issues/397/comments","events_url":"https://api.github.com/repos/bonobos/spree/issues/397/events","html_url":"https://github.com/bonobos/spree/pull/397","id":84114188,"number":397,"title":"Decrease size of api response when receiving items in a stock transfer","user":{"login":"richardnuno","id":2223534,"avatar_url":"https://avatars.githubusercontent.com/u/2223534?v=3","gravatar_id":"","url":"https://api.github.com/users/richardnuno","html_url":"https://github.com/richardnuno","followers_url":"https://api.github.com/users/richardnuno/followers","following_url":"https://api.github.com/users/richardnuno/following{/other_user}","gists_url":"https://api.github.com/users/richardnuno/gists{/gist_id}","starred_url":"https://api.github.com/users/richardnuno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardnuno/subscriptions","organizations_url":"https://api.github.com/users/richardnuno/orgs","repos_url":"https://api.github.com/users/richardnuno/repos","events_url":"https://api.github.com/users/richardnuno/events{/privacy}","received_events_url":"https://api.github.com/users/richardnuno/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-02T17:17:00Z","updated_at":"2015-06-02T17:17:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bonobos/spree/pulls/397","html_url":"https://github.com/bonobos/spree/pull/397","diff_url":"https://github.com/bonobos/spree/pull/397.diff","patch_url":"https://github.com/bonobos/spree/pull/397.patch"},"body":"The previous response would include all of the stock transfer’s transfer items. This change will only return the transfer item that was received.\r\n\r\nBesides being a lot more performant, the change has the added benefit of not exposing a stock transfer’s transfer items unnecessarily."},"comment":{"url":"https://api.github.com/repos/bonobos/spree/issues/comments/108021815","html_url":"https://github.com/bonobos/spree/pull/397#issuecomment-108021815","issue_url":"https://api.github.com/repos/bonobos/spree/issues/397","id":108021815,"user":{"login":"richardnuno","id":2223534,"avatar_url":"https://avatars.githubusercontent.com/u/2223534?v=3","gravatar_id":"","url":"https://api.github.com/users/richardnuno","html_url":"https://github.com/richardnuno","followers_url":"https://api.github.com/users/richardnuno/followers","following_url":"https://api.github.com/users/richardnuno/following{/other_user}","gists_url":"https://api.github.com/users/richardnuno/gists{/gist_id}","starred_url":"https://api.github.com/users/richardnuno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardnuno/subscriptions","organizations_url":"https://api.github.com/users/richardnuno/orgs","repos_url":"https://api.github.com/users/richardnuno/repos","events_url":"https://api.github.com/users/richardnuno/events{/privacy}","received_events_url":"https://api.github.com/users/richardnuno/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T17:17:59Z","updated_at":"2015-06-02T17:17:59Z","body":"This addresses the timeouts we were seeing when attempting to receive a transfer item that is part of a stock transfer with a lot of transfer items."}}