coolify icon indicating copy to clipboard operation
coolify copied to clipboard

Feature/service application api endpoints

Open kmoll opened this issue 3 months ago โ€ข 3 comments

Docs PR: https://github.com/coollabsio/coolify-docs/pull/450

Changes

Adds API endpoints to manage service applications programmatically.

  • GET /api/v1/services/{uuid}/applications - List applications
  • PATCH /api/v1/services/{uuid}/applications/{app_uuid} - Update application

Updatable Fields

fqdn, human_name, description, image, exclude_from_status, is_log_drain_enabled, is_gzip_enabled, is_stripprefix_enabled

Features

  • FQDN validation and conflict detection
  • Auto-regenerates docker-compose when needed
  • Server validation for log drain
  • Field whitelisting for security
  • 11 passing tests

Issues

kmoll avatar Nov 25 '25 23:11 kmoll

@coderabbit review

ShadowArcanist avatar Nov 26 '25 02:11 ShadowArcanist

โœ… Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

coderabbitai[bot] avatar Nov 26 '25 02:11 coderabbitai[bot]

Walkthrough

This pull request adds two new API endpoints to the ServicesController for managing service applications. The GET endpoint retrieves all applications for a given service with their configuration details. The PATCH endpoint updates a specific application within a service, including domain validation, conflict checking, and conditional regeneration of configurations. The changes include corresponding route definitions, OpenAPI documentation for both JSON and YAML formats, and comprehensive feature tests covering authentication, validation, and error handling scenarios.

โœจ Finishing touches
  • [ ] ๐Ÿ“ Generate docstrings
๐Ÿงช Generate unit tests (beta)
  • [ ] Create PR with unit tests
  • [ ] Post copyable unit tests in a comment

[!TIP]

๐Ÿ“ Customizable high-level summaries are now available in beta!

You can now customize how CodeRabbit generates the high-level summary in your pull requests โ€” including its content, structure, tone, and formatting.

  • Provide your own instructions using the high_level_summary_instructions setting.
  • Format the summary however you like (bullet lists, tables, multi-section layouts, contributor stats, etc.).
  • Use high_level_summary_in_walkthrough to move the summary from the description to the walkthrough section.

Example instruction:

"Divide the high-level summary into five sections:

  1. ๐Ÿ“ Description โ€” Summarize the main change in 50โ€“60 words, explaining what was done.
  2. ๐Ÿ““ References โ€” List relevant issues, discussions, documentation, or related PRs.
  3. ๐Ÿ“ฆ Dependencies & Requirements โ€” Mention any new/updated dependencies, environment variable changes, or configuration updates.
  4. ๐Ÿ“Š Contributor Summary โ€” Include a Markdown table showing contributions: | Contributor | Lines Added | Lines Removed | Files Changed |
  5. โœ”๏ธ Additional Notes โ€” Add any extra reviewer context. Keep each section concise (under 200 words) and use bullet or numbered lists for clarity."

Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

โค๏ธ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

coderabbitai[bot] avatar Nov 26 '25 02:11 coderabbitai[bot]