Start a conversation

Fetching a Guide Avatar Properties

Use the fetch KB guides information to fetch the guide IDs and identify the guide ID for which you want the avatar information.

To fetch information about a guide avatar properties of a guide (ID:604), use the guideAvatarEditProps query.

GraphQL Query

query {
 guideAvatarEditProps( id: "guide:604") {
     url
     cropProps {
        positionX
        positionY
        scale
     }
 }
}

GraphQL Query Response

{
  "data": {
    "guideAvatarEditProps": {
      "url": "https://[COMMUNITY-DOMAIN]/lia/images/Zy02MDQtZXl0WHp2",
      "cropProps": {
        "positionX": 0.5,
        "positionY": 0.5,
        "scale": 1
      }
    }
  }
}
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. ATLAS

  2. Posted
  3. Updated

Comments