/api/v1. Inputs list query parameters and JSON fields with their types where known. The success column shows status codes and selected top-level fields, including conditional fields. A dash means no inputs are listed here. Browse other modules in the route index.
Search and discovery
| Method and path | Access | Inputs | Success |
|---|---|---|---|
GET /announcements/home | Public | — | 200 announcements |
GET /games | Public | Query cursor | 200 today, games, more_games, topics, next_cursor, hot |
GET /invite-previews/{code} | Public | — | 200 code, state, kind, requires_review, expires_at, max_uses, use_count, inviter |
GET /live/topics | Public | Query since, scope | 200 count, created, ids, since, more |
GET /live/topics/{id}/replies | Public | Query since | 200 count, first, highest |
POST /locale | Public | JSON locale (string) | 200 locale, interface |
GET /me/nodes | Session | — | 200 joined, favorites, frequent, muted |
GET /moderation/reasons | Session | Query lang | 200 reasons |
GET /permissions | Public | — | 200 tiers, roles |
GET /places/suggest | Public | Query lang, limit, q | 200 lang, places |
GET /report-reasons | Public | Query lang | 200 reasons |
GET /search | Public | Query q, type, page, offset, limit, sort, node | 200 q, type, page, has_more, posts, topics, users, nodes, tags, next_page, next_offset |
GET /search/suggest | Public | Query q, limit, node | 200 q, node, queries, topics, users, nodes, tags |
GET /search/trending | Public | — | 200 recommended, trending, tags |
Feeds
| Method and path | Access | Inputs | Success |
|---|---|---|---|
POST /feed/events | Session | JSON variant (string), events (object[]) | 204 |
GET /feed/personal | Public | Query seed, offset, limit | 200 topics, next_offset |
GET /me/feed/affinity | Session | — | 200 nodes |
Custom feeds
| Method and path | Access | Inputs | Success |
|---|---|---|---|
GET /custom-feeds | Session | Query node | 200 feeds, max_feeds |
POST /custom-feeds | Session | JSON name (string), description (string), public (boolean) | 201 feed |
GET /custom-feeds/{id} | Public | — | 200 feed |
PUT /custom-feeds/{id} | Session | JSON name (string), description (string), public (boolean) | 200 feed |
DELETE /custom-feeds/{id} | Session | — | 204 |
POST /custom-feeds/{id}/copy | Session | — | 201 feed |
PUT /custom-feeds/{id}/nodes/{slug} | Session | — | 200 feed |
DELETE /custom-feeds/{id}/nodes/{slug} | Session | — | 200 feed |
GET /custom-feeds/{id}/topics | Public | Query cursor, offset, limit, sort | 200 topics, next_cursor, next_offset |
Site information
| Method and path | Access | Inputs | Success |
|---|---|---|---|
POST /faq/{key}/feedback | Public | JSON helpful (boolean) | 204 |
GET /sidebar-links | Public | — | 200 links |
Localized content
| Method and path | Access | Inputs | Success |
|---|---|---|---|
GET /l10n/{kind}/{ref}/{field} | Session | — | 200 kind, ref, field, label, format, max_len, source, source_locale, source_name, no_ai, ai_ready, locales |
GET /l10n/{kind}/{ref}/{field}/{locale} | Session | — | 200 source, translation |
PUT /l10n/{kind}/{ref}/{field}/{locale} | Session | JSON value (string) | 200 translation |
DELETE /l10n/{kind}/{ref}/{field}/{locale} | Session | — | 204 |
POST /l10n/{kind}/{ref}/{field}/{locale}/ai | Session | — | 200 translation |
Translation
| Method and path | Access | Inputs | Success |
|---|---|---|---|
POST /posts/{id}/translation | Session | JSON locale (string) | 200 source_locale, source_name, locale, same, title, html |
Images and attachments
| Method and path | Access | Inputs | Success |
|---|---|---|---|
PUT /me/avatar | Session | JSON upload_id (integer) | 204 |
PUT /me/cover | Session | JSON upload_id (integer) | 204 |
DELETE /me/cover | Session | — | 204 |
POST /uploads | Session | multipart file, kind | 201 upload |
Video
| Method and path | Access | Inputs | Success |
|---|---|---|---|
POST /videos | Session | multipart file | 201 video |
GET /videos/{sha1} | Public | — | 200 video |
POST /videos/{sha1}/retry | Session | — | 204 |
Link previews
| Method and path | Access | Inputs | Success |
|---|---|---|---|
GET /link-previews | Public | Repeatable query parameter url (1–20 values) | 200 previews |
External links
| Method and path | Access | Inputs | Success |
|---|---|---|---|
POST /link-clicks | Public | JSON post_id (integer), url (string), reason (string) | 200 clicks, counted |
POST /link-reports | Session | JSON post_id (integer), url (string), reason (string) | 200 reported, repeated |
GET /me/trusted-hosts | Session | — | 200 hosts, max |
POST /me/trusted-hosts | Session | JSON hosts (string[]) | 200 added |
DELETE /me/trusted-hosts/{host} | Session | — | 204 |
GET /topics/{id}/link-stats | Public | Repeatable query parameter post | 200 clicks, flagged, trusted |
Announcements
| Method and path | Access | Inputs | Success |
|---|---|---|---|
PUT /announcements/{id}/dismissal | Session | — | 204 |
