Skip to content

Commit

Permalink
update delete query documentation (#4860)
Browse files Browse the repository at this point in the history
  • Loading branch information
trinity-1686a authored Apr 25, 2024
1 parent 9de883d commit fba07f0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/reference/rest-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -676,15 +676,15 @@ The response is the created delete task represented in JSON, `DeleteTask`, the c
| `delete_query` | The posted delete query | `DeleteQuery` |


### GET a delete query
### List delete queries

```
GET api/v1/<index id>/delete-tasks/<opstamp>
GET api/v1/<index id>/delete-tasks
```

Get the delete task of operation stamp `opstamp` for a given `index_id`.
Get the list of delete tasks for a given `index_id`.


#### Response

The response is a `DeleteTask`.
The response is an array of `DeleteTask`.

0 comments on commit fba07f0

Please sign in to comment.