{"action":"created","issue":{"url":"https://api.github.com/repos/informatics-isi-edu/hatrac/issues/41","repository_url":"https://api.github.com/repos/informatics-isi-edu/hatrac","labels_url":"https://api.github.com/repos/informatics-isi-edu/hatrac/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/informatics-isi-edu/hatrac/issues/41/comments","events_url":"https://api.github.com/repos/informatics-isi-edu/hatrac/issues/41/events","html_url":"https://github.com/informatics-isi-edu/hatrac/issues/41","id":229774959,"number":41,"title":"Inconsistencies in implementation and api docs for arrays of resource names","user":{"login":"chiragsanghvi","id":1658152,"avatar_url":"https://avatars2.githubusercontent.com/u/1658152?v=3","gravatar_id":"","url":"https://api.github.com/users/chiragsanghvi","html_url":"https://github.com/chiragsanghvi","followers_url":"https://api.github.com/users/chiragsanghvi/followers","following_url":"https://api.github.com/users/chiragsanghvi/following{/other_user}","gists_url":"https://api.github.com/users/chiragsanghvi/gists{/gist_id}","starred_url":"https://api.github.com/users/chiragsanghvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chiragsanghvi/subscriptions","organizations_url":"https://api.github.com/users/chiragsanghvi/orgs","repos_url":"https://api.github.com/users/chiragsanghvi/repos","events_url":"https://api.github.com/users/chiragsanghvi/events{/privacy}","received_events_url":"https://api.github.com/users/chiragsanghvi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"svoinea","id":1609577,"avatar_url":"https://avatars3.githubusercontent.com/u/1609577?v=3","gravatar_id":"","url":"https://api.github.com/users/svoinea","html_url":"https://github.com/svoinea","followers_url":"https://api.github.com/users/svoinea/followers","following_url":"https://api.github.com/users/svoinea/following{/other_user}","gists_url":"https://api.github.com/users/svoinea/gists{/gist_id}","starred_url":"https://api.github.com/users/svoinea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svoinea/subscriptions","organizations_url":"https://api.github.com/users/svoinea/orgs","repos_url":"https://api.github.com/users/svoinea/repos","events_url":"https://api.github.com/users/svoinea/events{/privacy}","received_events_url":"https://api.github.com/users/svoinea/received_events","type":"User","site_admin":false},"assignees":[{"login":"svoinea","id":1609577,"avatar_url":"https://avatars3.githubusercontent.com/u/1609577?v=3","gravatar_id":"","url":"https://api.github.com/users/svoinea","html_url":"https://github.com/svoinea","followers_url":"https://api.github.com/users/svoinea/followers","following_url":"https://api.github.com/users/svoinea/following{/other_user}","gists_url":"https://api.github.com/users/svoinea/gists{/gist_id}","starred_url":"https://api.github.com/users/svoinea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svoinea/subscriptions","organizations_url":"https://api.github.com/users/svoinea/orgs","repos_url":"https://api.github.com/users/svoinea/repos","events_url":"https://api.github.com/users/svoinea/events{/privacy}","received_events_url":"https://api.github.com/users/svoinea/received_events","type":"User","site_admin":false},{"login":"chiragsanghvi","id":1658152,"avatar_url":"https://avatars2.githubusercontent.com/u/1658152?v=3","gravatar_id":"","url":"https://api.github.com/users/chiragsanghvi","html_url":"https://github.com/chiragsanghvi","followers_url":"https://api.github.com/users/chiragsanghvi/followers","following_url":"https://api.github.com/users/chiragsanghvi/following{/other_user}","gists_url":"https://api.github.com/users/chiragsanghvi/gists{/gist_id}","starred_url":"https://api.github.com/users/chiragsanghvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chiragsanghvi/subscriptions","organizations_url":"https://api.github.com/users/chiragsanghvi/orgs","repos_url":"https://api.github.com/users/chiragsanghvi/repos","events_url":"https://api.github.com/users/chiragsanghvi/events{/privacy}","received_events_url":"https://api.github.com/users/chiragsanghvi/received_events","type":"User","site_admin":false},{"login":"mikedarcy","id":6675943,"avatar_url":"https://avatars0.githubusercontent.com/u/6675943?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedarcy","html_url":"https://github.com/mikedarcy","followers_url":"https://api.github.com/users/mikedarcy/followers","following_url":"https://api.github.com/users/mikedarcy/following{/other_user}","gists_url":"https://api.github.com/users/mikedarcy/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedarcy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedarcy/subscriptions","organizations_url":"https://api.github.com/users/mikedarcy/orgs","repos_url":"https://api.github.com/users/mikedarcy/repos","events_url":"https://api.github.com/users/mikedarcy/events{/privacy}","received_events_url":"https://api.github.com/users/mikedarcy/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2017-05-18T19:09:36Z","updated_at":"2017-05-24T00:59:57Z","closed_at":null,"body":"## Revised summary\r\n\r\nThe service response with JSON arrays of object names is inconsistent as far as whether or not the service prefix (e.g. `/hatrac`) is present on each name, and this behavior differs from the REST-API documentation in this repo.  We suspect that there are programmatic clients working with these implementation quirks now, so we need to think about the right fix and transition strategy.\r\n\r\n## Original issue description\r\n\r\nThe chunked job retrieval for a URL mentioned [here](https://github.com/informatics-isi-edu/hatrac/blob/master/REST-API.md#chunked-upload-job-listing-retrieval) returns a list of paths, but they don't have **SERVER_NAME** i.e. `hatrac` prepended to it.\r\n\r\n**REQUEST**\r\n\r\n[https://dev.isrd.isi.edu/hatrac/5678/17255efa2361c4d3799ad5937909fa8a;upload](https://dev.isrd.isi.edu/hatrac/5678/17255efa2361c4d3799ad5937909fa8a;upload?)\r\n\r\n**RESPONSE**\r\n```json\r\n[\"/5678/17255efa2361c4d3799ad5937909fa8a;upload/PFQ2HYG5MXG356W6ZLK36NGQCE\"]\r\n```\r\n\r\nThe actual response should have `hatrac` prepended \r\n```json\r\n[\"/hatrac/5678/17255efa2361c4d3799ad5937909fa8a;upload/PFQ2HYG5MXG356W6ZLK36NGQCE\"]\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/informatics-isi-edu/hatrac/issues/comments/303584102","html_url":"https://github.com/informatics-isi-edu/hatrac/issues/41#issuecomment-303584102","issue_url":"https://api.github.com/repos/informatics-isi-edu/hatrac/issues/41","id":303584102,"user":{"login":"chiragsanghvi","id":1658152,"avatar_url":"https://avatars2.githubusercontent.com/u/1658152?v=3","gravatar_id":"","url":"https://api.github.com/users/chiragsanghvi","html_url":"https://github.com/chiragsanghvi","followers_url":"https://api.github.com/users/chiragsanghvi/followers","following_url":"https://api.github.com/users/chiragsanghvi/following{/other_user}","gists_url":"https://api.github.com/users/chiragsanghvi/gists{/gist_id}","starred_url":"https://api.github.com/users/chiragsanghvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chiragsanghvi/subscriptions","organizations_url":"https://api.github.com/users/chiragsanghvi/orgs","repos_url":"https://api.github.com/users/chiragsanghvi/repos","events_url":"https://api.github.com/users/chiragsanghvi/events{/privacy}","received_events_url":"https://api.github.com/users/chiragsanghvi/received_events","type":"User","site_admin":false},"created_at":"2017-05-24T00:59:57Z","updated_at":"2017-05-24T00:59:57Z","body":"@karlcz This works"}}
{"actor":{"display_login":"chiragsanghvi"}}