Answer a feedback questionnaire
Submit (or change) the user's answers to the open questionnaire of a feature request, which the BrewForge team uses to decide how to build it. First read the questions and option ids with get_feedback_thread (questionnaires[]), ask the user, then pass one answer per question. Example: { "thread": 33, "answers": [{ "question_id": "q1", "option_ids": ["per-step"] }, { "question_id": "q2", "option_ids": [], "other": "only for decoction" }] }. Every question needs an answer; single-choice questions take exactly one option (or other). The result shows the totals so far. Scope: `community:write` (or `write`).
Submit (or change) the user's answers to the open questionnaire of a feature request, which the BrewForge team uses to decide how to build it. First read the questions and option ids with get_feedback_thread (questionnaires[]), ask the user, then pass one answer per question. Example: { "thread": 33, "answers": [{ "question_id": "q1", "option_ids": ["per-step"] }, { "question_id": "q2", "option_ids": [], "other": "only for decoction" }] }. Every question needs an answer; single-choice questions take exactly one option (or other). The result shows the totals so far.
Scope: community:write (or write).
API token in format: bfk_. Each operation lists the token scope it requires (the scopes are listed below).
read: Read everything (all areas)write: Create, change and delete everything (all areas)brews:read: List and view brewsbrews:write: Create, update, delete brews and notesinventory:read: List inventory itemsinventory:write: Create, update, delete inventory itemsequipment:read: List equipment profilesequipment:write: Create, update, delete equipment profilesstyles:read: List style profilesstyles:write: Create, update, delete style profilesprofiles:read: List mash, fermentation, and water profilescustom-fields:read: List custom field definitionscustom-fields:write: Create, update, delete custom field definitionsprofiles:write: Create, update, delete mash, fermentation, and water profilescellar:read: View cellar, packaged stock, tap lists, and labelscellar:write: Manage cellar, packaging, stock, tap lists, and labelssettings:read: View preferences, imports, calculators, and your data exportsettings:write: Change preferences and undo importscommunity:read: View community, feedback, tickets, inbox, and account overviewcommunity:write: Post, vote, and reply in community, feedback, and tickets
In: header
Scope: community:write
Request Body
application/json
The feedback thread: its number (33, "#33") or its URL (e.g. "https://brewforge.sh/feedback/33-water-per-mash-step"). Find numbers with find_feedback_threads.
Questionnaire id from get_feedback_thread; default: the thread's open questionnaire.
One entry per question.
1 <= itemsResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://brewforge.sh/api/v1/actions/answer_feedback_questionnaire" \ -H "Content-Type: application/json" \ -d '{ "thread": 0, "answers": [ { "question_id": "string", "option_ids": [ "string" ] } ] }'{
"thread": 0,
"questionnaire_id": "string",
"saved": true,
"moderation": "published",
"message": "string"
}{
"error": {
"code": "string",
"message": "string",
"hint": "string",
"candidates": [
{
"id": "string",
"name": "string"
}
],
"fields": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"details": {}
}
}{
"error": {
"code": "string",
"message": "string",
"hint": "string",
"candidates": [
{
"id": "string",
"name": "string"
}
],
"fields": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"details": {}
}
}{
"error": {
"code": "string",
"message": "string",
"hint": "string",
"candidates": [
{
"id": "string",
"name": "string"
}
],
"fields": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"details": {}
}
}{
"error": {
"code": "string",
"message": "string",
"hint": "string",
"candidates": [
{
"id": "string",
"name": "string"
}
],
"fields": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"details": {}
}
}{
"error": {
"code": "string",
"message": "string",
"hint": "string",
"candidates": [
{
"id": "string",
"name": "string"
}
],
"fields": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"details": {}
}
}{
"error": {
"code": "string",
"message": "string",
"hint": "string",
"candidates": [
{
"id": "string",
"name": "string"
}
],
"fields": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"details": {}
}
}