From 6f7eaa4068d4fbcbfedf5e60750e5eb3768d1c50 Mon Sep 17 00:00:00 2001 From: zkldi Date: Mon, 28 Jun 2021 16:51:45 +0100 Subject: [PATCH] add whoami to status --- docs/docs/api/routes/status.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/docs/api/routes/status.md b/docs/docs/api/routes/status.md index 29306a122..fe951e049 100644 --- a/docs/docs/api/routes/status.md +++ b/docs/docs/api/routes/status.md @@ -24,6 +24,7 @@ It's a good way of sanity checking whether your code works. | Property | Type | Description | | :: | :: | :: | | `serverTime` | integer | The current time of the server in Unix Milliseconds. | +| `whoami` | integer \| null | The userID you are authenticated as. If you are not authenticated, this is null. | | `version` | string | The current version of Tachi-Server running. | | `permissions` | Array<string> | The permissions this request had. | | `echo` (Conditional) | string | If an `echo` parameter was provided, this is that exact parameter. |