{"action":"created","issue":{"url":"https://api.github.com/repos/ualbertalib/HydraNorth/issues/1071","repository_url":"https://api.github.com/repos/ualbertalib/HydraNorth","labels_url":"https://api.github.com/repos/ualbertalib/HydraNorth/issues/1071/labels{/name}","comments_url":"https://api.github.com/repos/ualbertalib/HydraNorth/issues/1071/comments","events_url":"https://api.github.com/repos/ualbertalib/HydraNorth/issues/1071/events","html_url":"https://github.com/ualbertalib/HydraNorth/issues/1071","id":150431622,"number":1071,"title":"File download link change","user":{"login":"pbinkley","id":272816,"avatar_url":"https://avatars.githubusercontent.com/u/272816?v=3","gravatar_id":"","url":"https://api.github.com/users/pbinkley","html_url":"https://github.com/pbinkley","followers_url":"https://api.github.com/users/pbinkley/followers","following_url":"https://api.github.com/users/pbinkley/following{/other_user}","gists_url":"https://api.github.com/users/pbinkley/gists{/gist_id}","starred_url":"https://api.github.com/users/pbinkley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbinkley/subscriptions","organizations_url":"https://api.github.com/users/pbinkley/orgs","repos_url":"https://api.github.com/users/pbinkley/repos","events_url":"https://api.github.com/users/pbinkley/events{/privacy}","received_events_url":"https://api.github.com/users/pbinkley/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ualbertalib/HydraNorth/labels/priority:high","name":"priority:high","color":"f7c6c7"},{"url":"https://api.github.com/repos/ualbertalib/HydraNorth/labels/size:medium","name":"size:medium","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ualbertalib/HydraNorth/milestones/49","html_url":"https://github.com/ualbertalib/HydraNorth/milestones/Sprint%2040","labels_url":"https://api.github.com/repos/ualbertalib/HydraNorth/milestones/49/labels","id":1698224,"number":49,"title":"Sprint 40","description":"","creator":{"login":"pbinkley","id":272816,"avatar_url":"https://avatars.githubusercontent.com/u/272816?v=3","gravatar_id":"","url":"https://api.github.com/users/pbinkley","html_url":"https://github.com/pbinkley","followers_url":"https://api.github.com/users/pbinkley/followers","following_url":"https://api.github.com/users/pbinkley/following{/other_user}","gists_url":"https://api.github.com/users/pbinkley/gists{/gist_id}","starred_url":"https://api.github.com/users/pbinkley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbinkley/subscriptions","organizations_url":"https://api.github.com/users/pbinkley/orgs","repos_url":"https://api.github.com/users/pbinkley/repos","events_url":"https://api.github.com/users/pbinkley/events{/privacy}","received_events_url":"https://api.github.com/users/pbinkley/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":10,"state":"open","created_at":"2016-04-11T15:46:29Z","updated_at":"2016-04-22T22:05:11Z","due_on":"2016-04-22T06:00:00Z","closed_at":null},"comments":0,"created_at":"2016-04-22T17:48:07Z","updated_at":"2016-04-25T15:55:26Z","closed_at":null,"body":"Create a route for file download: instead of ```https://era.library.ualberta.ca/downloads/j098zd881```, use the file label (i.e. the original file name) and place it under ```/files/``` instead of ```/downloads/```, to produce ```https://era.library.ualberta.ca/files/j098zd881/120715_parliamentnow.pdf```\r\n\r\nThis meets Google's and LAC's requirements, for the downloadable file to be in the same \"directory\" as the landing page for the item, and for the download link to end in \".pdf\" for thesis pdfs.\r\n\r\nThe old url should issue a permanent redirect to the new one: it will have to do a lookup to determine the file label, in the way we do with old ERA uuids: #651\r\n\r\nCloses #848, #849"},"comment":{"url":"https://api.github.com/repos/ualbertalib/HydraNorth/issues/comments/214414501","html_url":"https://github.com/ualbertalib/HydraNorth/issues/1071#issuecomment-214414501","issue_url":"https://api.github.com/repos/ualbertalib/HydraNorth/issues/1071","id":214414501,"user":{"login":"pbinkley","id":272816,"avatar_url":"https://avatars.githubusercontent.com/u/272816?v=3","gravatar_id":"","url":"https://api.github.com/users/pbinkley","html_url":"https://github.com/pbinkley","followers_url":"https://api.github.com/users/pbinkley/followers","following_url":"https://api.github.com/users/pbinkley/following{/other_user}","gists_url":"https://api.github.com/users/pbinkley/gists{/gist_id}","starred_url":"https://api.github.com/users/pbinkley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbinkley/subscriptions","organizations_url":"https://api.github.com/users/pbinkley/orgs","repos_url":"https://api.github.com/users/pbinkley/repos","events_url":"https://api.github.com/users/pbinkley/events{/privacy}","received_events_url":"https://api.github.com/users/pbinkley/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T15:55:26Z","updated_at":"2016-04-25T15:55:26Z","body":"This structure is to be maintained alongside the ```/downloads/noid.pdf``` version."}}