You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
Add properties for a set of documents specified by their IDs.
Example
curl -n -X PATCH -H "Content-Type: application/json" \
https://example.com/confluence/rest/projectdoc/1/document?id-list=12845218,12845219,12845221 \
-d @insertProperties.json
{
"property": [
{
"name": "Customer Support URL",
"value": "<a href="https://smartics.atlassian.net/servicedesk/customer/portal/2">Customer Support</a>",
"controls": "",
"position": "after",
"ref": "Shortname"
},
{
"name": "Service Contact",
"value": "<a href="mailto:support@smartics.de">support@smartics.de</a>",
"controls": "",
"position": "after",
"ref": "Iteration"
}
]
}
Resources
Related information on using REST APIs (with cURL) to integrate with remote information systems.