get_org_hook: Returns a hook

Description Usage Arguments Examples

View source: R/get-org-hook.R

Description

Get a hook information of a organizations

Usage

1
get_org_hook(base_url, api_key, org, id_hook)

Arguments

base_url

The base URL for your gitea server (no trailing '/')

api_key

The user's API token key for the gitea service

org

Name of the organization

id_hook

Id of the hook to get information

Examples

1
2
3
4
5
6
7
## Not run: 
get_org_hook(base_url = "https://example.gitea.service.com",
             api_key = "ccaf5c9a22e854856d0c5b1b96c81e851bafb288",
             org = "company",
             id_hook = 2)

## End(Not run)

gitear documentation built on Jan. 13, 2021, 9:44 p.m.