BrewForge Docs

Vote, follow, accept an answer or report in Feedback

Everything except writing posts, in one call: upvote a feature request ({ "thread": 33, "vote": true }; false removes the vote), follow a thread for notifications (subscribe), vote on a reply (reply_id + reply_vote 1 / -1 / 0), mark a reply as the accepted answer of the user's own question (accept_answer_post_id), suggest that the thread duplicates another (duplicate_of), or report a post to the moderators (report_post_id + report_reason). Pass only what you want to change. Voting on feature requests needs a paid plan (Basic+). Reports and duplicate suggestions go to the team: only when the user asked. Scope: `community:write` (or `write`).

POST
/api/v1/actions/react_to_feedback

Everything except writing posts, in one call: upvote a feature request ({ "thread": 33, "vote": true }; false removes the vote), follow a thread for notifications (subscribe), vote on a reply (reply_id + reply_vote 1 / -1 / 0), mark a reply as the accepted answer of the user's own question (accept_answer_post_id), suggest that the thread duplicates another (duplicate_of), or report a post to the moderators (report_post_id + report_reason). Pass only what you want to change. Voting on feature requests needs a paid plan (Basic+). Reports and duplicate suggestions go to the team: only when the user asked.

Scope: community:write (or write).

AuthorizationBearer <token>

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 brews
  • brews:write: Create, update, delete brews and notes
  • inventory:read: List inventory items
  • inventory:write: Create, update, delete inventory items
  • equipment:read: List equipment profiles
  • equipment:write: Create, update, delete equipment profiles
  • styles:read: List style profiles
  • styles:write: Create, update, delete style profiles
  • profiles:read: List mash, fermentation, and water profiles
  • custom-fields:read: List custom field definitions
  • custom-fields:write: Create, update, delete custom field definitions
  • profiles:write: Create, update, delete mash, fermentation, and water profiles
  • cellar:read: View cellar, packaged stock, tap lists, and labels
  • cellar:write: Manage cellar, packaging, stock, tap lists, and labels
  • settings:read: View preferences, imports, calculators, and your data export
  • settings:write: Change preferences and undo imports
  • community:read: View community, feedback, tickets, inbox, and account overview
  • community:write: Post, vote, and reply in community, feedback, and tickets

In: header

Scope: community:write

Request Body

application/json

thread?|

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. Needed for vote, subscribe, accept_answer_post_id and duplicate_of.

vote?boolean

Feature requests: true upvotes, false removes the upvote.

subscribe?boolean

true: in-app notifications for new replies and status changes; false: stop them.

reply_id?string

Reply to vote on (id from get_feedback_thread); use with reply_vote.

reply_vote?number

1 helpful, -1 not helpful, 0 removes the user's vote.

Value in1 | -1 | 0
accept_answer_post_id?string

The user's own question only: reply id to mark as the accepted answer, or "none" to unmark.

duplicate_of?|

Number of the older thread this one duplicates (a suggestion for the team).

duplicate_note?string

Why they are duplicates (optional).

Lengthlength <= 500
report_post_id?string

Post to report to the moderators (id from get_feedback_thread).

report_reason?string

With report_post_id (required): insult, hate, sexual, spam, personal_data, off_topic or other.

Value in"insult" | "hate" | "sexual" | "spam" | "personal_data" | "off_topic" | "other"
report_details?string

With report_post_id: what is wrong (optional).

Lengthlength <= 1000
[key: string]?never

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://brewforge.sh/api/v1/actions/react_to_feedback" \  -H "Content-Type: application/json" \  -d '{}'
{
  "thread": 0,
  "voted": true,
  "subscribed": true,
  "reply_vote": 0,
  "accepted_answer": "string",
  "duplicate_suggested": 0,
  "reported": {
    "post_id": "string",
    "hidden": true
  }
}
{
  "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": {}
  }
}