Skip to content

Commit

Permalink
Update Rest-API-description.md
Browse files Browse the repository at this point in the history
When using delete multiple, the returned data is a list, not an object
  • Loading branch information
wushuaiping authored Jul 8, 2024
1 parent ddf32da commit 84b3eb4
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions docs/Rest-API-description.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,10 +351,17 @@ curl -X POST "http://localhost:8000/api/v1/recognition/faces/delete" \

Response body on success:
```
{
"image_id": <image_id>,
"subject": <subject>
[ {
"image_id" : "<image_id1>",
"subject" : "<subject>"
}, {
"image_id" : "<image_id2>",
"subject" : "<subject>"
}
..., {
"image_id" : "<image_idN>",
"subject" : "<subjectN>"
} ]
```

| Element | Description | Type |
Expand Down

0 comments on commit 84b3eb4

Please sign in to comment.