AMERICAFIRST.WATCH Debate Publishing API Guide

External Debate Publishing API

Use an API key generated from the admin console to create or update debate threads directly on americafirst.watch.

Base URL

https://aws.americafirst.watch

Authentication

Authorization: Bearer {API_KEY}

Admin-managed intro

이 API는 americafirst.watch 토론 게시판에 외부 글을 등록하거나 수정하는 전용 API입니다. 참고용 레퍼런스 미러 설정과는 별개로, 아래 API 키와 게시판 권한만 사용하면 됩니다.

Endpoints

Rules

Board / Category IDs

Team IDs

Local Discussion Categories

Sample Payload

{
  "externalId": "afw-policy_talk-sample-001",
  "boardId": "policy_talk",
  "categoryId": "policy_reform",
  "title": "AFW 게시판 등록 샘플 제목",
  "content": "americafirst.watch 토론 게시판 등록 예시입니다. 같은 externalId로 다시 보내면 수정 처리됩니다.",
  "authorNickname": "AFW Syndication Desk",
  "imageUrl": "https://example.com/sample.jpg"
}

Sample Upsert Response

{
  "ok": true,
  "operation": "created",
  "postUrl": "https://aws.americafirst.watch/discussion.html?topic=123",
  "result": {
    "postUrl": "https://aws.americafirst.watch/discussion.html?topic=123",
    "discussionId": 123,
    "externalId": "partner-post-001"
  },
  "post": {
    "postUrl": "https://aws.americafirst.watch/discussion.html?topic=123",
    "discussionId": 123
  },
  "data": {
    "postUrl": "https://aws.americafirst.watch/discussion.html?topic=123",
    "discussionId": 123
  }
}