API 2.0
Endpoints
/cities
Retrieve the list of cities within a star system.
Method | GET |
---|---|
URL |
// example 1 https://uexcorp.space/api/2.0/cities?id_star_system={int} // example 2 https://uexcorp.space/api/2.0/cities?id_planet={int} // example 3 https://uexcorp.space/api/2.0/cities?id_orbit={int} // example 4 https://uexcorp.space/api/2.0/cities?id_moon={int} |
Authorization | — |
Cache TTL | +1 day |
Input |
id_star_system int(11) // optional id_planet int(11) // optional id_orbit int(11) // optional id_moon int(11) // optional |
Output |
id int(11) id_star_system int(11) id_planet int(11) id_orbit int(11) id_moon int(11) id_faction int(11) name string(255) code string(4) is_available int(1) is_visible int(1) is_default int(1) is_monitored int(1) is_armistice int(1) is_landable int(1) is_decommissioned int(1) has_quantum_marker int(1) has_trade_terminal int(1) has_habitation int(1) has_refinery int(1) has_cargo_center int(1) has_clinic int(1) has_food int(1) has_shops int(1) has_refuel int(1) has_repair int(1) has_gravity int(1) has_loading_dock int(1) has_docking_port int(1) has_freight_elevator int(1) is_available int(1) wiki string(255) date_added int(11) // timestamp date_modified int(11) // timestamp star_system_name string(255) planet_name string(255) orbit_name string(255) moon_name string(255) |
Response status |
• ok |
Limits | Maximum of 500 rows |
Update date | Patch cycle (usually) |
Documentation update: | 4 months ago |
Optional