List metas

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

Retrieves all meta strings stored in the database along with one of the associated faces. To get more faces call GET /v0/face/meta/{meta}.

Parameters

Parameter Description Type Accepted in
gallery

Gallery name

Example:
default
string path

Responses

Status code Description
200

List of metadata strings along with number of faces having this meta and an example face

Example:
{
  "results": [
    {
      "count": 1,
      "face": {
        "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
      },
      "meta": "Sam Berry"
    },
    {
      "count": 15,
      "face": {
        "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"
      ],
      "meta": "Angelina Jolie"
    }
  ]
}