Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-71683

Confluence REST API not returning web resources

    XMLWordPrintable

Details

    • Bug
    • Status: Gathering Impact (View Workflow)
    • Low
    • Resolution: Unresolved
    • Ecosystem
    • None

    Description

      Issue Summary

      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.

      Steps to Reproduce

      1. 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.
      2. Observe the content of the field `webresource.tags.all` returned in the response.

      Expected Results

      The content of the field `webresource.tags.all` includes all CSS and JS resources necessary to render content providing experiences identical to Confluence.

      Actual Results

      The content of the field `webresource.tags.all` only includes a colors.css resource.

      Workaround

      None

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dmorrow@atlassian.com Dugald Morrow
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: