메타모아 목록으로

메타모아 공간 운영자 API · metamoa operator API

메타모아(https://metamoa.com)에 올라간 웹 메타버스 공간의 운영자가 쓰는 API예요. 공간 키 하나로 두 가지를 할 수 있어요.

For operators of spaces listed on metamoa. One space key does both:

  1. 업데이트 소식 올리기 · Post an update — POST /api/update/{space_id}
  2. 접속자 수 보내기 · Send the visitor count — POST /api/live/{space_id}

키 받기 · Getting a key

인증 · Authentication

모든 요청에 이 헤더를 붙여요. · Every request carries:

Authorization: Bearer {space_key}
Content-Type: application/json

1. 업데이트 소식 올리기 · Post an update

POST https://metamoa.com/api/update/{space_id}

요청 · Request

{"text": "겨울 맵이 열렸어요. 같이 걸어요!"}

성공 · Success — 201

{"ok": true, "space_id": "{space_id}", "posted_at": "2026-11-01T09:00:00.000Z", "shown_until": "2026-11-08T09:00:00.000Z"}

보이는 곳 · Where it shows

규칙 · Rules

2. 접속자 수 보내기 · Send the visitor count

POST https://metamoa.com/api/live/{space_id}

요청 · Request

{"count": 12}

성공 · Success — 204 (본문 없음 · no body)

오류 · Errors

코드 · Status본문 · Body뜻 · Meaning
400{"error":"invalid","fields":["text"],"reason":"..."}글이 비었거나 길거나, 금지어·다른 사이트 링크 · empty, too long, banned words or a foreign link
400{"error":"invalid","fields":["count"]}count가 정수가 아니거나 범위 밖 · count not an integer in range
401{"error":"unauthorized"}키가 없거나 틀리거나 다른 공간 키 · missing, wrong or another space's key
404{"error":"not_found"}목록에 없는 공간 · space not listed
413{"error":"too large"}본문이 너무 큼 · body too large
429{"error":"too_soon","retry_after":3600}너무 빨리 다시 보냄. retry_after초 뒤에 다시 · too soon; retry after retry_after seconds (also in the Retry-After header)
429{"error":"too_many"}같은 IP에서 너무 많이 보냄 · too many requests from one IP

예시 · Example (curl)

curl -X POST https://metamoa.com/api/update/{space_id} \
  -H "Authorization: Bearer $METAMOA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "새 맵이 열렸어요!"}'

curl -X POST https://metamoa.com/api/live/{space_id} \
  -H "Authorization: Bearer $METAMOA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"count": 12}'

문의 · Contact

[email protected] · 메타모아 · 플로트 주식회사 (FLOAT Co., Ltd.)

이 문서 · This page: https://metamoa.com/api (HTML) · https://metamoa.com/api.md (Markdown)

Markdown: /api.md · /llms.txt