Get Content by a given ID.

External Documentation

To learn more, visit the Confluence Data Center documentation.

Basic Parameters

ParameterDescription
Content IDThe ID of the content.
ExpandA comma-separated list of properties to expand on the content. For more information see Confluence documentation.
StatusA comma-separated list of Content statuses to filter results on.

Advanced Parameters

ParameterDescription
VersionVersion of the content.

Example Output

{
	"ancestors": [
		null
	],
	"body": {},
	"children": {},
	"container": "",
	"containerRef": {
		"expanded": false,
		"idProperties": {}
	},
	"descendants": {},
	"extensions": {
		"key": "value"
	},
	"history": {
		"contentParentRef": {
			"expanded": false,
			"idProperties": {}
		},
		"contributors": {
			"expanded": false,
			"idProperties": {}
		},
		"createdBy": {
			"displayName": "Joe Smith",
			"profilePicture": {
				"height": 16,
				"isDefault": true,
				"path": "http://www.example.com/path/to/image.png",
				"width": 16
			},
			"type": "string"
		},
		"createdDate": "2020-01-01T00:00:00Z",
		"lastUpdated": {
			"expanded": false,
			"idProperties": {}
		},
		"lastUpdatedRef": {
			"expanded": false,
			"idProperties": {}
		},
		"latest": true,
		"nextVersion": {
			"expanded": false,
			"idProperties": {}
		},
		"nextVersionRef": {
			"expanded": false,
			"idProperties": {}
		},
		"previousVersion": {
			"expanded": false,
			"idProperties": {}
		},
		"previousVersionRef": {
			"expanded": false,
			"idProperties": {}
		}
	},
	"historyRef": {
		"expanded": false,
		"idProperties": {}
	},
	"id": "123456",
	"links": {
		"webui": "https://www.example.com/display/SPACEKEY/My+Page"
	},
	"metadata": {
		"key": "value"
	},
	"operations": [
		{
			"operation": "read",
			"targetType": "page"
		}
	],
	"position": 1,
	"restrictions": {
		"use": {
			"operation": "use",
			"restrictions": []
		}
	},
	"space": {
		"description": {},
		"homepage": {
			"expanded": false,
			"idProperties": {}
		},
		"icon": {
			"expanded": false,
			"idProperties": {}
		},
		"id": 123456,
		"key": "TEST",
		"links": {},
		"metadata": {
			"labels": [
				"label1",
				"label2"
			]
		},
		"name": "Test Space",
		"retentionPolicy": {
			"expanded": false,
			"idProperties": {}
		},
		"status": "current",
		"type": "global"
	},
	"spaceRef": {
		"expanded": false,
		"idProperties": {}
	},
	"status": "current",
	"title": "My Page",
	"type": "page",
	"version": {
		"by": {
			"displayName": "Joe Smith",
			"profilePicture": {
				"height": 16,
				"isDefault": true,
				"path": "http://www.example.com/path/to/image.png",
				"width": 16
			},
			"type": "string"
		},
		"content": {
			"expanded": false,
			"idProperties": {}
		},
		"contentRef": {
			"expanded": false,
			"idProperties": {}
		},
		"hidden": true,
		"message": "A message",
		"minorEdit": true,
		"number": 1,
		"syncRev": "123456",
		"when": "2020-01-01T00:00:00Z"
	},
	"versionRef": {
		"expanded": false,
		"idProperties": {}
	}
}

Workflow Library Example

Get Content by Id with Confluence Data Center and Send Results Via Email

Preview this Workflow on desktop