Skip to content

docs: fix Pylon API example routes and endpoint list - #12908

Open
CorneiZeR wants to merge 1 commit into
zitadel:mainfrom
CorneiZeR:docs/pylon-routes
Open

CorneiZeR wants to merge 1 commit into
zitadel:mainfrom
CorneiZeR:docs/pylon-routes

Conversation

@CorneiZeR

Copy link
Copy Markdown

Which Problems Are Solved

  • The Pylon API example registers its routes as /img/api/info, /img/api/me and /img/api/me/messages, but the curl calls on the same page use /api/*. The same path rewrite hit the Flask example, which is fixed in docs: fix broken and outdated Python examples #12907.
  • The endpoint list under "Build the Pylon service" names /api/public, /api/private and /api/private-scoped. The example defines none of these routes; the list was copied from the Python examples.

How the Problems Are Solved

  • The route definitions now use /api/info, /api/me and /api/me/messages, matching the curl calls.
  • The endpoint list now describes those three routes, including the read:messages role required by /api/me/messages.

Additional Changes

None.

Additional Context

The route definitions read /img/api/* while the curl calls on the same
page use /api/*, and the endpoint list described /api/public,
/api/private and /api/private-scoped, which the example does not define.
Use /api/info, /api/me and /api/me/messages throughout.
Copilot AI balanced review requested due to automatic review settings October 8, 2026 10:40
@vercel

vercel Bot commented Oct 8, 2026

Copy link
Copy Markdown

@CorneiZeR is attempting to deploy a commit to the zitadel Team on Vercel.

A member of the Team first needs to authorize it.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@hifabienne hifabienne added the os-contribution This is a contribution from our open-source community label Oct 8, 2026
@CorneiZeR

Copy link
Copy Markdown
Author

@fcoppede @livio-a just a friendly reminder on this docs PR — could one of you take a look when you get a chance?

It's a small, docs-only change correcting the Pylon API example routes and the endpoint list, so it should be a quick review. Happy to rebase or adjust anything if needed.

Thanks a lot!

This branch has not been deployed

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

Labels

os-contribution This is a contribution from our open-source community

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants