List faces

This method is available on following paths:
  • GET /v1/faces/
  • GET /v1/faces/gallery/{gallery}/

Returns the list of all faces stored in gallery or account.

Parameters

Parameter Description Type Accepted in
gallery

Gallery name

Example:
default
string path
min_id

Pagination parameter

int query
max_id

Pagination parameter

int query

Responses

Status code Description
200

Faces as they are stored

Example:
{
  "next_page": "/faces/?max_id=2333",
  "results": [
    {
      "id": 2563,
      "meta": "Angelina Jolie",
      "photo": "http://static.findface.pro/sample2.jpg",
      "photo_hash": "dc7ac54590729669ca869a18d92cd05e",
      "thumbnail": "https://static.findface.pro/57726179d6946f02f3763824/9b1dd93259fe87df122cd678ce95b9f9_thumb.jpg",
      "timestamp": "2016-06-13T11:06:42.075754",
      "x1": 225,
      "x2": 307,
      "y1": 345,
      "y2": 428
    },
    {
      "galleries": [
        "default",
        "ppl"
      ],
      "id": 2333,
      "meta": "Sam Berry",
      "photo": "http://static.findface.pro/sample.jpg",
      "photo_hash": "dc7ac54590729669ca869a18d92cd05e",
      "thumbnail": "https://static.findface.pro/57726179d6946f02f3763824/dc7ac54590729669ca869a18d92cd05e_thumb.jpg",
      "timestamp": "2016-06-13T11:06:42.075754",
      "x1": 225,
      "x2": 307,
      "y1": 345,
      "y2": 428
    }
  ]
}