Operazioni con effetti esterni
2 operazioni di nome external.*. Ognuna si esegue in un batch con apply_ops, dry_run_ops, la CLI o l’admin.
| Operation | What it does | Permission | Confirmation |
|---|---|---|---|
| external.status | Inspect a durable provider request without retrying its side effects. | site.admin | none |
| external.close | Close an interrupted provider reservation after inspecting domain state. | site.admin | destructive |
external.status
Inspect a durable provider request without retrying its side effects.
Esempio di input
{
"requestId": "0b7c6d5e-4f3a-4b2c-8d1e-9f0a1b2c3d4e"
}Input
| Field | Type | Required | Notes |
|---|---|---|---|
| requestId | string (uuid) | yes |
Output
| Field | Type | Required | Notes |
|---|---|---|---|
| requestId | string (uuid) | yes | |
| state | string | yes | One of "running", "succeeded", "failed". |
| errorStatus | integer | null | yes |
Provala
yarn splash external.status '{"requestId":"0b7c6d5e-4f3a-4b2c-8d1e-9f0a1b2c3d4e"}' --dry-runexternal.close
Close an interrupted provider reservation after inspecting domain state. Cannot close a live request; never repeats provider actions.
Esempio di input
{
"requestId": "0b7c6d5e-4f3a-4b2c-8d1e-9f0a1b2c3d4e"
}Input
| Field | Type | Required | Notes |
|---|---|---|---|
| requestId | string (uuid) | yes |
Output
| Field | Type | Required | Notes |
|---|---|---|---|
| requestId | string (uuid) | yes | |
| state | string | yes | One of "running", "succeeded", "failed". |
| errorStatus | integer | null | yes |
Vuole confirmed: ["destructive"] sul batch, che la forma della CLI per una sola operazione non imposta: mettila in un file di batch ed esegui yarn splash apply <file> --dry-run.
Generato dal registro delle operazioni e dal catalogo degli strumenti MCP (sorgente c24bb94cdd2e6a6e).
Qualcosa non va in questa pagina? Scrivi a docs@librettocms.com.