Skip to content

Commit 49c6ce2

Browse files
committed
imp: Updated sysapi.md plus comment cleanup.
1 parent 3469a31 commit 49c6ce2

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Diff for: src/api/status.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ impl CellProcesses {
9696
}
9797

9898

99-
/// Status of all ressident processes of given cell:
99+
/// Status of all ressident processes of cell by a_name
100100
pub fn of_cell(a_name: &String) -> Result<Self, Error> {
101101
let sentry_dir = format!("{}/{}", SENTRY_PATH, a_name);
102102
let netid_file = format!("{}/{}", sentry_dir, "cell.vlan.number");

Diff for: sysapi.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@
4747
GET > returns domain to proxy to
4848
DELETE > destroys domain proxy
4949

50+
- "/status/:cellname":
51+
52+
✅ GET > returns JSON list of processes status for :cellname
53+
5054

5155
- "/cell/:cellname/some_key":
5256

@@ -77,11 +81,6 @@
7781
POST > defines new A record for cell 'cellname' with IPv4 or name taken from the body
7882

7983

80-
- "/status/:cellname":
81-
82-
GET > returns JSON metadata, limits and status for all services under 'cellname' cell.
83-
84-
8584
- "/status/:cellname/Php72":
8685

8786
GET > returns JSON metadata and stats of service Php72.

0 commit comments

Comments
 (0)