diff --git a/app/controllers/api/avatars.php b/app/controllers/api/avatars.php index a3bd47595d..fcff3e4179 100644 --- a/app/controllers/api/avatars.php +++ b/app/controllers/api/avatars.php @@ -550,7 +550,7 @@ App::get('/v1/avatars/initials') }); App::get('/v1/cards/cloud') - ->desc('Get Front Of Cloud Card') + ->desc('Get front Of Cloud Card') ->groups(['api', 'avatars']) ->label('scope', 'avatars.read') ->label('cache', true) @@ -757,7 +757,7 @@ App::get('/v1/cards/cloud') }); App::get('/v1/cards/cloud-back') - ->desc('Get Back Of Cloud Card') + ->desc('Get back Of Cloud Card') ->groups(['api', 'avatars']) ->label('scope', 'avatars.read') ->label('cache', true) @@ -835,7 +835,7 @@ App::get('/v1/cards/cloud-back') }); App::get('/v1/cards/cloud-og') - ->desc('Get OG Image From Cloud Card') + ->desc('Get OG image From Cloud Card') ->groups(['api', 'avatars']) ->label('scope', 'avatars.read') ->label('cache', true) diff --git a/app/controllers/api/console.php b/app/controllers/api/console.php index 82d7c75592..eeb823a3d3 100644 --- a/app/controllers/api/console.php +++ b/app/controllers/api/console.php @@ -57,7 +57,7 @@ App::get('/v1/console/variables') }); App::post('/v1/console/assistant') - ->desc('Ask Query') + ->desc('Ask query') ->groups(['api', 'assistant']) ->label('scope', 'assistant.read') ->label('sdk.auth', [APP_AUTH_TYPE_ADMIN]) diff --git a/app/controllers/api/migrations.php b/app/controllers/api/migrations.php index 3899b26ad4..374a5575a7 100644 --- a/app/controllers/api/migrations.php +++ b/app/controllers/api/migrations.php @@ -33,7 +33,7 @@ include_once __DIR__ . '/../shared/api.php'; App::post('/v1/migrations/appwrite') ->groups(['api', 'migrations']) - ->desc('Migrate Appwrite Data') + ->desc('Migrate Appwrite data') ->label('scope', 'migrations.write') ->label('event', 'migrations.[migrationId].create') ->label('audits.event', 'migration.create') @@ -87,7 +87,7 @@ App::post('/v1/migrations/appwrite') App::post('/v1/migrations/firebase/oauth') ->groups(['api', 'migrations']) - ->desc('Migrate Firebase Data (OAuth)') + ->desc('Migrate Firebase data (OAuth)') ->label('scope', 'migrations.write') ->label('event', 'migrations.[migrationId].create') ->label('audits.event', 'migration.create') @@ -189,7 +189,7 @@ App::post('/v1/migrations/firebase/oauth') App::post('/v1/migrations/firebase') ->groups(['api', 'migrations']) - ->desc('Migrate Firebase Data (Service Account)') + ->desc('Migrate Firebase data (Service Account)') ->label('scope', 'migrations.write') ->label('event', 'migrations.[migrationId].create') ->label('audits.event', 'migration.create') @@ -249,7 +249,7 @@ App::post('/v1/migrations/firebase') App::post('/v1/migrations/supabase') ->groups(['api', 'migrations']) - ->desc('Migrate Supabase Data') + ->desc('Migrate Supabase data') ->label('scope', 'migrations.write') ->label('event', 'migrations.[migrationId].create') ->label('audits.event', 'migration.create') @@ -309,7 +309,7 @@ App::post('/v1/migrations/supabase') App::post('/v1/migrations/nhost') ->groups(['api', 'migrations']) - ->desc('Migrate NHost Data') + ->desc('Migrate NHost data') ->label('scope', 'migrations.write') ->label('event', 'migrations.[migrationId].create') ->label('audits.event', 'migration.create') @@ -371,7 +371,7 @@ App::post('/v1/migrations/nhost') App::get('/v1/migrations') ->groups(['api', 'migrations']) - ->desc('List Migrations') + ->desc('List migrations') ->label('scope', 'migrations.read') ->label('sdk.auth', [APP_AUTH_TYPE_ADMIN]) ->label('sdk.namespace', 'migrations') @@ -424,7 +424,7 @@ App::get('/v1/migrations') App::get('/v1/migrations/:migrationId') ->groups(['api', 'migrations']) - ->desc('Get Migration') + ->desc('Get migration') ->label('scope', 'migrations.read') ->label('sdk.auth', [APP_AUTH_TYPE_ADMIN]) ->label('sdk.namespace', 'migrations') @@ -448,7 +448,7 @@ App::get('/v1/migrations/:migrationId') App::get('/v1/migrations/appwrite/report') ->groups(['api', 'migrations']) - ->desc('Generate a report on Appwrite Data') + ->desc('Generate a report on Appwrite data') ->label('scope', 'migrations.write') ->label('sdk.auth', [APP_AUTH_TYPE_ADMIN]) ->label('sdk.namespace', 'migrations') @@ -490,7 +490,7 @@ App::get('/v1/migrations/appwrite/report') App::get('/v1/migrations/firebase/report') ->groups(['api', 'migrations']) - ->desc('Generate a report on Firebase Data') + ->desc('Generate a report on Firebase data') ->label('scope', 'migrations.write') ->label('sdk.auth', [APP_AUTH_TYPE_ADMIN]) ->label('sdk.namespace', 'migrations') @@ -537,7 +537,7 @@ App::get('/v1/migrations/firebase/report') App::get('/v1/migrations/firebase/report/oauth') ->groups(['api', 'migrations']) - ->desc('Generate a report on Firebase Data using OAuth') + ->desc('Generate a report on Firebase data using OAuth') ->label('scope', 'migrations.write') ->label('sdk.auth', [APP_AUTH_TYPE_ADMIN]) ->label('sdk.namespace', 'migrations') @@ -627,7 +627,7 @@ App::get('/v1/migrations/firebase/report/oauth') }); App::get('/v1/migrations/firebase/connect') - ->desc('Authorize with firebase') + ->desc('Authorize with Firebase') ->groups(['api', 'migrations']) ->label('scope', 'migrations.write') ->label('sdk.auth', [APP_AUTH_TYPE_ADMIN]) @@ -781,7 +781,7 @@ App::get('/v1/migrations/firebase/redirect') }); App::get('/v1/migrations/firebase/projects') - ->desc('List Firebase Projects') + ->desc('List Firebase projects') ->groups(['api', 'migrations']) ->label('scope', 'migrations.read') ->label('sdk.auth', [APP_AUTH_TYPE_ADMIN]) @@ -870,7 +870,7 @@ App::get('/v1/migrations/firebase/projects') }); App::get('/v1/migrations/firebase/deauthorize') - ->desc('Revoke Appwrite\'s authorization to access Firebase Projects') + ->desc('Revoke Appwrite\'s authorization to access Firebase projects') ->groups(['api', 'migrations']) ->label('scope', 'migrations.write') ->label('sdk.auth', [APP_AUTH_TYPE_ADMIN]) @@ -985,7 +985,7 @@ App::get('/v1/migrations/nhost/report') App::patch('/v1/migrations/:migrationId') ->groups(['api', 'migrations']) - ->desc('Retry Migration') + ->desc('Retry migration') ->label('scope', 'migrations.write') ->label('event', 'migrations.[migrationId].retry') ->label('audits.event', 'migration.retry') @@ -1030,7 +1030,7 @@ App::patch('/v1/migrations/:migrationId') App::delete('/v1/migrations/:migrationId') ->groups(['api', 'migrations']) - ->desc('Delete Migration') + ->desc('Delete migration') ->label('scope', 'migrations.write') ->label('event', 'migrations.[migrationId].delete') ->label('audits.event', 'migrationId.delete') diff --git a/app/controllers/api/vcs.php b/app/controllers/api/vcs.php index 2ffe8687ea..3c01112a5d 100644 --- a/app/controllers/api/vcs.php +++ b/app/controllers/api/vcs.php @@ -263,7 +263,7 @@ $createGitDeployments = function (GitHub $github, string $providerInstallationId }; App::get('/v1/vcs/github/authorize') - ->desc('Install GitHub App') + ->desc('Install GitHub app') ->groups(['api', 'vcs']) ->label('scope', 'vcs.read') ->label('sdk.namespace', 'vcs') @@ -305,7 +305,7 @@ App::get('/v1/vcs/github/authorize') }); App::get('/v1/vcs/github/callback') - ->desc('Capture installation and authorization from GitHub App') + ->desc('Capture installation and authorization from GitHub app') ->groups(['api', 'vcs']) ->label('scope', 'public') ->label('error', __DIR__ . '/../../views/general/error.phtml') @@ -536,7 +536,7 @@ App::post('/v1/vcs/github/installations/:installationId/providerRepositories/:pr }); App::get('/v1/vcs/github/installations/:installationId/providerRepositories') - ->desc('List Repositories') + ->desc('List repositories') ->groups(['api', 'vcs']) ->label('scope', 'vcs.read') ->label('sdk.namespace', 'vcs') @@ -780,7 +780,7 @@ App::get('/v1/vcs/github/installations/:installationId/providerRepositories/:pro }); App::get('/v1/vcs/github/installations/:installationId/providerRepositories/:providerRepositoryId/branches') - ->desc('List Repository Branches') + ->desc('List repository branches') ->groups(['api', 'vcs']) ->label('scope', 'vcs.read') ->label('sdk.namespace', 'vcs') @@ -829,7 +829,7 @@ App::get('/v1/vcs/github/installations/:installationId/providerRepositories/:pro }); App::post('/v1/vcs/github/events') - ->desc('Create Event') + ->desc('Create event') ->groups(['api', 'vcs']) ->label('scope', 'public') ->inject('gitHub') @@ -1057,7 +1057,7 @@ App::get('/v1/vcs/installations/:installationId') }); App::delete('/v1/vcs/installations/:installationId') - ->desc('Delete Installation') + ->desc('Delete installation') ->groups(['api', 'vcs']) ->label('scope', 'vcs.write') ->label('sdk.namespace', 'vcs')