{"action":"closed","issue":{"url":"https://api.github.com/repos/popstarfreas/Rest-Inventory/issues/7","repository_url":"https://api.github.com/repos/popstarfreas/Rest-Inventory","labels_url":"https://api.github.com/repos/popstarfreas/Rest-Inventory/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/popstarfreas/Rest-Inventory/issues/7/comments","events_url":"https://api.github.com/repos/popstarfreas/Rest-Inventory/issues/7/events","html_url":"https://github.com/popstarfreas/Rest-Inventory/issues/7","id":155877056,"number":7,"title":"Update to TShock 4.3.13 (Rest api changed)","user":{"login":"bippity","id":4565052,"avatar_url":"https://avatars.githubusercontent.com/u/4565052?v=3","gravatar_id":"","url":"https://api.github.com/users/bippity","html_url":"https://github.com/bippity","followers_url":"https://api.github.com/users/bippity/followers","following_url":"https://api.github.com/users/bippity/following{/other_user}","gists_url":"https://api.github.com/users/bippity/gists{/gist_id}","starred_url":"https://api.github.com/users/bippity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bippity/subscriptions","organizations_url":"https://api.github.com/users/bippity/orgs","repos_url":"https://api.github.com/users/bippity/repos","events_url":"https://api.github.com/users/bippity/events{/privacy}","received_events_url":"https://api.github.com/users/bippity/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-05-20T02:51:37Z","updated_at":"2016-07-27T23:06:02Z","closed_at":"2016-07-27T23:06:02Z","body":"They changed some more REST endpoints to v2, such as token creation.\r\n\r\nhttps://github.com/popstarfreas/Rest-Inventory/blob/master/index.php#L72\r\nhttps://github.com/popstarfreas/Rest-Inventory/blob/master/index.php#L96\r\nShould now be something like `$response = json_decode(@file_get_contents(\"http://$location/v2/token/create?username=$rest_user&password=$rest_pass\", 0, $ctx));`\r\n\r\nI'm probably missing something (or screwed up my own code) because the token doesn't seem to get destroyed and while it displays the player list, it also says \"Server failed to respond\"\r\n"}}
{"actor":{"display_login":"popstarfreas"}}