| Property | Details |
|---|---|
| URL: | https://www2.swcombine.com/ws/v2.0/inventory/{uid}[/] |
| Method: | GET |
| Description: | Gets the collection of inventories |
| Pattern Description: |
uid (Mandatory): name or UID of inventory user (Character or faction) |
| Rate Limited: | Yes |
| Query String: | N/A |
| Parameters: | N/A |
| Requires Authentication: | Yes |
| Permissions: |
personal_inv_overview: Read basic information about your inventories faction_inv_overview: Read basic information about your faction's inventories |
| Returns: |
200 OK: Returns the collection of inventories 400 Bad Request: One or more of the provided parameters was invalid 401 Unauthorized: The client does not have the required permission to access this resource 404 Not Found: The specified character does not exist or you do not have authorisation to access this inventory |
| Examples: |
GET /ws/v2.0/inventory/kira%20vane/
JSON{
"version": "2.0",
"timestamp": 1767225600,
"resource": "inventories",
"request": "/ws/v2.0/inventory/kira%20vane/",
"swcapi": {
"inventories": {
"inventory": [
{
"attributes": {
"type": "ship"
},
"owner": {
"attributes": {
"totalentities": null,
"uid": "1:1001",
"href": "https://www.swcombine.com/ws/v2.0/inventory/1%3A1001/ships/owner/"
}
},
"commander": {
"attributes": {
"totalentities": null,
"uid": "1:1001",
"href": "https://www.swcombine.com/ws/v2.0/inventory/1%3A1001/ships/commander/"
}
},
"pilot": {
"attributes": {
"totalentities": null,
"uid": "1:1001",
"href": "https://www.swcombine.com/ws/v2.0/inventory/1%3A1001/ships/pilot/"
}
}
},
{
"attributes": {
"type": "vehicle"
},
"owner": {
"attributes": {
"totalentities": null,
"uid": "1:1001",
"href": "https://www.swcombine.com/ws/v2.0/inventory/1%3A1001/vehicles/owner/"
}
},
"commander": {
"attributes": {
"totalentities": null,
"uid": "1:1001",
"href": "https://www.swcombine.com/ws/v2.0/inventory/1%3A1001/vehicles/commander/"
}
},
"pilot": {
"attributes": {
"totalentities": null,
"uid": "1:1001",
"href": "https://www.swcombine.com/ws/v2.0/inventory/1%3A1001/vehicles/pilot/"
}
}
},
{
"attributes": {
"type": "station"
},
"owner": {
"attributes": {
"totalentities": null,
"uid": "1:1001",
"href": "https://www.swcombine.com/ws/v2.0/inventory/1%3A1001/stations/owner/"
}
},
"commander": {
"attributes": {
"totalentities": null,
"uid": "1:1001",
"href": "https://www.swcombine.com/ws/v2.0/inventory/1%3A1001/stations/commander/"
}
},
"pilot": {
"attributes": {
"totalentities": null,
"uid": "1:1001",
"href": "https://www.swcombine.com/ws/v2.0/inventory/1%3A1001/stations/pilot/"
}
}
}
]
}
}
}
XML<?xml version="1.0" encoding="UTF-8"?>
<swcapi xmlns="https://www.swcombine.com/ws/swcapi-ns/" version="2.0" timestamp="1767225600" resource="inventories" request="/ws/v2.0/inventory/kira%20vane/">
<inventories count="3">
<inventory type="ship">
<owner totalentities="" uid="1:1001" href="https://www.swcombine.com/ws/v2.0/inventory/1%3A1001/ships/owner/"/>
<commander totalentities="" uid="1:1001" href="https://www.swcombine.com/ws/v2.0/inventory/1%3A1001/ships/commander/"/>
<pilot totalentities="" uid="1:1001" href="https://www.swcombine.com/ws/v2.0/inventory/1%3A1001/ships/pilot/"/>
</inventory>
<inventory type="vehicle">
<owner totalentities="" uid="1:1001" href="https://www.swcombine.com/ws/v2.0/inventory/1%3A1001/vehicles/owner/"/>
<commander totalentities="" uid="1:1001" href="https://www.swcombine.com/ws/v2.0/inventory/1%3A1001/vehicles/commander/"/>
<pilot totalentities="" uid="1:1001" href="https://www.swcombine.com/ws/v2.0/inventory/1%3A1001/vehicles/pilot/"/>
</inventory>
<inventory type="station">
<owner totalentities="" uid="1:1001" href="https://www.swcombine.com/ws/v2.0/inventory/1%3A1001/stations/owner/"/>
<commander totalentities="" uid="1:1001" href="https://www.swcombine.com/ws/v2.0/inventory/1%3A1001/stations/commander/"/>
<pilot totalentities="" uid="1:1001" href="https://www.swcombine.com/ws/v2.0/inventory/1%3A1001/stations/pilot/"/>
</inventory>
</inventories>
</swcapi>
|