Skip to content

Latest commit

 

History

History
70 lines (38 loc) · 2.63 KB

File metadata and controls

70 lines (38 loc) · 2.63 KB

\ServiceMainCallsApi

All URIs are relative to https://api.qovery.com

Method HTTP request Description
get_service_git_webhook_status GET /service/{serviceId}/gitWebhookStatus Get git webhook status for a service
sync_service_git_webhook POST /service/{serviceId}/gitWebhook/sync Synchronize git webhook for a service

get_service_git_webhook_status

models::GitWebhookStatusResponse get_service_git_webhook_status(service_id) Get git webhook status for a service

Returns the webhook status for a git-based service. Checks if the Qovery webhook is correctly configured on the git provider (GitHub, GitLab, or Bitbucket).

Parameters

Name Type Description Required Notes
service_id uuid::Uuid Service ID of an application/job/container/database [required]

Return type

models::GitWebhookStatusResponse

Authorization

ApiKeyAuth, bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

sync_service_git_webhook

models::GitWebhookStatusResponse sync_service_git_webhook(service_id) Synchronize git webhook for a service

Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.

Parameters

Name Type Description Required Notes
service_id uuid::Uuid Service ID of an application/job/container/database [required]

Return type

models::GitWebhookStatusResponse

Authorization

ApiKeyAuth, bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]