mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-01 11:55:51 -05:00
27 lines
795 B
JSON
27 lines
795 B
JSON
[
|
|
{
|
|
"request": "POST /api/admin/database-hosts",
|
|
"status": 201,
|
|
"body": {
|
|
"object": "database_host",
|
|
"attributes": {
|
|
"id": 1001,
|
|
"name": "Created Host",
|
|
"host": "127.0.0.1",
|
|
"port": 3306,
|
|
"username": "someuser",
|
|
"max_databases": null,
|
|
"databases_count": 0,
|
|
"node_id": 1,
|
|
"relationships": [],
|
|
"created_at": "2026-03-04T05:06:07+00:00",
|
|
"updated_at": "2026-03-04T05:06:07+00:00",
|
|
"extensions": {}
|
|
},
|
|
"meta": {
|
|
"resource": "https://panel.example.test/api/admin/database-hosts/1001"
|
|
}
|
|
}
|
|
}
|
|
]
|