{ "opencollection": "1.0.0", "info": { "name": "GitLab api/v4/ Admin Project Webhooks API", "version": "v4" }, "items": [ { "info": { "name": "Project Webhooks", "type": "folder" }, "items": [ { "info": { "name": "GitLab List Project Webhooks", "type": "http" }, "http": { "method": "GET", "url": "https://www.gitlab.com/api/projects/:id/hooks", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID or URL-encoded path of the project. For example, 42 or namespace%2Fproject-name." } ] }, "docs": "Returns a list of all webhooks configured for the specified project. Each webhook entry includes its URL, enabled event triggers, and SSL verification settings." }, { "info": { "name": "GitLab Add a Webhook to a Project", "type": "http" }, "http": { "method": "POST", "url": "https://www.gitlab.com/api/projects/:id/hooks", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID or URL-encoded path of the project. For example, 42 or namespace%2Fproject-name." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new webhook for the specified project. The webhook will receive HTTP POST requests for the configured event triggers. A secret token can be specified for payload verification." }, { "info": { "name": "GitLab Get a Project Webhook", "type": "http" }, "http": { "method": "GET", "url": "https://www.gitlab.com/api/projects/:id/hooks/:hook_id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID or URL-encoded path of the project. For example, 42 or namespace%2Fproject-name." }, { "name": "hook_id", "value": "", "type": "path", "description": "The ID of the webhook." } ] }, "docs": "Returns configuration details for a specific webhook in a project, including the URL, enabled triggers, and SSL verification setting." }, { "info": { "name": "GitLab Update a Project Webhook", "type": "http" }, "http": { "method": "PUT", "url": "https://www.gitlab.com/api/projects/:id/hooks/:hook_id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID or URL-encoded path of the project. For example, 42 or namespace%2Fproject-name." }, { "name": "hook_id", "value": "", "type": "path", "description": "The ID of the webhook." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Modifies the configuration of an existing project webhook. You can update the URL, secret token, SSL verification setting, and which events trigger the webhook." }, { "info": { "name": "GitLab Delete a Project Webhook", "type": "http" }, "http": { "method": "DELETE", "url": "https://www.gitlab.com/api/projects/:id/hooks/:hook_id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID or URL-encoded path of the project. For example, 42 or namespace%2Fproject-name." }, { "name": "hook_id", "value": "", "type": "path", "description": "The ID of the webhook." } ] }, "docs": "Removes a webhook from the specified project. Deleted webhooks will no longer receive event deliveries." } ] } ], "bundled": true }