{"action":"opened","issue":{"url":"https://api.github.com/repos/adamcooke/staytus/issues/112","repository_url":"https://api.github.com/repos/adamcooke/staytus","labels_url":"https://api.github.com/repos/adamcooke/staytus/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/adamcooke/staytus/issues/112/comments","events_url":"https://api.github.com/repos/adamcooke/staytus/issues/112/events","html_url":"https://github.com/adamcooke/staytus/issues/112","id":188536562,"number":112,"title":"Help with the API","user":{"login":"steviecoaster","id":8674240,"avatar_url":"https://avatars.githubusercontent.com/u/8674240?v=3","gravatar_id":"","url":"https://api.github.com/users/steviecoaster","html_url":"https://github.com/steviecoaster","followers_url":"https://api.github.com/users/steviecoaster/followers","following_url":"https://api.github.com/users/steviecoaster/following{/other_user}","gists_url":"https://api.github.com/users/steviecoaster/gists{/gist_id}","starred_url":"https://api.github.com/users/steviecoaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steviecoaster/subscriptions","organizations_url":"https://api.github.com/users/steviecoaster/orgs","repos_url":"https://api.github.com/users/steviecoaster/repos","events_url":"https://api.github.com/users/steviecoaster/events{/privacy}","received_events_url":"https://api.github.com/users/steviecoaster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-10T15:23:12Z","updated_at":"2016-11-10T15:23:12Z","closed_at":null,"body":"I'm trying to leverage Invoke-RESTMethod in Powershell to query our Staytus server, but I'm getting a parameter error message in the response. \r\n\r\nCan someone point me in the direction of a properly formatted URL call? I'm missing something somewhere, and the API documentation is kind of lack luster.\r\n\r\n$headers = New-Object \"System.Collections.Generic.Dictionary[[string],[string]]\"\r\n$headers.Add(\"X-Auth-Token\",$token)\r\n$headers.Add(\"X-Auth-Secret\",$secret)\r\n\r\n$response = Invoke-RestMethod 'http://status.tusc.kent.edu:5000/api/v1/services/info/wireless' -Headers $headers\r\n\r\n$response.data\r\n\r\nmessage                                       \r\n-------                                       \r\n`service` parameter is required but is missing\r\n\r\nI've tried several iterations of the URL, but nothing seems to want to work. Any help would be greatly appreciated."}}
{"actor":{"display_login":"steviecoaster"}}