From 84b3eb43b827512315c07ce682222a267fd5b692 Mon Sep 17 00:00:00 2001 From: Spring <603413965@qq.com> Date: Mon, 8 Jul 2024 21:30:32 +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 | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/Rest-API-description.md b/docs/Rest-API-description.md index 1aefe28377..7e63512ccd 100644 --- a/docs/Rest-API-description.md +++ b/docs/Rest-API-description.md @@ -351,10 +351,17 @@ 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 |