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
{{ message }}
Repository navigation
rest_cherrypy docs never render the POST /token and GET /app endpoints (missing autoclass entries) #69726
The rest_cherrypy REST API reference (doc/ref/netapi/all/salt.netapi.rest_cherrypy.rst) is missing sections for two endpoints, so their documentation is never rendered anywhere:
POST /token (Token.POST, generate an eauth token; docstring includes a full request/response example) -- present in the code since 2017.7.0
GET /app (App.GET, serve an HTML5 app entry point)
The page's "REST URI Reference" section has an .. autoclass:: entry for every other handler class (LowDataAdapter, Login, Logout, Minions, Jobs, Run, Events, Webhook, Keys, WebsocketEndpoint, Stats) but none for Token or App, and no other rst page includes those classes. Both endpoints are documented in their docstrings with the same conventions as the rendered ones; the rst page just never picks them up. As a result neither endpoint appears in the rendered API reference or in the HTTP routing table, even though both are routed by the running API (/token and /app are wired up in the URL map).
Expected behavior
POST /token and GET /app appear in the rest_cherrypy REST URI Reference like every other endpoint, via .. autoclass:: Token / .. autoclass:: App entries following the existing page style.
Type of salt install
Not applicable, documentation.
Major version
3006.x
What supported OS are you seeing the problem on? Can select multiple. (If bug appears on an unsupported OS, please open a GitHub Discussion instead)
Activity
Document the rest_cherrypy /token and /app endpoints (#69727)