Handlers handler

Handlers / handlers count handler.

class luna_handlers.app.handlers.handlers_handler.HandlerCountHandler(request)[source]

Handler for getting handler count

Resource: “/{api_version}/handlers/count”

async get()[source]

Get handler count which satisfy filters. See spec_get_handler_count.

Returns:

Response with count of faces

Return type:

HTTPResponse

class luna_handlers.app.handlers.handlers_handler.HandlersHandler(request)[source]

Handler for create new handlers.

Resource: “/{api_version}/handlers”

async get()[source]

Get handlers with filters. See spec_get_handlers.

Returns:

response with a list of handlers

Return type:

HTTPResponse

async post()[source]

Create new handler. See spec_create_handler.

Returns:

response with handler id and handler location

Return type:

HTTPResponse