mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Add server details modification endpoint to API.
This commit is contained in:
@@ -80,7 +80,7 @@ class Server extends Model implements CleansAttributes, ValidableContract
|
||||
*/
|
||||
protected static $dataIntegrityRules = [
|
||||
'owner_id' => 'exists:users,id',
|
||||
'name' => 'regex:/^([\w .-]{1,200})$/',
|
||||
'name' => 'string|min:1|max:255',
|
||||
'node_id' => 'exists:nodes,id',
|
||||
'description' => 'string',
|
||||
'memory' => 'numeric|min:0',
|
||||
|
||||
Reference in New Issue
Block a user