Forum Discussion

Inactive User's avatar
Inactive User
12 years ago

Getting an Avatar collection via REST

Is there a way to return a list of URLs for the avatar images in an avatar collection in the asset library?

 

Thanks.

  • Inactive User's avatar
    Inactive User
    via REST. We'd like to not have to hard code URLs since they may change or new images may be added.
    • jordanepotter's avatar
      jordanepotter
      Mentor

      We got around this issue by using an endpoint. We could put our collection of avatars in an endpoint and make a rest call to that to retrieve them.  Hope this helps.

      • JakeS's avatar
        JakeS
        Lithium Alumni (Retired)
        would you mind posting how your endpoint works for the benefit of others trying to do this customization? I'm assuming that it just involves hard coding in the values in the endpoint; any advice to others trying this?