Learn R Programming

gitear (version 1.0.0)

get_version: Returns gitea service version

Description

Returns the version of the Gitea application

Usage

get_version(base_url, api_key)

Arguments

base_url

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

api_key

The user's API token key for the gitea service

Examples

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

Run the code above in your browser using DataLab