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/api.md
+4-8Lines changed: 4 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,7 @@ All fields are optional. If `initialCommand` is provided, it will be sent to the
116
116
117
117
The `shell` field is validated against the list of detected shells (see `GET /api/shells`). The `cwd` field must be an absolute path to an existing directory.
118
118
119
-
**Response (200):**
119
+
**Response (201):**
120
120
121
121
```json
122
122
{
@@ -200,11 +200,7 @@ Scan a session's scrollback buffer for the last `localhost` or `127.0.0.1` URL a
200
200
201
201
Kill and remove a session.
202
202
203
-
**Response (200):**
204
-
205
-
```json
206
-
{ "ok": true }
207
-
```
203
+
**Response (204):** No content.
208
204
209
205
**Response (404):**
210
206
@@ -298,7 +294,7 @@ Upload an image file. The request body is the raw image data with the appropriat
| 7. **Boot auto-start**| Start on system boot? | Default: Yes — runs `pm2 startup`|
53
+
| 8. **Confirm**| Review and proceed | Proceed or cancel |
53
54
54
55
If you choose **DevTunnel** access, a follow-up question asks whether the tunnel should be **private** (Microsoft login required) or **public** (anyone with the link). Choosing public with no password will auto-generate one for safety.
0 commit comments