Adds, removes, and applies changes to properties and sections of a projectdoc document. Use from [space keys] where [constraints]
to select on projectdoc documents. All documents in the result set will have applied the changes specified in the patch document.
Transclusion |
---|
document | Please Backup your Data first! |
---|
ids | Summary |
---|
|
|
If your environment does not support the HTTP PATCH method try to use the patch resource at projectdoc/1/patch/document as a workaround. The patch document has the following form (JSON): Content Marker |
---|
id | document-representation |
---|
|
Code Block |
---|
| {
"property": [
{
"name": "New Property",
"value": "My Value",
"controls": "",
"position": "after",
"ref": "Name"
}
],
"section": [
{
"title": "My Section",
"content": "<p>Some text</p>",
"position": "before",
"ref": "References"
}
]
} |
The name, value, and controls specify the values for the property to apply. The title and content specify the information for the section. The position and ref specify the position where to add the property or section. The position may be one of the following keywords, while ref (that is: reference) specifies the name of a property or title of a section relative to which the position is evaluated.
|
If a query is executed, the from parameter is required. |