Handler handler¶
Handler for a certain handler.
- class luna_handlers.app.handlers.handler_handler.AccountHandlerHandler(request)[source]¶
 Handler for work with the handler.
Resource: “/{api_version}/handlers/{handlerId}”
- async delete(handlerId)[source]¶
 Remove handler by id. See spec_delete_handler.
- Parameters
 handlerId – handler id
- Returns
 response with status code 204
- Return type
 HTTPResponse
- async get(handlerId)[source]¶
 Get handler by id. See spec_get_handler.
- Parameters
 handlerId – handler id
- Returns
 handler in response
- Return type
 HTTPResponse
- async head(handlerId)[source]¶
 Check a handler with id=handlerId existence. See spec_head_handler.
- Parameters
 handlerId – handler id
- Returns
 response with status code 200, if handler exist and 404 if handler does not exist
- Return type
 HTTPResponse
- async put(handlerId)[source]¶
 Update the handler. See spec_put_handler.
- Parameters
 handlerId – handler id
- Returns
 Response with empty body
- Return type
 HTTPResponse
