Get contents in space
Returns the content in this given space.
Example request URI:
http://example.com/confluence/rest/api/space/TEST/content?expand=history
GET
/rest/api/space/{spaceKey}/contentPath parameters
spaceKeystringrequiredthe key of the space to update.
Query parameters
expandstringa comma separated list of properties to expand on the space.
depthstringa string indicating if all content, or just the root content of the space is returned. Default value: <code>all</code>. Valid values: <code>all, root</code>.
limitstringthe limit of the number of labels to return, this may be restricted by fixed system limits.
startstringhe start point of the collection to return.
Responses
200
Returns a full JSON representation of a piece of content.
resultsContent[]Show propertiesHide properties
Array of
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
Array of
ContentCircular reference to
Content.positioninteger<int32>operationsOperationCheckResult[]Show propertiesHide properties
Array of
OperationCheckResultoperationstringtargetTypestringchildrenobjectdescendantsobjectcontainerContainerbodyobjectmetadataobjectextensionsobjectrestrictionsobjecthistoryRefReferenceHistoryShow propertiesHide properties
expandedbooleanidPropertiesobjectspaceRefReferenceSpaceShow propertiesHide properties
expandedbooleanidPropertiesobjectcontainerRefReferenceContainerShow propertiesHide properties
expandedbooleanidPropertiesobjectversionRefReferenceVersionShow propertiesHide properties
expandedbooleanidPropertiesobjectstartnumberlimitnumbersizenumber_linksobjectShow propertiesHide properties
basestringselfstringcontextstringnextstringprevstring404
Returned 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