Repository navigation
feat(API): add project note endpoints and note field to project details - #1382
Merged
Sven Dunemann (forelabs) merged 2 commits intoNov 24, 2026
Merged
Conversation
Contributor
API changelog (oasdiff)Doc-only edits (descriptions, examples) do not appear here. |
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sven Dunemann (forelabs)
approved these changes
Nov 24, 2026
Sven Dunemann (forelabs)
deleted the
openapi-sync/strings-app-pr-17768
branch
November 24, 2026 11:03
This was referenced Nov 24, 2026
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.
This PR was generated by the
openapi-applyagent in response to a/openapi-sync applyrequest onPhrase-Engineering/strings-app#17768.
What changed in the API
GET /api/v2/projects/{project_id}/notereturns the Markdown-formatted note for a project (gated behind theproject_notesaccount feature).PATCH /api/v2/projects/{project_id}/notecreates or updates the project note;bodyis required.DELETE /api/v2/projects/{project_id}/notedeletes the project note (idempotent; succeeds even when no note exists).GET /api/v2/projects/{project_id}response now conditionally includes anoteobject (viahas_one :note, serializer: NoteSerializer, if: :include_note?inProjectDetailSerializer) when theproject_notesfeature is enabled for the account.Source
Notes for reviewers
update.yamlfragment listed two request body content types (application/jsonandapplication/x-www-form-urlencoded). Onlyapplication/jsonwas kept, per the repo convention of a single content type per operation.security:blocks from the proposal were dropped; authentication is declared globally inmain.yaml.noteproperty added toproject_details.yamluses a plain$ref(no siblingdescription:) to avoid the OpenAPI 3.0$ref-silences-siblings issue.title: project_note/update/parametersto match the repo's model-naming convention.Project Notestag was added tomain.yamland to the Core Resources group inx-tagGroups.lint.shstep (openapi-generator-cli validate) reportedNo validation errors. Ajava: not founderror appeared during the lint run — this is a pre-existing environment condition in CI (Java not installed), not a consequence of these changes.swagger-cli validateandmake bundleboth completed successfully.Opened automatically by the
openapi-applyagent. Review the spec changesagainst the linked strings-app PR; the agent does not vouch for correctness
beyond "the YAML parsed and the documented layout was followed."