From bc11eb8e2e14494d4b613767ccf4b9a68a4dec85 Mon Sep 17 00:00:00 2001 From: Spring Date: Mon, 8 Jul 2024 21:19:54 +0800 Subject: [PATCH] Update Rest-API-description.md When using delete multiple, the returned data is a list, not an object --- docs/Rest-API-description.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/Rest-API-description.md b/docs/Rest-API-description.md index 1aefe28377..0e320d2a35 100644 --- a/docs/Rest-API-description.md +++ b/docs/Rest-API-description.md @@ -351,10 +351,16 @@ curl -X POST "http://localhost:8000/api/v1/recognition/faces/delete" \ Response body on success: ``` -{ - "image_id": , - "subject": -} +[ { + "image_id" : "", + "subject" : "" +}, { + "image_id" : "", + "subject" : "" +}, { + "image_id" : "", + "subject" : "" +} ] ``` | Element | Description | Type |