You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/using/tasks-logs.md
+93-3Lines changed: 93 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,49 @@ The pgEdge Control Plane provides tools to monitor asynchronous operations and a
4
4
5
5
## Tasks
6
6
7
-
Every asynchronous database operation managed by the pgEdge Control Plane produces a *task* that you can use to track the progress of that operation.
7
+
Every asynchronous operation managed by the pgEdge Control Plane produces a *task* that you can use to track the progress of that operation. Tasks are scoped to either a database or a host, depending on the type of operation.
8
8
9
-
### Listing Tasks
9
+
### Listing All Tasks
10
10
11
-
To list tasks for a database, submit a `GET` request to the
11
+
To list all tasks across all scopes, submit a `GET` request to the `/v1/tasks` endpoint:
12
+
13
+
=== "curl"
14
+
15
+
```sh
16
+
curl http://host-3:3000/v1/tasks
17
+
```
18
+
19
+
You can filter tasks by scope (`database` or `host`) and entity ID:
0 commit comments