{"action":"created","issue":{"url":"https://api.github.com/repos/GSA/enterprise-data-inventory/issues/187","labels_url":"https://api.github.com/repos/GSA/enterprise-data-inventory/issues/187/labels{/name}","comments_url":"https://api.github.com/repos/GSA/enterprise-data-inventory/issues/187/comments","events_url":"https://api.github.com/repos/GSA/enterprise-data-inventory/issues/187/events","html_url":"https://github.com/GSA/enterprise-data-inventory/issues/187","id":109718083,"number":187,"title":"Accessing CKAN API methods at inventory.data.gov","user":{"login":"QJF3","id":8127581,"avatar_url":"https://avatars.githubusercontent.com/u/8127581?v=3","gravatar_id":"","url":"https://api.github.com/users/QJF3","html_url":"https://github.com/QJF3","followers_url":"https://api.github.com/users/QJF3/followers","following_url":"https://api.github.com/users/QJF3/following{/other_user}","gists_url":"https://api.github.com/users/QJF3/gists{/gist_id}","starred_url":"https://api.github.com/users/QJF3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QJF3/subscriptions","organizations_url":"https://api.github.com/users/QJF3/orgs","repos_url":"https://api.github.com/users/QJF3/repos","events_url":"https://api.github.com/users/QJF3/events{/privacy}","received_events_url":"https://api.github.com/users/QJF3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-05T01:36:33Z","updated_at":"2015-10-05T15:53:44Z","closed_at":null,"body":"I am using httpie to test how to access inventory.data.gov.  Any api methods with zero or more parameters generates a http error of 302 and redirects me to the inventory.data.gov/login.  Not sure what I am doing wrong to use the APIs.   My goals is to be able to update my organization's datasets in batch instead of through a manual process.  Here's the log:\r\n\r\n PS C:\\Users\\Dev> http -v GET https://inventory.data.gov/api/3/member_list id=userID Authorization:xxxxx-xx-xxx\r\nGET /api/3/member_list HTTP/1.1\r\nAccept: application/json\r\nAccept-Encoding: gzip, deflate\r\nAuthorization: xxxxx-xx-xxx\r\nConnection: keep-alive\r\nContent-Length: 21\r\nContent-Type: application/json\r\nHost: inventory.data.gov\r\nUser-Agent: HTTPie/0.9.2\r\n\r\n{\r\n    \"id\": \"userID\"\r\n}\r\n\r\nHTTP/1.1 302 Found\r\nConnection: Keep-Alive\r\nContent-Encoding: gzip\r\nContent-Length: 194\r\nContent-Type: text/html; charset=iso-8859-1\r\nDate: Mon, 05 Oct 2015 01:11:15 GMT\r\nKeep-Alive: timeout=15, max=100\r\nLocation: https://inventory.data.gov/user/login\r\nServer: Apache\r\nVary: Accept-Encoding\r\nX-Frame-Options: SAMEORIGIN\r\n\r\n<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html><head>\r\n<title>302 Found</title>\r\n</head><body>\r\n<h1>Found</h1>\r\n<p>The document has moved <a href=\"https://inventory.data.gov/user/login\">here</a>.</p>\r\n</body></html>\r\n\r\nPS C:\\Users\\Dev>"},"comment":{"url":"https://api.github.com/repos/GSA/enterprise-data-inventory/issues/comments/145578506","html_url":"https://github.com/GSA/enterprise-data-inventory/issues/187#issuecomment-145578506","issue_url":"https://api.github.com/repos/GSA/enterprise-data-inventory/issues/187","id":145578506,"user":{"login":"QJF3","id":8127581,"avatar_url":"https://avatars.githubusercontent.com/u/8127581?v=3","gravatar_id":"","url":"https://api.github.com/users/QJF3","html_url":"https://github.com/QJF3","followers_url":"https://api.github.com/users/QJF3/followers","following_url":"https://api.github.com/users/QJF3/following{/other_user}","gists_url":"https://api.github.com/users/QJF3/gists{/gist_id}","starred_url":"https://api.github.com/users/QJF3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QJF3/subscriptions","organizations_url":"https://api.github.com/users/QJF3/orgs","repos_url":"https://api.github.com/users/QJF3/repos","events_url":"https://api.github.com/users/QJF3/events{/privacy}","received_events_url":"https://api.github.com/users/QJF3/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T15:53:44Z","updated_at":"2015-10-05T15:53:44Z","body":"I am with the VA and when I try to access the API I am using my authorization key that is issued to me as an Inventory.Data.Gov user."}}