Armed Forces of Alissma
  5219 active members
  5164 are Online

Year

27

Day

362

Time

06:29:19

Guest
Login
Fully Implemented

Fully Implemented

Property Details
URL: https://dev.swcombine.com/ws/v2.0/galaxy/stations[/]
Method: GET
Description: Gets a list of all stations in named systems with no ECM
Pattern Description: N/A
Rate Limited: No
Query String: start_index (number): Not supported on this list; providing it returns a 400 error. Use start_id to page instead
item_count (number): The number of items to retrieve (1 to 50, default 50). An invalid value is replaced by the default
start_id (number): The lowest station id to include (default 0, meaning no minimum). Stations are always listed in id order. When there may be more stations, the response's next_page attribute is the URL of the next page. 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 stations with no ECM
400 Bad Request: start_index was provided; this list is paged with start_id instead
Examples:
GET /ws/v2.0/galaxy/stations/
JSON
{
    "version": "2.0",
    "timestamp": 1767225600,
    "resource": "galaxy_stations",
    "request": "/ws/v2.0/galaxy/stations/",
    "swcapi": {
        "stations": {
            "attributes": {
                "start_id": 0,
                "total": 1,
                "count": 1
            },
            "station": [
                {
                    "attributes": {
                        "uid": "5:71",
                        "name": "Luxury Space Colony",
                        "href": "https://www.swcombine.com/ws/v2.0/galaxy/stations/5%3A71/"
                    }
                }
            ]
        }
    }
}
XML
<?xml version="1.0" encoding="UTF-8"?>
<swcapi xmlns="https://www.swcombine.com/ws/swcapi-ns/" version="2.0" timestamp="1767225600" resource="galaxy_stations" request="/ws/v2.0/galaxy/stations/">
  <stations count="1" start_id="0" total="1">
    <station uid="5:71" name="Luxury Space Colony" href="https://www.swcombine.com/ws/v2.0/galaxy/stations/5%3A71/"/>
  </stations>
</swcapi>
paged GET /ws/v2.0/galaxy/stations/?item_count=1
JSON
{
    "version": "2.0",
    "timestamp": 1767225600,
    "resource": "galaxy_stations",
    "request": "/ws/v2.0/galaxy/stations/?item_count=1",
    "swcapi": {
        "stations": {
            "attributes": {
                "start_id": 0,
                "total": 2,
                "next_page": "https://www.swcombine.com/ws/v2.0/galaxy/stations/?start_id=72&item_count=1",
                "count": 1
            },
            "station": [
                {
                    "attributes": {
                        "uid": "5:71",
                        "name": "Luxury Space Colony",
                        "href": "https://www.swcombine.com/ws/v2.0/galaxy/stations/5%3A71/"
                    }
                }
            ]
        }
    }
}
XML
<?xml version="1.0" encoding="UTF-8"?>
<swcapi xmlns="https://www.swcombine.com/ws/swcapi-ns/" version="2.0" timestamp="1767225600" resource="galaxy_stations" request="/ws/v2.0/galaxy/stations/?item_count=1">
  <stations count="1" start_id="0" total="2" next_page="https://www.swcombine.com/ws/v2.0/galaxy/stations/?start_id=72&amp;item_count=1">
    <station uid="5:71" name="Luxury Space Colony" href="https://www.swcombine.com/ws/v2.0/galaxy/stations/5%3A71/"/>
  </stations>
</swcapi>