API Guide

Wiring-diagrams
Wiring diagram builder for the fabric.
Topics:
POST /wiring-diagrams
DELETE /wiring-diagrams/{id}
GET /wiring-diagrams/{id}/topology
GET /wiring-diagrams/summary
GET /wiring-diagrams/{id}/compatible-intents
GET /wiring-diagrams/supported-models
POST /wiring-diagrams
Uploads the fabric design file in JSON format.
API
POST /wiring-diagrams
Description This API uploads the fabric design file in JSON format. The wiring diagram is collection of leaf and spine switches
and the connections between them. Multiple wiring diagrams can be uploaded.
Parameters
Table 90. API parameters
Filter name Description
designFile The design file to upload.
Responses 200 — Response to the wiring upload
{
"new_object_id": "210:51778176823451697",
"id": "topology_uploaded_successfully",
"message": "File uploaded successfully.",
"messageParams": [
"string"
],
"messages": [
{
"id": "topology_uploaded_successfully",
"message": "File uploaded successfully.",
"field_name": "null",
"messageParams": [
"string"
]
}
]
}
400 — Invalid request - uploaded file is not valid
{
"new_object_id": "string",
"id": "string",
"message": "string",
"messageParams": [
"string"
],
"messages": [
{
25
Wiring-diagrams 197