Skip to main content

Get Avatar Profiles

The getAvatars query is used to retrieve all avatar profiles available in the system.

Query: getAvatars

Schema:

getAvatars: [AvatarProfile]

Parameters

  • None

Return

The query returns a list of all AvatarProfile objects.

Example Query

The following is an example of how to use the getAvatars query to retrieve all avatar profiles:

query {
getAvatars {
id,
name,
imageUrl,
description
}
}

In this example, the query retrieves all avatar profiles. Each AvatarProfile object in the returned list includes the id, name, imageUrl, and description of the avatar.