Faces handler¶
- class luna_faces.app.handlers.faces_handler.FacesHandler(request)[source]¶
Faces handler.
- async delete()[source]¶
Delete several faces. See spec_delete_faces.
- Return type:
HTTPResponse
- Returns:
response with status code 204 if faces was successfully deleted or response with status code 400 if some face was not found
- async get()[source]¶
Get faces by filters. See spec_get_faces.
- Return type:
HTTPResponse
- Returns:
response json with faces
- async post()[source]¶
Create a new face. See spec_create_face.
- Return type:
HTTPResponse
- Returns:
response json with new face id