diff --git a/Admin/Routes/Web/Api.php b/Admin/Routes/Web/Api.php index 06c3fd6..e42e0c7 100644 --- a/Admin/Routes/Web/Api.php +++ b/Admin/Routes/Web/Api.php @@ -15,6 +15,11 @@ return [ 'type' => PermissionType::CREATE, 'state' => PermissionState::MEDIA, ], + 'data' => [ + 'field_name' => [ + 'type' => 'string', 'default' => 'Hello', 'validation' => '[\\w]*', 'required' => false,'annotation' => [], + ] + ], ], ], '^.*/api/media/create.*$' => [