API deprecation for spaces

Hi,

we want to move from API v1 to v2 in confluence cloud.

/wiki/rest/api/space?expand=icon

/wiki/api/v2/spaces

On the new v2 API the icon property comes by default but for me is always null is this intended?

Thanks in advance.

Hi,

Can you try fetching it using:
?include-icon=true

Seems this accidentally missed being in the docs. We will get it added ASAP!

3 Likes

Hi @TylerBrown,

thank you very much for you for your quick response.
Yeah, would be cool to be added to the official documentation of the rest endpoint :slight_smile:

best regards,

Martin

1 Like

:wave: Apologize for the confusion here - glad you are unblocked. The ability to fetch the space icon is going to be officially “supported” in an upcoming release for which we are targeting early July. We will make sure it is in the documentation at that time as well. Thanks all!

1 Like