tanuki v0.1.0 Tanuki.Groups

Summary

Functions

POST /groups

DELETE /groups/:id

GET /groups

GET /groups/:id/projects

POST /groups/:id/projects/:project_id

Functions

create(client, params)

POST /groups

Creates a new project group. Available only for users who can create groups.

Parameters:

  • name (required) - The name of the group
  • path (required) - The path of the group
  • description (optional) - The group’s description
delete(id, client)

DELETE /groups/:id

Removes group with all projects inside.

list(client)

GET /groups

Get a list of groups. (As user: my groups, as admin: all groups)

projects(id, client, params \\ [])

GET /groups/:id/projects

Get a list of projects in this group.

Parameters:

  • archived (optional) - if passed, limit by archived status
  • order_by (optional) - Return requests ordered by id, name, path, created_at, updated_at or last_activity_at fields. Default is created_at
  • sort (optional) - Return requests sorted in asc or desc order. Default is desc
  • search (optional) - Return list of authorized projects according to a search criteria
  • ci_enabled_first - Return projects ordered by ci_enabled flag. Projects with enabled GitLab CI go first
transfer(id, project_id, client)

POST /groups/:id/projects/:project_id

Transfer a project to the Group namespace. Available only for admin