-
Notifications
You must be signed in to change notification settings - Fork 887
chore(docs): document agent api debug endpoints #14454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the markdown link checker needs the full filename for local paths.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
For now this is just handwritten (so no Swagger involved) documentation.
It would be helpful if you clarified what exactly was manually written, if not all of it.
One other thing to check is that this won't be overwritten by running make coderd/apidoc/swagger.json
and other targets which produce docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! 👍
I just ran |
relates to #14362
For now this is just handwritten (so no Swagger involved) documentation. It covers the four agent debug endpoints:
/debug/logs
,/debug/magicsock
,/debug/magicsock/debug-logging/{state}
and/debug/manifest
.Future work should aim to include how and when to use the API.