Service Application Management API #7337
kmoll
started this conversation in
Feature Requests
Replies: 1 comment
-
|
I opened a pull request #9249 for that plus some useful end points to stop/start/restart/deploy/logs for a Service Application |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Current Limitation
Service applications can currently only be managed through the UI. There's no API endpoint to programmatically update application settings like FQDN, Docker image, or proxy configuration.
Impact:
Proposed Solution
Add two API endpoints to enable programmatic service application management:
Updatable Fields
fqdn- Domain(s) with validation and conflict detectionhuman_name- Display namedescription- Description textimage- Docker imageexclude_from_status- Monitoring exclusionis_log_drain_enabled- Log drain (validates server support)is_gzip_enabled- Gzip compressionis_stripprefix_enabled- Path prefix strippingKey Features
Use Cases
Implementation
See PR: #[NUMBER]
API Examples
List applications:
GET /api/v1/services/{service-uuid}/applications Authorization: Bearer {token}Update FQDN:
PATCH /api/v1/services/{service-uuid}/applications/{app-uuid} Authorization: Bearer {token} Content-Type: application/json { "fqdn": "app.example.com:8080" }Update multiple fields:
PATCH /api/v1/services/{service-uuid}/applications/{app-uuid} { "human_name": "Production API", "fqdn": "api.example.com:8080", "is_gzip_enabled": true }Questions for Feedback
Beta Was this translation helpful? Give feedback.
All reactions