
This adds a v2 API root to CloudKitty. An example endpoint along with some developer documentation has been added. The API root is now served with Flask instead of pecan. Change-Id: I4ede52dae531631f7fe708400def01bc08a64dec Story: 2004208 Task: 27717 Task: 27718 Task: 27719
49 lines
1.6 KiB
ReStructuredText
49 lines
1.6 KiB
ReStructuredText
=======================
|
|
HashMap Module REST API
|
|
=======================
|
|
|
|
.. rest-controller:: cloudkitty.rating.hash.controllers.root:HashMapConfigController
|
|
:webprefix: /v1/rating/module_config/hashmap
|
|
|
|
.. rest-controller:: cloudkitty.rating.hash.controllers.service:HashMapServicesController
|
|
:webprefix: /v1/rating/module_config/hashmap/services
|
|
|
|
.. autotype:: cloudkitty.rating.hash.datamodels.service.Service
|
|
:members:
|
|
|
|
.. autotype:: cloudkitty.rating.hash.datamodels.service.ServiceCollection
|
|
:members:
|
|
|
|
.. rest-controller:: cloudkitty.rating.hash.controllers.field:HashMapFieldsController
|
|
:webprefix: /v1/rating/module_config/hashmap/fields
|
|
|
|
.. autotype:: cloudkitty.rating.hash.datamodels.field.Field
|
|
:members:
|
|
|
|
.. autotype:: cloudkitty.rating.hash.datamodels.field.FieldCollection
|
|
:members:
|
|
|
|
.. rest-controller:: cloudkitty.rating.hash.controllers.mapping:HashMapMappingsController
|
|
:webprefix: /v1/rating/module_config/hashmap/mappings
|
|
|
|
.. autotype:: cloudkitty.rating.hash.datamodels.mapping.Mapping
|
|
:members:
|
|
|
|
.. autotype:: cloudkitty.rating.hash.datamodels.mapping.MappingCollection
|
|
:members:
|
|
|
|
.. autotype:: cloudkitty.rating.hash.datamodels.threshold.Threshold
|
|
:members:
|
|
|
|
.. autotype:: cloudkitty.rating.hash.datamodels.threshold.ThresholdCollection
|
|
:members:
|
|
|
|
.. rest-controller:: cloudkitty.rating.hash.controllers.group:HashMapGroupsController
|
|
:webprefix: /v1/rating/module_config/hashmap/groups
|
|
|
|
.. autotype:: cloudkitty.rating.hash.datamodels.group.Group
|
|
:members:
|
|
|
|
.. autotype:: cloudkitty.rating.hash.datamodels.group.GroupCollection
|
|
:members:
|