test: console sdk preview

This commit is contained in:
Torsten Dittmann committed 2024-11-15 11:26:52 +01:00
1 parent d8e6d79abc
commit d9aa8e86bf
7 files changed
+171 -171

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ App::post('/v1/projects')
->label('sdk.response.model', Response::MODEL_PROJECT)
->param('projectId', '', new ProjectId(), 'Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, and hyphen. Can\'t start with a special char. Max length is 36 chars.')
->param('name', null, new Text(128), 'Project name. Max length: 128 chars.')
->param('teamId', '', new UID(), 'Team unique ID.')
->param('teamId', '', new UID(), 'I am a change.')
->param('region', System::getEnv('_APP_REGION', 'default'), new Whitelist(array_keys(array_filter(Config::getParam('regions'), fn ($config) => !$config['disabled']))), 'Project Region.', true)
->param('description', '', new Text(256), 'Project description. Max length: 256 chars.', true)
->param('logo', '', new Text(1024), 'Project logo.', true)