From 524a6db72d0fc4178fe7f62585bbed701db8ee9d Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Wed, 21 Dec 2022 20:45:34 +1300 Subject: [PATCH] Hide get method from SDKs --- app/controllers/api/graphql.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/api/graphql.php b/app/controllers/api/graphql.php index f127562a9b..bbc382d976 100644 --- a/app/controllers/api/graphql.php +++ b/app/controllers/api/graphql.php @@ -23,6 +23,7 @@ App::get('/v1/graphql') ->label('scope', 'graphql') ->label('sdk.auth', [APP_AUTH_TYPE_KEY, APP_AUTH_TYPE_SESSION, APP_AUTH_TYPE_JWT]) ->label('sdk.namespace', 'graphql') + ->label('sdk.hide', true) ->label('sdk.description', '/docs/references/graphql/get.md') ->label('sdk.response.code', Response::STATUS_CODE_OK) ->label('sdk.response.type', Response::CONTENT_TYPE_JSON)