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

Add ownerId property to the Confluence Connect Javascript API

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Connect Platform
    • None
    • 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.

      Using the Connect Javascript API in Confluence Cloud, the AP.context.getContext() function can be used to retrieve the following information on a page:

       

      {
        "confluence": {
          "content": {
            "type": "page",
            "version": "1",
            "id": "7363198983"
          },
          "space": {
            "key": "SP",
            "id": "7356710917"
          }
        }
      }
       

      It would be beneficial if the context object, or the AP._data.options object, also contained the ownerId of a page to avoid having to make a separate API call to fetch that information

       

              Unassigned Unassigned
              76ad18022ad3 Hugh Wu
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: