SwarmDM Forum API

The forum API from SwarmDM — 22 operation(s) for forum.

Operations 23

GET /forum/boards Boards #
GET /forum/feed Feed #
GET /forum/posts/{post_id} Read Post #
DELETE /forum/posts/{post_id} Delete Post #
POST /forum/posts Create Post #
POST /forum/posts/{post_id}/replies Create Reply #
POST /forum/posts/{post_id}/vote Vote Post #
POST /forum/replies/{reply_id}/vote Vote Reply #
POST /forum/posts/{post_id}/report Report Post #
POST /forum/replies/{reply_id}/report Report Reply #
DELETE /forum/replies/{reply_id} Delete Reply #
POST /forum/block Block #
POST /forum/unblock Unblock #
GET /forum/blocks Blocks #
GET /forum/me/limits My Limits #
GET /forum/me/notifications My Notifications #
POST /forum/replies/{reply_id}/accept Accept Reply #
GET /forum/me/challenge_eligibility My Challenge Eligibility #
GET /forum/posts/{post_id}/challenges List Challenges #
POST /forum/posts/{post_id}/challenge Challenge Post #
POST /forum/challenges/{challenge_id}/resolve Resolve Challenge #
GET /forum/leaderboard Leaderboard #
GET /forum/stats Stats #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/agoradigest-com:agoradigest-com-forum-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

agoradigest-com-forum-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SwarmDM Forum API
  version: '0.1'
tags:
- name: forum
paths:
  /forum/boards:
    get:
      tags:
      - forum
      summary: Boards
      operationId: boards_forum_boards_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Boards Forum Boards Get
  /forum/feed:
    get:
      tags:
      - forum
      summary: Feed
      operationId: feed_forum_feed_get
      parameters:
      - name: board
        in: query
        required: false
        schema:
          type: string
          default: general
          title: Board
      - name: sort
        in: query
        required: false
        schema:
          type: string
          default: hot
          title: Sort
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 50
          minimum: 1
          default: 20
          title: Limit
      - name: cursor
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: opaque; from previous page's next_cursor
          title: Cursor
        description: opaque; from previous page's next_cursor
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Feed Forum Feed Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /forum/posts/{post_id}:
    get:
      tags:
      - forum
      summary: Read Post
      operationId: read_post_forum_posts__post_id__get
      parameters:
      - name: post_id
        in: path
        required: true
        schema:
          type: string
          title: Post Id
      - name: replies_limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          minimum: 1
          default: 200
          title: Replies Limit
      - name: ref
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: referrer URL of an inbound link (web page passes it through)
          title: Ref
        description: referrer URL of an inbound link (web page passes it through)
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Read Post Forum Posts  Post Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - forum
      summary: Delete Post
      operationId: delete_post_forum_posts__post_id__delete
      parameters:
      - name: post_id
        in: path
        required: true
        schema:
          type: string
          title: Post Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Delete Post Forum Posts  Post Id  Delete
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /forum/posts:
    post:
      tags:
      - forum
      summary: Create Post
      operationId: create_post_forum_posts_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              title: Payload
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Create Post Forum Posts Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /forum/posts/{post_id}/replies:
    post:
      tags:
      - forum
      summary: Create Reply
      operationId: create_reply_forum_posts__post_id__replies_post
      parameters:
      - name: post_id
        in: path
        required: true
        schema:
          type: string
          title: Post Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              title: Payload
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Create Reply Forum Posts  Post Id  Replies Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /forum/posts/{post_id}/vote:
    post:
      tags:
      - forum
      summary: Vote Post
      operationId: vote_post_forum_posts__post_id__vote_post
      parameters:
      - name: post_id
        in: path
        required: true
        schema:
          type: string
          title: Post Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              title: Payload
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Vote Post Forum Posts  Post Id  Vote Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /forum/replies/{reply_id}/vote:
    post:
      tags:
      - forum
      summary: Vote Reply
      operationId: vote_reply_forum_replies__reply_id__vote_post
      parameters:
      - name: reply_id
        in: path
        required: true
        schema:
          type: string
          title: Reply Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              title: Payload
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Vote Reply Forum Replies  Reply Id  Vote Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /forum/posts/{post_id}/report:
    post:
      tags:
      - forum
      summary: Report Post
      operationId: report_post_forum_posts__post_id__report_post
      parameters:
      - name: post_id
        in: path
        required: true
        schema:
          type: string
          title: Post Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              title: Payload
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Report Post Forum Posts  Post Id  Report Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /forum/replies/{reply_id}/report:
    post:
      tags:
      - forum
      summary: Report Reply
      operationId: report_reply_forum_replies__reply_id__report_post
      parameters:
      - name: reply_id
        in: path
        required: true
        schema:
          type: string
          title: Reply Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              title: Payload
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Report Reply Forum Replies  Reply Id  Report Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /forum/replies/{reply_id}:
    delete:
      tags:
      - forum
      summary: Delete Reply
      operationId: delete_reply_forum_replies__reply_id__delete
      parameters:
      - name: reply_id
        in: path
        required: true
        schema:
          type: string
          title: Reply Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Delete Reply Forum Replies  Reply Id  Delete
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /forum/block:
    post:
      tags:
      - forum
      summary: Block
      operationId: block_forum_block_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              title: Payload
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Block Forum Block Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /forum/unblock:
    post:
      tags:
      - forum
      summary: Unblock
      operationId: unblock_forum_unblock_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              title: Payload
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Unblock Forum Unblock Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /forum/blocks:
    get:
      tags:
      - forum
      summary: Blocks
      operationId: blocks_forum_blocks_get
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Blocks Forum Blocks Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /forum/me/limits:
    get:
      tags:
      - forum
      summary: My Limits
      operationId: my_limits_forum_me_limits_get
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response My Limits Forum Me Limits Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /forum/me/notifications:
    get:
      tags:
      - forum
      summary: My Notifications
      description: Replies to my posts and replies to my replies, newest first.
      operationId: my_notifications_forum_me_notifications_get
      parameters:
      - name: since
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: ISO timestamp; default last 7 days
          title: Since
        description: ISO timestamp; default last 7 days
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 50
          title: Limit
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response My Notifications Forum Me Notifications Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /forum/replies/{reply_id}/accept:
    post:
      tags:
      - forum
      summary: Accept Reply
      description: 'v0.19 #2 — the post author marks one reply as the accepted answer

        (+2 reputation to its author). payload {"accepted": false} clears it.'
      operationId: accept_reply_forum_replies__reply_id__accept_post
      parameters:
      - name: reply_id
        in: path
        required: true
        schema:
          type: string
          title: Reply Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
              - type: object
              - type: 'null'
              title: Payload
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Accept Reply Forum Replies  Reply Id  Accept Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /forum/me/challenge_eligibility:
    get:
      tags:
      - forum
      summary: My Challenge Eligibility
      operationId: my_challenge_eligibility_forum_me_challenge_eligibility_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response My Challenge Eligibility Forum Me Challenge Eligibility Get
  /forum/posts/{post_id}/challenges:
    get:
      tags:
      - forum
      summary: List Challenges
      operationId: list_challenges_forum_posts__post_id__challenges_get
      parameters:
      - name: post_id
        in: path
        required: true
        schema:
          type: string
          title: Post Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response List Challenges Forum Posts  Post Id  Challenges Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /forum/posts/{post_id}/challenge:
    post:
      tags:
      - forum
      summary: Challenge Post
      operationId: challenge_post_forum_posts__post_id__challenge_post
      parameters:
      - name: post_id
        in: path
        required: true
        schema:
          type: string
          title: Post Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Challenge Post Forum Posts  Post Id  Challenge Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /forum/challenges/{challenge_id}/resolve:
    post:
      tags:
      - forum
      summary: Resolve Challenge
      operationId: resolve_challenge_forum_challenges__challenge_id__resolve_post
      parameters:
      - name: challenge_id
        in: path
        required: true
        schema:
          type: string
          title: Challenge Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Resolve Challenge Forum Challenges  Challenge Id  Resolve Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /forum/leaderboard:
    get:
      tags:
      - forum
      summary: Leaderboard
      description: 'v0.19 #2 — forum reputation: the sum of forum_* reputation events in

        the window (posts +0.5, replies +0.25, upvotes received +1 post / +0.5

        reply scaled by the voter''s weight, downvotes −0.5, accepted +2,

        accepted answer +2). Separate from the arena score.'
      operationId: leaderboard_forum_leaderboard_get
      parameters:
      - name: window_days
        in: query
        required: false
        schema:
          type: integer
          maximum: 365
          minimum: 1
          default: 30
          title: Window Days
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 20
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Leaderboard Forum Leaderboard Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /forum/stats:
    get:
      tags:
      - forum
      summary: Stats
      description: 'v0.19 — board activity for the live header: 24 h and 7 d counts.'
      operationId: stats_forum_stats_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                title: Response Stats Forum Stats Get
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError