Communities
View endpoints for communities.
Authentication roles requirements are written in endpoints descriptions.
export interface CommunityInfo
{
id: number;
uuid: string;
name: string;
addressOwner: string;
imagePath: string;
membersCount: number;
lastMemberJoin: number;
}
export interface CommunityMembersParticipations
{
id: number,
uuid: string,
addressOwner: string,
sumInterest: number;
sumPurchases: number;
countInterest: number;
countPurchases: number;
deals: {
id: number;
uuid: string;
sumInterest: number;
sumPurchases: number;
countInterest: number;
countPurchases: number;
}[];
}
Get overview of all communities
GET
https://launchpad.angelssquad.com/api/communities/info/all
Allowance: [Admin]
Get community stats by ID
GET
https://launchpad.angelssquad.com/api/communities/info/single/:id
Allowance: [Community,Admin]
Path Parameters
Name
Type
Description
id
number
community id
Get overview of all communities participations in deals (interest/purchases)
GET
https://launchpad.angelssquad.com/api/communities/participations/all
Allowance: [Admin]
Get community participations by ID (interest/purchases)
GET
https://launchpad.angelssquad.com/api/communities/participations/single/:id
Allowance: [Community,Admin]
Path Parameters
Name
Type
Description
id
number
community id
Last updated