Prefixes the request location with "project/:id" and automatically translates project names into ids

gl_proj_req(project, req, ...)

Arguments

project

id (preferred way) or name of the project. Not repository name.

req

character vector of request location

...

passed on to gl_get_project_id()

Value

A vector of character to be used as request for functions involving projects

Examples

if (FALSE) {
gl_proj_req("test_project" = "<<your-project-id>>", req = "merge_requests")
}