Get Groups
Gets all family library groups for a family
-
If there are no groups it will return an empty array (
[]) -
Groups within the array response follow the same rules as "get a group" (
GET /card/family/library/groups/{id})
Required Scope
family:library:view
Responses
[items]object
cardsarray
[items]
createdAtstring
familyIdstring
idstring
imageIdstring
imageUrlstring
itemsarray
[items]object
addedAtstring
contentIdstring
lastModifiedAtstring
namestring
[
{
"cards": [],
"createdAt": "2024-09-27T15:30:05.433Z",
"familyId": "65b120377258d846de4595d8",
"id": "xHE4ZtAHbQ2f0EXlmCUxi",
"imageId": "fp-cards",
"imageUrl": "https://cdn.yoto.io/library/groups/fp-cards.png",
"items": [
{
"addedAt": "2024-09-27T15:30:05.447Z",
"contentId": "37KwQ"
},
{
"addedAt": "2024-09-27T15:30:05.447Z",
"contentId": "feNkK"
}
],
"lastModifiedAt": "2024-09-27T15:30:05.433Z",
"name": "My Favourites"
}
]GET
/card/family/library/groupsServer URL: https://api.yotoplay.com
curl "https://api.yotoplay.com/card/family/library/groups"