{"action":"created","issue":{"url":"https://api.github.com/repos/julianxhokaxhiu/LineageOTA/issues/17","repository_url":"https://api.github.com/repos/julianxhokaxhiu/LineageOTA","labels_url":"https://api.github.com/repos/julianxhokaxhiu/LineageOTA/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/julianxhokaxhiu/LineageOTA/issues/17/comments","events_url":"https://api.github.com/repos/julianxhokaxhiu/LineageOTA/issues/17/events","html_url":"https://github.com/julianxhokaxhiu/LineageOTA/issues/17","id":205383831,"number":17,"title":"url doesn't have the path prepended","user":{"login":"brianjmurrell","id":559317,"avatar_url":"https://avatars.githubusercontent.com/u/559317?v=3","gravatar_id":"","url":"https://api.github.com/users/brianjmurrell","html_url":"https://github.com/brianjmurrell","followers_url":"https://api.github.com/users/brianjmurrell/followers","following_url":"https://api.github.com/users/brianjmurrell/following{/other_user}","gists_url":"https://api.github.com/users/brianjmurrell/gists{/gist_id}","starred_url":"https://api.github.com/users/brianjmurrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianjmurrell/subscriptions","organizations_url":"https://api.github.com/users/brianjmurrell/orgs","repos_url":"https://api.github.com/users/brianjmurrell/repos","events_url":"https://api.github.com/users/brianjmurrell/events{/privacy}","received_events_url":"https://api.github.com/users/brianjmurrell/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-04T22:43:52Z","updated_at":"2017-02-05T14:40:52Z","closed_at":"2017-02-05T10:22:29Z","body":"When I fetch from http://example.com/lineageos/ota/api/v1/device/nightly/05793c8c55 notice that the stanza that comes back in the response doesn't have the leading \"lineageos/ota/\" prepended to it:\r\n\r\n`\r\n      {\r\n         \"incremental\" : \"94a030a813\",\r\n         \"changes\" : \"http://example.com/builds/full/lineage-14\r\n         \"timestamp\" : 1486238453,\r\n         \"channel\" : \"nightly\",\r\n         \"api_level\" : \"25\",\r\n         \"filename\" : \"lineage-14.1-20170204-UNOFFICIAL-<device>.zip\",\r\n         \"md5sum\" : \"56d72db24b15ebe799d2b0b61f66db02\",\r\n         \"romtype\" : \"nightly\",\r\n         \"datetime\" : 1486238453,\r\n         \"url\" : \"http://example.com/builds/full/lineage-14.1-2\r\n      }\r\n\r\n`"},"comment":{"url":"https://api.github.com/repos/julianxhokaxhiu/LineageOTA/issues/comments/277523957","html_url":"https://github.com/julianxhokaxhiu/LineageOTA/issues/17#issuecomment-277523957","issue_url":"https://api.github.com/repos/julianxhokaxhiu/LineageOTA/issues/17","id":277523957,"user":{"login":"brianjmurrell","id":559317,"avatar_url":"https://avatars.githubusercontent.com/u/559317?v=3","gravatar_id":"","url":"https://api.github.com/users/brianjmurrell","html_url":"https://github.com/brianjmurrell","followers_url":"https://api.github.com/users/brianjmurrell/followers","following_url":"https://api.github.com/users/brianjmurrell/following{/other_user}","gists_url":"https://api.github.com/users/brianjmurrell/gists{/gist_id}","starred_url":"https://api.github.com/users/brianjmurrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianjmurrell/subscriptions","organizations_url":"https://api.github.com/users/brianjmurrell/orgs","repos_url":"https://api.github.com/users/brianjmurrell/repos","events_url":"https://api.github.com/users/brianjmurrell/events{/privacy}","received_events_url":"https://api.github.com/users/brianjmurrell/received_events","type":"User","site_admin":false},"created_at":"2017-02-05T14:40:52Z","updated_at":"2017-02-05T14:40:52Z","body":"Or how about the solution in PR #18?  I'm not a PHP expert (by a long shot) so I don't know if there are cases where that solution won't work but it seems to work here."}}
{"actor":{"display_login":"brianjmurrell"}}