Version: 1.1.0
Category: webapp
Entity: Planet
Base URL: ${webappBaseUrl} (default: http://localhost:8080)
Last Updated: January 1, 2026
| Method | Path | Description | Auth Required |
|---|---|---|---|
| GET | /api/planet/{planet_id} |
Get planet information from web application | No |
| GET | /api/planet/{planet_id}/shield/health |
Get planet shield health | No |
| GET | /api/planet/{planet_id}/shield |
Get planet shield information | No |
| GET | /api/planet/{planet_id}/raid/active |
Get active raid for planet | No |
| GET | /api/planet/raid/active/fleet/{fleet_id} |
Get active raid for fleet | No |
/api/planet/{planet_id}Get planet information from web application.
webapp-planet-by-idschemas/entities.md#Planetapplication/json| Name | Type | Required | Format | Description |
|---|---|---|---|---|
planet_id |
string | Yes | planet-id | Planet identifier |
Request: GET http://localhost:8080/api/planet/3-1
Response:
{
"id": "3-1",
"owner_id": "1-11",
"max_ore": 5,
"space_slots": 4
}
/api/planet/{planet_id}/shield/healthGet planet shield health.
webapp-planet-shield-healthschemas/responses.md#ShieldHealthResponseapplication/json| Name | Type | Required | Format | Description |
|---|---|---|---|---|
planet_id |
string | Yes | planet-id | Planet identifier |
Request: GET http://localhost:8080/api/planet/3-1/shield/health
Response:
{
"planet_id": "3-1",
"health": 1000,
"max_health": 1000
}
/api/planet/{planet_id}/shieldGet planet shield information.
webapp-planet-shield| Name | Type | Required | Format | Description |
|---|---|---|---|---|
planet_id |
string | Yes | planet-id | Planet identifier |
/api/planet/{planet_id}/raid/activeGet active raid for planet.
webapp-planet-raid-active| Name | Type | Required | Format | Description |
|---|---|---|---|---|
planet_id |
string | Yes | planet-id | Planet identifier |
/api/planet/raid/active/fleet/{fleet_id}Get active raid for fleet.
webapp-planet-raid-active-fleet| Name | Type | Required | Format | Description |
|---|---|---|---|---|
fleet_id |
string | Yes | fleet-id | Fleet identifier |
Raid responses include the attackerRetreated status:
{
"raid": {
"id": "...",
"status": "attackerRetreated",
"outcome": "attackerRetreated",
...
}
}
Last Updated: January 1, 2026