Version: 1.0.0 Workflow: monitor-planet-shield Category: Monitoring
Monitor planet shield health and information.
planet_idwebapp-planet-by-idGEThttp://localhost:8080/api/planet/{planet_id}Parameters:
| Parameter | Example Value |
|---|---|
| planet_id | 3-1 |
Data Extraction:
planet_id from response.idowner_id from response.owner_idError Handling:
| Status | Action |
|---|---|
| 404 | Planet not found - verify planet_id |
webapp-planet-shield-healthGEThttp://localhost:8080/api/planet/{planet_id}/shield/healthParameters:
| Parameter | Value |
|---|---|
| planet_id | `` |
Data Extraction:
health from response.healthmax_health from response.max_healthError Handling:
| Status | Action |
|---|---|
| 404 | Planet not found or no shield data |
webapp-planet-shieldGEThttp://localhost:8080/api/planet/{planet_id}/shieldParameters:
| Parameter | Value |
|---|---|
| planet_id | `` |
Data Extraction:
shield_info from response.shieldError Handling:
| Status | Action |
|---|---|
| 404 | Planet not found or no shield data |
{
"planet": {
"id": "",
"owner_id": "",
"shield": {
"health": "",
"max_health": "",
"health_percentage": " / * 100",
"details": ""
}
}
}
This workflow demonstrates monitoring a planet’s shield status. Steps 2 and 3 can be executed in parallel.