Skip to content

docs: tighten API key and error envelope wording - #6422

Merged
ComputelessComputer merged 1 commit into
mainfrom
docs/api-reference-wording
Aug 1, 2026
Merged

docs: tighten API key and error envelope wording#6422
ComputelessComputer merged 1 commit into
mainfrom
docs/api-reference-wording

Conversation

@ComputelessComputer

@ComputelessComputer ComputelessComputer commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator

Drop the claim that 401 responses carry an error body and scope the
error-envelope example to Anarlog's endpoint handlers, so the reference
matches actual API behavior.


Note

Low Risk
Documentation-only wording changes with no runtime or API behavior impact.

Overview
Updates the local API reference so auth and error documentation match real behavior instead of overstating guarantees.

For authentication, invalid keys are described as returning 401 only—the doc no longer claims those responses include the JSON error body. API key copy is slightly tightened (“shown once” without “at creation”).

For errors, the JSON { "error": { "code", "message" } } example is explicitly scoped to responses from Anarlog’s endpoint handlers, aligning with the existing note that malformed JSON can yield a plain-text 400 before a handler runs.

Reviewed by Cursor Bugbot for commit e30aca5. Bugbot is set up for automated code reviews on this repo. Configure here.

Drop the claim that 401 responses carry an error body and scope the
error-envelope example to Anarlog's endpoint handlers, so the reference
matches actual API behavior.
@netlify

netlify Bot commented Aug 1, 2026

Copy link
Copy Markdown

Deploy Preview for old-char ready!

Name Link
🔨 Latest commit e30aca5
🔍 Latest deploy log https://app.netlify.com/projects/old-char/deploys/6a6e19ad1f8af100088f9993
😎 Deploy Preview https://deploy-preview-6422--old-char.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@ComputelessComputer
ComputelessComputer merged commit e8747ce into main Aug 1, 2026
11 checks passed
@ComputelessComputer
ComputelessComputer deleted the docs/api-reference-wording branch August 1, 2026 16:11
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.

1 participant