Repository navigation
feat(API): add automatic field to repo sync event responses, deprecate auto_import #STRINGS-4942 - #1393
Merged
Conversation
Contributor
API changelog (oasdiff)Doc-only edits (descriptions, examples) do not appear here. |
…e auto_import #STRINGS-4942
Sven Dunemann (forelabs)
force-pushed
the
openapi-sync/strings-app-pr-19874
branch
from
November 24, 2026 13:51
43a71f9 to
baae6b5
Compare
Sven Dunemann (forelabs)
approved these changes
Nov 24, 2026
Sven Dunemann (forelabs)
deleted the
openapi-sync/strings-app-pr-19874
branch
November 24, 2026 13:52
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#19874.
What changed in the API
GET /api/v2/accounts/{account_id}/repo_syncs/{repo_sync_id}/eventsandGET /api/v2/accounts/{account_id}/repo_syncs/{repo_sync_id}/events/{id}— the response schema for all event objects (import and export) now includes a newautomaticboolean field indicating whether the sync was triggered automatically. Theauto_importfield on import events is marked deprecated in favor ofautomatic.GET /api/v2/gitlab_syncs/{gitlab_sync_id}/history— thedetailsobject in every history item now includes a newautomaticboolean field. The existingauto_importfield is now only present for import events (not export events) and is deprecated in favor ofautomatic.Source
Notes for reviewers
GET /gitlab_syncs/{gitlab_sync_id}/historyis a new path entry — no existing path file orpaths.yamlentry existed for this endpoint. Addedpaths/gitlab_sync_histories/list.yamland wired it inpaths.yaml. Added theGitLab Syncstag tomain.yaml(it was absent) and addedgitlab_sync_idas a named parameter inparameters.yaml.paths/repo_sync_events/index.yamlandshow.yamlalready referenceschemas/repo_sync_event.yamlvia$ref, so no path-file edits were needed for those endpoints — the schema change propagates automatically.make lint(swagger-cli validate + bundle) passed. Theopenapi-generator-clistep inlint.shprinted ajava: not founderror (JRE not available in this CI environment) but exited 0 with "No validation errors" — this is a pre-existing environment limitation, not introduced by this PR.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."