Some Confluence REST APIs allow web resources to be returned to help with the rendering of content. This is done by specify an expand parameter when making the API call. Example APIs allowing this include:
Note that the underlying issue could be identical to that of CONFCLOUD-71603.
Also see https://community.developer.atlassian.com/t/show-macros-within-dynamic-macros/45476 for further context.
- Call a REST API that supports the returning of web resources by adding an expand query parameter as follows: [api-path]?expand=webresource.superbatch.metatags,webresource.tags.all. This call may be from the app server using JWT authentication or from an app iframe via AP.request.
- Observe the content of the field `webresource.tags.all` returned in the response.
The content of the field `webresource.tags.all` includes all CSS and JS resources necessary to render content providing experiences identical to Confluence.
The content of the field `webresource.tags.all` only includes a colors.css resource.