POST /update_face_gallery
Updates fields of a non-default gallery. Currently supported update field is name.
Endpoint
POST https://api-eu.valossa.com/training/1.0/update_face_gallery
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
api_key | string | Yes | Faces-enabled API key |
gallery.id | string | Yes | Gallery UUID |
gallery.updates.name | string | Yes | New gallery name (max 1024 chars) |
Example
curl -H "Content-Type: application/json" \
-X POST \
-d '{"api_key":"YOUR_API_KEY","gallery":{"id":"468a2b70-3b55-46f8-b209-8ad2fcabd5c8","updates":{"name":"My Extra-Special Faces"}}}' \
https://api-eu.valossa.com/training/1.0/update_face_gallery
Notes
- Default gallery cannot be updated with this endpoint.