Group
Exposes FIO group data. All Group data requires a FIO API KEY
. You will need to have access to the data the user has in FIO in order to access it.
Groups can be created and modified in the FIO Settings.
Examples
All groups & their information
Members of a specific Group and Hub information
Members Burn information
Endpoints
Group
Bases: AbstractGroup
, AbstractEndpoint
all
Gets all groups from FIO
Note
FIO API Key Required
Parameters:
Name | Type | Description | Default |
---|---|---|---|
timeout |
float
|
Request timeout in seconds. Defaults to None. |
None
|
Raises:
Type | Description |
---|---|
UnknownFIOResponse
|
FIO returned an unknown response |
Returns:
Name | Type | Description |
---|---|---|
GroupList |
GroupList
|
List of Groups |
Source code in fio_wrapper/endpoints/endpoints_v1/group.py
get
Gets group information for specified GroupID from FIO
Note
FIO API Key Required
Parameters:
Name | Type | Description | Default |
---|---|---|---|
groupid |
int
|
GroupModelId |
required |
timeout |
float
|
Request timeout in seconds. Defaults to None. |
None
|
Raises:
Type | Description |
---|---|
UnknownFIOResponse
|
FIO returned an unknown response |
Returns:
Name | Type | Description |
---|---|---|
GroupModel |
Group
|
GroupModel |
Source code in fio_wrapper/endpoints/endpoints_v1/group.py
memberships
Gets all groups the FIO API Key is member of
Note
FIO API Key Required
Parameters:
Name | Type | Description | Default |
---|---|---|---|
timeout |
float
|
Request timeout in seconds. Defaults to None. |
None
|
Raises:
Type | Description |
---|---|
UnknownFIOResponse
|
FIO returned an unknown response |
Returns:
Name | Type | Description |
---|---|---|
GroupMembershipList |
GroupMembershipList
|
List of Group Memberships |
Source code in fio_wrapper/endpoints/endpoints_v1/group.py
hub
Gets the groups Hub information from FIO
Note
FIO API Key Required
Parameters:
Name | Type | Description | Default |
---|---|---|---|
members |
List[str]
|
List of members, e.g. ["NAME1", "NAME2"] |
required |
timeout |
float
|
Request timeout in seconds. Defaults to None. |
None
|
Raises:
Type | Description |
---|---|
UnknownFIOResponse
|
FIO returned an unknown response |
Returns:
Name | Type | Description |
---|---|---|
GroupHub |
GroupHub
|
GroupHub data from FIO |
Source code in fio_wrapper/endpoints/endpoints_v1/group.py
burn
Gets the groups Burn information from FIO
Note
FIO API Key Required
Parameters:
Name | Type | Description | Default |
---|---|---|---|
groupid |
int
|
GroupModelId |
required |
timeout |
float
|
Request timeout in seconds. Defaults to None. |
None
|
Raises:
Type | Description |
---|---|
UnknownFIOResponse
|
FIO returned an unknown response |
Returns:
Name | Type | Description |
---|---|---|
BurnList |
BurnList
|
List of Burn data |