Collection Management
Last updated
Last updated
Before performing Face Search (1:N, N:N), you first need to create a collection and enroll the persons in a specific collection.
Each collection is a table, collection name should be unique, it’s not allowed to create two collections with the same name.
Upon a collection being created, the collection name is not allowed to change. you can delete a collection, in this case, all enrolled persons within the collection will be deleted as well, so please be careful.
POST
/collection
This endpoint is to create a collection
Headers
Body
name
Required: Yes
Type: string
Example:
Each collection is like a table, the name of the collection is the unique identifier.
Once created, no modification of the name is allowed.
Response
DELETE
/collection
This endpoint is to delete a collection.
Headers
Body
name
Required: Yes
Type: string
Example:
Each collection is like a table, upon deletion of a collection, all enrolled person within the collection will be deleted.
Response
Content-Type
application/json
x-api-key
<your-api-key>
Content-Type
application/json
x-api-key
<your-api-key>