{
  "openapi": "3.0.0",
  "info": {
    "title": "CISCO-IMAGE-MIB MIB API",
    "version": "1.0.0",
    "description": "Router image MIB which identify the capabilities\n    and characteristics of the image\n\n⚠️ **IMPORTANT - MIB DATA ACCESS**:\nThis YANG model exists for SMIv2-to-YANG translation purposes, but MIB data on IOS-XE devices is primarily accessed via **SNMP protocol**, not RESTCONF.\n\n**RESTCONF Limitation**: Many MIB paths may return 404 errors via RESTCONF `/data` endpoints because the device exposes MIB data through SNMP, not the YANG datastore.\n\n**Recommended Access Methods**:\n- Use SNMP (v2c/v3) to query MIB data directly\n- Use NETCONF `<get>` operations for devices supporting YANG-modeled MIB access\n- Check device capabilities: some newer IOS-XE versions may support limited RESTCONF access to specific MIBs\n\n**YANG Model Purpose**: These YANG models define the structure of SNMP MIBs in YANG format for tooling compatibility, but do not guarantee RESTCONF data availability.\n\n\n**📊 YANG Tree:** [View CISCO-IMAGE-MIB structure](https://jeremycohoe.github.io/cisco-ios-xe-openapi-swagger/yang-trees/CISCO-IMAGE-MIB.html)",
    "contact": {
      "name": "Cisco DevNet",
      "url": "https://developer.cisco.com"
    },
    "x-yang-module": "CISCO-IMAGE-MIB",
    "x-model-type": "mib"
  },
  "servers": [
    {
      "url": "https://{device}/restconf",
      "description": "RESTCONF server",
      "variables": {
        "device": {
          "default": "10.1.1.1",
          "description": "Device hostname or IP address"
        }
      }
    }
  ],
  "paths": {
    "/data/CISCO-IMAGE-MIB:ciscoImageTable": {
      "get": {
        "summary": "Get ciscoImageTable data",
        "description": "Retrieve ciscoImageTable operational data from MIB",
        "tags": [
          "CISCO-IMAGE-MIB"
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/yang-data+json": {
                "schema": {
                  "type": "object",
                  "description": "A table provides content information describing the\n        executing IOS image.",
                  "properties": {
                    "ciscoImageEntry": {
                      "type": "array",
                      "description": "A image characteristic string entry.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "ciscoImageIndex": {
                            "type": "integer",
                            "description": "A sequence number for each string stored\n            in the IOS image.",
                            "minimum": -2147483648,
                            "maximum": 2147483647
                          },
                          "ciscoImageString": {
                            "type": "string",
                            "description": "The string of this entry.",
                            "x-yang-type": "snmpv2-tc:DisplayString"
                          }
                        }
                      }
                    }
                  }
                },
                "example": {
                  "CISCO-IMAGE-MIB:ciscoImageTable": {
                    "ciscoImageEntry": [
                      {
                        "ciscoImageIndex": 1,
                        "ciscoImageString": "example-string"
                      },
                      {
                        "ciscoImageIndex": 2,
                        "ciscoImageString": "example-string"
                      },
                      {
                        "ciscoImageIndex": 3,
                        "ciscoImageString": "example-string"
                      }
                    ]
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden — insufficient access rights (NACM)",
            "content": {
              "application/yang-data+json": {
                "schema": {
                  "$ref": "#/components/schemas/restconf-error"
                }
              }
            }
          }
        },
        "operationId": "get-ciscoImageTable",
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": false,
            "description": "RESTCONF response media type (RFC 8040)",
            "schema": {
              "type": "string",
              "default": "application/yang-data+json",
              "enum": [
                "application/yang-data+json",
                "application/yang-data+xml"
              ]
            }
          },
          {
            "name": "depth",
            "in": "query",
            "required": false,
            "description": "Limit the depth of returned sub-tree data (RFC 8040 Section 4.8.2). Use 'unbounded' for full depth.",
            "schema": {
              "type": "string",
              "default": "unbounded"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "required": false,
            "description": "Select specific fields to return (RFC 8040 Section 4.8.3). Example: fields=name;status",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "content",
            "in": "query",
            "required": false,
            "description": "Filter by config state: 'config' (config true only), 'nonconfig' (config false only), or 'all'.",
            "schema": {
              "type": "string",
              "enum": [
                "config",
                "nonconfig",
                "all"
              ],
              "default": "all"
            }
          }
        ]
      },
      "x-yang-path": "/ciscoImageTable",
      "x-restconf-kind": "container"
    },
    "/data/CISCO-IMAGE-MIB:ciscoImageTable/ciscoImageEntry": {
      "get": {
        "summary": "Get ciscoImageEntry list",
        "description": "Retrieve list of ciscoImageEntry entries from MIB",
        "tags": [
          "CISCO-IMAGE-MIB"
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/yang-data+json": {
                "schema": {
                  "type": "array",
                  "description": "A image characteristic string entry.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "ciscoImageIndex": {
                        "type": "integer",
                        "description": "A sequence number for each string stored\n            in the IOS image.",
                        "minimum": -2147483648,
                        "maximum": 2147483647
                      },
                      "ciscoImageString": {
                        "type": "string",
                        "description": "The string of this entry.",
                        "x-yang-type": "snmpv2-tc:DisplayString"
                      }
                    }
                  }
                },
                "example": {
                  "CISCO-IMAGE-MIB:ciscoImageEntry": [
                    {
                      "ciscoImageIndex": 1,
                      "ciscoImageString": "example-string"
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Forbidden — insufficient access rights (NACM)",
            "content": {
              "application/yang-data+json": {
                "schema": {
                  "$ref": "#/components/schemas/restconf-error"
                }
              }
            }
          }
        },
        "operationId": "get-ciscoImageEntry",
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": false,
            "description": "RESTCONF response media type (RFC 8040)",
            "schema": {
              "type": "string",
              "default": "application/yang-data+json",
              "enum": [
                "application/yang-data+json",
                "application/yang-data+xml"
              ]
            }
          },
          {
            "name": "depth",
            "in": "query",
            "required": false,
            "description": "Limit the depth of returned sub-tree data (RFC 8040 Section 4.8.2). Use 'unbounded' for full depth.",
            "schema": {
              "type": "string",
              "default": "unbounded"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "required": false,
            "description": "Select specific fields to return (RFC 8040 Section 4.8.3). Example: fields=name;status",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "content",
            "in": "query",
            "required": false,
            "description": "Filter by config state: 'config' (config true only), 'nonconfig' (config false only), or 'all'.",
            "schema": {
              "type": "string",
              "enum": [
                "config",
                "nonconfig",
                "all"
              ],
              "default": "all"
            }
          }
        ]
      },
      "x-yang-path": "/ciscoImageTable/ciscoImageEntry",
      "x-restconf-kind": "container"
    },
    "/data/CISCO-IMAGE-MIB:ciscoImageTable/ciscoImageEntry={ciscoImageIndex}": {
      "get": {
        "summary": "Get ciscoImageEntry entry",
        "description": "Retrieve specific ciscoImageEntry entry by key from MIB",
        "tags": [
          "CISCO-IMAGE-MIB"
        ],
        "parameters": [
          {
            "name": "ciscoImageIndex",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "1"
          },
          {
            "name": "Accept",
            "in": "header",
            "required": false,
            "description": "RESTCONF response media type (RFC 8040)",
            "schema": {
              "type": "string",
              "default": "application/yang-data+json",
              "enum": [
                "application/yang-data+json",
                "application/yang-data+xml"
              ]
            }
          },
          {
            "name": "depth",
            "in": "query",
            "required": false,
            "description": "Limit the depth of returned sub-tree data (RFC 8040 Section 4.8.2). Use 'unbounded' for full depth.",
            "schema": {
              "type": "string",
              "default": "unbounded"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "required": false,
            "description": "Select specific fields to return (RFC 8040 Section 4.8.3). Example: fields=name;status",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "content",
            "in": "query",
            "required": false,
            "description": "Filter by config state: 'config' (config true only), 'nonconfig' (config false only), or 'all'.",
            "schema": {
              "type": "string",
              "enum": [
                "config",
                "nonconfig",
                "all"
              ],
              "default": "all"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/yang-data+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ciscoImageIndex": {
                      "type": "integer",
                      "description": "A sequence number for each string stored\n            in the IOS image.",
                      "minimum": -2147483648,
                      "maximum": 2147483647
                    },
                    "ciscoImageString": {
                      "type": "string",
                      "description": "The string of this entry.",
                      "x-yang-type": "snmpv2-tc:DisplayString"
                    }
                  }
                },
                "example": {
                  "CISCO-IMAGE-MIB:ciscoImageEntry": {
                    "ciscoImageIndex": 1,
                    "ciscoImageString": "example-string"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden — insufficient access rights (NACM)",
            "content": {
              "application/yang-data+json": {
                "schema": {
                  "$ref": "#/components/schemas/restconf-error"
                }
              }
            }
          }
        },
        "operationId": "get-ciscoImageEntry-2"
      },
      "x-yang-path": "/ciscoImageTable/ciscoImageEntry={ciscoImageIndex}",
      "x-restconf-kind": "list-instance",
      "x-list-keys": [
        "ciscoImageIndex"
      ]
    },
    "/data/CISCO-IMAGE-MIB:ciscoImageEntry": {
      "get": {
        "summary": "Get ciscoImageEntry list",
        "description": "Retrieve list of ciscoImageEntry entries from MIB",
        "tags": [
          "CISCO-IMAGE-MIB"
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/yang-data+json": {
                "schema": {
                  "type": "array",
                  "description": "A image characteristic string entry.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "ciscoImageIndex": {
                        "type": "integer",
                        "description": "A sequence number for each string stored\n            in the IOS image.",
                        "minimum": -2147483648,
                        "maximum": 2147483647
                      },
                      "ciscoImageString": {
                        "type": "string",
                        "description": "The string of this entry.",
                        "x-yang-type": "snmpv2-tc:DisplayString"
                      }
                    }
                  }
                },
                "example": {
                  "CISCO-IMAGE-MIB:ciscoImageEntry": [
                    {
                      "ciscoImageIndex": 1,
                      "ciscoImageString": "example-string"
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Forbidden — insufficient access rights (NACM)",
            "content": {
              "application/yang-data+json": {
                "schema": {
                  "$ref": "#/components/schemas/restconf-error"
                }
              }
            }
          }
        },
        "operationId": "get-ciscoImageEntry-3",
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": false,
            "description": "RESTCONF response media type (RFC 8040)",
            "schema": {
              "type": "string",
              "default": "application/yang-data+json",
              "enum": [
                "application/yang-data+json",
                "application/yang-data+xml"
              ]
            }
          },
          {
            "name": "depth",
            "in": "query",
            "required": false,
            "description": "Limit the depth of returned sub-tree data (RFC 8040 Section 4.8.2). Use 'unbounded' for full depth.",
            "schema": {
              "type": "string",
              "default": "unbounded"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "required": false,
            "description": "Select specific fields to return (RFC 8040 Section 4.8.3). Example: fields=name;status",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "content",
            "in": "query",
            "required": false,
            "description": "Filter by config state: 'config' (config true only), 'nonconfig' (config false only), or 'all'.",
            "schema": {
              "type": "string",
              "enum": [
                "config",
                "nonconfig",
                "all"
              ],
              "default": "all"
            }
          }
        ]
      },
      "x-yang-path": "/ciscoImageEntry",
      "x-restconf-kind": "container"
    },
    "/data/CISCO-IMAGE-MIB:ciscoImageEntry={ciscoImageIndex}": {
      "get": {
        "summary": "Get ciscoImageEntry entry",
        "description": "Retrieve specific ciscoImageEntry entry by key from MIB",
        "tags": [
          "CISCO-IMAGE-MIB"
        ],
        "parameters": [
          {
            "name": "ciscoImageIndex",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "1"
          },
          {
            "name": "Accept",
            "in": "header",
            "required": false,
            "description": "RESTCONF response media type (RFC 8040)",
            "schema": {
              "type": "string",
              "default": "application/yang-data+json",
              "enum": [
                "application/yang-data+json",
                "application/yang-data+xml"
              ]
            }
          },
          {
            "name": "depth",
            "in": "query",
            "required": false,
            "description": "Limit the depth of returned sub-tree data (RFC 8040 Section 4.8.2). Use 'unbounded' for full depth.",
            "schema": {
              "type": "string",
              "default": "unbounded"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "required": false,
            "description": "Select specific fields to return (RFC 8040 Section 4.8.3). Example: fields=name;status",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "content",
            "in": "query",
            "required": false,
            "description": "Filter by config state: 'config' (config true only), 'nonconfig' (config false only), or 'all'.",
            "schema": {
              "type": "string",
              "enum": [
                "config",
                "nonconfig",
                "all"
              ],
              "default": "all"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/yang-data+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ciscoImageIndex": {
                      "type": "integer",
                      "description": "A sequence number for each string stored\n            in the IOS image.",
                      "minimum": -2147483648,
                      "maximum": 2147483647
                    },
                    "ciscoImageString": {
                      "type": "string",
                      "description": "The string of this entry.",
                      "x-yang-type": "snmpv2-tc:DisplayString"
                    }
                  }
                },
                "example": {
                  "CISCO-IMAGE-MIB:ciscoImageEntry": {
                    "ciscoImageIndex": 1,
                    "ciscoImageString": "example-string"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden — insufficient access rights (NACM)",
            "content": {
              "application/yang-data+json": {
                "schema": {
                  "$ref": "#/components/schemas/restconf-error"
                }
              }
            }
          }
        },
        "operationId": "get-ciscoImageEntry-4"
      },
      "x-yang-path": "/ciscoImageEntry={ciscoImageIndex}",
      "x-restconf-kind": "list-instance",
      "x-list-keys": [
        "ciscoImageIndex"
      ]
    }
  },
  "components": {
    "schemas": {
      "CISCO-IMAGE-MIB_CISCO-IMAGE-MIB": {
        "type": "object",
        "description": "A table provides content information describing the\n        executing IOS image.",
        "properties": {
          "ciscoImageEntry": {
            "type": "array",
            "description": "A image characteristic string entry.",
            "items": {
              "type": "object",
              "properties": {
                "ciscoImageIndex": {
                  "type": "integer",
                  "description": "A sequence number for each string stored\n            in the IOS image.",
                  "minimum": -2147483648,
                  "maximum": 2147483647,
                  "readOnly": true
                },
                "ciscoImageString": {
                  "type": "string",
                  "description": "The string of this entry.",
                  "x-yang-type": "snmpv2-tc:DisplayString",
                  "readOnly": true
                }
              }
            },
            "readOnly": true
          },
          "ciscoImageTable": {
            "type": "object",
            "description": "A table provides content information describing the\n        executing IOS image.",
            "properties": {
              "ciscoImageEntry": {
                "type": "array",
                "description": "A image characteristic string entry.",
                "items": {
                  "type": "object",
                  "properties": {
                    "ciscoImageIndex": {
                      "type": "integer",
                      "description": "A sequence number for each string stored\n            in the IOS image.",
                      "minimum": -2147483648,
                      "maximum": 2147483647,
                      "readOnly": true
                    },
                    "ciscoImageString": {
                      "type": "string",
                      "description": "The string of this entry.",
                      "x-yang-type": "snmpv2-tc:DisplayString",
                      "readOnly": true
                    }
                  }
                },
                "readOnly": true
              }
            },
            "readOnly": true
          }
        }
      },
      "CISCO-IMAGE-MIB_ciscoImageEntry": {
        "type": "array",
        "description": "A image characteristic string entry.",
        "items": {
          "type": "object",
          "properties": {
            "ciscoImageIndex": {
              "type": "integer",
              "description": "A sequence number for each string stored\n            in the IOS image.",
              "minimum": -2147483648,
              "maximum": 2147483647,
              "readOnly": true
            },
            "ciscoImageString": {
              "type": "string",
              "description": "The string of this entry.",
              "x-yang-type": "snmpv2-tc:DisplayString",
              "readOnly": true
            }
          }
        }
      },
      "restconf-error": {
        "type": "object",
        "description": "Standard RESTCONF error response (RFC 8040 Section 7.1)",
        "properties": {
          "ietf-restconf:errors": {
            "type": "object",
            "properties": {
              "error": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "error-type": {
                      "type": "string",
                      "enum": [
                        "transport",
                        "rpc",
                        "protocol",
                        "application"
                      ],
                      "description": "Layer where the error occurred"
                    },
                    "error-tag": {
                      "type": "string",
                      "description": "Enumerated error tag (e.g. invalid-value, data-missing, access-denied)"
                    },
                    "error-severity": {
                      "type": "string",
                      "enum": [
                        "error",
                        "warning"
                      ],
                      "description": "Error severity"
                    },
                    "error-app-tag": {
                      "type": "string",
                      "description": "Application-specific error tag"
                    },
                    "error-path": {
                      "type": "string",
                      "description": "YANG instance-identifier of the error node"
                    },
                    "error-message": {
                      "type": "string",
                      "description": "Human-readable error description"
                    }
                  },
                  "required": [
                    "error-type",
                    "error-tag"
                  ]
                }
              }
            }
          }
        },
        "example": {
          "ietf-restconf:errors": {
            "error": [
              {
                "error-type": "protocol",
                "error-tag": "invalid-value",
                "error-severity": "error",
                "error-message": "Invalid input parameter"
              }
            ]
          }
        }
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "basicAuth": []
    }
  ],
  "tags": [
    {
      "name": "CISCO-IMAGE-MIB",
      "description": "MIB operations for CISCO-IMAGE-MIB"
    }
  ],
  "externalDocs": {
    "description": "Cisco SNMP Object Navigator",
    "url": "https://snmp.cloudapps.cisco.com/Support/IOS/do/BrowseMIB.do"
  }
}
