StakeWars Reddit API

Purpose

This hostname is used only by the StakeWars Reddit Devvit app to publish admin-approved public contest posts from Reddit's server runtime.

Endpoints

The Devvit app calls POST /api/devvit/reddit/claim to claim one approved draft and POST /api/devvit/reddit/result to report whether Reddit publishing succeeded or failed.

Authentication

Both endpoints require Authorization: Bearer . The shared secret is configured by a subreddit moderator and is not exposed publicly.

Data

The claim response contains only the queue id, subreddit, title, body, and created timestamp for an admin-approved draft. The result request sends only the queue id, status, Reddit post id or URL when available, and an error message when publishing fails.

Reddit User Data

This API does not collect Reddit user data, scrape Reddit, vote, send direct messages, or read private subreddit data. Reddit is used only as the publishing destination for moderator-approved public posts.