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
| PUT |`/api/ports/<index>/signals`| admin | Set RTS/DTR signals |
372
-
| GET |`/api/signals`| yes | Signal states for all ports |
373
-
| GET |`/api/users`| yes | List users |
382
+
| GET |`/api/users`| admin | List users |
374
383
| POST |`/api/users`| admin | Add user |
375
384
| PUT |`/api/users/<login>`| admin | Update user |
376
385
| DELETE |`/api/users/<login>`| admin | Delete user |
386
+
| GET |`/api/tokens`| admin | List API tokens |
387
+
| POST |`/api/tokens`| admin | Add API token |
388
+
| PUT |`/api/tokens/<token>`| admin | Update API token |
389
+
| DELETE |`/api/tokens/<token>`| admin | Delete API token |
390
+
| PUT |`/api/settings`| admin | Update session_timeout |
391
+
| POST |`/api/settings/http`| admin | Add HTTP server |
392
+
| PUT |`/api/settings/http/<index>`| admin | Update HTTP server |
393
+
| DELETE |`/api/settings/http/<index>`| admin | Delete HTTP server |
377
394
| GET |`/xterm/<endpoint>`| no | WebSocket VT100 terminal |
378
395
| GET |`/raw/<endpoint>`| no | WebSocket raw terminal |
379
396
380
-
Authentication: `Authorization: Bearer <token>` header or `?token=<token>` query parameter. Without `auth` configuration, all endpoints are accessible without authentication.
Authentication: `Authorization: Bearer <token>` header or `?token=<token>` query parameter. Without users/tokens configured, all endpoints are accessible without authentication.
0 commit comments