Get a list of all data source groups

POST /sources/groups


Description

This method returns a list of all data sources belonging to the specified group. A JWT token in the header is required for access.


Request Format

  • HTTP Method: POST
  • URL: /sources/groups
  • Content-Type: application/json
  • Authorization: required

Request Parameters

ParameterTypeLocationRequiredDescription
tokenstringHeaderUser JWT token

Example Request (cURL)

curl -X POST "https://api.enface.ai/v1/source/groups" 
  -H "Content-Type: application/json" 
  -H "Authorization: Bearer jwt.temporary.token"

Response Examples

Success (200 OK)
[
  {
    "created": "2023-10-16T14:34:54.483Z",
    "group_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "name": "string",
    "person_list_search": [
      {
        "id": "d995ca10-8292-11ea-ae65-3048e12b1113",
        "on_failed": "",
        "on_found": ""
      }
    ]
  }
]
Error (401 Unauthorized)
{
  "message": "access denied",
  "status": "error"
}