Get content by ID
Returns a piece of Content. Example request URI(s):
http://example.com/confluence/rest/api/content/1234?expand=space,body.view,version,containerhttp://example.com/confluence/rest/api/content/1234?status=any
/rest/api/content/{id}idstringrequiredthe id of the content.
expandstringA comma separated list of properties to expand on the content. Default value: <code>history,space,version</code>.
We can also specify some extensions such as <code>extensions.inlineProperties</code> (for getting inline comment-specific properties) or <code>extensions.resolution</code> for the resolution status of each comment in the results
versionstringversion of the content.
statusstringlist of Content statuses to filter results on.
Default value: <code>[current]</code>.
returns a JSON representation of the content, or a 404 NOT FOUND if there is no content with the given id or if the user is not permitted.
idstringtypestringstatusstringtitlestringlinksobjectspaceSpaceShow propertiesHide properties
idinteger<int64>keystringnamestringstatusstringiconReferenceIconShow propertiesHide properties
expandedbooleanidPropertiesobjectdescriptionobjecthomepageReferenceContentShow propertiesHide properties
expandedbooleanidPropertiesobjectlinksobjecttypestringmetadataobjectretentionPolicyReferenceSpaceRetentionPolicyShow propertiesHide properties
expandedbooleanidPropertiesobjecthistoryHistoryShow propertiesHide properties
previousVersionReferenceVersionShow propertiesHide properties
expandedbooleanidPropertiesobjectnextVersionReferenceVersionShow propertiesHide properties
expandedbooleanidPropertiesobjectlastUpdatedReferenceVersionShow propertiesHide properties
expandedbooleanidPropertiesobjectlatestbooleancreatedByPersonShow propertiesHide properties
profilePictureIconShow propertiesHide properties
pathstringwidthinteger<int32>heightinteger<int32>isDefaultbooleandisplayNamestringtypestringcreatedDatestring<date-time>contributorsReferenceContributorsShow propertiesHide properties
expandedbooleanidPropertiesobjectlastUpdatedRefReferenceVersionShow propertiesHide properties
expandedbooleanidPropertiesobjectnextVersionRefReferenceVersionShow propertiesHide properties
expandedbooleanidPropertiesobjectpreviousVersionRefReferenceVersionShow propertiesHide properties
expandedbooleanidPropertiesobjectcontentParentRefReferenceContentShow propertiesHide properties
expandedbooleanidPropertiesobjectversionVersionShow propertiesHide properties
byPersonShow propertiesHide properties
profilePictureIcondisplayNamestringtypestringwhenstring<date-time>messagestringnumberinteger<int32>minorEditbooleanhiddenbooleansyncRevstringcontentReferenceContentShow propertiesHide properties
expandedbooleanidPropertiesobjectcontentRefReferenceContentShow propertiesHide properties
expandedbooleanidPropertiesobjectancestorsContent[]Show propertiesHide properties
ContentContent.positioninteger<int32>operationsOperationCheckResult[]Show propertiesHide properties
OperationCheckResultoperationstringtargetTypestringchildrenobjectdescendantsobjectcontainerContainerbodyobjectmetadataobjectextensionsobjectrestrictionsobjecthistoryRefReferenceHistoryShow propertiesHide properties
expandedbooleanidPropertiesobjectspaceRefReferenceSpaceShow propertiesHide properties
expandedbooleanidPropertiesobjectcontainerRefReferenceContainerShow propertiesHide properties
expandedbooleanidPropertiesobjectversionRefReferenceVersionShow propertiesHide properties
expandedbooleanidPropertiesobjectReturned if there is no content with the given id, or if the calling user does not have permission to view the content.
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstring