We have some confluence macros which we are currently updating and rewriting. Most of the use the now deprecated properties API (https://developer.atlassian.com/platform/forge/runtime-reference/properties-api/) which we are now changing to use the new API calls instead (https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-content-properties/#api-pages-page-id-properties-get).
The calls to get the properties work just fine, also the POST request to create a single property with a string value is working. However, we also have requests that set multiple properties for a page at once, and those property values are objects, not just strings, and I cannot get this to work with the new API calls..
The old request looks something like this:
The Confluence REST API V2 now uses property-id
for page property keys. You can retrieve a page's property-id
using Get content properties for page with the key=${propertyKey}
query parameter.
To update, "version: must not be null"
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.