πŸ—ƒοΈEndpoints - Channels

List channel members

get

List Channel members

Paramètres de chemin
channelIdstringRequis

The id of the channel

ParamΓ¨tres de requΓͺte
pageinteger | nullableOptionnel

The page number in a paginated set of results

limitinteger | nullableOptionnel

The limit of results to be returned per page

email[in]string[]Optionnel

The emails of spot member to include in the result

firstname[in]string[]Optionnel

The firstnames of spot member to include in the result

lastname[in]string[]Optionnel

The lastnames of spot member to include in the result

registrationDate[before]integerOptionnel

Spot members where registration date is before a specific date (Unix timestamp format)

registrationDate[after]integerOptionnel

Spot members where registration date is after a specific date (Unix timestamp format)

RΓ©ponses
200

Channel members returned successfully

application/json
get
/v1/channels/{channelId}/spotMembers

Add member to a channel

post

Add member to a channel

Paramètres de chemin
channelIdstringRequis

The id of the channel

Corps
spotMemberIdstringRequis

An uuid representing the unique identifier of the spot member to add to channel

RΓ©ponses
post
/v1/channels/{channelId}/spotMembers

Aucun contenu

Create a channel

post

Create a channel

Corps
namestringRequis

The name of the channel.

descriptionstringOptionnel

The description of the channel

emojistringOptionnel

The emoji of the channel

autoJoinbooleanRequis

Whether the channel should be auto-joined by new members.

showMembersbooleanRequis

Whether the channel should show its members.

privacystring Β· enumRequis

Privacy setting of the channel

Valeurs possibles:
RΓ©ponses
post
/v1/channels

List channels

get

List channels

ParamΓ¨tres de requΓͺte
pageinteger | nullableOptionnel

The page number in a paginated set of results

limitinteger | nullableOptionnel

The limit of results to be returned per page

RΓ©ponses
200

Channels returned successfully

application/json
get
/v1/channels

Delete a channel

delete

Delete a channel

Paramètres de chemin
channelIdstringRequis

The id of the channel

RΓ©ponses
delete
/v1/channels/{channelId}

Aucun contenu

Update a channel

put

Update a channel

Paramètres de chemin
channelIdstringRequis

The id of the channel

Corps
namestringOptionnel

The name of the channel.

descriptionstringOptionnel

The description of the channel

emojistringOptionnel

The emoji of the channel

autoJoinbooleanOptionnel

Whether the channel should be auto-joined by new members.

showMembersbooleanOptionnel

Whether the channel should show its members.

privacystring Β· enumOptionnel

Privacy setting of the channel

Valeurs possibles:
RΓ©ponses
200

Channel successfully updated

application/json
put
/v1/channels/{channelId}

Get a channel

get

Get a channel

Paramètres de chemin
channelIdstringRequis

The id of the channel

RΓ©ponses
200

Channel found and returned successfully

application/json
get
/v1/channels/{channelId}

Add multiple members to a channel

post

Add members to a channel

Paramètres de chemin
channelIdstringRequis

The id of the channel

Corps
spotMemberIdsstring[]Requis

An array of strings representing the unique identifiers of spot members to add to channel

RΓ©ponses
200

Members successfully added

application/json
post
/v1/channels/{channelId}/spotMembers~bulkAdd

Remove multiple members from a channel

post

Remove members from a channel

Paramètres de chemin
channelIdstringRequis

The id of the channel

Corps
spotMemberIdsstring[]Requis

An array of strings representing the unique identifiers of spot members to remove from channel

RΓ©ponses
200

Members successfully removed

application/json
post
/v1/channels/{channelId}/spotMembers~bulkRemove

Create multiple channels

post

Create multiple channels

Corpsobject[]
namestringRequis

The name of the channel.

descriptionstringOptionnel

The description of the channel

emojistringOptionnel

The emoji of the channel

autoJoinbooleanRequis

Whether the channel should be auto-joined by new members.

showMembersbooleanRequis

Whether the channel should show its members.

privacystring Β· enumRequis

Privacy setting of the channel

Valeurs possibles:
RΓ©ponses
post
/v1/channels~bulkCreate
post

Link a group

Paramètres de chemin
channelIdstringRequis

The id of the channel

Corps
groupIdstringRequis

The id of the group to link

RΓ©ponses
post
/v1/channels/{channelId}/groups

Aucun contenu

List groups linked to a channel

get

list a group

Paramètres de chemin
channelIdstringRequis

The id of the channel

ParamΓ¨tres de requΓͺte
pageinteger | nullableOptionnel

The page number in a paginated set of results

limitinteger | nullableOptionnel

The limit of results to be returned per page

RΓ©ponses
200

Group returned successfully

application/json
get
/v1/channels/{channelId}/groups
delete

Unlink a group from a channel

Paramètres de chemin
channelIdstringRequis

The id of the channel

groupIdstringRequis

The id of the group

RΓ©ponses
delete
/v1/channels/{channelId}/groups/{groupId}

Aucun contenu

post

Link groups

Paramètres de chemin
channelIdstringRequis

The id of the channel

Corps
groupIdsstring[]Requis

The ids of the groups to link

RΓ©ponses
post
/v1/channels/{channelId}/groups~bulkAdd

Aucun contenu

post

Unlink groups from a channel

Paramètres de chemin
channelIdstringRequis

The id of the channel

Corps
groupIdsstring[]Requis

The ids of the groups to link

RΓ©ponses
post
/v1/channels/{channelId}/groups~bulkRemove

Aucun contenu

Mis Γ  jour

Ce contenu vous a-t-il Γ©tΓ© utileβ€―?