GET /api/peering/direct-peering-sessions/?format=api
HTTP 200 OK
Allow: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 6,
    "next": null,
    "previous": null,
    "results": [
        {
            "id": 1,
            "display": "Upstream - AS64496 - IP 192.0.2.0/31",
            "service_reference": null,
            "local_autonomous_system": {
                "id": 1,
                "url": "https://demo.peering-manager.net/api/peering/autonomous-systems/1/?format=api",
                "display": "AS64500 - The Avengers",
                "asn": 64500,
                "name": "The Avengers",
                "ipv6_max_prefixes": 100,
                "ipv4_max_prefixes": 100
            },
            "local_ip_address": "192.0.2.1/31",
            "autonomous_system": {
                "id": 2,
                "url": "https://demo.peering-manager.net/api/peering/autonomous-systems/2/?format=api",
                "display": "AS64496 - S.H.I.E.L.D.",
                "asn": 64496,
                "name": "S.H.I.E.L.D.",
                "ipv6_max_prefixes": 1000,
                "ipv4_max_prefixes": 1000
            },
            "bgp_group": {
                "id": 1,
                "url": "https://demo.peering-manager.net/api/peering/bgp-groups/1/?format=api",
                "display": "Upstreams",
                "name": "Upstreams",
                "slug": "upstreams",
                "status": "enabled"
            },
            "ip_address": "192.0.2.0/31",
            "status": {
                "value": "enabled",
                "label": "Enabled"
            },
            "relationship": {
                "id": 2,
                "url": "https://demo.peering-manager.net/api/bgp/relationships/2/?format=api",
                "display": "Upstream",
                "name": "Upstream",
                "slug": "upstream"
            },
            "password": null,
            "encrypted_password": "",
            "multihop_ttl": 1,
            "passive": false,
            "import_routing_policies": [],
            "export_routing_policies": [],
            "communities": [],
            "router": {
                "id": 1,
                "url": "https://demo.peering-manager.net/api/peering/routers/1/?format=api",
                "display": "core01.nyc",
                "name": "core01.nyc",
                "hostname": "core01.nyc.avengers.net"
            },
            "local_context_data": null,
            "bgp_state": null,
            "received_prefix_count": 0,
            "accepted_prefix_count": 0,
            "advertised_prefix_count": 0,
            "last_established_state": null,
            "comments": "",
            "tags": [],
            "created": "2022-03-05T09:45:47.785000Z",
            "updated": "2022-03-05T09:49:00.114000Z"
        },
        {
            "id": 2,
            "display": "Upstream - AS64498 - IP 192.0.2.2/31",
            "service_reference": null,
            "local_autonomous_system": {
                "id": 1,
                "url": "https://demo.peering-manager.net/api/peering/autonomous-systems/1/?format=api",
                "display": "AS64500 - The Avengers",
                "asn": 64500,
                "name": "The Avengers",
                "ipv6_max_prefixes": 100,
                "ipv4_max_prefixes": 100
            },
            "local_ip_address": "192.0.2.3/31",
            "autonomous_system": {
                "id": 5,
                "url": "https://demo.peering-manager.net/api/peering/autonomous-systems/5/?format=api",
                "display": "AS64498 - Stark Industries",
                "asn": 64498,
                "name": "Stark Industries",
                "ipv6_max_prefixes": 500,
                "ipv4_max_prefixes": 500
            },
            "bgp_group": {
                "id": 1,
                "url": "https://demo.peering-manager.net/api/peering/bgp-groups/1/?format=api",
                "display": "Upstreams",
                "name": "Upstreams",
                "slug": "upstreams",
                "status": "enabled"
            },
            "ip_address": "192.0.2.2/31",
            "status": {
                "value": "enabled",
                "label": "Enabled"
            },
            "relationship": {
                "id": 2,
                "url": "https://demo.peering-manager.net/api/bgp/relationships/2/?format=api",
                "display": "Upstream",
                "name": "Upstream",
                "slug": "upstream"
            },
            "password": null,
            "encrypted_password": "",
            "multihop_ttl": 1,
            "passive": false,
            "import_routing_policies": [],
            "export_routing_policies": [],
            "communities": [],
            "router": {
                "id": 2,
                "url": "https://demo.peering-manager.net/api/peering/routers/2/?format=api",
                "display": "core02.nyc",
                "name": "core02.nyc",
                "hostname": "core02.nyc.avengers.net"
            },
            "local_context_data": null,
            "bgp_state": null,
            "received_prefix_count": 0,
            "accepted_prefix_count": 0,
            "advertised_prefix_count": 0,
            "last_established_state": null,
            "comments": "",
            "tags": [],
            "created": "2022-03-05T09:46:28.221000Z",
            "updated": "2022-03-05T09:46:28.221000Z"
        },
        {
            "id": 3,
            "display": "Private Peering - AS64511 - IP 192.0.2.5/31",
            "service_reference": null,
            "local_autonomous_system": {
                "id": 1,
                "url": "https://demo.peering-manager.net/api/peering/autonomous-systems/1/?format=api",
                "display": "AS64500 - The Avengers",
                "asn": 64500,
                "name": "The Avengers",
                "ipv6_max_prefixes": 100,
                "ipv4_max_prefixes": 100
            },
            "local_ip_address": "192.0.2.4/31",
            "autonomous_system": {
                "id": 3,
                "url": "https://demo.peering-manager.net/api/peering/autonomous-systems/3/?format=api",
                "display": "AS64511 - The Defenders",
                "asn": 64511,
                "name": "The Defenders",
                "ipv6_max_prefixes": 10,
                "ipv4_max_prefixes": 10
            },
            "bgp_group": {
                "id": 2,
                "url": "https://demo.peering-manager.net/api/peering/bgp-groups/2/?format=api",
                "display": "Private Peering",
                "name": "Private Peering",
                "slug": "private-peering",
                "status": "enabled"
            },
            "ip_address": "192.0.2.5/31",
            "status": {
                "value": "enabled",
                "label": "Enabled"
            },
            "relationship": {
                "id": 4,
                "url": "https://demo.peering-manager.net/api/bgp/relationships/4/?format=api",
                "display": "Private Peering",
                "name": "Private Peering",
                "slug": "private-peering"
            },
            "password": null,
            "encrypted_password": "",
            "multihop_ttl": 1,
            "passive": false,
            "import_routing_policies": [],
            "export_routing_policies": [],
            "communities": [],
            "router": {
                "id": 1,
                "url": "https://demo.peering-manager.net/api/peering/routers/1/?format=api",
                "display": "core01.nyc",
                "name": "core01.nyc",
                "hostname": "core01.nyc.avengers.net"
            },
            "local_context_data": null,
            "bgp_state": null,
            "received_prefix_count": 0,
            "accepted_prefix_count": 0,
            "advertised_prefix_count": 0,
            "last_established_state": null,
            "comments": "",
            "tags": [],
            "created": "2022-03-05T09:50:02.374000Z",
            "updated": "2022-03-05T09:51:19.010000Z"
        },
        {
            "id": 6,
            "display": "Paid Peering - AS64800 - IP 192.0.2.11/31",
            "service_reference": null,
            "local_autonomous_system": {
                "id": 1,
                "url": "https://demo.peering-manager.net/api/peering/autonomous-systems/1/?format=api",
                "display": "AS64500 - The Avengers",
                "asn": 64500,
                "name": "The Avengers",
                "ipv6_max_prefixes": 100,
                "ipv4_max_prefixes": 100
            },
            "local_ip_address": "192.0.2.10/31",
            "autonomous_system": {
                "id": 10,
                "url": "https://demo.peering-manager.net/api/peering/autonomous-systems/10/?format=api",
                "display": "AS64800 - Damage Control",
                "asn": 64800,
                "name": "Damage Control",
                "ipv6_max_prefixes": 25,
                "ipv4_max_prefixes": 25
            },
            "bgp_group": {
                "id": 2,
                "url": "https://demo.peering-manager.net/api/peering/bgp-groups/2/?format=api",
                "display": "Private Peering",
                "name": "Private Peering",
                "slug": "private-peering",
                "status": "enabled"
            },
            "ip_address": "192.0.2.11/31",
            "status": {
                "value": "enabled",
                "label": "Enabled"
            },
            "relationship": {
                "id": 3,
                "url": "https://demo.peering-manager.net/api/bgp/relationships/3/?format=api",
                "display": "Paid Peering",
                "name": "Paid Peering",
                "slug": "paid-peering"
            },
            "password": null,
            "encrypted_password": "",
            "multihop_ttl": 1,
            "passive": false,
            "import_routing_policies": [],
            "export_routing_policies": [],
            "communities": [],
            "router": {
                "id": 1,
                "url": "https://demo.peering-manager.net/api/peering/routers/1/?format=api",
                "display": "core01.nyc",
                "name": "core01.nyc",
                "hostname": "core01.nyc.avengers.net"
            },
            "local_context_data": null,
            "bgp_state": null,
            "received_prefix_count": 0,
            "accepted_prefix_count": 0,
            "advertised_prefix_count": 0,
            "last_established_state": null,
            "comments": "",
            "tags": [],
            "created": "2022-03-05T09:52:37.969000Z",
            "updated": "2022-03-05T09:52:49.894000Z"
        },
        {
            "id": 4,
            "display": "Private Peering - AS65404 - IP 192.0.2.7/31",
            "service_reference": null,
            "local_autonomous_system": {
                "id": 1,
                "url": "https://demo.peering-manager.net/api/peering/autonomous-systems/1/?format=api",
                "display": "AS64500 - The Avengers",
                "asn": 64500,
                "name": "The Avengers",
                "ipv6_max_prefixes": 100,
                "ipv4_max_prefixes": 100
            },
            "local_ip_address": "192.0.2.6/31",
            "autonomous_system": {
                "id": 9,
                "url": "https://demo.peering-manager.net/api/peering/autonomous-systems/9/?format=api",
                "display": "AS65404 - Guardians of the Galaxy",
                "asn": 65404,
                "name": "Guardians of the Galaxy",
                "ipv6_max_prefixes": 1,
                "ipv4_max_prefixes": 1
            },
            "bgp_group": {
                "id": 2,
                "url": "https://demo.peering-manager.net/api/peering/bgp-groups/2/?format=api",
                "display": "Private Peering",
                "name": "Private Peering",
                "slug": "private-peering",
                "status": "enabled"
            },
            "ip_address": "192.0.2.7/31",
            "status": {
                "value": "enabled",
                "label": "Enabled"
            },
            "relationship": {
                "id": 4,
                "url": "https://demo.peering-manager.net/api/bgp/relationships/4/?format=api",
                "display": "Private Peering",
                "name": "Private Peering",
                "slug": "private-peering"
            },
            "password": null,
            "encrypted_password": "",
            "multihop_ttl": 1,
            "passive": false,
            "import_routing_policies": [],
            "export_routing_policies": [],
            "communities": [],
            "router": {
                "id": 3,
                "url": "https://demo.peering-manager.net/api/peering/routers/3/?format=api",
                "display": "core01.bzn",
                "name": "core01.bzn",
                "hostname": "core01.bzn.avengers.net"
            },
            "local_context_data": null,
            "bgp_state": null,
            "received_prefix_count": 0,
            "accepted_prefix_count": 0,
            "advertised_prefix_count": 0,
            "last_established_state": null,
            "comments": "",
            "tags": [],
            "created": "2022-03-05T09:50:49.459000Z",
            "updated": "2022-03-05T09:51:19.074000Z"
        },
        {
            "id": 5,
            "display": "Private Peering - AS65536 - IP 192.0.2.9/31",
            "service_reference": null,
            "local_autonomous_system": {
                "id": 1,
                "url": "https://demo.peering-manager.net/api/peering/autonomous-systems/1/?format=api",
                "display": "AS64500 - The Avengers",
                "asn": 64500,
                "name": "The Avengers",
                "ipv6_max_prefixes": 100,
                "ipv4_max_prefixes": 100
            },
            "local_ip_address": "192.0.2.8/31",
            "autonomous_system": {
                "id": 4,
                "url": "https://demo.peering-manager.net/api/peering/autonomous-systems/4/?format=api",
                "display": "AS65536 - Eternals",
                "asn": 65536,
                "name": "Eternals",
                "ipv6_max_prefixes": 50,
                "ipv4_max_prefixes": 50
            },
            "bgp_group": {
                "id": 2,
                "url": "https://demo.peering-manager.net/api/peering/bgp-groups/2/?format=api",
                "display": "Private Peering",
                "name": "Private Peering",
                "slug": "private-peering",
                "status": "enabled"
            },
            "ip_address": "192.0.2.9/31",
            "status": {
                "value": "enabled",
                "label": "Enabled"
            },
            "relationship": {
                "id": 4,
                "url": "https://demo.peering-manager.net/api/bgp/relationships/4/?format=api",
                "display": "Private Peering",
                "name": "Private Peering",
                "slug": "private-peering"
            },
            "password": null,
            "encrypted_password": "",
            "multihop_ttl": 1,
            "passive": false,
            "import_routing_policies": [],
            "export_routing_policies": [],
            "communities": [],
            "router": {
                "id": 3,
                "url": "https://demo.peering-manager.net/api/peering/routers/3/?format=api",
                "display": "core01.bzn",
                "name": "core01.bzn",
                "hostname": "core01.bzn.avengers.net"
            },
            "local_context_data": null,
            "bgp_state": null,
            "received_prefix_count": 0,
            "accepted_prefix_count": 0,
            "advertised_prefix_count": 0,
            "last_established_state": null,
            "comments": "",
            "tags": [],
            "created": "2022-03-05T09:51:57.786000Z",
            "updated": "2022-03-05T09:51:57.786000Z"
        }
    ]
}