Co-authored-by: techknowlogick <techknowlogick@noreply.gitea.com> Reviewed-on: https://gitea.com/gitea/terraform-provider-gitea/pulls/28 Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com> Co-authored-by: Petar Nikolovski <petar.nikolovski@protonmail.com> Co-committed-by: Petar Nikolovski <petar.nikolovski@protonmail.com>
36 lines
1.1 KiB
Markdown
36 lines
1.1 KiB
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "gitea_repository_webhook Resource - terraform-provider-gitea"
|
|
subcategory: ""
|
|
description: |-
|
|
This resource allows you to create and manage webhooks for repositories.
|
|
---
|
|
|
|
# gitea_repository_webhook (Resource)
|
|
|
|
This resource allows you to create and manage webhooks for repositories.
|
|
|
|
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Required
|
|
|
|
- `active` (Boolean) Set webhook to active, e.g. `true`
|
|
- `branch_filter` (String) Set branch filter on the webhook, e.g. `"*"`
|
|
- `content_type` (String) The content type of the payload. It can be `json`, or `form`
|
|
- `events` (List of String) A list of events that will trigger the webhool, e.g. `["push"]`
|
|
- `name` (String) Repository name
|
|
- `type` (String) Webhook type, e.g. `gitea`
|
|
- `url` (String) Target URL of the webhook
|
|
- `username` (String) User name or organization name
|
|
|
|
### Optional
|
|
|
|
- `secret` (String) Webhook secret
|
|
|
|
### Read-Only
|
|
|
|
- `created_at` (String) Webhook creation timestamp
|
|
- `id` (String) The ID of this resource.
|