| Property | Details |
|---|---|
| URL: | https://www2.swcombine.com/ws/v2.0/event/{uid:39\:\d+}[/] |
| Method: | GET |
| Description: | Gets a specific event based on the event uid |
| Pattern Description: |
uid (Mandatory): UID of the event |
| Rate Limited: | Yes |
| Query String: | N/A |
| Parameters: | N/A |
| Requires Authentication: | Yes |
| Permissions: |
character_events: Read the characters' events |
| Returns: |
200 OK: Returns the event 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 entity does not exist or you do not have authorisation to access event information |
| Examples: |
GET /ws/v2.0/event/39:1001/
JSON{
"version": "2.0",
"timestamp": 1767225600,
"resource": "events_id",
"request": "/ws/v2.0/event/39:1001/",
"swcapi": {
"event": {
"uid": "39:1001",
"receiver": {
"value": "Kira Vane",
"attributes": {
"uid": "1:1001",
"type": "character",
"href": "https://www.swcombine.com/ws/v2.0/character/kira%20vane/"
}
},
"time": {
"years": 27,
"days": 298,
"hours": 10,
"mins": 35,
"secs": 17,
"timestamp": "1789839317"
},
"text": "You gained 100 XP with the following message: You became faction leader for the first time."
}
}
}
XML<?xml version="1.0" encoding="UTF-8"?>
<swcapi xmlns="https://www.swcombine.com/ws/swcapi-ns/" version="2.0" timestamp="1767225600" resource="events_id" request="/ws/v2.0/event/39:1001/">
<event>
<uid>39:1001</uid>
<receiver uid="1:1001" type="character" href="https://www.swcombine.com/ws/v2.0/character/kira%20vane/">Kira Vane</receiver>
<time>
<years>27</years>
<days>298</days>
<hours>10</hours>
<mins>35</mins>
<secs>17</secs>
<timestamp>1789839317</timestamp>
</time>
<text>You gained 100 XP with the following message: You became faction leader for the first time.</text>
</event>
</swcapi>
|