Lists handler

class luna_faces.app.handlers.lists_handler.ListsHandler(request)[source]

Handler for work with lists

Resource: “/{api_version}/lists”

async delete()[source]

Delete several lists. See spec_delete_lists.

Return type:

HTTPResponse

Returns:

response with status code 202 or 204

async get()[source]

Get lists by filters. See spec_get_lists.

Return type:

HTTPResponse

Returns:

response json with lists

async post()[source]

Create new list. See spec_create_list.

Return type:

HTTPResponse

Returns:

response json with new list id

class luna_faces.app.handlers.lists_handler.ListsLinkKeysHandler(request)[source]

Handler for getting link keys

async post()[source]

Get lists of faces with last link id and last unlink id. See spec_get_link_keys.

Return type:

HTTPResponse

Returns:

response with status code 200