Function: getMemberBoards()
ts
function getMemberBoards(client, parameters): Promise<object[]>;Defined in: api/members.ts:301
Lists the boards that the user is a member of.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { fields?: | string | string[] | ( | "name" | "id" | "url" | "closed" | "desc" | "limits" | "prefs" | "idMemberCreator" | "memberships" | "descData" | "idOrganization" | "pinned" | "shortUrl" | "labelNames" | "starred" | "enterpriseOwned")[]; filter?: | "all" | "closed" | "open" | "public" | "organization" | "starred" | "members"; id: string; lists?: "all" | "none" | "closed" | "open"; organization?: boolean; organizationFields?: | string | string[] | ( | "name" | "id" | "url" | "desc" | "products" | "idBoards" | "prefs" | "premiumFeatures" | "invitations" | "displayName" | "memberships" | "descData" | "logoHash" | "powerUps" | "website" | "billableMemberCount" | "invited")[]; } | - |
parameters.fields? | | string | string[] | ( | "name" | "id" | "url" | "closed" | "desc" | "limits" | "prefs" | "idMemberCreator" | "memberships" | "descData" | "idOrganization" | "pinned" | "shortUrl" | "labelNames" | "starred" | "enterpriseOwned")[] | all or a comma-separated list of board fields |
parameters.filter? | | "all" | "closed" | "open" | "public" | "organization" | "starred" | "members" | all or a comma-separated list of: closed, members, open, organization, public, starred |
parameters.id | string | The ID or username of the member |
parameters.lists? | "all" | "none" | "closed" | "open" | Which lists to include with the boards. One of: all, closed, none, open |
parameters.organization? | boolean | Whether to include the Organization object with the Boards |
parameters.organizationFields? | | string | string[] | ( | "name" | "id" | "url" | "desc" | "products" | "idBoards" | "prefs" | "premiumFeatures" | "invitations" | "displayName" | "memberships" | "descData" | "logoHash" | "powerUps" | "website" | "billableMemberCount" | "invited")[] | all or a comma-separated list of organization fields |
Returns
Promise<object[]>