-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Component/s: FC - Ecosystem - API Framework
roberto@comalatech.com notice a change to confluence-ui-rest in OnDemand. He is working around this, so it is not an urgent issue.
It appears the REST API to support 'expanded' responses. Before
/rest/ui/1.0/content/3702785
Used to respond something like:
{"id":"63735303","space":[{"id":62652417,"key":"COD","name":"Canvas OnDemand"...
Now it responds something like:
{"id":"3702785","space":{"defined":true,"empty":false},"type":{"type":"page"}
In theory ?expand=space should work, but it does not.
It may also behave differently in dev vs production modes of the server (to be confirmed).
While this is a non-published REST resource, the change was unintentional. If is it possible to support the original behaviour, we should try and restore the original behaviour.
Note that this non-published REST resource will eventually be removed, as it is being superseded by the new REST API.