docs: add Projects API guidance for common reference gaps - #7
Open
VeronicaSnyk wants to merge 1 commit into
Open
docs: add Projects API guidance for common reference gaps#7VeronicaSnyk wants to merge 1 commit into
VeronicaSnyk wants to merge 1 commit into
Conversation
Adds prose sections to the REST Projects reference page covering the questions most frequently left unanswered: query parameter usage and tags filter format, project owner update via PATCH relationships, deactivation and move via v1 API, issues endpoint cross-reference, and a permissions summary table. All facts grounded in rest-spec.json and v1-api-spec.yaml. One [!NEEDS INPUT] marker placed for unconfirmed status filter. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Docs gap fix
Gap (shared underlying issue): The Projects REST API reference page contained only OpenAPI spec blocks with no prose — users could not find query parameter usage, tags filter format, deactivation/move procedures, permission requirements, or how to reach the Issues endpoint from a project context.
Source questions (cluster):
meta.latest_issue_countsrequire extra permissions?"Topic: developer-tools (API reference)
Answer status: not answered (0%)
Fix type: create (new prose sections on existing reference page)
Origin: GitBook AI Insights —
brief-0.json, clusterendpoint:projects, priority score 54, last asked 2026-07-14What changed
developer-tools/snyk-api/reference/projects.md: added a permissions summary table, tags filter format guide, limit constraints note, project owner PATCH example, v1 deactivate procedure, v1 move procedure, and Issues API cross-reference.Sources of truth used
rest-spec.json, path/orgs/{org_id}/projects, GET operationrest-spec.json, path/orgs/{org_id}/projects/{project_id}, PATCH operationv1-api-spec.yaml, lines 2401–2447{targetOrgId: string}, group admin permissions required, historical data does not move —v1-api-spec.yaml, lines 3548–3602rest-spec.json, path/orgs/{org_id}/issuesv1-api-spec.yaml, line 17289Needs human input
statusfilter on GET /orgs/{org_id}/projects — users asked about this in seven questions, but nostatusquery parameter was found inrest-spec.jsonfor this endpoint. Confirm whether it exists under a different name, or confirm it is absent (in which case the note pointing to v1 deactivate is the correct answer).include_deactivatedon issues vs. project activation —rest-spec.jsondescribes this param as "include disabled issues in results" (issue status), not project activation status. Confirm whether inactive/deactivated projects are excluded fromGET /orgs/{org_id}/issuesby default and whether this param is the correct lever.Reviewer checklist