Networking

Retrieve a IPv4 network

Work with IPv4 networks.Retrieves the IPv4 network with the given ID.

get/admin/networking/ipv4/{id}

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/networking/ipv4/{id}
  • Auth: HTTP basic

Path parameters

idnumber double required
Example:1

The ID of the desired IPv4 network.

Response

networkstring required

Network

masknumber required

BM

titlestring required

Title

commentstring

Comment

location_idnumber required

Location (id)

network_categorynumber required

Network category (id). You can get it on page "Config / Networking / Network categories"

network_typestring required

Network type. Can be 'rootnet' for RootNet, 'endnet' for EndNet. Default: 'endnet'

type_of_usagestring required

Type of usage. Can be 'pool' for Pool, 'static' for Static, 'management' for Management only. Default: 'management'

parentnumber

Parent network ID

idnumber

IPv4 network ID

Example response

{
  "network": "10.0.0.0",
  "mask": 24,
  "title": "Aplha",
  "comment": "First network",
  "location_id": 1,
  "network_category": 1,
  "network_type": "endnet",
  "type_of_usage": "pool",
  "parent": 1,
  "id": 1
}

Changes

No recorded changes to this operation across all 1 revision of this API.