Response returned by the API at GET /groups/${groupId}/posts

interface GroupResponse {
    chunkedPosts: Post[][];
    group: Group;
    hasNextPage: boolean;
    isFounder: boolean;
    isMember: boolean;
    member: Member;
    postsForModerator: Post[];
    userId: string;
    visibleNsfwTag: boolean;
}

Properties

chunkedPosts: Post[][]

A series of Posts in the Group

group: Group

The Group that the response is about

hasNextPage: boolean

Is there another page of Posts

isFounder: boolean

If the current User is the founder of the Group

isMember: boolean

If the current User is a member of the Group

member: Member

The current Users Member in the Group

postsForModerator: Post[]

A list of Posts that need moderation

TODO: Find an example of this used

userId: string

The current User#id

visibleNsfwTag: boolean

Generated using TypeDoc