Structs§
- About
Info - About metadata.
- About
Response - Response payload for about.json.
- AddMembers
Outcome - Result of a bulk add-members call.
- Admin
Report - Raw report payload, distilled from
/admin/reports/{id}.json. Only the fieldsdsc analyticsactually reads are deserialised — Discourse emits a lot more (axis labels, chart modes, descriptions) that we don’t care about. - ApiKey
Summary - One row from /admin/api/keys.json.
- Categories
Response - Response payload for categories.json.
- Category
Info - Category metadata.
- Category
List - Category listing.
- Category
Response - Response payload for category JSON.
- Create
Category Response - Response payload for creating a category.
- Create
Group Response - Response payload for creating a group.
- Create
Post Response - Response payload for creating a post/topic.
- Created
ApiKey - Response from POST /admin/api/keys.json — includes the full secret
key. - Created
Category - Created category payload.
- Created
Group - Created group payload.
- Custom
Emoji - Discourse
Client - HTTP client for the Discourse API.
- Group
Detail - Group details with settings used for deep-copy.
- Group
Detail Response - Response payload for group detail.
- Group
Member - Group
Members Response - Group
Summary - Group summary.
- Groups
Response - Response payload for groups.json.
- Invite
Result - Distilled successful response from POST /invites.json.
- PmTopic
Summary - Distilled row from /topics/private-messages-*.json.
- Post
- Topic post.
- Post
Info - Post
Stream - Topic post stream.
- Report
Point - One day-bucket from a flat (non-stacked) report’s
dataarray. - Search
Hit - One result row in a search response — distilled from the topic stanza of
/search.json(which contains far more than we need). - Site
Info - Site metadata.
- Site
Response - Response payload for site.json.
- Site
Setting Detail - A single site setting with its full metadata, as returned by
GET /admin/site_settings.json. - TagGroup
Info - A tag group as returned by the Discourse admin API.
- TagInfo
- Topic
List - Topic list for a category.
- Topic
Response - Response payload for topic JSON.
- Topic
Summary - Topic summary.
- Upload
Info - Distilled fields from
/uploads.json— the response carries more (id, width/height, dominant_color, etc.) but these are the ones every caller will reach for. - User
Action - One row from /user_actions.json. Distilled — Discourse returns more fields than most callers need.
- User
Detail - Distilled /users/
.json payload. - User
Summary - One row from /admin/users/list/
.json. - Version
Info