Repository navigation
feat(API): add owner, export_triggers, and export_schedule to repo sync responses and request bodies #STRINGS-4401 - #1370
Merged
Sven Dunemann (forelabs) merged 2 commits intoNov 16, 2026
Conversation
…nc responses and request bodies #STRINGS-4401
Contributor
API changelog (oasdiff)Doc-only edits (descriptions, examples) do not appear here. |
…GS-4401 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sven Dunemann (forelabs)
approved these changes
Nov 16, 2026
Sven Dunemann (forelabs)
deleted the
openapi-sync/strings-app-pr-19362
branch
November 16, 2026 14:24
This was referenced Nov 16, 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#19362.
What changed in the API
GET /api/v2/accounts/{account_id}/repo_syncs,GET .../repo_syncs/{id},POSTcreate,PATCHupdate,POSTactivate/deactivate) now include anownerfield (the user responsible for automated actions), always present.export_triggers(array of event names that trigger automatic export) andexport_schedule(schedule details), when therepo_sync_automatic_exportsfeature is enabled for the account.owner_id,export_triggers[], andexport_schedulein the request body. Sendingexport_triggersorexport_schedulewhen the feature is unavailable returns422.owner_id,export_triggers[], andexport_schedulein the request body (previously onlynamewas accepted). Sending any ofowner_id,export_triggers, orexport_schedulerequires the caller to also havemanage_github_sync?permission on the project (returns403otherwise).Source
Notes for reviewers
schemas/user_short.yamlcreated to matchUserShortSerializer(id,username,name,gravatar_uid). These fields are identical toschemas/user_preview.yaml— reviewers should confirm whether a new schema name is correct or if the existinguser_previewref should be reused forowner.paths/repo_syncs/update.yamlcreated wiring up the previously undocumentedPATCH /accounts/{account_id}/repo_syncs/{id}operation.paths.yamlupdated accordingly.operationIdkept singular (repo_sync/update) to match the existing files in this directory (repo_sync/create,repo_sync/list, etc.), which use singular rather than the pluralrepo_syncs/form from the conventions doc.doc/compiled.jsonupdated automatically bymake bundle(called as part ofmake lint) — this is expected; it reflects the new spec content.openapi-generator-cli validate(part oflint.sh) could not run because Java is not available in the CI environment.npx swagger-cli validate main.yamlpassed cleanly. The openapi-generator step printedNo validation errorsafter the Java error, suggesting the script treats missing Java as a non-fatal condition.create.yaml(x-code-samplesCurl and CLI v2 blocks) were not updated. They remain from the original file and do not show the newowner_id,export_triggers, orexport_scheduleparams. Reviewers may want to update or remove them.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."