Call each function by its full path. A question mark marks an optional field.
mobile/v1/community:activityFeed
{
expectedTenantId?: string
paginationOpts: {
numItems: number
cursor: string | null
endCursor?: string | null
id?: number
maximumRowsRead?: number
maximumBytesRead?: number
}
}Response type
{
page: Array<{
postId: string
groupId: string
groupName: string
authorId: string
authorName: string
isMine: boolean
body: string
createdAt: string
editedAt: string | null
reactionCount: number
reacted: boolean
commentCount: number
}>
isDone: boolean
continueCursor: string
}mobile/v1/community:comments
{
expectedTenantId?: string
postId: string
paginationOpts: {
numItems: number
cursor: string | null
endCursor?: string | null
id?: number
maximumRowsRead?: number
maximumBytesRead?: number
}
}Response type
{
page: Array<{
commentId: string
authorName: string
isMine: boolean
body: string
removed: boolean
createdAt: string
}>
isDone: boolean
continueCursor: string
}mobile/v1/community:createComment
{
expectedTenantId?: string
clientOpId: string
postId: string
body: string
}Response type
{
clientOpId: string
replayed: boolean
postId: string
}mobile/v1/community:createPost
{
expectedTenantId?: string
clientOpId: string
groupId: string
body: string
}Response type
{
clientOpId: string
replayed: boolean
postId: string
groupId: string
body: string
createdAt: string
}mobile/v1/community:deletePost
{
expectedTenantId?: string
clientOpId: string
postId: string
}Response type
{
clientOpId: string
replayed: boolean
postId: string
}mobile/v1/community:editPost
{
expectedTenantId?: string
clientOpId: string
postId: string
body: string
}Response type
{
clientOpId: string
replayed: boolean
postId: string
body: string
editedAt: string
}mobile/v1/community:group
{
expectedTenantId?: string
groupId: string
}Response type
{
groupId: string
name: string
description: string
memberCount: number
postCount: number
visibility: "organization" | "members"
kind: "group" | "forum"
isMember: boolean
role: "owner" | "member" | null
canJoin: boolean
canLeave: boolean
updatedAt: string
}mobile/v1/community:groupFeed
{
expectedTenantId?: string
groupId: string
paginationOpts: {
numItems: number
cursor: string | null
endCursor?: string | null
id?: number
maximumRowsRead?: number
maximumBytesRead?: number
}
}Response type
{
page: Array<{
postId: string
groupId: string
authorName: string
isMine: boolean
body: string
createdAt: string
reactionCount: number
reacted: boolean
}>
isDone: boolean
continueCursor: string
}mobile/v1/community:groups
{
expectedTenantId?: string
paginationOpts: {
numItems: number
cursor: string | null
endCursor?: string | null
id?: number
maximumRowsRead?: number
maximumBytesRead?: number
}
}Response type
{
page: Array<{
groupId: string
name: string
description: string
memberCount: number
postCount: number
visibility: "organization" | "members"
kind: "group" | "forum"
isMember: boolean
role: "owner" | "member" | null
canJoin: boolean
canLeave: boolean
updatedAt: string
}>
isDone: boolean
continueCursor: string
}mobile/v1/community:joinGroup
{
expectedTenantId?: string
clientOpId: string
groupId: string
}Response type
{
clientOpId: string
replayed: boolean
groupId: string
}mobile/v1/community:leaveGroup
{
expectedTenantId?: string
clientOpId: string
groupId: string
}Response type
{
clientOpId: string
replayed: boolean
groupId: string
}mobile/v1/community:react
{
expectedTenantId?: string
postId: string
active: boolean
}Response type
{
postId: string
reacted: boolean
}mobile/v1/community:reportContent
{
expectedTenantId?: string
clientOpId: string
targetType: "post" | "comment"
targetId: string
reason: string
}Response type
{
clientOpId: string
replayed: boolean
}