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

Retrieve the page owner email and display name with Get Content V2 API

    XMLWordPrintable

Details

    • 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.

    Description

      Issue Summary

      The deprecated Get content API and some other page APIs return the page owner in the ownedBy and lastOwnedBy fields with additional information such as their email and display name. In the REST v2 APIs, there is no additional information but the owner id.

      Steps to Reproduce

      1. Call the mentioned endpoint and check the response

      Expected Results

      It should be possible to get a page owner's information such as email and display name.

      "history": {
          "lastUpdated": {
              "by": {
                  "email": "email1@sth.com",
                  "displayName": "displayname1",
                  ...
              },
              ... 
          },
          "createdBy": {
              "email": "email2@sth.com",
              "displayName": "displayname2",
              ...
          },
          "ownedBy": {
              "email": "email3@sth.com",
              "displayName": "displayname3",
              ...
          },
          ...
      } 

      Actual Results

      No information about the page owner's additional details except the id.

      Workaround

      Continue to use V1, which is not a long term solution as these endpoints are marked for deprecation, and the recommended replacement is V2.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              b365a93d7dac Pamara Lim
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: