3
0
2018-11-05 13:37:49 +01:00
..
2018-11-05 13:37:49 +01:00
2018-11-05 13:37:49 +01:00

Authentication

Check JWT token

Method

URI Protocol Method Authentication
/auth/check HTTP/S GET

Request parameters

Parameter Type Method Description Default Required?

Delete JWT token (Sign Out)

Method

URI Protocol Method Authentication
/auth/check HTTP/S DELETE

Request parameters

Parameter Type Method Description Default Required?

Organisations

Organisations represent a top-level grouping entity. There may be many organisations defined in a single deployment.

List organisations

Method

URI Protocol Method Authentication
/organisations/ HTTP/S GET Client ID, Session ID

Request parameters

Parameter Type Method Description Default Required?
query string GET Search query N/A NO

Create organisation

Method

URI Protocol Method Authentication
/organisations/ HTTP/S POST Client ID, Session ID

Request parameters

Parameter Type Method Description Default Required?
name string POST Organisation Name N/A YES

Update organisation details

Method

URI Protocol Method Authentication
/organisations/{id} HTTP/S PUT Client ID, Session ID

Request parameters

Parameter Type Method Description Default Required?
id uint64 PATH Organisation ID N/A NO
name string POST Organisation Name N/A YES

Remove organisation

Method

URI Protocol Method Authentication
/organisations/{id} HTTP/S DELETE Client ID, Session ID

Request parameters

Parameter Type Method Description Default Required?
id uint64 PATH Organisation ID N/A YES

Read organisation details

Method

URI Protocol Method Authentication
/organisations/{id} HTTP/S GET Client ID, Session ID

Request parameters

Parameter Type Method Description Default Required?
id uint64 GET Organisation ID N/A YES

Archive organisation

Method

URI Protocol Method Authentication
/organisations/{id}/archive HTTP/S POST Client ID, Session ID

Request parameters

Parameter Type Method Description Default Required?
id uint64 PATH Organisation ID N/A YES

Teams

An organisation may have many teams. Teams may have many channels available. Access to channels may be shared between teams.

List teams

Method

URI Protocol Method Authentication
/teams/ HTTP/S GET Client ID, Session ID

Request parameters

Parameter Type Method Description Default Required?
query string GET Search query N/A NO

Update team details

Method

URI Protocol Method Authentication
/teams/ HTTP/S POST Client ID, Session ID

Request parameters

Parameter Type Method Description Default Required?
name string POST Name of Team N/A YES
members []uint64 POST Team member IDs N/A NO

Update team details

Method

URI Protocol Method Authentication
/teams/{teamID} HTTP/S PUT Client ID, Session ID

Request parameters

Parameter Type Method Description Default Required?
teamID uint64 PATH Team ID N/A YES
name string POST Name of Team N/A NO
members []uint64 POST Team member IDs N/A NO

Read team details and memberships

Method

URI Protocol Method Authentication
/teams/{teamID} HTTP/S GET Client ID, Session ID

Request parameters

Parameter Type Method Description Default Required?
teamID uint64 PATH Team ID N/A YES

Remove team

Method

URI Protocol Method Authentication
/teams/{teamID} HTTP/S DELETE Client ID, Session ID

Request parameters

Parameter Type Method Description Default Required?
teamID uint64 PATH Team ID N/A YES

Archive team

Method

URI Protocol Method Authentication
/teams/{teamID}/archive HTTP/S POST Client ID, Session ID

Request parameters

Parameter Type Method Description Default Required?
teamID uint64 PATH Team ID N/A YES

Move team to different organisation

Method

URI Protocol Method Authentication
/teams/{teamID}/move HTTP/S POST Client ID, Session ID

Request parameters

Parameter Type Method Description Default Required?
teamID uint64 PATH Team ID N/A YES
organisationID uint64 POST Team ID N/A YES

Merge one team into another

Method

URI Protocol Method Authentication
/teams/{teamID}/merge HTTP/S POST Client ID, Session ID

Request parameters

Parameter Type Method Description Default Required?
teamID uint64 PATH Source Team ID N/A YES
destination uint64 POST Destination Team ID N/A YES

Users

Search users (Directory)

Method

URI Protocol Method Authentication
/users/search HTTP/S GET Client ID, Session ID

Request parameters

Parameter Type Method Description Default Required?
query string GET Search query to match against users N/A NO