{"id":1214,"date":"2026-03-01T20:12:21","date_gmt":"2026-03-01T20:12:21","guid":{"rendered":"http:\/\/localhost:8881\/api-forum\/"},"modified":"2026-03-01T20:12:21","modified_gmt":"2026-03-01T20:12:21","slug":"api-forum","status":"publish","type":"page","link":"https:\/\/flamenet.io\/api-forum\/","title":{"rendered":"Flamenet API \u2014 Forum"},"content":{"rendered":"<nav class=\"api-nav\"><span class=\"api-nav-brand\">&#9670; Flamenet API<\/span><a href=\"https:\/\/flamenet.io\/api-docs\/\">Overview<\/a><a href=\"https:\/\/flamenet.io\/api-forum\/\" class=\"active\">Forum<\/a><a href=\"https:\/\/flamenet.io\/api-answers\/\">Answers<\/a><a href=\"https:\/\/flamenet.io\/api-shop\/\">Shop<\/a><a href=\"https:\/\/flamenet.io\/api-marketplace\/\">Marketplace<\/a><a href=\"https:\/\/flamenet.io\/api-files\/\">Files<\/a><a href=\"https:\/\/flamenet.io\/api-videos\/\">Video<\/a><\/nav><div class=\"api-wrap\">        <h1>Forum API<\/h1>\n        <p>Read boards, topics, and replies. Create topics and replies on behalf of authenticated users.<\/p>\n        <p><strong>Base path:<\/strong> <code>\/api\/flamenet\/v1\/forum<\/code><\/p>\n\n        <div class=\"endpoint\">\n          <div class=\"endpoint-header\">\n            <span class=\"method method-get\">GET<\/span>\n            <span class=\"endpoint-path\">\/forum\/boards<\/span>\n          <\/div>\n          <div class=\"endpoint-body\">\n            <p class=\"endpoint-desc\">Returns all forum boards with cached statistics.<\/p>\n            <h3>Example request<\/h3>\n            <pre>curl https:\/\/flamenet.io\/api\/flamenet\/v1\/forum\/boards<\/pre>\n            <h3>Example response<\/h3>\n            <pre>[\n  {\n    \"<span class=\"key\">id<\/span>\":             <span class=\"num\">1<\/span>,\n    \"<span class=\"key\">title<\/span>\":          \"<span class=\"str\">General Discussion<\/span>\",\n    \"<span class=\"key\">description<\/span>\":   \"<span class=\"str\">Talk about anything.<\/span>\",\n    \"<span class=\"key\">topic_count<\/span>\":   <span class=\"num\">42<\/span>,\n    \"<span class=\"key\">post_count<\/span>\":    <span class=\"num\">156<\/span>,\n    \"<span class=\"key\">last_post_time<\/span>\":\"<span class=\"str\">2026-03-01 14:22:00<\/span>\",\n    \"<span class=\"key\">last_post_user<\/span>\":\"<span class=\"str\">JohnDoe<\/span>\"\n  },\n  ...\n]<\/pre>\n          <\/div>\n        <\/div>\n\n        <div class=\"endpoint\">\n          <div class=\"endpoint-header\">\n            <span class=\"method method-get\">GET<\/span>\n            <span class=\"endpoint-path\">\/forum\/boards\/{id}<\/span>\n          <\/div>\n          <div class=\"endpoint-body\">\n            <p class=\"endpoint-desc\">Returns board details and a paginated list of topics (stickies first).<\/p>\n            <h3>Query parameters<\/h3>\n            <table>\n              <thead><tr><th>Parameter<\/th><th>Type<\/th><th>Default<\/th><th>Description<\/th><\/tr><\/thead>\n              <tbody>\n                <tr><td><code>page<\/code><\/td><td>integer<\/td><td>1<\/td><td>Page number for topic pagination.<\/td><\/tr>\n              <\/tbody>\n            <\/table>\n            <h3>Example request<\/h3>\n            <pre>curl \"https:\/\/flamenet.io\/api\/flamenet\/v1\/forum\/boards\/1?page=2\"<\/pre>\n            <h3>Example response<\/h3>\n            <pre>{\n  \"<span class=\"key\">board<\/span>\":  { \"<span class=\"key\">id<\/span>\": <span class=\"num\">1<\/span>, \"<span class=\"key\">title<\/span>\": \"<span class=\"str\">General Discussion<\/span>\", ... },\n  \"<span class=\"key\">topics<\/span>\": [\n    {\n      \"<span class=\"key\">id<\/span>\":             <span class=\"num\">5<\/span>,\n      \"<span class=\"key\">title<\/span>\":          \"<span class=\"str\">Welcome to Flamenet!<\/span>\",\n      \"<span class=\"key\">author_id<\/span>\":     <span class=\"num\">2<\/span>,\n      \"<span class=\"key\">author<\/span>\":         \"<span class=\"str\">Admin<\/span>\",\n      \"<span class=\"key\">reply_count<\/span>\":   <span class=\"num\">12<\/span>,\n      \"<span class=\"key\">is_sticky<\/span>\":     <span class=\"num\">true<\/span>,\n      \"<span class=\"key\">is_locked<\/span>\":     <span class=\"num\">false<\/span>,\n      \"<span class=\"key\">created_at<\/span>\":    \"<span class=\"str\">2026-01-01T00:00:00+00:00<\/span>\",\n      \"<span class=\"key\">last_reply<\/span>\":    \"<span class=\"str\">2026-02-28 09:14:00<\/span>\",\n      \"<span class=\"key\">last_reply_user<\/span>\":\"<span class=\"str\">JaneSmith<\/span>\"\n    }\n  ],\n  \"<span class=\"key\">page<\/span>\":  <span class=\"num\">2<\/span>,\n  \"<span class=\"key\">pages<\/span>\": <span class=\"num\">5<\/span>,\n  \"<span class=\"key\">total<\/span>\": <span class=\"num\">83<\/span>\n}<\/pre>\n          <\/div>\n        <\/div>\n\n        <div class=\"endpoint\">\n          <div class=\"endpoint-header\">\n            <span class=\"method method-get\">GET<\/span>\n            <span class=\"endpoint-path\">\/forum\/topics\/{id}<\/span>\n          <\/div>\n          <div class=\"endpoint-body\">\n            <p class=\"endpoint-desc\">Returns topic details and a paginated list of replies (oldest first).<\/p>\n            <h3>Query parameters<\/h3>\n            <table>\n              <thead><tr><th>Parameter<\/th><th>Type<\/th><th>Default<\/th><th>Description<\/th><\/tr><\/thead>\n              <tbody>\n                <tr><td><code>page<\/code><\/td><td>integer<\/td><td>1<\/td><td>Page number for reply pagination.<\/td><\/tr>\n              <\/tbody>\n            <\/table>\n            <h3>Example request<\/h3>\n            <pre>curl \"https:\/\/flamenet.io\/api\/flamenet\/v1\/forum\/topics\/5\"<\/pre>\n            <h3>Example response<\/h3>\n            <pre>{\n  \"<span class=\"key\">topic<\/span>\": {\n    \"<span class=\"key\">id<\/span>\":          <span class=\"num\">5<\/span>,\n    \"<span class=\"key\">title<\/span>\":       \"<span class=\"str\">Welcome to Flamenet!<\/span>\",\n    \"<span class=\"key\">content<\/span>\":     \"<span class=\"str\">Hello everyone...<\/span>\",\n    \"<span class=\"key\">author_id<\/span>\":  <span class=\"num\">2<\/span>,\n    \"<span class=\"key\">author<\/span>\":      \"<span class=\"str\">Admin<\/span>\",\n    \"<span class=\"key\">board_id<\/span>\":   <span class=\"num\">1<\/span>,\n    \"<span class=\"key\">board_title<\/span>\":\"<span class=\"str\">General Discussion<\/span>\",\n    \"<span class=\"key\">reply_count<\/span>\":<span class=\"num\">12<\/span>,\n    \"<span class=\"key\">is_sticky<\/span>\":  <span class=\"num\">true<\/span>,\n    \"<span class=\"key\">is_locked<\/span>\":  <span class=\"num\">false<\/span>,\n    \"<span class=\"key\">created_at<\/span>\": \"<span class=\"str\">2026-01-01T00:00:00+00:00<\/span>\",\n    \"<span class=\"key\">last_reply<\/span>\": \"<span class=\"str\">2026-02-28 09:14:00<\/span>\"\n  },\n  \"<span class=\"key\">replies<\/span>\": [\n    {\n      \"<span class=\"key\">id<\/span>\":        <span class=\"num\">23<\/span>,\n      \"<span class=\"key\">content<\/span>\":  \"<span class=\"str\">Thanks for the warm welcome!<\/span>\",\n      \"<span class=\"key\">author_id<\/span>\":<span class=\"num\">5<\/span>,\n      \"<span class=\"key\">author<\/span>\":   \"<span class=\"str\">JaneSmith<\/span>\",\n      \"<span class=\"key\">created_at<\/span>\":\"<span class=\"str\">2026-01-02T11:00:00+00:00<\/span>\"\n    }\n  ],\n  \"<span class=\"key\">page<\/span>\":  <span class=\"num\">1<\/span>,\n  \"<span class=\"key\">pages<\/span>\": <span class=\"num\">2<\/span>,\n  \"<span class=\"key\">total<\/span>\": <span class=\"num\">12<\/span>\n}<\/pre>\n          <\/div>\n        <\/div>\n\n        <div class=\"endpoint\">\n          <div class=\"endpoint-header\">\n            <span class=\"method method-post\">POST<\/span>\n            <span class=\"endpoint-path\">\/forum\/topics<\/span>\n            <span class=\"auth-badge\">AUTH REQUIRED<\/span>\n          <\/div>\n          <div class=\"endpoint-body\">\n            <p class=\"endpoint-desc\">Creates a new topic in the specified board.<\/p>\n            <h3>Request body (JSON)<\/h3>\n            <table>\n              <thead><tr><th>Field<\/th><th>Type<\/th><th>Required<\/th><th>Description<\/th><\/tr><\/thead>\n              <tbody>\n                <tr><td><code>board_id<\/code><\/td><td>integer<\/td><td>Yes<\/td><td>ID of the board to post in.<\/td><\/tr>\n                <tr><td><code>title<\/code><\/td><td>string<\/td><td>Yes<\/td><td>Topic title (max 200 chars).<\/td><\/tr>\n                <tr><td><code>content<\/code><\/td><td>string<\/td><td>Yes<\/td><td>Topic body text.<\/td><\/tr>\n              <\/tbody>\n            <\/table>\n            <h3>Example request<\/h3>\n            <pre>curl -X POST https:\/\/flamenet.io\/api\/flamenet\/v1\/forum\/topics \\\n  -H \"Authorization: Bearer YOUR_API_KEY\" \\\n  -H \"Content-Type: application\/json\" \\\n  -d '{\"board_id\":1,\"title\":\"My first topic\",\"content\":\"Hello Flamenet!\"}'<\/pre>\n            <h3>Example response \u2014 201 Created<\/h3>\n            <pre>{\n  \"<span class=\"key\">id<\/span>\":       <span class=\"num\">88<\/span>,\n  \"<span class=\"key\">title<\/span>\":    \"<span class=\"str\">My first topic<\/span>\",\n  \"<span class=\"key\">board_id<\/span>\": <span class=\"num\">1<\/span>,\n  \"<span class=\"key\">author<\/span>\":   \"<span class=\"str\">YourUsername<\/span>\"\n}<\/pre>\n          <\/div>\n        <\/div>\n\n        <div class=\"endpoint\">\n          <div class=\"endpoint-header\">\n            <span class=\"method method-post\">POST<\/span>\n            <span class=\"endpoint-path\">\/forum\/topics\/{id}\/replies<\/span>\n            <span class=\"auth-badge\">AUTH REQUIRED<\/span>\n          <\/div>\n          <div class=\"endpoint-body\">\n            <p class=\"endpoint-desc\">Posts a reply to the specified topic. Returns 403 if the topic is locked.<\/p>\n            <h3>Request body (JSON)<\/h3>\n            <table>\n              <thead><tr><th>Field<\/th><th>Type<\/th><th>Required<\/th><th>Description<\/th><\/tr><\/thead>\n              <tbody>\n                <tr><td><code>content<\/code><\/td><td>string<\/td><td>Yes<\/td><td>Reply body text.<\/td><\/tr>\n              <\/tbody>\n            <\/table>\n            <h3>Example request<\/h3>\n            <pre>curl -X POST https:\/\/flamenet.io\/api\/flamenet\/v1\/forum\/topics\/5\/replies \\\n  -H \"Authorization: Bearer YOUR_API_KEY\" \\\n  -H \"Content-Type: application\/json\" \\\n  -d '{\"content\":\"Great post, thanks!\"}'<\/pre>\n            <h3>Example response \u2014 201 Created<\/h3>\n            <pre>{\n  \"<span class=\"key\">id<\/span>\":       <span class=\"num\">102<\/span>,\n  \"<span class=\"key\">topic_id<\/span>\": <span class=\"num\">5<\/span>,\n  \"<span class=\"key\">author<\/span>\":   \"<span class=\"str\">YourUsername<\/span>\"\n}<\/pre>\n          <\/div>\n        <\/div>\n        <div class=\"api-footer\">Flamenet API v1.0 &mdash; <a href=\"https:\/\/flamenet.io\/api-docs\/\">API Overview<\/a><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1214","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/flamenet.io\/api\/wp\/v2\/pages\/1214","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/flamenet.io\/api\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/flamenet.io\/api\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/flamenet.io\/api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/flamenet.io\/api\/wp\/v2\/comments?post=1214"}],"version-history":[{"count":0,"href":"https:\/\/flamenet.io\/api\/wp\/v2\/pages\/1214\/revisions"}],"wp:attachment":[{"href":"https:\/\/flamenet.io\/api\/wp\/v2\/media?parent=1214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}