Feedback
Set Post Pending Approval
Hides or publishes a visitor submission. pendingApproval true keeps it off the public board.
Authorization
Authorization AuthorizationBearer <token>
In: header
Path Parameters
projectIdrequiredstring
ID of the project that owns the post.
idrequiredstring
ID of the post.
Request Body
application/json
pendingApprovalrequiredboolean
When true, the post stays hidden on the public board until a project member publishes it.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://www.saasco.com/api/v2/projects/string/feedback/posts/string/approval" \ -H "Content-Type: application/json" \ -d '{ "pendingApproval": true }'{
"id": "string",
"createdAt": "string",
"updatedAt": "string",
"projectId": "string",
"statusId": "string",
"title": "string",
"body": "string",
"slug": "string",
"voteCount": -9007199254740991,
"roadmapRank": -9007199254740991,
"authorName": "string",
"authorUserId": "string",
"pendingApproval": true,
"mergedIntoId": "string",
"mergedAt": "string",
"archivedAt": "string",
"authorImage": "string",
"commentCount": 9007199254740991,
"excerpt": "string",
"status": {
"archivedAt": "string",
"color": "string",
"id": "string",
"name": "string",
"position": -9007199254740991,
"showOnRoadmap": true
},
"topics": [
{
"archivedAt": "string",
"color": "string",
"icon": "string",
"id": "string",
"name": "string",
"position": -9007199254740991
}
]
}{
"code": "BAD_REQUEST",
"message": "Invalid input data",
"issues": []
}{
"code": "UNAUTHORIZED",
"message": "Authorization not provided",
"issues": []
}{
"code": "FORBIDDEN",
"message": "Insufficient access",
"issues": []
}{
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal server error",
"issues": []
}