Fossology Groups

Methods used to access “groups/” endpoints.

class fossology.groups.Groups

Class dedicated to all “groups” related endpoints

create_group(name)

Create a group

API Endpoint: POST /groups

Parameters

name (str) – the name of the group

Raises

FossologyApiError – if the REST call failed

list_groups() → List

Get the list of groups (accessible groups for user, all groups for admin)

API Endpoint: GET /groups

Returns

a list of groups

Return type

list()

Raises

FossologyApiError – if the REST call failed