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

Please include Custom Emoji download url information in API response

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Right now it is not possible to fetch

      page via API and access custom emoji image.

       

      Lets say I want to render page and I call:

      GET https://{instance-name}.atlassian.net/wiki/rest/api/content/{content-id}?expand=body.view,body.storage,body.editor2,body.editor,body.atlas_doc_format,body.dynamic,body.export_view,body.styled_view

       

       

      Custom Emoji comes with such a data,
      example from some storage formats:

       

      <p><ac:emoticon ac:name="blue-star" ac:emoji-shortname=":Custom-Emoji:" ac:emoji-id="db293667-6684-4383-b378-7964a40f0429" ac:emoji-fallback=":Custom-Emoji:" /> </p><p />

       

      {
        "type": "emoji",
        "attrs": {
          "id": "db293667-6684-4383-b378-7964a40f0429",
          "text": ":Custom-Emoji:",
          "shortName": ":Custom-Emoji:"
        }
      },

       

       

      There is no way to download image behind this emoji id.

       

       

      Please consider to allow to fetch emoji, example:

      GET https://api.media.atlassian.com/file/{emoji-id}/image?width=32&height=32

      or include direct url to emoji in response.

       

              Unassigned Unassigned
              2d2350a7496c Krzysztof Bogdan
              Votes:
              13 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: