aboutsummaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
Diffstat (limited to 'API.md')
-rw-r--r--API.md11
1 files changed, 7 insertions, 4 deletions
diff --git a/API.md b/API.md
index 53fec51..1d48ea2 100644
--- a/API.md
+++ b/API.md
@@ -923,7 +923,8 @@ data.
"removeVersion": <source-post-version>,
"remove": <source-post-id>,
"mergeToVersion": <target-post-version>,
- "mergeTo": <target-post-id>
+ "mergeTo": <target-post-id>,
+ "replaceContent": <true-or-false>
}
```
@@ -941,9 +942,11 @@ data.
- **Description**
Removes source post and merges all of its tags, relations, scores,
- favorites and comments to the target post. Source post properties such as
- its content, safety, source, whether to loop the video and other scalar
- values do not get transferred and are discarded.
+ favorites and comments to the target post. If `replaceContent` is set to
+ true, content of the target post is replaced using the content of the
+ source post; otherwise it remains unchanged. Source post properties such as
+ its safety, source, whether to loop the video and other scalar values do
+ not get transferred and are discarded.
## Rating post
- **Request**

© 2015 - 2026 Jakob L. Kreuze