Question 1mediummultiple choice
Read the full Understanding and Using APIs explanation →200-901 Understanding and Using APIs • Complete Question Bank
Complete 200-901 Understanding and Using APIs question bank — all 0 questions with answers and detailed explanations.
Refer to the exhibit.
GET /dna/intent/api/v1/site-health HTTP/1.1
Host: 10.1.1.1
Accept: application/json
X-Auth-Token: <token>
HTTP/1.1 200 OK
Content-Type: application/json
{
"response": [
{
"siteName": "Branch1",
"healthScore": 10,
"numberOfClients": 25
},
{
"siteName": "HQ",
"healthScore": 90,
"numberOfClients": 150
}
],
"version": "2.1.1"
}Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Drag a concept onto its matching description — or click a concept then click the description.
Retrieve a resource
Create a new resource
Update an existing resource
Remove a resource
Partially modify a resource
Drag a concept onto its matching description — or click a concept then click the description.
Scalar mapping
List item
Comment line
Nested mapping
Block scalar (literal)
Router# show running-config | section router ospf router ospf 1 network 10.1.1.0 0.0.0.255 area 0 network 192.168.1.0 0.0.0.255 area 1
{
"id": "N_12345",
"name": "Main Office",
"timeZone": "America/New_York",
"tags": ["production", "primary"],
"netflow": {
"enabled": false,
"collectorPort": 2055,
"collectorIp": "10.0.0.1"
}
}{
"error": {
"code": "400",
"message": "Property 'fvTenant.attributes.name' is mandatory but not provided"
}
}Refer to the exhibit.
{
"response": {
"id": "N123456789",
"name": "Switch-A",
"type": "Cisco Catalyst 9300",
"softwareVersion": "16.9.3",
"managementIpAddress": "10.10.10.1",
"status": "unreachable"
}
}Refer to the exhibit.
RESTCONF request:
GET /restconf/data/Cisco-IOS-XE-native:native/interface/GigabitEthernet=1/0/1
Headers:
Accept: application/yang-data+json
Response:
{
"Cisco-IOS-XE-native:GigabitEthernet": [{
"name": "1/0/1",
"description": "Connected to core",
"ip": {
"address": {
"primary": {
"address": "192.168.1.1",
"mask": "255.255.255.0"
}
}
}
}]
}