1
0
Fork 0
mirror of synced 2024-05-29 17:09:48 +12:00

description

This commit is contained in:
Damodar Lohani 2022-09-08 06:25:54 +00:00
parent cf1c9452c1
commit f46327d206

View file

@ -58,7 +58,7 @@ App::post('/v1/projects')
->param('projectId', '', new CustomId(), 'Unique Id. Choose your own unique ID or pass the string "unique()" to auto generate it. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. 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('region', '', new Whitelist(explode(',', App::getEnv('_APP_REGIONS', ''))), 'Project URL.', true)
->param('region', '', new Whitelist(explode(',', App::getEnv('_APP_REGIONS', ''))), 'Project Region.', true)
->param('description', '', new Text(256), 'Project description. Max length: 256 chars.', true)
->param('logo', '', new Text(1024), 'Project logo.', true)
->param('url', '', new URL(), 'Project URL.', true)