Editing pages created via /rest/api/content

This seems to work when hitting the wiki/rest/api/content/ endpoint

{
  "title": "Test Page from API editor v2",
  "type": "page",
  "space": {
    "key": "TS1"
  },
  "status": "current",
  "ancestors": [
    {
      "id": "1239286918"
    }
  ],
  "body": {
    "storage": {
      "value": "Test content",
      "representation": "storage"
    }
  },
  "metadata": {
  	"properties":{
	  	"editor": {
	  		"value": "v2"
	  	}
  	}
  }
}
4 Likes