Skip to content

Commit e5593cf

Browse files
author
Anthony House
committed
Add tests structure and response data
1 parent 4b49fd6 commit e5593cf

File tree

9 files changed

+1580
-33
lines changed

9 files changed

+1580
-33
lines changed
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
{
2+
"count": 16,
3+
"next": null,
4+
"previous": null,
5+
"results": [
6+
{
7+
"id": "158451e2-7dc1-492c-b69b-f29341ebd8f8",
8+
"object_type": "dcim.device",
9+
"display": "ang01-edge-01",
10+
"url": "https://127.0.0.1:8080/api/dcim/devices/158451e2-7dc1-492c-b69b-f29341ebd8f8/",
11+
"natural_slug": "ang01-edge-01_nautobot-baseball-stadiums_ang01_united-states_americas_1584",
12+
"face": { "value": "front", "label": "Front" },
13+
"local_config_context_data": null,
14+
"local_config_context_data_owner_object_id": null,
15+
"name": "ang01-edge-01",
16+
"serial": "",
17+
"asset_tag": null,
18+
"position": 40,
19+
"device_redundancy_group_priority": null,
20+
"vc_position": null,
21+
"vc_priority": null,
22+
"comments": "",
23+
"local_config_context_schema": null,
24+
"local_config_context_data_owner_content_type": null,
25+
"device_type": {
26+
"id": "e3fc837a-2474-4a94-b099-bd90a2d39468",
27+
"object_type": "dcim.devicetype",
28+
"url": "https://127.0.0.1:8080/api/dcim/device-types/e3fc837a-2474-4a94-b099-bd90a2d39468/"
29+
},
30+
"status": {
31+
"id": "9f38bab4-4b47-4e77-b50c-fda62817b2db",
32+
"object_type": "extras.status",
33+
"url": "https://127.0.0.1:8080/api/extras/statuses/9f38bab4-4b47-4e77-b50c-fda62817b2db/"
34+
},
35+
"role": {
36+
"id": "8adc71b7-f439-42bf-b1af-4d0f20f76907",
37+
"object_type": "extras.role",
38+
"url": "https://127.0.0.1:8080/api/extras/roles/8adc71b7-f439-42bf-b1af-4d0f20f76907/"
39+
},
40+
"tenant": {
41+
"id": "16c1e4e6-fe62-4947-92ba-f410c2b71295",
42+
"object_type": "tenancy.tenant",
43+
"url": "https://127.0.0.1:8080/api/tenancy/tenants/16c1e4e6-fe62-4947-92ba-f410c2b71295/"
44+
},
45+
"platform": {
46+
"id": "f48fd9e2-45c5-4c2f-aa54-28964edb3e1e",
47+
"object_type": "dcim.platform",
48+
"url": "https://127.0.0.1:8080/api/dcim/platforms/f48fd9e2-45c5-4c2f-aa54-28964edb3e1e/"
49+
},
50+
"location": {
51+
"id": "279b30b2-7aee-45be-8086-9d151ce22799",
52+
"object_type": "dcim.location",
53+
"url": "https://127.0.0.1:8080/api/dcim/locations/279b30b2-7aee-45be-8086-9d151ce22799/"
54+
},
55+
"rack": {
56+
"id": "7a79f421-556b-4ea1-a359-eb9c71d923f8",
57+
"object_type": "dcim.rack",
58+
"url": "https://127.0.0.1:8080/api/dcim/racks/7a79f421-556b-4ea1-a359-eb9c71d923f8/"
59+
},
60+
"primary_ip4": {
61+
"id": "fe06d6c1-b233-4499-b5e9-f36af5a72dc3",
62+
"object_type": "ipam.ipaddress",
63+
"url": "https://127.0.0.1:8080/api/ipam/ip-addresses/fe06d6c1-b233-4499-b5e9-f36af5a72dc3/"
64+
},
65+
"primary_ip6": null,
66+
"cluster": null,
67+
"virtual_chassis": null,
68+
"device_redundancy_group": null,
69+
"software_version": null,
70+
"secrets_group": null,
71+
"controller_managed_device_group": null,
72+
"software_image_files": [],
73+
"created": "2023-09-21T00:00:00Z",
74+
"last_updated": "2023-09-21T19:50:28.137319Z",
75+
"tags": [],
76+
"notes_url": "https://127.0.0.1:8080/api/dcim/devices/158451e2-7dc1-492c-b69b-f29341ebd8f8/notes/",
77+
"custom_fields": {},
78+
"parent_bay": null
79+
}
80+
]
81+
}

0 commit comments

Comments
 (0)