Update content property
Updates a content property. The body contains the representation of the content property. Must include the property id, and the new version number. Attempts to create a new content property if the given version number is 1
/rest/api/content/{id}/property/{key}idstringrequiredthe id of the content
keystringrequiredthe key of the content property. Required.
expandstringa comma separated list of properties to expand on the content properties. Default value: <code>version</code>.
application/jsonthe content property being updated
keystringvalueJsonStringShow propertiesHide properties
valuestringversionVersionShow propertiesHide properties
byPersonShow propertiesHide properties
profilePictureIconShow propertiesHide properties
pathstringwidthinteger<int32>heightinteger<int32>isDefaultbooleandisplayNamestringtypestringwhenstring<date-time>messagestringnumberinteger<int32>minorEditbooleanhiddenbooleansyncRevstringcontentReferenceContentShow propertiesHide properties
expandedbooleanidPropertiesobjectcontentRefReferenceContentShow propertiesHide properties
expandedbooleanidPropertiesobjectidstringcontentContentShow propertiesHide properties
idstringtypestringstatusstringtitlestringlinksobjectspaceSpaceShow propertiesHide properties
idinteger<int64>keystringnamestringstatusstringiconReferenceIconShow propertiesHide properties
expandedbooleanidPropertiesobjectdescriptionobjecthomepageReferenceContentlinksobjecttypestringmetadataobjectretentionPolicyReferenceSpaceRetentionPolicyShow propertiesHide properties
expandedbooleanidPropertiesobjecthistoryHistoryShow propertiesHide properties
previousVersionReferenceVersionnextVersionReferenceVersionlastUpdatedReferenceVersionlatestbooleancreatedByPersoncreatedDatestring<date-time>contributorsReferenceContributorsShow propertiesHide properties
expandedbooleanidPropertiesobjectlastUpdatedRefReferenceVersionnextVersionRefReferenceVersionpreviousVersionRefReferenceVersioncontentParentRefReferenceContentversionVersionShow propertiesHide properties
byPersonwhenstring<date-time>messagestringnumberinteger<int32>minorEditbooleanhiddenbooleansyncRevstringcontentReferenceContentcontentRefReferenceContentancestorsContent[]Show propertiesHide properties
ContentContent.positioninteger<int32>operationsOperationCheckResult[]Show propertiesHide properties
OperationCheckResultoperationstringtargetTypestringchildrenobjectdescendantsobjectcontainerContainerbodyobjectmetadataobjectextensionsobjectrestrictionsobjecthistoryRefReferenceHistoryShow propertiesHide properties
expandedbooleanidPropertiesobjectspaceRefReferenceSpaceShow propertiesHide properties
expandedbooleanidPropertiesobjectcontainerRefReferenceContainerShow propertiesHide properties
expandedbooleanidPropertiesobjectversionRefReferenceVersionShow propertiesHide properties
expandedbooleanidPropertiesobjectcontentRefReferenceContentShow propertiesHide properties
expandedbooleanidPropertiesobjectreturns a JSON representation of the content property, or a 404 NOT FOUND if there is no content with the given id, or no property with the given key, or if the user is not permitted.
keystringvalueJsonStringShow propertiesHide properties
valuestringversionVersionShow propertiesHide properties
byPersonShow propertiesHide properties
profilePictureIconShow propertiesHide properties
pathstringwidthinteger<int32>heightinteger<int32>isDefaultbooleandisplayNamestringtypestringwhenstring<date-time>messagestringnumberinteger<int32>minorEditbooleanhiddenbooleansyncRevstringcontentReferenceContentShow propertiesHide properties
expandedbooleanidPropertiesobjectcontentRefReferenceContentShow propertiesHide properties
expandedbooleanidPropertiesobjectidstringcontentContentShow propertiesHide properties
idstringtypestringstatusstringtitlestringlinksobjectspaceSpaceShow propertiesHide properties
idinteger<int64>keystringnamestringstatusstringiconReferenceIconShow propertiesHide properties
expandedbooleanidPropertiesobjectdescriptionobjecthomepageReferenceContentlinksobjecttypestringmetadataobjectretentionPolicyReferenceSpaceRetentionPolicyShow propertiesHide properties
expandedbooleanidPropertiesobjecthistoryHistoryShow propertiesHide properties
previousVersionReferenceVersionnextVersionReferenceVersionlastUpdatedReferenceVersionlatestbooleancreatedByPersoncreatedDatestring<date-time>contributorsReferenceContributorsShow propertiesHide properties
expandedbooleanidPropertiesobjectlastUpdatedRefReferenceVersionnextVersionRefReferenceVersionpreviousVersionRefReferenceVersioncontentParentRefReferenceContentversionVersionShow propertiesHide properties
byPersonwhenstring<date-time>messagestringnumberinteger<int32>minorEditbooleanhiddenbooleansyncRevstringcontentReferenceContentcontentRefReferenceContentancestorsContent[]Show propertiesHide properties
ContentContent.positioninteger<int32>operationsOperationCheckResult[]Show propertiesHide properties
OperationCheckResultoperationstringtargetTypestringchildrenobjectdescendantsobjectcontainerContainerbodyobjectmetadataobjectextensionsobjectrestrictionsobjecthistoryRefReferenceHistoryShow propertiesHide properties
expandedbooleanidPropertiesobjectspaceRefReferenceSpaceShow propertiesHide properties
expandedbooleanidPropertiesobjectcontainerRefReferenceContainerShow propertiesHide properties
expandedbooleanidPropertiesobjectversionRefReferenceVersionShow propertiesHide properties
expandedbooleanidPropertiesobjectcontentRefReferenceContentShow propertiesHide properties
expandedbooleanidPropertiesobjectReturned if the given property has a different ContentId to the one in the path, or if the property has a different key to the one in the path, or the value is missing, or the value is too long.
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstringReturned if the user does not have permission to edit the content with the given ContentId.
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstringeturned if there is no content with the given id, or no property with the given key, or if the calling user does not have permission to view the content.
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstringReturned if the given version is does not match the expected target version of the updated property.
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstringReturned if the value is too long.
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstring