Skip to content

feat(API): improve get /projects/{project_id}/screenshots documentation#1169

Open
Stephen Lumenta (sbl) wants to merge 2 commits into
mainfrom
devex-115-screenshots-list-screenshots-v2
Open

feat(API): improve get /projects/{project_id}/screenshots documentation#1169
Stephen Lumenta (sbl) wants to merge 2 commits into
mainfrom
devex-115-screenshots-list-screenshots-v2

Conversation

@sbl

Copy link
Copy Markdown
Contributor

Improves the documentation for get /projects/{project_id}/screenshots: sharper descriptions, parameter docs, error responses, and usage examples.

Drafted with AI assistance and grounded in the API implementation. Please review for technical accuracy before merging; nothing is merged automatically.

Closes DEVEX-115.

Sharpen conceptual clarity with a full description explaining screenshot
purpose, branch isolation, pagination, and result ordering. Add richer
parameter documentation for key_id. Add per-status error descriptions
covering 400/401/403/404/429. Add a concrete JSON response example with
two screenshots. Add a second Curl code sample showing key_id filtering.
Swap inline branch param for the shared $ref.

Addresses DEVEX-115.
@sbl Stephen Lumenta (sbl) added the developer-hub-api-quality API doc quality fix from the API Grader label Jun 10, 2026
The compare-output CI job diffs the committed bundle against a fresh
swagger-cli compile, so spec changes must ship the regenerated bundle.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
parameters:
- "$ref": "../../parameters.yaml#/X-PhraseApp-OTP"
- "$ref": "../../parameters.yaml#/project_id"
- "$ref": "../../parameters.yaml#/branch"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

this is nice.

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

Labels

developer-hub-api-quality API doc quality fix from the API Grader

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants