{"action":"created","issue":{"url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/3205","labels_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/3205/labels{/name}","comments_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/3205/comments","events_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/3205/events","html_url":"https://github.com/code-dot-org/code-dot-org/pull/3205","id":96686656,"number":3205,"title":"Refactor core AssetsApi logic to a helper","user":{"login":"joshlory","id":413693,"avatar_url":"https://avatars.githubusercontent.com/u/413693?v=3","gravatar_id":"","url":"https://api.github.com/users/joshlory","html_url":"https://github.com/joshlory","followers_url":"https://api.github.com/users/joshlory/followers","following_url":"https://api.github.com/users/joshlory/following{/other_user}","gists_url":"https://api.github.com/users/joshlory/gists{/gist_id}","starred_url":"https://api.github.com/users/joshlory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshlory/subscriptions","organizations_url":"https://api.github.com/users/joshlory/orgs","repos_url":"https://api.github.com/users/joshlory/repos","events_url":"https://api.github.com/users/joshlory/events{/privacy}","received_events_url":"https://api.github.com/users/joshlory/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"davidsbailey","id":8001765,"avatar_url":"https://avatars.githubusercontent.com/u/8001765?v=3","gravatar_id":"","url":"https://api.github.com/users/davidsbailey","html_url":"https://github.com/davidsbailey","followers_url":"https://api.github.com/users/davidsbailey/followers","following_url":"https://api.github.com/users/davidsbailey/following{/other_user}","gists_url":"https://api.github.com/users/davidsbailey/gists{/gist_id}","starred_url":"https://api.github.com/users/davidsbailey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidsbailey/subscriptions","organizations_url":"https://api.github.com/users/davidsbailey/orgs","repos_url":"https://api.github.com/users/davidsbailey/repos","events_url":"https://api.github.com/users/davidsbailey/events{/privacy}","received_events_url":"https://api.github.com/users/davidsbailey/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-07-22T23:03:39Z","updated_at":"2015-07-27T17:08:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/3205","html_url":"https://github.com/code-dot-org/code-dot-org/pull/3205","diff_url":"https://github.com/code-dot-org/code-dot-org/pull/3205.diff","patch_url":"https://github.com/code-dot-org/code-dot-org/pull/3205.patch"},"body":"Open issue from https://github.com/code-dot-org/code-dot-org/pull/3162.\r\n\r\nMove core `AssetsApi` logic to the `AssetBucket` helper.  This lets `ProjectsController` clone assets directly, instead of making `ChannelsApi` depend on `AssetsApi`."},"comment":{"url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/comments/125274443","html_url":"https://github.com/code-dot-org/code-dot-org/pull/3205#issuecomment-125274443","issue_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/3205","id":125274443,"user":{"login":"joshlory","id":413693,"avatar_url":"https://avatars.githubusercontent.com/u/413693?v=3","gravatar_id":"","url":"https://api.github.com/users/joshlory","html_url":"https://github.com/joshlory","followers_url":"https://api.github.com/users/joshlory/followers","following_url":"https://api.github.com/users/joshlory/following{/other_user}","gists_url":"https://api.github.com/users/joshlory/gists{/gist_id}","starred_url":"https://api.github.com/users/joshlory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshlory/subscriptions","organizations_url":"https://api.github.com/users/joshlory/orgs","repos_url":"https://api.github.com/users/joshlory/repos","events_url":"https://api.github.com/users/joshlory/events{/privacy}","received_events_url":"https://api.github.com/users/joshlory/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T17:08:47Z","updated_at":"2015-07-27T17:08:47Z","body":"@philbogle Most of this is refactored (not new code).  I'm happy to clean it up now if you think this should block check-in?  Otherwise I can do the clean up as part of a future PR."}}