Groups / Clubs
What are Groups / Clubs?
Groups / Clubs are organisations that have teams. Teams who participate in broadcasts have a group / club associated to them. Information is stored on the Group / Club level, for example the home venue and team colors. Teams are not saved entities in the system, and are only specified per broadcast.
Site Structure
Groups / Clubs are part of the site structure, and will appear on the site under the “region” (siteItem
) they have as a parent. See the example structure below, where Site
is the top “region”.
Site / East / Stockholm / MyClub
In this example, MyClub
would appear under Stockholm
on the site, as well as any other clubs that have Stockholm
as a parent.
How do I create them?
A simple POST or PATCH with only external ids using the /ext
endpoints will create a group. Here is a CURL example:
curl --location --request POST 'https://api.livearenasports.com/group/ext' \
--header 'site-id: BACKOFFICE' \
--header 'Authorization: Bearer <YOUR-TOKEN-HERE>' \
--header 'Content-Type: application/json' \
--data-raw '{
"siteId": "SIF",
"externalId": "56195",
"name": "My Club",
"shortName": "MCLB",
"type": "CLUB",
"logo": {
"url": "https://example.com/logo.png"
},
"secondaryLogo": {
"url": "https://example.com/logo2.png"
}
}'
You can also optionally POST to our API using internal ids.