| Property | Details |
|---|---|
| URL: | https://www2.swcombine.com/ws/v2.0/faction/{uid}/budgets[/] |
| Method: | GET |
| Description: | Gets a list of the budgets for a faction |
| Pattern Description: |
uid (Mandatory): name or UID of faction |
| Rate Limited: | Yes |
| 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: | Yes |
| Permissions: |
faction_budgets_read: See your faction's budgets |
| Returns: |
200 OK: Returns a collection of all budgets |
| Examples: |
GET /ws/v2.0/faction/corellian%20engineering/budgets/
JSON{
"version": "2.0",
"timestamp": 1767225600,
"resource": "faction_budgets",
"request": "/ws/v2.0/faction/corellian%20engineering/budgets/",
"swcapi": {
"budgets": {
"attributes": {
"start": 1,
"total": 1,
"count": 1
},
"budget": [
{
"attributes": {
"uid": "23:6",
"href": "https://www.swcombine.com/ws/v2.0/faction/corellian%20engineering/budget/23%3A6/"
},
"value": "Fleet Budget"
}
]
}
}
}
XML<?xml version="1.0" encoding="UTF-8"?>
<swcapi xmlns="https://www.swcombine.com/ws/swcapi-ns/" version="2.0" timestamp="1767225600" resource="faction_budgets" request="/ws/v2.0/faction/corellian%20engineering/budgets/">
<budgets count="1" start="1" total="1">
<budget uid="23:6" href="https://www.swcombine.com/ws/v2.0/faction/corellian%20engineering/budget/23%3A6/">Fleet Budget</budget>
</budgets>
</swcapi>
|