| Property | Details |
|---|---|
| URL: | https://www2.swcombine.com/ws/v2.0/galaxy/cities[/] |
| Method: | GET |
| Description: | Gets a list of all known cities |
| Pattern Description: | N/A |
| Rate Limited: | No |
| Query String: |
start_index (number): The first item to retrieve from the list, from 1 onwards (default 1). An invalid value is replaced by the default item_count (number): The number of items to retrieve (1 to 50, default 50). An invalid value is replaced by the default |
| Parameters: | N/A |
| Requires Authentication: | No |
| Permissions: | N/A |
| Returns: |
200 OK: Returns a collection of all known cities |
| Examples: |
GET /ws/v2.0/galaxy/cities/
JSON{
"version": "2.0",
"timestamp": 1767225600,
"resource": "galaxy_cities",
"request": "/ws/v2.0/galaxy/cities/",
"swcapi": {
"cities": {
"attributes": {
"start": 1,
"total": 1,
"count": 1
},
"city": [
{
"attributes": {
"uid": "7:1001",
"name": "Coronet City",
"href": "https://www.swcombine.com/ws/v2.0/galaxy/cities/7%3A1001/"
}
}
]
}
}
}
XML<?xml version="1.0" encoding="UTF-8"?>
<swcapi xmlns="https://www.swcombine.com/ws/swcapi-ns/" version="2.0" timestamp="1767225600" resource="galaxy_cities" request="/ws/v2.0/galaxy/cities/">
<cities count="1" start="1" total="1">
<city uid="7:1001" name="Coronet City" href="https://www.swcombine.com/ws/v2.0/galaxy/cities/7%3A1001/"/>
</cities>
</swcapi>
|