edit_comment: Edit a comment

Description Usage Arguments Examples

View source: R/edit-comment.R

Description

Edit a comment in a specific issue

Usage

1
edit_comment(base_url, api_key, owner, repo, id_comment, body)

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

id_comment

Id of the comment to edit

body

The text to replace the old comment

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
edit_comment(base_url = "https://example.gitea.service.com",
             api_key = "ccaf5c9a22e854856d0c5b1b96c81e851bafb288",
             owner = "company",
             repo = "test_repo",
             id_comment = 612,
             body = "This is the correction of my comment")

## End(Not run)

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