mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
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>
|
||
|---|---|---|
| .. | ||
| Proxy | ||
| Service | ||
| ApplicationBuildpackCleanupTest.php | ||
| BuildpackSwitchCleanupTest.php | ||
| CheckTraefikVersionJobTest.php | ||
| CleanupRedisTest.php | ||
| CloudInitScriptTest.php | ||
| CloudProviderTokenApiTest.php | ||
| ConvertArraysTest.php | ||
| ConvertContainerEnvsToArray.php | ||
| ConvertingGitUrlsTest.php | ||
| CoolifyTaskRetryTest.php | ||
| DatabaseBackupCreationApiTest.php | ||
| DatabaseBackupJobTest.php | ||
| DeletesUserSessionsTest.php | ||
| DeploymentCancellationApiTest.php | ||
| DockerCustomCommandsTest.php | ||
| EnvironmentVariableSharedSpacingTest.php | ||
| ExecuteContainerCommandTest.php | ||
| GithubAppsListApiTest.php | ||
| GithubSourceChangeTest.php | ||
| GithubSourceCreateTest.php | ||
| HetznerApiTest.php | ||
| HetznerServerCreationTest.php | ||
| IpAllowlistTest.php | ||
| LoginRateLimitIPTest.php | ||
| MultilineEnvironmentVariableTest.php | ||
| SentinelUpdateCheckIndependenceTest.php | ||
| ServerPatchCheckNotificationTest.php | ||
| ServerSettingSentinelRestartTest.php | ||
| ServerSettingWasChangedTest.php | ||
| ServerStorageCheckIndependenceTest.php | ||
| ServiceFqdnUpdatePathTest.php | ||
| StartupExecutionCleanupTest.php | ||
| TeamInvitationEmailNormalizationTest.php | ||
| TeamInvitationPrivilegeEscalationTest.php | ||
| TeamPolicyTest.php | ||
| TrustHostsMiddlewareTest.php | ||
| Utf8HandlingTest.php | ||