Get Descendants
Returns a map of the descendants of a piece of Content. Content can have multiple types of descendants - for example a Page can have descendants that are also Pages, but it can also have Comments and Attachments.
The ContentType(s) of the descendants returned is specified by the expand query parameter in the request - this parameter can include expands for multiple descendant types. If no types are included in the expand parameter, the map returned will just list the descendant types that are available to be expanded for the Content referenced by the id path parameter.
Currently the only supported descendants are comment descendants of non-comment Content.
Example request URI(s):
http://example.com/confluence/rest/api/content/1234/descendant
http://example.com/confluence/rest/api/content/1234/descendant?expand=comment.body.VIEW
http://example.com/confluence/rest/api/content/1234/descendant?expand=comment
/rest/api/content/{id}/descendantidstringrequiredthe ID of the Content the User is attempting to view the descendants for.
expandstringa comma separated list of properties to expand on the descendants.
Returns a JSON map representing multiple ordered collections of content descendants,keyed by content type.
resultsContent[]Show propertiesHide properties
ContentidstringtypestringstatusstringtitlestringlinksobjectspaceSpaceShow 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
expandedbooleanidPropertiesobjectstartnumberlimitnumbersizenumber_linksobjectShow propertiesHide properties
basestringselfstringcontextstringnextstringprevstringReturned 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