{"action":"created","issue":{"url":"https://api.github.com/repos/open-horizon/exchange-api/issues/77","repository_url":"https://api.github.com/repos/open-horizon/exchange-api","labels_url":"https://api.github.com/repos/open-horizon/exchange-api/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/open-horizon/exchange-api/issues/77/comments","events_url":"https://api.github.com/repos/open-horizon/exchange-api/issues/77/events","html_url":"https://github.com/open-horizon/exchange-api/issues/77","id":358738695,"node_id":"MDU6SXNzdWUzNTg3Mzg2OTU=","number":77,"title":"URL parameters don't seem to be passed in","user":{"login":"cgiroua","id":20540468,"node_id":"MDQ6VXNlcjIwNTQwNDY4","avatar_url":"https://avatars0.githubusercontent.com/u/20540468?v=4","gravatar_id":"","url":"https://api.github.com/users/cgiroua","html_url":"https://github.com/cgiroua","followers_url":"https://api.github.com/users/cgiroua/followers","following_url":"https://api.github.com/users/cgiroua/following{/other_user}","gists_url":"https://api.github.com/users/cgiroua/gists{/gist_id}","starred_url":"https://api.github.com/users/cgiroua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgiroua/subscriptions","organizations_url":"https://api.github.com/users/cgiroua/orgs","repos_url":"https://api.github.com/users/cgiroua/repos","events_url":"https://api.github.com/users/cgiroua/events{/privacy}","received_events_url":"https://api.github.com/users/cgiroua/received_events","type":"User","site_admin":false},"labels":[{"id":516333062,"node_id":"MDU6TGFiZWw1MTYzMzMwNjI=","url":"https://api.github.com/repos/open-horizon/exchange-api/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":{"login":"bmpotter","id":1944811,"node_id":"MDQ6VXNlcjE5NDQ4MTE=","avatar_url":"https://avatars1.githubusercontent.com/u/1944811?v=4","gravatar_id":"","url":"https://api.github.com/users/bmpotter","html_url":"https://github.com/bmpotter","followers_url":"https://api.github.com/users/bmpotter/followers","following_url":"https://api.github.com/users/bmpotter/following{/other_user}","gists_url":"https://api.github.com/users/bmpotter/gists{/gist_id}","starred_url":"https://api.github.com/users/bmpotter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmpotter/subscriptions","organizations_url":"https://api.github.com/users/bmpotter/orgs","repos_url":"https://api.github.com/users/bmpotter/repos","events_url":"https://api.github.com/users/bmpotter/events{/privacy}","received_events_url":"https://api.github.com/users/bmpotter/received_events","type":"User","site_admin":false},"assignees":[{"login":"bmpotter","id":1944811,"node_id":"MDQ6VXNlcjE5NDQ4MTE=","avatar_url":"https://avatars1.githubusercontent.com/u/1944811?v=4","gravatar_id":"","url":"https://api.github.com/users/bmpotter","html_url":"https://github.com/bmpotter","followers_url":"https://api.github.com/users/bmpotter/followers","following_url":"https://api.github.com/users/bmpotter/following{/other_user}","gists_url":"https://api.github.com/users/bmpotter/gists{/gist_id}","starred_url":"https://api.github.com/users/bmpotter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmpotter/subscriptions","organizations_url":"https://api.github.com/users/bmpotter/orgs","repos_url":"https://api.github.com/users/bmpotter/repos","events_url":"https://api.github.com/users/bmpotter/events{/privacy}","received_events_url":"https://api.github.com/users/bmpotter/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-09-10T18:23:25Z","updated_at":"2018-10-04T14:41:25Z","closed_at":null,"author_association":"MEMBER","body":"Executing a curl to the exchange with URL parameters (Like the Swagger UI does) seems to drop the parameters:\r\n\r\nSee the following curl/response:\r\n`curl -X GET \"https://exchange.staging.bluehorizon.network/v1/orgs?id=bogusorg%2bogususer&token=bogustoken\" -H  \"accept: application/json\"`\r\n`{\r\n  \"code\": \"invalid-credentials\",\r\n  \"msg\": \"no credentials given\"\r\n}`"},"comment":{"url":"https://api.github.com/repos/open-horizon/exchange-api/issues/comments/427045207","html_url":"https://github.com/open-horizon/exchange-api/issues/77#issuecomment-427045207","issue_url":"https://api.github.com/repos/open-horizon/exchange-api/issues/77","id":427045207,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzA0NTIwNw==","user":{"login":"bmpotter","id":1944811,"node_id":"MDQ6VXNlcjE5NDQ4MTE=","avatar_url":"https://avatars1.githubusercontent.com/u/1944811?v=4","gravatar_id":"","url":"https://api.github.com/users/bmpotter","html_url":"https://github.com/bmpotter","followers_url":"https://api.github.com/users/bmpotter/followers","following_url":"https://api.github.com/users/bmpotter/following{/other_user}","gists_url":"https://api.github.com/users/bmpotter/gists{/gist_id}","starred_url":"https://api.github.com/users/bmpotter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmpotter/subscriptions","organizations_url":"https://api.github.com/users/bmpotter/orgs","repos_url":"https://api.github.com/users/bmpotter/repos","events_url":"https://api.github.com/users/bmpotter/events{/privacy}","received_events_url":"https://api.github.com/users/bmpotter/received_events","type":"User","site_admin":false},"created_at":"2018-10-04T14:41:25Z","updated_at":"2018-10-04T14:41:25Z","author_association":"MEMBER","body":"From my testing and examination of the code, this problem only occurs in these 2 cases:\r\n1. Querying `/orgs`\r\n1. Using root credentials\r\n\r\nThis is fixed in exchange version 1.60.0. But you have a problem in your curl cmd: missing the `F` in the separator code. It should be `id=bogusorg%2Fbogususer`. Alternatively, you can put in the slash directly: `id=bogusorg/bogususer`. And in every other case beside querying `/orgs`, if you specify `id=bogususer` it will add the org to the front automatically."}}
{"actor":{"display_login":"bmpotter"}}