Get children of content
Returns a map of the direct children of a piece of Content. Content can have multiple types of children. For example, a Page can have children that are also Pages, but it can also have Comments and Attachments.
The types of the children returned is specified by the expand query parameter in the request. This parameter can include expands for multiple child types. If no types are included in the expand parameter, the map returned will just list the child types that are available to be expanded for the content referenced by the id path parameter.
/rest/api/content/{id}/childidstringrequiredThe id of the content to retrieve children for
expandstringa comma separated list of properties to expand on the children
limitstringhow many items should be returned after the start index
startstringthe index of the first item within the result set that should be returned
parentVersioninteger<int32>Returned if the children are successfully retrieved. The response body contains a JSON map representing multiple ordered collections of content children, 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