Skip to content

[Bug]: docs - incorrect response type of List application deployments api #5874

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
BanovMiroslav opened this issue May 22, 2025 · 0 comments
Labels
🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization.

Comments

@BanovMiroslav
Copy link

BanovMiroslav commented May 22, 2025

Steps to Reproduce

The docs for List application deployments api are incorrect. The api returns deployments, but it's documented as if it returns applications.

https://coolify.io/docs/api-reference/api/operations/list-deployments-by-app-uuid

I believe in openapi.yml for the application deployoments, the ref should be changed to components/schemas/ApplicationDeploymentQueue

      responses:
        '200':
          description: 'List application deployments by using the app uuid.'
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Application'

This is what the response is documented to be. Notice that there is no "logs" field, so it's not a deployment.

[
  {
    "id": 0,
    "description": "string",
    "repository_project_id": 0,
    "uuid": "string",
    "name": "string",
    "fqdn": "string",
    "config_hash": "string",
    "git_repository": "string",
    "git_branch": "string",
    "git_commit_sha": "string",
    "git_full_url": "string",
    "docker_registry_image_name": "string",
    "docker_registry_image_tag": "string",
    "build_pack": "string",
    "static_image": "string",
    "install_command": "string",
    "build_command": "string",
    "start_command": "string",
    "ports_exposes": "string",
    "ports_mappings": "string",
    "base_directory": "string",
    "publish_directory": "string",
    "health_check_enabled": true,
    "health_check_path": "string",
    "health_check_port": "string",
    "health_check_host": "string",
    "health_check_method": "string",
    "health_check_return_code": 0,
    "health_check_scheme": "string",
    "health_check_response_text": "string",
    "health_check_interval": 0,
    "health_check_timeout": 0,
    "health_check_retries": 0,
    "health_check_start_period": 0,
    "limits_memory": "string",
    "limits_memory_swap": "string",
    "limits_memory_swappiness": 0,
    "limits_memory_reservation": "string",
    "limits_cpus": "string",
    "limits_cpuset": "string",
    "limits_cpu_shares": 0,
    "status": "string",
    "preview_url_template": "string",
    "destination_type": "string",
    "destination_id": 0,
    "source_id": 0,
    "private_key_id": 0,
    "environment_id": 0,
    "dockerfile": "string",
    "dockerfile_location": "string",
    "custom_labels": "string",
    "dockerfile_target_build": "string",
    "manual_webhook_secret_github": "string",
    "manual_webhook_secret_gitlab": "string",
    "manual_webhook_secret_bitbucket": "string",
    "manual_webhook_secret_gitea": "string",
    "docker_compose_location": "string",
    "docker_compose": "string",
    "docker_compose_raw": "string",
    "docker_compose_domains": "string",
    "docker_compose_custom_start_command": "string",
    "docker_compose_custom_build_command": "string",
    "swarm_replicas": 0,
    "swarm_placement_constraints": "string",
    "custom_docker_run_options": "string",
    "post_deployment_command": "string",
    "post_deployment_command_container": "string",
    "pre_deployment_command": "string",
    "pre_deployment_command_container": "string",
    "watch_paths": "string",
    "custom_healthcheck_found": true,
    "redirect": "string",
    "created_at": "string",
    "updated_at": "string",
    "deleted_at": "string",
    "compose_parsing_version": "string",
    "custom_nginx_configuration": "string"
  }
]

Example Repository URL

No response

Coolify Version

v4.0.0-beta.418

Are you using Coolify Cloud?

Yes (Coolify Cloud)

Operating System and Version (self-hosted)

No response

Additional Information

No response

@BanovMiroslav BanovMiroslav added 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization.
Projects
None yet
Development

No branches or pull requests

1 participant