Skip to content

docs: add POST /close to API Endpoints section in README#7572

Merged
lpcox merged 2 commits into
mainfrom
copilot/update-documentation-api-endpoint
Jun 15, 2026
Merged

docs: add POST /close to API Endpoints section in README#7572
lpcox merged 2 commits into
mainfrom
copilot/update-documentation-api-endpoint

Conversation

Copilot AI commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

The POST /close graceful-shutdown endpoint was fully implemented and auth-protected but absent from the API Endpoints reference in README.md, making it undiscoverable without reading source code.

Changes

  • README.md — Added POST /close entry to the API Endpoints list, noting it is auth-protected when an agent ID is configured and intentionally not HMAC-protected (consistent with /health).

GitHub Advanced Security finished work on behalf of lpcox June 15, 2026 13:40
Copilot AI changed the title [WIP] Update documentation to include POST /close endpoint docs: add POST /close to API Endpoints section in README Jun 15, 2026
Copilot finished work on behalf of lpcox June 15, 2026 13:41
Copilot AI requested a review from lpcox June 15, 2026 13:41
@lpcox lpcox marked this pull request as ready for review June 15, 2026 13:45
Copilot AI review requested due to automatic review settings June 15, 2026 13:45
GitHub Advanced Security started work on behalf of lpcox June 15, 2026 13:45 View session

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.

Pull request overview

Adds documentation for the existing POST /close graceful-shutdown endpoint to the README’s API Endpoints reference, improving discoverability of the shutdown mechanism and its authentication/HMAC characteristics.

Changes:

  • Documented POST /close in the ## API Endpoints list, including that it is auth-protected when an agent ID is configured and is not HMAC-protected.
Show a summary per file
File Description
README.md Adds POST /close to the API Endpoints section with a brief security/auth note.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

GitHub Advanced Security finished work on behalf of lpcox June 15, 2026 13:47
@lpcox lpcox merged commit d5dd44d into main Jun 15, 2026
40 checks passed
@lpcox lpcox deleted the copilot/update-documentation-api-endpoint branch June 15, 2026 14:34
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.

3 participants