Merge a duplicate into a canonical post
Same-project posts only. Votes and subscribers move with deduplication; seeded votes are preserved. Source becomes CLOSED, zero votes, mergedIntoPostId set, releaseId cleared. Comments and metadata remain on the source. Rejects self/cyclic merges and merged targets. Repeating a merge is safe. No email; post.merged webhooks and audit records still fire, including on retries.
post/posts/{postId}/merge
Request
- Base URL: https://app.voteship.app/api/v1
- URL: https://app.voteship.app/api/v1/posts/{postId}/merge
- Auth: HTTP bearer
Path parameters
postIdstring required
Request body
Response
Merge a duplicate into a canonical post
Example response
{
"data": {
"source": {
"id": "V1StGXR8_Z5jdHi6B-myT",
"title": "PDF export support",
"voteCount": 42
},
"target": {
"id": "V1StGXR8_Z5jdHi6B-myT",
"title": "PDF export support",
"voteCount": 42
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.