| Property | Details |
|---|---|
| URL: | https://www2.swcombine.com/ws/v2.0/galaxy/sectors/ |
| Method: | GET |
| Description: | Gets a list of all sectors |
| 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 sectors |
| Examples: |
GET /ws/v2.0/galaxy/sectors/
JSON{
"version": "2.0",
"timestamp": 1767225600,
"resource": "galaxy_sectors",
"request": "/ws/v2.0/galaxy/sectors/",
"swcapi": {
"sectors": {
"attributes": {
"start": 1,
"total": 1,
"count": 1
},
"sector": [
{
"attributes": {
"uid": "25:484",
"name": "Corellian",
"href": "https://www.swcombine.com/ws/v2.0/galaxy/sectors/corellian/"
},
"controlledby": {},
"knownsystems": 1,
"population": 0
}
]
}
}
}
XML<?xml version="1.0" encoding="UTF-8"?>
<swcapi xmlns="https://www.swcombine.com/ws/swcapi-ns/" version="2.0" timestamp="1767225600" resource="galaxy_sectors" request="/ws/v2.0/galaxy/sectors/">
<sectors count="1" start="1" total="1">
<sector uid="25:484" name="Corellian" href="https://www.swcombine.com/ws/v2.0/galaxy/sectors/corellian/">
<controlledby/>
<knownsystems>1</knownsystems>
<population>0</population>
</sector>
</sectors>
</swcapi>
|