You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regenerate SDK: Moderation API + grouped request parameters (#5)
* Regenerate SDK from latest OpenAPI spec (moderation tenantId + broadcastId params)
Adds the optional tenantId query param to the SSO-gated Moderation API endpoints
and the optional broadcastId query param to the mutating moderation endpoints.
Backward-compatible. Mirrors fastcomments-sdk-js v5.0.2.
* Regenerate against corrected spec (tsoa 6.6.8 splits X | APIError response unions)
* Bump version to 2.0.1 (patch over the 2.0.0 Moderation API release)
* Regenerate with grouped request objects; update.sh uses fork generator
API methods now take a single Api<Op>Request pydantic object (useSingleRequestParameter). update.sh now uses the FastComments openapi-generator fork, since the stock generator ignores the option for python. Updated SSO tests and README examples.
* Regenerate docs with grouped request-object examples
API reference examples now construct the single Api<Op>Request object, matching the grouped method signatures.
* Regenerate: required params + body positional, optionals in one object
API methods now take required params + body positionally, with optional params in a single Api<Op>Options object (was: one Api<Op>Request for everything). Updated SSO tests + README.
* Regenerate: single optional is a direct param (no options object for one value)
Operations with exactly one optional now take it directly (e.g. deleteModerator(..., send_email)); the Api<Op>Options object is only used for 2+ optionals.
* Regenerate: mod_api/ paths + PostRemoveCommentApiResponse rename; drop Api prefix from options types
Options types renamed Api<Op>Options -> <Op>Options (e.g. ApiGetApiCommentsOptions -> GetApiCommentsOptions). Hand-written READMEs + SSO tests updated to match.
* README: shorten ModerationApi description; regenerate docs (fix invalid options= synopsis)
Doc-only. Method synopses now show a valid 'options' arg instead of 'options='.
* Release v3.0.0: regenerate at 3.0.0 with fastcomments-build-20260630 jar
Bump version to 3.0.0 and regenerate from the new generator fork release.
Copy file name to clipboardExpand all lines: README.md
+5-10Lines changed: 5 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ This library contains two modules: the generated API client and the core Python
18
18
19
19
### Public vs Secured APIs
20
20
21
-
For the API client, there are three classes, `DefaultApi`, `PublicApi`, and `ModerationApi`. The `DefaultApi` contains methods that require your API key, and `PublicApi` contains methods that can be made directly from a browser/mobile device/etc without authentication. The `ModerationApi`powers the moderator dashboard and contains methods for moderating comments (list, count, search, logs, export), moderation actions (remove/restore, flag, set review/spam/approval status, votes, reopen/close thread), bans (ban from comment, undo, pre-ban summaries, ban status/preferences, banned-user counts), and badges & trust (award/remove badge, manual badges, get/set trust factor, user internal profile). Every `ModerationApi` method accepts an `sso` parameter so it can be called on behalf of an SSO-authenticated moderator.
21
+
For the API client, there are three classes, `DefaultApi`, `PublicApi`, and `ModerationApi`. The `DefaultApi` contains methods that require your API key, and `PublicApi` contains methods that can be made directly from a browser/mobile device/etc without authentication. The `ModerationApi`provides an extensive suite of live and fast moderation APIs. Every `ModerationApi` method accepts an `sso` parameter and can authenticate via SSO or a FastComments.com session cookie.
0 commit comments