From c0732adcf7c5efb66b5fea87543f9d558f8905fb Mon Sep 17 00:00:00 2001 From: Paddy Byers Date: Wed, 18 Nov 2026 20:00:10 +0000 Subject: [PATCH] Specify that time() is sent without authentication (RSC16a) RSC16 defines RestClient#time but does not say whether the request is authenticated. The server time is needed to create a TokenRequest (RSA9d, RSA10k), so the request has to be possible before the client holds a token. The UTS already asserts this (rest/unit/RSC16/no-auth-required-2), but no spec point required it. Co-Authored-By: Claude Fable 5.2 --- specifications/features.md | 1 + 1 file changed, 1 insertion(+) diff --git a/specifications/features.md b/specifications/features.md index f842f9959..b73d3a628 100644 --- a/specifications/features.md +++ b/specifications/features.md @@ -89,6 +89,7 @@ Support for the deprecated client options `environment`, `restHost`, `realtimeHo - `(RSC6b3)` `limit` supports up to 1,000 items; if omitted the limit defaults to the REST API default (100) - `(RSC6b4)` `unit` is the period for which the stats will be aggregated by, values supported are `minute`, `hour`, `day` or `month`; if omitted the unit defaults to the REST API default (`minute`) - `(RSC16)` `RestClient#time` function sends a get request to the `/time` path of the REST endpoint as specified in [`RSC25`](#RSC25) and returns the server time in milliseconds since epoch or as a Date/Time object where suitable + - `(RSC16a)` The request to `/time` must be sent without authentication. - `(RSC21)` `RestClient#push` attribute provides access to the `Push` object that was instantiated with the `ClientOptions` provided in the `RestClient` constructor - `(RSC7)` Sends REST requests over HTTP and HTTPS to the REST endpoint as specified in [`RSC25`](#RSC25). - `(RSC7a)` This clause has been replaced by [`RSC7e`](#RSC7e). It was valid up to and including specification version `2.1`.