From 21308fb3c966a876384d8222a13cb25d53f73e53 Mon Sep 17 00:00:00 2001 From: CodeMash Date: Mon, 5 Oct 2026 19:07:17 +0300 Subject: [PATCH] docs(hooks): files module enable / disable are PUT, not GET The route list in the files hooks header still showed GET for /{version}/files/enable and /disable. The gateway serves them as PUT only (the GET aliases are removed), and the hooks call the TS SDK, which sends PUT. Co-Authored-By: Claude Opus 5.5 --- src/hooks/hub/files.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hooks/hub/files.ts b/src/hooks/hub/files.ts index bf18c47..79af685 100644 --- a/src/hooks/hub/files.ts +++ b/src/hooks/hub/files.ts @@ -5,8 +5,8 @@ // see them (it looks for the route string in the source). This file never // builds a URL itself — the core SDK does — so these are documentation: // -// GET /{version}/files/enable -// GET /{version}/files/disable +// PUT /{version}/files/enable +// PUT /{version}/files/disable // GET /{version}/files/folder // GET /{version}/files/item // POST /{version}/files/item/public