disaster.list
Overview
- Returns all available disaster IDs with localized names.
Metadata
| Field | Value |
|---|---|
| Display | List Disasters |
| Category | disaster |
| Access | Public |
| Scope | B2Authority |
| Tags | — |
| Aliases | — |
Parameters
- This command takes no parameters.
Returns
Returns a JSON object with the following fields:
| Field | Type | Required | Description |
|---|---|---|---|
disasters | array | yes | Available disasters |
disasters[].id | string | yes | Disaster identifier |
disasters[].label | string | yes | Localized disaster name |
Usage
await inzoi.cli.execute('disaster.list');