REST Python Module¶
CherryPy module containing classes for rest interface.
-
class
pacifica.notifications.rest.
EventMatch
[source]¶ CherryPy EventMatch endpoint.
-
exposed
= True¶
-
json_schema
= {'$ref': '#/definitions/eventmatch', 'definitions': {'eventmatch': {'properties': {'auth': {'properties': {'basic': {'properties': {'password': {'type': 'string'}, 'username': {'type': 'string'}}, 'required': ['username', 'password'], 'type': 'object'}, 'header': {'properties': {'credentials': {'type': 'string'}, 'type': {'type': 'string'}}, 'required': ['type', 'credentials'], 'type': 'object'}, 'type': {'enum': ['basic', 'header'], 'type': 'string'}}, 'required': ['type'], 'type': 'object'}, 'created': {'format': 'date-time', 'type': 'string'}, 'deleted': {'format': 'date-time', 'type': ['string', 'null']}, 'disabled': {'format': 'date-time', 'type': ['string', 'null']}, 'error': {'type': ['string', 'null']}, 'extensions': {'type': 'object'}, 'jsonpath': {'type': 'string'}, 'name': {'type': 'string'}, 'target_url': {'type': 'string'}, 'updated': {'format': 'date-time', 'type': 'string'}, 'user': {'type': 'string'}, 'uuid': {'type': 'string'}, 'version': {'type': 'string'}}, 'type': 'object'}}, 'not': {'required': ['uuid', 'user', 'created', 'updated', 'deleted', 'version']}}¶
-
-
class
pacifica.notifications.rest.
ReceiveEvent
[source]¶ CherryPy Receive Event object.
-
event_json_schema
= {}¶
-
exposed
= True¶
-
-
class
pacifica.notifications.rest.
Root
[source]¶ CherryPy Root Object.
-
eventmatch
= <pacifica.notifications.rest.EventMatch object>¶
-
exposed
= True¶
-
receive
= <pacifica.notifications.rest.ReceiveEvent object>¶
-