{"action":"created","issue":{"url":"https://api.github.com/repos/phpipam/phpipam/issues/753","repository_url":"https://api.github.com/repos/phpipam/phpipam","labels_url":"https://api.github.com/repos/phpipam/phpipam/issues/753/labels{/name}","comments_url":"https://api.github.com/repos/phpipam/phpipam/issues/753/comments","events_url":"https://api.github.com/repos/phpipam/phpipam/issues/753/events","html_url":"https://github.com/phpipam/phpipam/issues/753","id":178699329,"number":753,"title":"API - /tools/nameservers/, returns \"permissions\"","user":{"login":"hazenet","id":1302109,"avatar_url":"https://avatars.githubusercontent.com/u/1302109?v=3","gravatar_id":"","url":"https://api.github.com/users/hazenet","html_url":"https://github.com/hazenet","followers_url":"https://api.github.com/users/hazenet/followers","following_url":"https://api.github.com/users/hazenet/following{/other_user}","gists_url":"https://api.github.com/users/hazenet/gists{/gist_id}","starred_url":"https://api.github.com/users/hazenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hazenet/subscriptions","organizations_url":"https://api.github.com/users/hazenet/orgs","repos_url":"https://api.github.com/users/hazenet/repos","events_url":"https://api.github.com/users/hazenet/events{/privacy}","received_events_url":"https://api.github.com/users/hazenet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-22T19:28:11Z","updated_at":"2016-09-26T13:05:04Z","closed_at":null,"body":"Doing a GET against /tools/nameservers/, returns this:\r\n\r\n.code = 200\r\n.success = true\r\n.data[0].id = 1\r\n.data[0].name = Google NS\r\n.data[0].namesrv1 = 8.8.8.8;8.8.4.4\r\n.data[0].description = Google public nameservers\r\n.data[0].permissions = 2;3;1\r\n.data[0].editDate = 2016-09-21 21:59:16\r\n.time = 0.002\r\n\r\nBut the .data[0].permissions are actually not \"permissions\", but in stead \"Used in the following Sections\"."},"comment":{"url":"https://api.github.com/repos/phpipam/phpipam/issues/comments/249563628","html_url":"https://github.com/phpipam/phpipam/issues/753#issuecomment-249563628","issue_url":"https://api.github.com/repos/phpipam/phpipam/issues/753","id":249563628,"user":{"login":"phpipam","id":12947690,"avatar_url":"https://avatars.githubusercontent.com/u/12947690?v=3","gravatar_id":"","url":"https://api.github.com/users/phpipam","html_url":"https://github.com/phpipam","followers_url":"https://api.github.com/users/phpipam/followers","following_url":"https://api.github.com/users/phpipam/following{/other_user}","gists_url":"https://api.github.com/users/phpipam/gists{/gist_id}","starred_url":"https://api.github.com/users/phpipam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpipam/subscriptions","organizations_url":"https://api.github.com/users/phpipam/orgs","repos_url":"https://api.github.com/users/phpipam/repos","events_url":"https://api.github.com/users/phpipam/events{/privacy}","received_events_url":"https://api.github.com/users/phpipam/received_events","type":"User","site_admin":false},"created_at":"2016-09-26T13:05:04Z","updated_at":"2016-09-26T13:05:04Z","body":"Changed from \"permissions\" to \"sections\".\r\n\r\n```\r\n> POST /1.3/api/apiclient/tools/nameservers/?name=test&sections=7&namesrv1=1.1.1.1 HTTP/1.1\r\n< HTTP/1.1 201 Created\r\nArray\r\n(\r\n    [code] => 201\r\n    [success] => 1\r\n    [id] => 3\r\n    [data] => nameservers object created\r\n    [time] => 0.019\r\n)\r\n\r\n> GET /1.3/api/apiclient/tools/nameservers/3/ HTTP/1.1\r\n< HTTP/1.1 200 OK\r\nArray\r\n(\r\n    [code] => 200\r\n    [success] => 1\r\n    [data] => Array\r\n        (\r\n            [id] => 3\r\n            [name] => test\r\n            [namesrv1] => 1.1.1.1\r\n            [description] => \r\n            [sections] => 7\r\n            [editDate] => \r\n        )\r\n\r\n    [time] => 0.006\r\n)\r\n```"}}
{"actor":{"display_login":"phpipam"}}