coolify/app/Http/Controllers/Api
Andras Bacsai 62c394d3a1 feat: add Hetzner server provisioning API endpoints
Add complete API support for Hetzner server provisioning, matching UI functionality:

Cloud Provider Token Management:
- POST /api/v1/cloud-tokens - Create and validate tokens
- GET /api/v1/cloud-tokens - List all tokens
- GET /api/v1/cloud-tokens/{uuid} - Get specific token
- PATCH /api/v1/cloud-tokens/{uuid} - Update token name
- DELETE /api/v1/cloud-tokens/{uuid} - Delete token
- POST /api/v1/cloud-tokens/{uuid}/validate - Validate token

Hetzner Resource Discovery:
- GET /api/v1/hetzner/locations - List datacenters
- GET /api/v1/hetzner/server-types - List server types
- GET /api/v1/hetzner/images - List OS images
- GET /api/v1/hetzner/ssh-keys - List SSH keys

Server Provisioning:
- POST /api/v1/servers/hetzner - Create server with full options

Features:
- Token validation against provider APIs before storage
- Smart SSH key management with MD5 fingerprint deduplication
- IPv4/IPv6 network configuration with preference logic
- Cloud-init script support with YAML validation
- Team-based isolation and security
- Comprehensive test coverage (40+ test cases)
- Complete documentation with curl examples and Yaak collection

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-10 08:38:09 +01:00
..
ApplicationsController.php Fix API response to return fqdn instead of non-existent domains attribute 2025-12-09 16:26:08 +01:00
CloudProviderTokensController.php feat: add Hetzner server provisioning API endpoints 2025-12-10 08:38:09 +01:00
DatabasesController.php Merge pull request #7002 from W8jonas/fix/api-destination-uuid-databases 2025-11-01 13:46:47 +01:00
DeployController.php Changes auto-committed by Conductor 2025-10-16 11:01:58 +02:00
GithubController.php Changes auto-committed by Conductor 2025-10-16 13:19:05 +02:00
HetznerController.php feat: add Hetzner server provisioning API endpoints 2025-12-10 08:38:09 +01:00
OpenApi.php fix: missing 422 error code in openapi spec 2025-10-12 14:20:45 +02:00
OtherController.php fix: missing 422 error code in openapi spec 2025-10-12 14:20:45 +02:00
ProjectController.php fix: missing 422 error code in openapi spec 2025-10-12 14:20:45 +02:00
ResourcesController.php feat(auth): implement comprehensive authorization checks across API controllers 2025-08-23 18:51:10 +02:00
SecurityController.php fix: missing 422 error code in openapi spec 2025-10-12 14:20:45 +02:00
ServersController.php Merge branch 'next' into fix/openapi 2025-10-13 10:42:05 +02:00
ServicesController.php Refactor: Centralize service application prerequisites 2025-11-28 16:47:09 +01:00
TeamController.php fix: hide sensitive email change fields in team member responses 2025-09-18 00:40:09 +08:00