{"action":"closed","issue":{"url":"https://api.github.com/repos/inverse-inc/packetfence/issues/4186","repository_url":"https://api.github.com/repos/inverse-inc/packetfence","labels_url":"https://api.github.com/repos/inverse-inc/packetfence/issues/4186/labels{/name}","comments_url":"https://api.github.com/repos/inverse-inc/packetfence/issues/4186/comments","events_url":"https://api.github.com/repos/inverse-inc/packetfence/issues/4186/events","html_url":"https://github.com/inverse-inc/packetfence/issues/4186","id":428276188,"node_id":"MDU6SXNzdWU0MjgyNzYxODg=","number":4186,"title":"API POST conf/routed_network error","user":{"login":"satkunas","id":3904468,"node_id":"MDQ6VXNlcjM5MDQ0Njg=","avatar_url":"https://avatars1.githubusercontent.com/u/3904468?v=4","gravatar_id":"","url":"https://api.github.com/users/satkunas","html_url":"https://github.com/satkunas","followers_url":"https://api.github.com/users/satkunas/followers","following_url":"https://api.github.com/users/satkunas/following{/other_user}","gists_url":"https://api.github.com/users/satkunas/gists{/gist_id}","starred_url":"https://api.github.com/users/satkunas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satkunas/subscriptions","organizations_url":"https://api.github.com/users/satkunas/orgs","repos_url":"https://api.github.com/users/satkunas/repos","events_url":"https://api.github.com/users/satkunas/events{/privacy}","received_events_url":"https://api.github.com/users/satkunas/received_events","type":"User","site_admin":false},"labels":[{"id":930310800,"node_id":"MDU6TGFiZWw5MzAzMTA4MDA=","url":"https://api.github.com/repos/inverse-inc/packetfence/labels/API","name":"API","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":{"login":"satkunas","id":3904468,"node_id":"MDQ6VXNlcjM5MDQ0Njg=","avatar_url":"https://avatars1.githubusercontent.com/u/3904468?v=4","gravatar_id":"","url":"https://api.github.com/users/satkunas","html_url":"https://github.com/satkunas","followers_url":"https://api.github.com/users/satkunas/followers","following_url":"https://api.github.com/users/satkunas/following{/other_user}","gists_url":"https://api.github.com/users/satkunas/gists{/gist_id}","starred_url":"https://api.github.com/users/satkunas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satkunas/subscriptions","organizations_url":"https://api.github.com/users/satkunas/orgs","repos_url":"https://api.github.com/users/satkunas/repos","events_url":"https://api.github.com/users/satkunas/events{/privacy}","received_events_url":"https://api.github.com/users/satkunas/received_events","type":"User","site_admin":false},"assignees":[{"login":"satkunas","id":3904468,"node_id":"MDQ6VXNlcjM5MDQ0Njg=","avatar_url":"https://avatars1.githubusercontent.com/u/3904468?v=4","gravatar_id":"","url":"https://api.github.com/users/satkunas","html_url":"https://github.com/satkunas","followers_url":"https://api.github.com/users/satkunas/followers","following_url":"https://api.github.com/users/satkunas/following{/other_user}","gists_url":"https://api.github.com/users/satkunas/gists{/gist_id}","starred_url":"https://api.github.com/users/satkunas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satkunas/subscriptions","organizations_url":"https://api.github.com/users/satkunas/orgs","repos_url":"https://api.github.com/users/satkunas/repos","events_url":"https://api.github.com/users/satkunas/events{/privacy}","received_events_url":"https://api.github.com/users/satkunas/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2019-04-02T14:54:24Z","updated_at":"2019-04-02T15:45:25Z","closed_at":"2019-04-02T15:45:25Z","author_association":"CONTRIBUTOR","body":"Perl backend still expects `network` when creating a new resource, `network` should be `id`\r\n\r\nPayload:\r\n```json\r\n{\"dhcp_default_lease_time\":\"3600\",\"dhcp_end\":\"2.0.0.1\",\"dhcp_max_lease_time\":\"7200\",\"dhcp_start\":\"2.0.0.0\",\"dhcpd\":\"enabled\",\"dns\":\"1.2.3.4\",\"fake_mac_enabled\":0,\"gateway\":\"1.2.3.4\",\"id\":\"2.3.5.0\",\"ip_assigned\":null,\"ip_reserved\":null,\"nat_enabled\":0,\"netmask\":\"255.255.255.0\",\"next_hop\":\"2.3.4.5\",\"not_deletable\":false,\"portal_fqdn\":null,\"type\":\"vlan-isolation\"}\r\n```\r\n\r\nResponse:\r\n```json\r\n{\"errors\":[{\"field\":\"network\",\"message\":\"Please specify the network.\"}],\"message\":\"Unable to validate\",\"status\":422}\r\n```"}}
{"actor":{"display_login":"satkunas"}}