| Property | Details |
|---|---|
| URL: | https://www2.swcombine.com/ws/v2.0/character/{uid}/permissions[/] |
| Method: | GET |
| Description: | Gets the list of permissions granted a particular API client |
| Pattern Description: |
uid (Mandatory): name or UID of character |
| Rate Limited: | Yes |
| Query String: | N/A |
| Parameters: | N/A |
| Requires Authentication: | Yes |
| Permissions: | N/A |
| Returns: |
200 OK: Returns the list of permissions granted a particular API client 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 character information |
| Examples: |
GET /ws/v2.0/character/kira%20vane/permissions/
JSON{
"version": "2.0",
"timestamp": 1767225600,
"resource": "character_permissions",
"request": "/ws/v2.0/character/kira%20vane/permissions/",
"swcapi": {
"permissions": {
"permission": [
{
"scopes": {
"scope": [
"character_credits",
"character_force",
"character_read"
]
},
"attributes": {
"expires": 1767312000
}
}
]
}
}
}
XML<?xml version="1.0" encoding="UTF-8"?>
<swcapi xmlns="https://www.swcombine.com/ws/swcapi-ns/" version="2.0" timestamp="1767225600" resource="character_permissions" request="/ws/v2.0/character/kira%20vane/permissions/">
<permissions count="1">
<permission expires="1767312000">
<scopes count="3">
<scope>character_credits</scope>
<scope>character_force</scope>
<scope>character_read</scope>
</scopes>
</permission>
</permissions>
</swcapi>
|