{"action":"created","issue":{"url":"https://api.github.com/repos/adsabs/adsabs-dev-api/issues/23","labels_url":"https://api.github.com/repos/adsabs/adsabs-dev-api/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/adsabs/adsabs-dev-api/issues/23/comments","events_url":"https://api.github.com/repos/adsabs/adsabs-dev-api/issues/23/events","html_url":"https://github.com/adsabs/adsabs-dev-api/issues/23","id":117473749,"number":23,"title":"Unauthorized/404 response to libraries API","user":{"login":"andycasey","id":504436,"avatar_url":"https://avatars.githubusercontent.com/u/504436?v=3","gravatar_id":"","url":"https://api.github.com/users/andycasey","html_url":"https://github.com/andycasey","followers_url":"https://api.github.com/users/andycasey/followers","following_url":"https://api.github.com/users/andycasey/following{/other_user}","gists_url":"https://api.github.com/users/andycasey/gists{/gist_id}","starred_url":"https://api.github.com/users/andycasey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andycasey/subscriptions","organizations_url":"https://api.github.com/users/andycasey/orgs","repos_url":"https://api.github.com/users/andycasey/repos","events_url":"https://api.github.com/users/andycasey/events{/privacy}","received_events_url":"https://api.github.com/users/andycasey/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/adsabs/adsabs-dev-api/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"jonnybazookatone","id":633540,"avatar_url":"https://avatars.githubusercontent.com/u/633540?v=3","gravatar_id":"","url":"https://api.github.com/users/jonnybazookatone","html_url":"https://github.com/jonnybazookatone","followers_url":"https://api.github.com/users/jonnybazookatone/followers","following_url":"https://api.github.com/users/jonnybazookatone/following{/other_user}","gists_url":"https://api.github.com/users/jonnybazookatone/gists{/gist_id}","starred_url":"https://api.github.com/users/jonnybazookatone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonnybazookatone/subscriptions","organizations_url":"https://api.github.com/users/jonnybazookatone/orgs","repos_url":"https://api.github.com/users/jonnybazookatone/repos","events_url":"https://api.github.com/users/jonnybazookatone/events{/privacy}","received_events_url":"https://api.github.com/users/jonnybazookatone/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2015-11-17T23:15:47Z","updated_at":"2015-11-19T14:34:51Z","closed_at":"2015-11-19T14:34:51Z","body":"Hola compadres,\r\n\r\nI've branched the ADS client with the aim to make use of the libraries API, but I am encountering some rudimentary troubles. In short, I am getting 404's or unauthorized responses to a simple get method to list all my private libraries:\r\n\r\n````\r\n ads arc$ curl -H 'Authorization: Bearer <TOKEN>' 'https://api.adsabs.harvard.edu/v1/biblib/'\r\n{\r\n  \"error\": \"Not found\"\r\n}ads arc$ curl -H 'Authorization: Bearer <TOKEN>' 'https://api.adsabs.harvard.edu/v1/biblib'\r\n{\r\n  \"error\": \"Not found\"\r\n}ads arc$ curl -H 'Authorization: Bearer <TOKEN>' 'https://api.adsabs.harvard.edu/v1/biblib/libraries'\r\n{\r\n  \"error\": \"Unauthorized\"\r\n}ads arc$ curl -H 'Authorization: Bearer <TOKEN>' 'https://api.adsabs.harvard.edu/v1/biblib/libraries/'\r\n{\r\n  \"error\": \"Unauthorized\"\r\n}\r\n````\r\n(Obviously, `<TOKEN>` has been replaced here with my real token)\r\n\r\nI have one library in BBB, which is public but has no documents. Where have I screwed up here?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/adsabs/adsabs-dev-api/issues/comments/158074384","html_url":"https://github.com/adsabs/adsabs-dev-api/issues/23#issuecomment-158074384","issue_url":"https://api.github.com/repos/adsabs/adsabs-dev-api/issues/23","id":158074384,"user":{"login":"andycasey","id":504436,"avatar_url":"https://avatars.githubusercontent.com/u/504436?v=3","gravatar_id":"","url":"https://api.github.com/users/andycasey","html_url":"https://github.com/andycasey","followers_url":"https://api.github.com/users/andycasey/followers","following_url":"https://api.github.com/users/andycasey/following{/other_user}","gists_url":"https://api.github.com/users/andycasey/gists{/gist_id}","starred_url":"https://api.github.com/users/andycasey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andycasey/subscriptions","organizations_url":"https://api.github.com/users/andycasey/orgs","repos_url":"https://api.github.com/users/andycasey/repos","events_url":"https://api.github.com/users/andycasey/events{/privacy}","received_events_url":"https://api.github.com/users/andycasey/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T14:34:51Z","updated_at":"2015-11-19T14:34:51Z","body":"Woohoo! It works. Thanks @jonnybazookatone!\r\n"}}