Migrate from the Swagger documentation
Replace old Swagger UI bookmarks and legacy examples with the canonical API v2 reference.
Last updatedThis documentation site replaces the Swagger UI as the canonical guide for API v2. Every public /v2 operation in the maintained schema has a generated page with authentication, permission scope, parameters, examples, success data, errors, rate-limit guidance, and related endpoints.
Replace old bookmarks
| Legacy destination | Replacement |
|---|---|
API host /docs or /docs/ | API v2 overview |
| Swagger Members tag | Member endpoints |
| Swagger Configuration tag | Rank endpoints |
| Swagger Moderation tag | Blacklist endpoints |
| Swagger Events tag | Event endpoints |
| Swagger JSON document | Maintained OpenAPI JSON |
Swagger deep links use a URL fragment after #. Browsers do not send that fragment to the server, so a server redirect cannot preserve the selected operation. Use full-site search here for the method, path, or operation title.
Update an integration
- Replace a bookmarked Swagger page with the matching generated endpoint page.
- Verify the method and
/v2path against the current route. - Replace copied legacy headers with the Bearer key and
X-Clan-Idformat. - Verify the required scope and community feature.
- Update success handling to read
dataand error handling to readerror.code. - Regenerate client types from
/openapi.jsonif your project uses them.
Deprecation state
The API repository still exposes Swagger at its /docs route while parity and redirect deployment are verified. It should not be removed before inbound links are updated and production redirects are confirmed. No removal date is published.
Aliases controlled by this documentation deployment—/swagger, /swagger-ui/*, /api/docs, /api, and /reference—redirect into the new reference. Redirects on the separate API hostname must be deployed with the API service.
Maintainers can find the exact source-to-destination inventory and rollout checklist in maintenance/legacy-swagger-map.json and maintenance/swagger-migration.md in this repository.