Skip to content
The Yoto Developer Challenge is on, with $10,000 to win!

get a group

Gets a group for a family.

  • The contextual family is the authorised user's family

  • If a family does not own the queried group or the group does not exist, a 404 Not Found is returned

  • The cards property represents each of the items in the group

    • Each items.contentId must be in the family's library (and not have been removed or expired)

    • Each items.contentId must be available on Yoto

    • if an items.contentId is not in a family's library or is not avaialbe it is excluded from the cards array

  • imageId can be a pre-made image ID (e.g. fp-cards), with the resulting imageUrl being set to a CDN URL for the image.

  • Alternatively, imageId can be set to an ID for an image uploaded to the Media API via the 'upload a family image' endpoint. The resulting imageUrl will be a URL pointing to the 'get a family image' endpoint for the imageId which redirects to a signed S3 URL.

Responses

200 OK (premade image) application/json
cardsarray
[items]object
availabilitystring
cardIdstring
contentobject
activitystring
chaptersarray
[items]object
ambient
defaultTrackAmbient
defaultTrackDisplay
displayobject
durationnumber
fileSizenumber
hasStreamsboolean
keystring
overlayLabelstring
overlayLabelOverride
tracksarray
[items]object
ambient
display
formatstring
keystring
overlayLabelstring
overlayLabelOverride
titlestring
trackUrlstring
transitionsobject
typestring
configobject
onlineOnlyboolean
editSettingsobject
autoOverlayLabelsstring
editKeysboolean
versionstring
createdAtstring
metadataobject
authorstring
categorystring
coverobject
imageLstring
descriptionstring
mediaobject
durationnumber
fileSizenumber
hasStreamsboolean
statusobject
namestring
updatedAtstring
slugstring
sortkeystring
titlestring
updatedAtstring
userIdstring
createdAtstring
familyIdstring
idstring
imageIdstring
imageUrlstring
itemsarray
[items]object
addedAtstring
contentIdstring
lastModifiedAtstring
namestring

Path Parameters

groupId string Required
GET
/card/family/library/groups/{groupId}
Server URL: https://api.yotoplay.com
Authorization (bearerAuth)
Terminal window
curl "https://api.yotoplay.com/card/family/library/groups/{groupId}"
--header "Authorization: Bearer [YOUR_TOKEN]"