Networks
OK
VirtualNATPoolIPv4 is the IPv4 CIDR pool from which virtual NAT ranges are allocated for egress gateways
VirtualNATSitePrefixLenIPv4 is the prefix length (e.g., 24) for individual site allocations from the IPv4 virtual NAT pool
Internal Server Error
GET /api/networks HTTP/1.1
Host: api.demo.netmaker.io
Accept: */*
{
"addressrange": "text",
"addressrange6": "text",
"allowmanualsignup": "text",
"auto_join": "text",
"auto_remove": "text",
"auto_remove_tags": [
"text"
],
"auto_remove_threshold_mins": 1,
"defaultacl": "text",
"defaultinterface": "text",
"defaultkeepalive": 1,
"defaultlistenport": 1,
"defaultmtu": 1,
"defaultpostdown": "text",
"defaultudpholepunch": "text",
"dns_nameservers": [
"text"
],
"isipv4": "text",
"isipv6": "text",
"jit_enabled": "text",
"netid": "text",
"networklastmodified": 1,
"nodelimit": 1,
"nodeslastmodified": 1,
"virtual_nat_pool_ipv4": "text",
"virtual_nat_site_prefixlen_ipv4": 1
}VirtualNATPoolIPv4 is the IPv4 CIDR pool from which virtual NAT ranges are allocated for egress gateways
VirtualNATSitePrefixLenIPv4 is the prefix length (e.g., 24) for individual site allocations from the IPv4 virtual NAT pool
OK
VirtualNATPoolIPv4 is the IPv4 CIDR pool from which virtual NAT ranges are allocated for egress gateways
VirtualNATSitePrefixLenIPv4 is the prefix length (e.g., 24) for individual site allocations from the IPv4 virtual NAT pool
Bad Request
POST /api/networks HTTP/1.1
Host: api.demo.netmaker.io
Content-Type: application/json
Accept: */*
Content-Length: 552
{
"addressrange": "text",
"addressrange6": "text",
"allowmanualsignup": "text",
"auto_join": "text",
"auto_remove": "text",
"auto_remove_tags": [
"text"
],
"auto_remove_threshold_mins": 1,
"defaultacl": "text",
"defaultinterface": "text",
"defaultkeepalive": 1,
"defaultlistenport": 1,
"defaultmtu": 1,
"defaultpostdown": "text",
"defaultudpholepunch": "text",
"dns_nameservers": [
"text"
],
"isipv4": "text",
"isipv6": "text",
"jit_enabled": "text",
"netid": "text",
"networklastmodified": 1,
"nodelimit": 1,
"nodeslastmodified": 1,
"virtual_nat_pool_ipv4": "text",
"virtual_nat_site_prefixlen_ipv4": 1
}{
"addressrange": "text",
"addressrange6": "text",
"allowmanualsignup": "text",
"auto_join": "text",
"auto_remove": "text",
"auto_remove_tags": [
"text"
],
"auto_remove_threshold_mins": 1,
"defaultacl": "text",
"defaultinterface": "text",
"defaultkeepalive": 1,
"defaultlistenport": 1,
"defaultmtu": 1,
"defaultpostdown": "text",
"defaultudpholepunch": "text",
"dns_nameservers": [
"text"
],
"isipv4": "text",
"isipv6": "text",
"jit_enabled": "text",
"netid": "text",
"networklastmodified": 1,
"nodelimit": 1,
"nodeslastmodified": 1,
"virtual_nat_pool_ipv4": "text",
"virtual_nat_site_prefixlen_ipv4": 1
}Network name
OK
VirtualNATPoolIPv4 is the IPv4 CIDR pool from which virtual NAT ranges are allocated for egress gateways
VirtualNATSitePrefixLenIPv4 is the prefix length (e.g., 24) for individual site allocations from the IPv4 virtual NAT pool
Not Found
Internal Server Error
GET /api/networks/{networkname} HTTP/1.1
Host: api.demo.netmaker.io
Accept: */*
{
"addressrange": "text",
"addressrange6": "text",
"allowmanualsignup": "text",
"auto_join": "text",
"auto_remove": "text",
"auto_remove_tags": [
"text"
],
"auto_remove_threshold_mins": 1,
"defaultacl": "text",
"defaultinterface": "text",
"defaultkeepalive": 1,
"defaultlistenport": 1,
"defaultmtu": 1,
"defaultpostdown": "text",
"defaultudpholepunch": "text",
"dns_nameservers": [
"text"
],
"isipv4": "text",
"isipv6": "text",
"jit_enabled": "text",
"netid": "text",
"networklastmodified": 1,
"nodelimit": 1,
"nodeslastmodified": 1,
"virtual_nat_pool_ipv4": "text",
"virtual_nat_site_prefixlen_ipv4": 1
}Network name
VirtualNATPoolIPv4 is the IPv4 CIDR pool from which virtual NAT ranges are allocated for egress gateways
VirtualNATSitePrefixLenIPv4 is the prefix length (e.g., 24) for individual site allocations from the IPv4 virtual NAT pool
OK
VirtualNATPoolIPv4 is the IPv4 CIDR pool from which virtual NAT ranges are allocated for egress gateways
VirtualNATSitePrefixLenIPv4 is the prefix length (e.g., 24) for individual site allocations from the IPv4 virtual NAT pool
Bad Request
PUT /api/networks/{networkname} HTTP/1.1
Host: api.demo.netmaker.io
Content-Type: application/json
Accept: */*
Content-Length: 552
{
"addressrange": "text",
"addressrange6": "text",
"allowmanualsignup": "text",
"auto_join": "text",
"auto_remove": "text",
"auto_remove_tags": [
"text"
],
"auto_remove_threshold_mins": 1,
"defaultacl": "text",
"defaultinterface": "text",
"defaultkeepalive": 1,
"defaultlistenport": 1,
"defaultmtu": 1,
"defaultpostdown": "text",
"defaultudpholepunch": "text",
"dns_nameservers": [
"text"
],
"isipv4": "text",
"isipv6": "text",
"jit_enabled": "text",
"netid": "text",
"networklastmodified": 1,
"nodelimit": 1,
"nodeslastmodified": 1,
"virtual_nat_pool_ipv4": "text",
"virtual_nat_site_prefixlen_ipv4": 1
}{
"addressrange": "text",
"addressrange6": "text",
"allowmanualsignup": "text",
"auto_join": "text",
"auto_remove": "text",
"auto_remove_tags": [
"text"
],
"auto_remove_threshold_mins": 1,
"defaultacl": "text",
"defaultinterface": "text",
"defaultkeepalive": 1,
"defaultlistenport": 1,
"defaultmtu": 1,
"defaultpostdown": "text",
"defaultudpholepunch": "text",
"dns_nameservers": [
"text"
],
"isipv4": "text",
"isipv6": "text",
"jit_enabled": "text",
"netid": "text",
"networklastmodified": 1,
"nodelimit": 1,
"nodeslastmodified": 1,
"virtual_nat_pool_ipv4": "text",
"virtual_nat_site_prefixlen_ipv4": 1
}Network name
Force Delete
OK
Bad Request
Forbidden
DELETE /api/networks/{networkname} HTTP/1.1
Host: api.demo.netmaker.io
Accept: */*
{
"code": 1,
"message": "text",
"response": null
}Network name
OK
Internal Server Error
GET /api/networks/{networkname}/acls HTTP/1.1
Host: api.demo.netmaker.io
Accept: */*
{
"ANY_ADDITIONAL_PROPERTY": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}Network name
OK
Bad Request
Internal Server Error
PUT /api/networks/{networkname}/acls HTTP/1.1
Host: api.demo.netmaker.io
Content-Type: application/json
Accept: */*
Content-Length: 57
{
"ANY_ADDITIONAL_PROPERTY": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}{
"ANY_ADDITIONAL_PROPERTY": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}Network name
OK
Bad Request
Internal Server Error
PUT /api/networks/{networkname}/acls/v2 HTTP/1.1
Host: api.demo.netmaker.io
Content-Type: application/json
Accept: */*
Content-Length: 57
{
"ANY_ADDITIONAL_PROPERTY": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}{
"ANY_ADDITIONAL_PROPERTY": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}Network name
OK
Internal Server Error
GET /api/networks/{networkname}/egress_routes HTTP/1.1
Host: api.demo.netmaker.io
Accept: */*
{
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
}Network name
OK
Internal Server Error
GET /api/networks/{networkname}/old_acl_status HTTP/1.1
Host: api.demo.netmaker.io
Accept: */*
{
"ANY_ADDITIONAL_PROPERTY": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}Network ID
OK
== PRO ==
AutoRelayedBy uuid.UUID json:"auto_relayed_by"
Internal Server Error
GET /api/v1/networks/{network}/graph HTTP/1.1
Host: api.demo.netmaker.io
Accept: */*
[
{
"additional_rag_ips": [
"text"
],
"address": "text",
"address6": "text",
"allowedips": [
"text"
],
"auto_assign_gw": true,
"auto_relayed_peers": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"connected": true,
"country": "text",
"defaultacl": "text",
"dnson": true,
"egressgatewaynatenabled": true,
"egressgatewayranges": [
"text"
],
"egressgatewayranges_with_metric": [
{
"nat": true,
"nat_mode": "virtual_nat",
"network": "text",
"route_metric": 1,
"virtual_network": "text"
}
],
"expdatetime": 1,
"fail_over_peers": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"failed_over_by": "text",
"hostid": "text",
"id": "text",
"inet_node_req": {
"inet_node_client_ids": [
"text"
]
},
"ingressdns": "text",
"ingressmtu": 1,
"ingresspersistentkeepalive": 1,
"internetgw_node_id": "text",
"is_auto_relay": true,
"is_fail_over": true,
"is_gw": true,
"is_static": true,
"is_user_node": true,
"isegressgateway": true,
"isingressgateway": true,
"isinternetgateway": true,
"isrelay": true,
"isrelayed": true,
"last_evaluated_at": "text",
"lastcheckin": 1,
"lastmodified": 1,
"lastpeerupdate": 1,
"localaddress": "text",
"location": "text",
"metadata": "text",
"network": "text",
"networkrange": "text",
"networkrange6": "text",
"pendingdelete": true,
"posture_check_violation_severity_level": 0,
"posture_check_violations": [
{
"attribute": "text",
"check_id": "text",
"message": "text",
"name": "text",
"severity": 0
}
],
"relayedby": "text",
"relaynodes": [
"text"
],
"server": "text",
"static_node": {
"address": "text",
"address6": "text",
"allowed_ips": [
"text"
],
"client_version": "text",
"clientid": "text",
"country": "text",
"deniednodeacls": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"device_id": "text",
"device_name": "text",
"dns": "text",
"enabled": true,
"extraallowedips": [
"text"
],
"ingressgatewayendpoint": "text",
"ingressgatewayid": "text",
"jit_expires_at": "text",
"kernel_version": "text",
"last_evaluated_at": "text",
"lastmodified": 1,
"location": "text",
"network": "text",
"os": "text",
"os_family": "text",
"os_version": "text",
"ownerid": "text",
"postdown": "text",
"postup": "text",
"posture_check_violation_severity_level": 0,
"posture_check_violations": [
{
"attribute": "text",
"check_id": "text",
"message": "text",
"name": "text",
"severity": 0
}
],
"privatekey": "text",
"public_endpoint": "text",
"publickey": "text",
"remote_access_client_id": "text",
"tags": {
"ANY_ADDITIONAL_PROPERTY": {}
}
},
"status": "online",
"tags": {
"ANY_ADDITIONAL_PROPERTY": {}
}
}
]OK
VirtualNATPoolIPv4 is the IPv4 CIDR pool from which virtual NAT ranges are allocated for egress gateways
VirtualNATSitePrefixLenIPv4 is the prefix length (e.g., 24) for individual site allocations from the IPv4 virtual NAT pool
Internal Server Error
GET /api/v1/networks/stats HTTP/1.1
Host: api.demo.netmaker.io
Accept: */*
[
{
"addressrange": "text",
"addressrange6": "text",
"allowmanualsignup": "text",
"auto_join": "text",
"auto_remove": "text",
"auto_remove_tags": [
"text"
],
"auto_remove_threshold_mins": 1,
"defaultacl": "text",
"defaultinterface": "text",
"defaultkeepalive": 1,
"defaultlistenport": 1,
"defaultmtu": 1,
"defaultpostdown": "text",
"defaultudpholepunch": "text",
"dns_nameservers": [
"text"
],
"hosts": 1,
"isipv4": "text",
"isipv6": "text",
"jit_enabled": "text",
"netid": "text",
"networklastmodified": 1,
"nodelimit": 1,
"nodeslastmodified": 1,
"virtual_nat_pool_ipv4": "text",
"virtual_nat_site_prefixlen_ipv4": 1
}
]Last updated
Was this helpful?