GET
/
dns
/
v2
/
network-mappings
List Network Mapping
curl --request GET \
  --url https://api.gcore.com/dns/v2/network-mappings \
  --header 'Authorization: <api-key>'
{
  "network_mappings": [
    {
      "id": 123,
      "mapping": [
        {
          "cidr4": [
            {}
          ],
          "cidr6": [
            {}
          ],
          "tags": [
            "<string>"
          ]
        }
      ],
      "name": "<string>"
    }
  ],
  "total_amount": 123
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Query Parameters

offset
integer

Amount of records to skip before beginning to write in response.

limit
integer

Max number of records in response

order_by
string

Field name to sort by

order_direction
enum<string>

Ascending or descending order

Available options:
asc,
desc

Response

200
application/json

ListNetworkMappingResponse

The response is of type object.