Add Vote to Topic

All API requests should contain authorization headers.

Request

POST faq/{faqName}/topics/{id}/votes

Query Parameters

Name
Type
Required
Comments

faqName

string

yes

The name of the FAQ instance for the request

id

integer

yes

The id of the topic you wish to add a new vote to

Request Body

Body of request should contain the following model serialized to JSON.

{
    "feedbackText": "good topic",
    "isLiked": true,
    "reason": "not_relevant_information"
}
Field
Type
Comments

feedbackText

string

The text feedback for the vote. The value will be saved only if the isLiked property is false

isLiked

boolean

If true vote evaluated as positive, otherwise as negative

reason

The possible reason for downvoting a topic. If set to null, the reason will contain the value other

Response

The request does not have a body response.

Last updated