tanuki v0.1.0 Tanuki.Projects.Branches

Summary

Functions

GET /projects/:id/repository/branches/:branch

GET /projects/:id/repository/branches

PUT /projects/:id/repository/branches/:branch/protect

PUT /projects/:id/repository/branches/:branch/unprotect

Functions

find(id, branch_name, client)

GET /projects/:id/repository/branches/:branch

Lists a specific branch of a project.

list(id, client)

GET /projects/:id/repository/branches

Lists all branches of a project.

protect(id, branch_name, client)

PUT /projects/:id/repository/branches/:branch/protect

Protects a single branch of a project.

unprotect(id, branch_name, client)

PUT /projects/:id/repository/branches/:branch/unprotect

Unprotects a single branch of a project.