.. docbookrestapi

==========
V2 Web API
==========

Capabilities
============

The Capabilities API allows you to directly discover which functions from the
V2 API functionality, including the selectable aggregate functions, are
supported by the currently configured storage driver. A capabilities query
returns a flattened dictionary of properties with associated boolean values -
a 'False' or absent value means that the corresponding feature is not
available in the backend.

.. rest-controller:: panko.api.controllers.v2.capabilities:CapabilitiesController
   :webprefix: /v2/capabilities

.. autoclass:: panko.api.controllers.v2.capabilities.Capabilities
   :members:
   :noindex:

Events and Traits
=================

.. rest-controller:: panko.api.controllers.v2.events:EventTypesController
   :webprefix: /v2/event_types

.. rest-controller:: panko.api.controllers.v2.events:TraitsController
   :webprefix: /v2/event_types/(event_type)/traits

.. rest-controller:: panko.api.controllers.v2.events:EventsController
   :webprefix: /v2/events

.. autoclass:: panko.api.controllers.v2.events.Event
   :members:
   :noindex:

.. autoclass:: panko.api.controllers.v2.events.Trait
   :members:
   :noindex:

.. autoclass:: panko.api.controllers.v2.events.TraitDescription
   :members:
   :noindex:

Filtering Queries
=================

.. autoclass:: panko.api.controllers.v2.events.EventQuery
   :members:
   :noindex:
