Learn R Programming

gitear (version 1.0.0)

get_pull_requests: Returns pull requests of a repository

Description

Returns open and closed pull requests in a specific repository

Usage

get_pull_requests(base_url, api_key, owner, repo)

Arguments

base_url

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

api_key

The user's API token key for the gitea service

owner

The owner of the repository

repo

The name of the repository

Examples

Run this code
# NOT RUN {
get_pull_requests(base_url = "https://example.gitea.service.com",
                  api_key = "ccaf5c9a22e854856d0c5b1b96c81e851bafb288",
                  owner = "company",
                  repo = "test_repo")
# }

Run the code above in your browser using DataLab