Nodes API
This page describes the nodes
API, which can be used to access and manipulate JCR nodes.
The Nodes API is best used as a content management API. For content delivery, we recommend using our Delivery API. |
GET
Returns a node from the specified workspace and path.
Parameters
Parameter | Description | Type | Data Type |
---|---|---|---|
|
required The name of the workspace. |
|
|
|
optional, default is The absolute path to the node within the workspace. |
|
|
|
optional, default is The depth of child nodes to be included. |
|
|
|
optional A list of node types to be excluded. |
|
|
|
optional, default is If set to |
|
|
Example
Read the content of the /travel/about/company
node from the website
workspace including the metadata.
curl -X GET 'http://localhost:8080/magnoliaAuthor/.rest/nodes/v1/website/travel/about/company?includeMetadata=true' \
-u superuser:superuser
Response
curl -X GET 'http://localhost:8080/magnoliaAuthor/.rest/nodes/v1/website/travel/about/company?includeMetadata=true' \
-u superuser:superuser -H "Accept: application/xml"
Response
PUT
Creates a new node and adds the properties passed in the request.
You can add only one node per request. You cannot PUT nested nodes. |
Parameters
Parameter | Description | Type | Data Type |
---|---|---|---|
|
required The name of the workspace to add a node to. |
|
|
|
optional, default is The absolute parent path of the new node. |
|
|
|
required Request body format: JSON (default) or XML. |
|
|
Example 1: Create a new page
Create a new page called /travel/hello
(add a new node to the website
workspace).
curl http://localhost:8080/magnoliaAuthor/.rest/nodes/v1/website/travel \
-H "Content-Type: application/json" \
-X PUT -i \ (1)
--user superuser:superuser \
--data \
'{
"name": "hello",
"type": "mgnl:page",
"path": "/travel/hello",
"properties": [
{
"name": "title",
"type": "String",
"multiple": false,
"values": [
"Hello REST"
]
},
{
"name": "mgnl:template",
"type": "String",
"multiple": false,
"values": [
"travel-demo:pages/standard"
]
}
]
}'
1 | Use the -i option with cURL to show the HTTP response headers. |
curl http://localhost:8080/magnoliaAuthor/.rest/nodes/v1/website/travel \
-H "Content-Type: application/xml" \
-X PUT -i \ (1)
--user superuser:superuser \
--data \
'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<node>
<name>hello</name>
<path>/travel/hello</path>
<properties>
<property>
<multiple>false</multiple>
<name>mgnl:template</name>
<type>String</type>
<values>
<value>travel-demo:pages/standard</value>
</values>
</property>
<property>
<multiple>false</multiple>
<name>title</name>
<type>String</type>
<values>
<value>Hello REST</value>
</values>
</property>
</properties>
<type>mgnl:page</type>
</node>'
1 | Use the -i option with cURL to show the HTTP response headers. |
Example 2: Create a component in an area
After creating the new hello
page using the above PUT
request, you can also create a textImage
component in the main
area of /travel/hello/
.
curl http://localhost:8080/magnoliaAuthor/.rest/nodes/v1/website/travel/hello/main \
-H "Content-Type: application/json" \
-X PUT -i \
--user superuser:superuser \
--data \
'{
"name": "0",
"type": "mgnl:component",
"path": "/travel/hello/main/0",
"properties": [
{
"name": "headline",
"type": "String",
"multiple": false,
"values": [
"Hello REST"
]
},
{
"name": "mgnl:template",
"type": "String",
"multiple": false,
"values": [
"travel-demo:components/textImage"
]
}
]
}'
Example 3: Creating an asset in the dam
workspace
Before uploading an asset, make sure that the role assigned to the uploading user grants appropriate permissions. For the below example, you’d need to allow uploading data for the /.rest/nodes/v1/dam* path pattern in the dam workspace.
|
Now create a new PNG asset called logo
by issuing PUT requests to the nodes
endpoint. This requires two REST calls:
-
The first call creates an asset node.
-
The second call adds binary data.
To upload the binary asset data, you must convert it into a String . When working with JSON, Base64 is a good format.
|
Create an asset node
curl http://localhost:8080/magnoliaAuthor/.rest/nodes/v1/dam \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-X PUT \
--user superuser:superuser \
--data \
'{
"name": "logo",
"type": "mgnl:asset",
"path": "/logo",
"properties": [
{
"name": "type",
"type": "String",
"multiple": false,
"values": [
"png"
]
},
{
"name": "name",
"type": "String",
"multiple": false,
"values": [
"logo"
]
},
{
"name": "type",
"type": "String",
"multiple": false,
"values": [
"png"
]
}
]
}'
Add binary data
curl http://localhost:8080/magnoliaAuthor/.rest/nodes/v1/dam/logo \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-X PUT \
--user superuser:superuser \
--data \
'{
"name": "jcr:content",
"type": "mgnl:resource",
"path": "/logo/jcr:content",
"properties": [
{
"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7cNIXmDcfNLZFJEK7RyrWcoI6+sjndeduikKr+AbFVyXYrYcxIBLXGLUYcbcfJa8fvV+D9z0eHFCnAVHhFmLZgA13whypGr1y2EWvtRpPPNv51QxAAAAAAAAAAAAAA+Ae+AaO/n4bGyEGMAAAAAElFTkSuQmCC" ]
},
{
"name": "height",
"type": "Long",
"multiple": false,
"values": [
"5"
]
},
{
"name": "width",
"type": "Long",
"multiple": false,
"values": [
"5"
]
},
{
"name": "extension",
"type": "String",
"multiple": false,
"values": [
"png"
]
},
{
"name": "fileName",
"type": "String",
"multiple": false,
"values": [
"logo.png"
]
},
{
"name": "jcr:mimeType",
"type": "String",
"multiple": false,
"values": [
"image/png"
]
}
]
}'
POST
Updates a node by adding the properties passed in the request. The method is changing only the properties passed with the response body. Other existing properties and subnodes are not affected.
Parameters
Parameter | Description | Type | Data Type |
---|---|---|---|
|
required The name of the workspace. |
|
|
|
optional, default is The path of the node to be updated. |
|
|
|
required Request body format: JSON or XML. |
|
|
Example
Update the title
and hideInNav
properties of the /travel/hello
page.
curl http://localhost:8080/magnoliaAuthor/.rest/nodes/v1/website/travel/hello \
-H "Content-Type: application/json" \
-X POST -i \
--user superuser:superuser \
--data \
'{
"properties": [
{
"name": "title",
"type": "String",
"values": [
"Hello REST updated"
]
},
{
"name": "hideInNav",
"type": "Boolean",
"values": [
true
]
}
]
}'
curl http://localhost:8080/magnoliaAuthor/.rest/nodes/v1/website/travel/hello \
-H "Content-Type: application/xml" \
-X POST -i \
--user superuser:superuser \
--data \
'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<node>
<properties>
<property>
<multiple>false</multiple>
<name>title</name>
<type>String</type>
<values>
<value>Hello REST - updated with XML :-P</value>
</values>
</property>
<property>
<multiple>false</multiple>
<name>hideInNav</name>
<type>Boolean</type>
<values>
<value>true</value>
</values>
</property>
</properties>
</node>'
DELETE
Deletes a node.
Parameters
Parameter | Description | Type | Data Type | ||
---|---|---|---|---|---|
|
required The name of the workspace. |
|
|
||
|
optional, default is The path of the node which you want to delete.
|
|
|
Example
Delete the /destinations/polar
node in the category
workspace:
curl -X DELETE 'http://localhost:8080/magnoliaAuthor/.rest/nodes/v1/category/destinations/polar' \
-u superuser:superuser -i
The In most of your cases you had better apply the chained command |