Save user generated events handler¶
Handler for saving event.
- class luna_handlers.app.handlers.handler_raw_events_handler.RawEventHandler(request)[source]¶
Handler for save an user generated events.
Resource: “/{api_version}/handlers”
- enrichEvent(event)[source]¶
Enrich input event of server defaults (urls, create time, …) :param event: input event
- Return type:
None
- async post(handlerId)[source]¶
Save user generated event. See spec_save_event.
- Returns:
response with event id and event location
- Return type:
HTTPResponse