ErrorResponse

Error response from NX-API REST

Data CenterInfrastructureNetwork AutomationNetworkingSDNSwitches

Properties

Name Type Description
imdata array
View JSON Schema on GitHub

JSON Schema

cisco-nexus-errorresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ErrorResponse",
  "title": "ErrorResponse",
  "type": "object",
  "description": "Error response from NX-API REST",
  "properties": {
    "imdata": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "attributes": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string",
                    "description": "Numeric error code"
                  },
                  "text": {
                    "type": "string",
                    "description": "Human-readable error message"
                  }
                }
              }
            }
          }
        }
      },
      "example": []
    }
  }
}