get public icons
This endpoint retrieves the list of public icons that are available to every user.
Response
The response is a JSON object with the following schema:
{
"displayIcons": [
{
"mediaId": "mlWc6s-JGfZc"
"userId": "yoto",
"createdAt": "2024-11-18T17:21:28.761Z",
"new": true,
"publicTags": [
"handbag"
],
"title": "Handbag",
"url": "https://media-secure.aws.com/icons/mlWc6s-JG"
"public": true,
"displayIconId": "673b779814f1f54038881d6f"
}
]
}
The displayIcons
array contains objects with the following properties:
-
mediaId
(string): A unique identifier for the underlying icon file -
userId
(string): The ID of the user who uploaded this icon. The value will always beyoto
-
createdAt
(string, ISO 8601) - UTC timestamp when this icon record was created -
new
(boolean): always true for public icons -
publicTags
(array of strings): Public tags associated with the display icon -
title
(string): The title of the display icon -
url
(string): The URL of the display icon -
public
(boolean): Indicates if the display icon is public. Always true for yoto icons -
displayIconId
(string): Unique identifier for the icon