Description
Endpoint descriptions are helpful for getting basic information about an endpoint's purpose. Including endpoint descriptions also creates a more complete and consistent experience with other modern APIs, as well as other SwaggerUI implementations from across the foundation.
Conditions of acceptance
Following the approach outlined in the related research spike, add translatable endpoint descriptions to all content endpoints:
- GET /page/{title}/history
- GET /page/{title}/history/counts/{type}
- GET /revision/{from}/compare/{to}
- GET /search
- GET /search/page
- GET /search/title
- GET /page/{title}/links/language
- GET /page/{title}/links/media
- GET /file/{title}
- POST /transform/wikitext/to/html/
- POST /transform/html/to/wikitext/
- POST /transform/wikitext/to/html/{title}
- POST /transform/html/to/wikitext/{title}
- POST /transform/wikitext/to/html/{title}/{revision}
- POST /transform/html/to/wikitext/{title}/{revision}
- For the endpoint descriptions themselves, use the descriptions currently available in the API Portal.
- If there are endpoints that are missing descriptions in the portal, consult with Halley for generating a new description.
- All descriptions are translatable by translatewiki.