...
Responses:
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
Path
Request
|
...
Responses:
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Path params
Name | Type | Description |
---|---|---|
teamId | int | Team ID |
Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Path
Response
|
...
Responses:
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Path params
Name | Type | Description |
---|---|---|
teamId | int | Team ID |
Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Path
Response
|
...
Responses:
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
JSON body fields
Name | Type | Description |
---|---|---|
name | String | Team name, must be unique for each team |
description | String (Optional) | Team description |
Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
Path
Body
Response
|
...
Responses:
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Path params
Name | Type | Description |
---|---|---|
teamId | int | Team id |
JSON body fields
Name | Type | Description |
---|---|---|
type | MemberType | Type of member |
name | String | Name of the member you want to add to the team |
role | MemberRole | Role for member |
MemberType
Name | Type | Description |
---|---|---|
USER | Enum | User type |
GROUP | Enum | Group type |
MemberRole
Name | Type | Description |
---|---|---|
USER | Enum | User role for member |
SUPERVISOR | Enum | Supervisor role for member |
Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
Path
Add user to teamBody
Response
Add group to teamBody
Response
|
...
Responses:
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Path params
Name | Type | Description |
---|---|---|
teamId | int | Team ID |
JSON body fields
Name | Type | Description |
---|---|---|
name | String | Team name, must be unique |
description | String (Optional) | Team description |
...
allowUsersViewStatistics |
...
bool |
...
Path
(Optional) | as name says, it’s boolean value that can be either true or false, | |
defaultSupervisorId | int (Optional) | ID (number value - not user name!) of a user that will be set as default supervisor, -1 means that this value will be cleared and default supervisor will be removed from team. |
Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
Path
Body
Request
|
...
DELETE
Delete team
Delete existing team.
...
Responses:
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Path params
Name | Type | Description |
---|---|---|
teamId | int | Team ID |
Expand | ||
---|---|---|
| ||
Request
|
...
Responses:
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Path params
Name | Type | Description |
---|---|---|
teamId | int | Team ID |
JSON body fields
Name | Type | Description |
---|---|---|
type | String | Type of member to remove
|
name | String | Name of the member you want to remove from the team |
role | String | Role for member to remove
|
Expand | ||||
---|---|---|---|---|
| ||||
Path
Body
|