Skip to content

rest_cherrypy docs never render the POST /token and GET /app endpoints (missing autoclass entries) #69726

Closed

Description

@ggiesen

What happened?

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)

No response

salt --versions-report output

Not applicable, documentation build.

Activity

  1. added a commit that references this issue on Jul 9, 2026
    f5c25cd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions