mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Remove get version API from SDKs
This commit is contained in:
parent
8ae462c317
commit
1361dbdec5
1 changed files with 0 additions and 9 deletions
|
|
@ -54,15 +54,6 @@ App::get('/v1/health/version')
|
|||
->desc('Get version')
|
||||
->groups(['api', 'health'])
|
||||
->label('scope', 'public')
|
||||
->label('sdk', new Method(
|
||||
namespace: 'health',
|
||||
name: 'getVersion',
|
||||
description: '/docs/references/health/get-version.md',
|
||||
auth: [],
|
||||
responseCode: Response::STATUS_CODE_OK,
|
||||
responseModel: Response::MODEL_HEALTH_VERSION,
|
||||
responseType: ResponseType::JSON
|
||||
))
|
||||
->inject('response')
|
||||
->action(function (Response $response) {
|
||||
$response->dynamic(new Document([ 'version' => APP_VERSION_STABLE ]), Response::MODEL_HEALTH_VERSION);
|
||||
|
|
|
|||
Loading…
Reference in a new issue