Skip to content

[6769][ADD] endpoint_json2#8

Open
yostashiro wants to merge 11 commits into
19.0from
add-endpoint_json2
Open

[6769][ADD] endpoint_json2#8
yostashiro wants to merge 11 commits into
19.0from
add-endpoint_json2

Conversation

@yostashiro
Copy link
Copy Markdown
Member

@yostashiro yostashiro commented May 23, 2026

Adds exec_mode="json2" to the endpoint framework, enabling declarative JSON-2 API
endpoint configuration. Select a model, method, and parameters — the module handles
dispatch, parameter validation, access control, and result filtering. A code snippet
can be used as an alternative to a model method for quick, ad-hoc logic.

Also provides auto-generated API documentation endpoints at /json2/doc.

QT6769

@yostashiro yostashiro changed the title [ADD] endpoint_json2 [6769][ADD] endpoint_json2 May 24, 2026
@yostashiro
Copy link
Copy Markdown
Member Author

There is a usability issue with creating an json2 endpoint which I assume should be cleared by assigning precompute=True to the route field in endpoint_route_handler.

@AungKoKoLin1997 Please check out the issue and create a PR to update endpoint_route_handler as appropriate.

Copy link
Copy Markdown
Contributor

@AungKoKoLin1997 AungKoKoLin1997 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants