{
  "openapi": "3.0.0",
  "info": {
    "title": "Cisco IOS-XE MIB - CISCO-BGP-POLICY-ACCOUNTING-MIB",
    "description": "MIB data from `CISCO-BGP-POLICY-ACCOUNTING-MIB` module.\n\n**Root containers:** 1 (CISCO-BGP-POLICY-ACCOUNTING-MIB)\n**Paths:** 9 | **Descendants:** 8\n\nAll endpoints are read-only (GET).",
    "version": "17.18.1",
    "contact": {
      "name": "Cisco IOS-XE RESTCONF API",
      "url": "https://developer.cisco.com/iosxe/"
    },
    "x-yang-module": "CISCO-BGP-POLICY-ACCOUNTING-MIB",
    "x-model-type": "mib"
  },
  "servers": [
    {
      "url": "https://{device}:{port}/restconf",
      "description": "IOS-XE Device RESTCONF API",
      "variables": {
        "device": {
          "default": "devnetsandboxiosxec9k.cisco.com"
        },
        "port": {
          "default": "443"
        }
      }
    }
  ],
  "paths": {
    "/data/CISCO-BGP-POLICY-ACCOUNTING-MIB:CISCO-BGP-POLICY-ACCOUNTING-MIB": {
      "get": {
        "summary": "Get CISCO-BGP-POLICY-ACCOUNTING-MIB",
        "operationId": "get-CISCO-BGP-POLICY-ACCOUNTING-MIB:CISCO-BGP-POLICY-ACCOUNTING-MIB",
        "tags": [
          "CISCO-BGP-POLICY-ACCOUNTING-MIB"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/accept"
          },
          {
            "$ref": "#/components/parameters/depth"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/yang-data+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "cbpAcctTable": {
                      "type": "object",
                      "properties": {
                        "cbpAcctEntry": {
                          "type": "object",
                          "properties": {
                            "ifIndex": {
                              "type": "string",
                              "example": "configured-value"
                            },
                            "cbpAcctTrafficIndex": {
                              "type": "integer",
                              "example": 1
                            },
                            "cbpAcctInPacketCount": {
                              "type": "string",
                              "example": "12845632"
                            },
                            "cbpAcctInOctetCount": {
                              "type": "string",
                              "example": "10"
                            },
                            "cbpAcctOutPacketCount": {
                              "type": "string",
                              "example": "10234567"
                            },
                            "cbpAcctOutOctetCount": {
                              "type": "string",
                              "example": "10"
                            }
                          },
                          "example": "configured-value"
                        }
                      },
                      "example": "configured-value"
                    }
                  },
                  "example": 10
                },
                "example": {
                  "CISCO-BGP-POLICY-ACCOUNTING-MIB:CISCO-BGP-POLICY-ACCOUNTING-MIB": {
                    "cbpAcctTable": {
                      "cbpAcctEntry": {
                        "ifIndex": "configured-value",
                        "cbpAcctTrafficIndex": 1,
                        "cbpAcctInPacketCount": "12845632",
                        "cbpAcctInOctetCount": "10",
                        "cbpAcctOutPacketCount": "10234567",
                        "cbpAcctOutOctetCount": "10"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Resource not found"
          }
        },
        "description": "Retrieve CISCO-BGP-POLICY-ACCOUNTING-MIB from the device via RESTCONF.\n\nReturns the current operational or configuration state of this resource."
      }
    },
    "/data/CISCO-BGP-POLICY-ACCOUNTING-MIB:CISCO-BGP-POLICY-ACCOUNTING-MIB/cbpAcctTable": {
      "get": {
        "summary": "Get cbpAcctTable",
        "operationId": "get-CISCO-BGP-POLICY-ACCOUNTING-MIB:CISCO-BGP-POLICY-ACCOUNTING-MIB-cbpAcctTable",
        "tags": [
          "CISCO-BGP-POLICY-ACCOUNTING-MIB"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/accept"
          },
          {
            "$ref": "#/components/parameters/depth"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/yang-data+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "cbpAcctEntry": {
                      "type": "object",
                      "properties": {
                        "ifIndex": {
                          "type": "string",
                          "example": "configured-value"
                        },
                        "cbpAcctTrafficIndex": {
                          "type": "integer",
                          "example": 1
                        },
                        "cbpAcctInPacketCount": {
                          "type": "string",
                          "example": "12845632"
                        },
                        "cbpAcctInOctetCount": {
                          "type": "string",
                          "example": "10"
                        },
                        "cbpAcctOutPacketCount": {
                          "type": "string",
                          "example": "10234567"
                        },
                        "cbpAcctOutOctetCount": {
                          "type": "string",
                          "example": "10"
                        }
                      },
                      "example": "configured-value"
                    }
                  },
                  "example": "configured-value"
                },
                "example": {
                  "CISCO-BGP-POLICY-ACCOUNTING-MIB:cbpAcctTable": {
                    "cbpAcctEntry": {
                      "ifIndex": "configured-value",
                      "cbpAcctTrafficIndex": 1,
                      "cbpAcctInPacketCount": "12845632",
                      "cbpAcctInOctetCount": "10",
                      "cbpAcctOutPacketCount": "10234567",
                      "cbpAcctOutOctetCount": "10"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Resource not found"
          }
        },
        "description": "Retrieve cbpAcctTable from the device via RESTCONF.\n\nReturns the current operational or configuration state of this resource."
      }
    },
    "/data/CISCO-BGP-POLICY-ACCOUNTING-MIB:CISCO-BGP-POLICY-ACCOUNTING-MIB/cbpAcctTable/cbpAcctEntry": {
      "get": {
        "summary": "Get cbpAcctEntry",
        "operationId": "get-CISCO-BGP-POLICY-ACCOUNTING-MIB:CISCO-BGP-POLICY-ACCOUNTING-MIB-cbpAcctTable-cbpAcctEntry",
        "tags": [
          "CISCO-BGP-POLICY-ACCOUNTING-MIB"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/accept"
          },
          {
            "$ref": "#/components/parameters/depth"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/yang-data+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ifIndex": {
                      "type": "string",
                      "example": "configured-value"
                    },
                    "cbpAcctTrafficIndex": {
                      "type": "integer",
                      "example": 1
                    },
                    "cbpAcctInPacketCount": {
                      "type": "string",
                      "example": "12845632"
                    },
                    "cbpAcctInOctetCount": {
                      "type": "string",
                      "example": "10"
                    },
                    "cbpAcctOutPacketCount": {
                      "type": "string",
                      "example": "10234567"
                    },
                    "cbpAcctOutOctetCount": {
                      "type": "string",
                      "example": "10"
                    }
                  },
                  "example": "configured-value"
                },
                "example": {
                  "CISCO-BGP-POLICY-ACCOUNTING-MIB:cbpAcctEntry": {
                    "ifIndex": "configured-value",
                    "cbpAcctTrafficIndex": 1,
                    "cbpAcctInPacketCount": "12845632",
                    "cbpAcctInOctetCount": "10",
                    "cbpAcctOutPacketCount": "10234567",
                    "cbpAcctOutOctetCount": "10"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Resource not found"
          }
        },
        "description": "Retrieve cbpAcctEntry from the device via RESTCONF.\n\nReturns the current operational or configuration state of this resource."
      }
    },
    "/data/CISCO-BGP-POLICY-ACCOUNTING-MIB:CISCO-BGP-POLICY-ACCOUNTING-MIB/cbpAcctTable/cbpAcctEntry/ifIndex": {
      "get": {
        "summary": "Get ifIndex",
        "operationId": "get-CISCO-BGP-POLICY-ACCOUNTING-MIB:CISCO-BGP-POLICY-ACCOUNTING-MIB-cbpAcctTable-cbpAcctEntry-ifIndex",
        "tags": [
          "CISCO-BGP-POLICY-ACCOUNTING-MIB"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/accept"
          },
          {
            "$ref": "#/components/parameters/depth"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/yang-data+json": {
                "schema": {
                  "type": "string",
                  "example": "configured-value"
                },
                "example": {
                  "CISCO-BGP-POLICY-ACCOUNTING-MIB:ifIndex": "10"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Resource not found"
          }
        },
        "description": "Retrieve ifIndex from the device via RESTCONF.\n\nReturns the current operational or configuration state of this resource."
      }
    },
    "/data/CISCO-BGP-POLICY-ACCOUNTING-MIB:CISCO-BGP-POLICY-ACCOUNTING-MIB/cbpAcctTable/cbpAcctEntry/cbpAcctTrafficIndex": {
      "get": {
        "summary": "Get cbpAcctTrafficIndex",
        "operationId": "get-CISCO-BGP-POLICY-ACCOUNTING-MIB:CISCO-BGP-POLICY-ACCOUNTING-MIB-cbpAcctTable-cbpAcctEntry-cbpAcctTrafficIndex",
        "tags": [
          "CISCO-BGP-POLICY-ACCOUNTING-MIB"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/accept"
          },
          {
            "$ref": "#/components/parameters/depth"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/yang-data+json": {
                "schema": {
                  "type": "integer",
                  "example": 1
                },
                "example": {
                  "CISCO-BGP-POLICY-ACCOUNTING-MIB:cbpAcctTrafficIndex": 10
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Resource not found"
          }
        },
        "description": "Retrieve cbpAcctTrafficIndex from the device via RESTCONF.\n\nReturns the current operational or configuration state of this resource."
      }
    },
    "/data/CISCO-BGP-POLICY-ACCOUNTING-MIB:CISCO-BGP-POLICY-ACCOUNTING-MIB/cbpAcctTable/cbpAcctEntry/cbpAcctInPacketCount": {
      "get": {
        "summary": "Get cbpAcctInPacketCount",
        "operationId": "get-CISCO-BGP-POLICY-ACCOUNTING-MIB:CISCO-BGP-POLICY-ACCOUNTING-MIB-cbpAcctTable-cbpAcctEntry-cbpAcctInPacketCount",
        "tags": [
          "CISCO-BGP-POLICY-ACCOUNTING-MIB"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/accept"
          },
          {
            "$ref": "#/components/parameters/depth"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/yang-data+json": {
                "schema": {
                  "type": "string",
                  "example": "12845632"
                },
                "example": {
                  "CISCO-BGP-POLICY-ACCOUNTING-MIB:cbpAcctInPacketCount": "12845632"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Resource not found"
          }
        },
        "description": "Retrieve cbpAcctInPacketCount from the device via RESTCONF.\n\nReturns the current operational or configuration state of this resource."
      }
    },
    "/data/CISCO-BGP-POLICY-ACCOUNTING-MIB:CISCO-BGP-POLICY-ACCOUNTING-MIB/cbpAcctTable/cbpAcctEntry/cbpAcctInOctetCount": {
      "get": {
        "summary": "Get cbpAcctInOctetCount",
        "operationId": "get-CISCO-BGP-POLICY-ACCOUNTING-MIB:CISCO-BGP-POLICY-ACCOUNTING-MIB-cbpAcctTable-cbpAcctEntry-cbpAcctInOctetCount",
        "tags": [
          "CISCO-BGP-POLICY-ACCOUNTING-MIB"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/accept"
          },
          {
            "$ref": "#/components/parameters/depth"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/yang-data+json": {
                "schema": {
                  "type": "string",
                  "example": "10"
                },
                "example": {
                  "CISCO-BGP-POLICY-ACCOUNTING-MIB:cbpAcctInOctetCount": "10"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Resource not found"
          }
        },
        "description": "Retrieve cbpAcctInOctetCount from the device via RESTCONF.\n\nReturns the current operational or configuration state of this resource."
      }
    },
    "/data/CISCO-BGP-POLICY-ACCOUNTING-MIB:CISCO-BGP-POLICY-ACCOUNTING-MIB/cbpAcctTable/cbpAcctEntry/cbpAcctOutPacketCount": {
      "get": {
        "summary": "Get cbpAcctOutPacketCount",
        "operationId": "get-CISCO-BGP-POLICY-ACCOUNTING-MIB:CISCO-BGP-POLICY-ACCOUNTING-MIB-cbpAcctTable-cbpAcctEntry-cbpAcctOutPacketCount",
        "tags": [
          "CISCO-BGP-POLICY-ACCOUNTING-MIB"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/accept"
          },
          {
            "$ref": "#/components/parameters/depth"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/yang-data+json": {
                "schema": {
                  "type": "string",
                  "example": "10234567"
                },
                "example": {
                  "CISCO-BGP-POLICY-ACCOUNTING-MIB:cbpAcctOutPacketCount": "12845632"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Resource not found"
          }
        },
        "description": "Retrieve cbpAcctOutPacketCount from the device via RESTCONF.\n\nReturns the current operational or configuration state of this resource."
      }
    },
    "/data/CISCO-BGP-POLICY-ACCOUNTING-MIB:CISCO-BGP-POLICY-ACCOUNTING-MIB/cbpAcctTable/cbpAcctEntry/cbpAcctOutOctetCount": {
      "get": {
        "summary": "Get cbpAcctOutOctetCount",
        "operationId": "get-CISCO-BGP-POLICY-ACCOUNTING-MIB:CISCO-BGP-POLICY-ACCOUNTING-MIB-cbpAcctTable-cbpAcctEntry-cbpAcctOutOctetCount",
        "tags": [
          "CISCO-BGP-POLICY-ACCOUNTING-MIB"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/accept"
          },
          {
            "$ref": "#/components/parameters/depth"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/yang-data+json": {
                "schema": {
                  "type": "string",
                  "example": "10"
                },
                "example": {
                  "CISCO-BGP-POLICY-ACCOUNTING-MIB:cbpAcctOutOctetCount": "10"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Resource not found"
          }
        },
        "description": "Retrieve cbpAcctOutOctetCount from the device via RESTCONF.\n\nReturns the current operational or configuration state of this resource."
      }
    }
  },
  "components": {
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic",
        "description": "RESTCONF basic authentication (RFC 8040)"
      }
    },
    "parameters": {
      "accept": {
        "name": "Accept",
        "in": "header",
        "required": false,
        "schema": {
          "type": "string",
          "default": "application/yang-data+json"
        }
      },
      "depth": {
        "name": "depth",
        "in": "query",
        "required": false,
        "description": "Limit response depth (RFC 8040)",
        "schema": {
          "type": "string",
          "default": "unbounded"
        }
      }
    }
  },
  "security": [
    {
      "basicAuth": []
    }
  ]
}
