feat(api): support comments in bulk environment variable endpoints

Add support for optional comment field on environment variables created or
updated through the bulk API endpoints. Comments are validated to a maximum
of 256 characters and are nullable. Updates preserve existing comments when
not provided in the request.
This commit is contained in:
Andras Bacsai
2026-03-19 22:17:55 +01:00
parent 8a164735cb
commit fb76b68c08
3 changed files with 255 additions and 1 deletions
@@ -1362,6 +1362,7 @@ class ServicesController extends Controller
'is_literal' => 'boolean',
'is_multiline' => 'boolean',
'is_shown_once' => 'boolean',
'comment' => 'string|nullable|max:256',
]);
if ($validator->fails()) {