Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Avi Networks Alert Count API
version: 32.2.1
contact:
name: Avi Networks Inc.
url: https://avinetworks.com/contact-us
email: support@avinetworks.com
description: 'Operations tagged AlertCount across 2 of this provider''s published API definitions: avi_global_spec.json, avi-networks-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /api
tags:
- name: AlertCount
paths:
/alert-count:
get:
tags:
- AlertCount
description: /alert-count
operationId: GET/alert-count
parameters:
- in: header
name: X-Avi-Tenant
required: false
description: Avi Tenant Header
schema:
type: string
- name: X-Avi-Tenant-UUID
in: header
required: false
description: Avi Tenant Header UUID
schema:
type: string
- name: X-Avi-Version
in: header
required: true
description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
schema:
type: string
- name: X-CSRFToken
in: header
required: false
description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
schema:
type: string
security:
- basicAuth: []
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/AlertCount'
'401':
description: log in failed
summary: GET /alert count
x-summary-source: derived
x-operation-id-source: normalized
x-operation-id-original: GET /alert-count
servers:
- url: /api
components:
schemas:
AlertCountEntry:
type: object
properties:
end:
description: ISO8601 timestamp of the bucket end. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
start:
description: ISO8601 timestamp of the bucket start (bucket end minus step seconds). Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
timestamp:
description: ISO8601 timestamp of the bucket end (same value as end). Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
value:
description: Number of alerts counted in this bucket. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: integer
format: uint32
AlertCount:
type: object
properties:
count:
description: Number of time buckets returned. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: integer
format: uint32
result:
description: One entry per time bucket, ordered per the sort query param. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: array
items:
$ref: '#/components/schemas/AlertCountEntry'
securitySchemes:
basicAuth:
type: http
scheme: basic
description: basic authentication
x-refined-from:
- avi_global_spec.json
- avi-networks-openapi.yml