Skip to content

Unmerge a post

Introduction

This endpoint allows you to unmerge a previously merged child post from its parent. The child post will be restored as an independent post with its original votes and comments.

DELETE https://api.featureos.app/api/v3/feature_requests/unmerge/:child_feature_request_id

Headers

Parameter Default Description
API-KEY-Generate from organization settings on the admin dashboard.
Authorization-Generate a unique JWT token that is specific to a user. Only organization members can access this endpoint.

Sample response

{
"id": 4230,
"slug": "main-feature-request",
"title": "Main feature request",
"preview": "This is the main post",
"description": "This is the main post\n\n",
"description_html": "<p>This is the main post</p>",
"status": "Submitted",
"url": "https://feedback.featureos.app/b/api/p/main-feature-request",
"approval_status": "approved",
"submitter": {
"name": "Swathy",
"email": "[email protected]"
},
"bucket": {
"id": 14,
"name": "API"
},
"votes_count": 3,
"downvotes_count": 0,
"comments_count": 1,
"created_at": "2021-10-21T10:58:30.000Z",
"updated_at": "2021-10-21T10:58:31.000Z",
"tags": [],
"custom_status": {
"title": "Submitted",
"color": "#000000",
"status": "submitted",
"percentage": null,
"icon": null
},
"merged": false,
"merged_posts_count": 0,
"child_posts": []
}