Forum Discussion

lorseau's avatar
3 years ago

Find the Avatar of a Category with the API

Hello,

I read the documentation of the API V1 and V2 and I can't find a way to get the avatar URL of a category.

Is it possible?

Thanks,

Laurent

  • Not sure if it's possible with API V1, but with v2 is simple as selecting the avatar object:

     

    SELECT avatar FROM nodes/categories/boards...

     

    OR

     

    SELECT avatar.tiny_href/small_href/medium_href/large_href FROM...

     

2 Replies

  • Not sure if it's possible with API V1, but with v2 is simple as selecting the avatar object:

     

    SELECT avatar FROM nodes/categories/boards...

     

    OR

     

    SELECT avatar.tiny_href/small_href/medium_href/large_href FROM...