fix(docs): correct secrets endpoint path across public docs
The secrets endpoint is GET /workspaces/:id/secrets, not GET /workspaces/:id/secrets/values. Fix three occurrences in: - workspace-runtime.md: comparison table and curl example - remote-workspaces.md: ASCII diagram and Phase 30.2 table Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0cb987c986
commit
6ca6eee63d
@ -149,7 +149,7 @@ External workspaces run outside the platform's Docker infrastructure — on your
|
||||
| Liveness | Docker health sweep | Heartbeat TTL (90s offline threshold) |
|
||||
| Registration | Automatic at container start | Manual: `POST /workspaces` + `POST /registry/register` |
|
||||
| Token | Inherited from container env | Minted at registration, shown once |
|
||||
| Secrets | Baked in image or env var | Pulled from platform at boot via `GET /workspaces/:id/secrets/values` |
|
||||
| Secrets | Baked in image or env var | Pulled from platform at boot via `GET /workspaces/:id/secrets` |
|
||||
|
||||
### Registration flow
|
||||
|
||||
@ -190,7 +190,7 @@ The platform returns a 256-bit bearer token — save it, it is shown only once.
|
||||
**3. Pull secrets at boot:**
|
||||
|
||||
```bash
|
||||
curl http://localhost:8080/workspaces/ws-xyz/secrets/values \
|
||||
curl http://localhost:8080/workspaces/ws-xyz/secrets \
|
||||
-H "Authorization: Bearer <your-token>"
|
||||
```
|
||||
|
||||
|
||||
@ -69,7 +69,7 @@ Laptop (remote agent) Molecule AI Platform
|
||||
│ POST /registry/register ────────────► │ ← admin token (one-time)
|
||||
│ ←─ auth_token (256-bit) ◄────────── │ ← shown once, saved to disk
|
||||
│ │
|
||||
│ GET /workspaces/:id/secrets/values │ ← bearer: auth_token
|
||||
│ GET /workspaces/:id/secrets │ ← bearer: auth_token
|
||||
│ POST /registry/heartbeat (30s loop) │
|
||||
│ GET /workspaces/:id/state (30s loop)│
|
||||
│ │
|
||||
@ -135,7 +135,7 @@ The agent appears on the canvas with a **purple REMOTE badge** within seconds. F
|
||||
| Phase | What shipped | Endpoint |
|
||||
|---|---|---|
|
||||
| 30.1 | Workspace auth tokens | `POST /registry/register`, `POST /registry/heartbeat` |
|
||||
| 30.2 | Token-gated secrets pull | `GET /workspaces/:id/secrets/values` |
|
||||
| 30.2 | Token-gated secrets pull | `GET /workspaces/:id/secrets` |
|
||||
| 30.3 | Plugin tarball download (remote install) | `GET /plugins/:name/download` |
|
||||
| 30.4 | Workspace state polling (no WebSocket needed) | `GET /workspaces/:id/state` |
|
||||
| 30.5 | A2A proxy enforces caller token | `POST /workspaces/:id/a2a` |
|
||||
|
||||
Loading…
Reference in New Issue
Block a user