Get Root Resources
Accessible by
- Anyone
Request
GET {uri:version} HTTP/1.1
Accept: "application/vnd.gg.soulbound.version+json"
| Name | Type | Description |
|---|---|---|
| uri:version | string | The URL of the version |
On success
HTTP/1.1 200 OK
Last-Modified: Thu, 01 Nov 2001 20:51:45 GMT
ETag: {etag}
Content-Type: "application/vnd.gg.soulbound.version+json"
{
"version": {version},
"organizations": https://api.soulbound.gg/organizations/
"users": https://api.soulbound.gg/users/
}
| Name | Type | Description |
|---|---|---|
| version | number | This version's number |
| etag | string | An opaque value that changes only when the resource state has changed |
If the version does not exist
HTTP/1.1 404 Not Found
Permission denied
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Bearer realm="https://api.soulbound.gg/"