Hello,
I see that I can get a page’s ownership by expanding “createdBy,ownedBy,lastOwnedBy,createdBy” on the endpoint [get] /wiki/rest/api/content//history?@expand=“”.
Does anyone know how I can update the “ownedBy” property to a new owner by owner ID?
Hi all, updating a page’s owner is not available with the REST APIs currently. We will not be addressing this feature in the near term, but are definitely considering it for future work. Please check this open ticket for future updates.
It’s great to see that this functionality is available to some extent, but I feel the current implementation adds unnecessary complexity. Using the ‘Update Page’ API introduces additional steps that aren’t really needed for something as simple as updating a page owner. Ideally, I’d like to be able to update the owner without needing to understand the page’s current body or version details.
It would be much simpler and more efficient if there were a dedicated “page properties” endpoint where we could send a POST/PUT request with just the page ID and the properties/values that need to be updated. Any versioning updates could be handled on the backend, specifically noting only the property changes.
As it stands, having to make a GET request to retrieve the page body and version information just to make an unrelated change to the ownerId adds unnecessary overhead. I believe streamlining this process would improve usability and reduce the complexity of the task.