Retrieve a group
GET/clubs/{connection_id}/group/{id}
Parameters
fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection
idstring required
ID of the Group
Returns
SummaryClub / DetailedClub, but generic across providers (TeamSnap team, PlayHQ org, etc.).
idstring
Unique identifier for this group
created_atdate
The date that this group was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
The last date that this group was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
The group's name
descriptionstring
The group's description
sport_type enum
The primary sport of the group
group_type enum
Valid values:
"CASUAL_CLUB"
"RACING_TEAM"
"SHOP"
"COMPANY"
"OTHER"
The group type
member_countnumber
The number of members in the group
following_countnumber
The number of athletes the group follows
post_countnumber
The number of posts in the group
is_privateboolean
Whether the group is private
is_verifiedboolean
Whether the group is verified
is_featuredboolean
Whether the group is featured
is_adminboolean
Whether the authenticated user is an admin of the group
is_ownerboolean
Whether the authenticated user is the owner of the group
membership_status enum
Valid values:
"MEMBER"
"PENDING"
"NONE"
The authenticated user's membership status
urlstring
The group's vanity URL
profile_image_urlstring
URL to the group's profile picture
cover_image_urlstring
URL to the group's cover photo
activity_typesstring array
The activity types the group focuses on
const options = {
method: 'GET',
url: 'https://api.unified.to/clubs/5de520f96e439b002043d8dc/group/5de520f96e439b002043d8d8',
headers: {
authorization: 'bearer .....'
},
params: {
fields: '',
raw: '',
}
};
const results = await axios.request(options); Are we missing anything? Let us know