Create Content
Create content or publish a content draft.
External Documentation
To learn more, visit the Confluence Data Center documentation.
Basic Parameters
Parameter | Description |
---|---|
Body | The body of the content. |
Title | The title of the content. |
Type | The type of the content. |
Advanced Parameters
Parameter | Description |
---|---|
Ancestors | A comma-seperated list of the ancestors objects of the content. |
Children | The children of the content. |
Container | The container of the content. |
Container Reference | The container Reference of the content. |
Content Draft ID | The id of the content draft. If provided, publishes the draft with the given information. |
Descendants | The descendants of the content. |
Extensions | The extensions of the content. |
History | The history of the content. For more information see Confluence documentation. For example:<br/>{<br/> "latest": true,<br/> "createdBy": {<br/> "profilePicture": {},<br/> "displayName": "Joe Smith",<br/> "type": "<string>"<br/> },<br/> "createdDate": "2020-01-01T00:00:00Z",<br/> "contributors": {<br/> "idProperties": {},<br/> "expanded": true<br/> }<br/>}<br/> |
History Reference | The history reference of the content. |
Links | The links of the content. For Example:<br/>{<br/> "webui": "https://www.example.com/display/SPACEKEY/My+Page"<br/>}<br/> |
Metadata | The metadata of the content. |
Operations | An array of the operations of the content. For Example:<br/> [<br/> {<br/> "operation": "read",<br/> "targetType": "page"<br/> }<br/> ]<br/> |
Position | The position of the content. |
Restrictions | The restrictions of the content. |
Space | The space of the content. For more information see Confluence documentation. For example:<br/>{<br/> "id": 123456,<br/> "key": "TEST",<br/> "name": "Test Space",<br/> "status": "current",<br/> "homepage": {<br/> "idProperties": {},<br/> "expanded": true<br/> }<br/>}<br/> |
Space Reference | The space reference of the content. |
Status | The status of the content. |
Version | The version of the content. For more information see Confluence documentation. For example:<br/>{<br/> "by": {<br/> "profilePicture": {},<br/> "displayName": "Joe Smith",<br/> "type": "<string>"<br/> },<br/> "when": "2020-01-01T00:00:00Z",<br/> "message": "A message",<br/> "number": 1,<br/> "minorEdit": true,<br/> "hidden": true,<br/> "syncRev": "123456"<br/>}<br/> |
Version Reference | The version reference of the content. |
Example Output
{
"id": "123456",
"type": "page",
"status": "current",
"title": "My Page",
"links": {
"webui": "https://www.example.com/display/SPACEKEY/My+Page"
},
"space": {
"id": 123456,
"key": "TEST",
"name": "Test Space",
"status": "current",
"icon": {
"idProperties": {},
"expanded": true
},
"description": {},
"homepage": {
"idProperties": {},
"expanded": true
},
"links": {},
"type": "global",
"metadata": {
"labels": [
"label1",
"label2"
]
},
"retentionPolicy": {
"idProperties": {},
"expanded": true
}
},
"history": {
"previousVersion": {
"idProperties": {},
"expanded": true
},
"nextVersion": {
"idProperties": {},
"expanded": true
},
"lastUpdated": {
"idProperties": {},
"expanded": true
},
"latest": true,
"createdBy": {
"profilePicture": {},
"displayName": "Joe Smith",
"type": "<string>"
},
"createdDate": "2020-01-01T00:00:00Z",
"contributors": {
"idProperties": {},
"expanded": true
},
"lastUpdatedRef": {
"idProperties": {},
"expanded": true
},
"nextVersionRef": {
"idProperties": {},
"expanded": true
},
"previousVersionRef": {
"idProperties": {},
"expanded": true
},
"contentParentRef": {
"idProperties": {},
"expanded": true
}
},
"version": {
"by": {
"profilePicture": {},
"displayName": "Joe Smith",
"type": "<string>"
},
"when": "2020-01-01T00:00:00Z",
"message": "A message",
"number": 1,
"minorEdit": true,
"hidden": true,
"syncRev": "123456",
"content": {
"idProperties": {},
"expanded": true
},
"contentRef": {
"idProperties": {},
"expanded": true
}
},
"ancestors": [],
"position": 1,
"operations": [
{
"operation": "read",
"targetType": "page"
}
],
"children": {},
"descendants": {},
"body": {},
"metadata": {
"key": "value"
},
"extensions": {
"key": "value"
},
"restrictions": {
"use": {
"operation": "use",
"restrictions": []
}
}
}
Workflow Library Example
Create Content with Confluence Data Center and Send Results Via Email
Preview this Workflow on desktop