Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion doc/compiled.json
Original file line number Diff line number Diff line change
Expand Up @@ -5383,13 +5383,18 @@
"failure"
]
},
"automatic": {
"type": "boolean",
"description": "When `true`, the sync was triggered automatically (for example by a Zero Touch Localization rule or an automation). When `false`, it was triggered manually.\n"
},
"pull_request_url": {
"type": "string",
"description": "URL of the pull request created on export"
},
"auto_import": {
"type": "boolean",
"description": "Whether the import was triggered by the repo push event"
"deprecated": true,
"description": "**Deprecated.** Use `automatic` instead. Only present on import events. Indicates whether the import was triggered automatically.\n"
},
"errors": {
"description": "List of error messages, in case of failure",
Expand Down Expand Up @@ -5429,6 +5434,7 @@
"type": "import",
"created_at": "2015-01-28T09:52:53Z",
"status": "failure",
"automatic": true,
"auto_import": true,
"errors": [
"Error message 1",
Expand Down
12 changes: 11 additions & 1 deletion schemas/repo_sync_event.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,21 @@ repo_sync_event:
status:
type: string
enum: [running, success, failure]
automatic:
type: boolean
description: >
When `true`, the sync was triggered automatically (for example by a
Zero Touch Localization rule or an automation). When `false`, it was
triggered manually.
pull_request_url:
type: string
description: URL of the pull request created on export
auto_import:
type: boolean
description: Whether the import was triggered by the repo push event
deprecated: true
description: >
**Deprecated.** Use `automatic` instead. Only present on import events.
Indicates whether the import was triggered automatically.
errors:
description: List of error messages, in case of failure
type: array
Expand Down Expand Up @@ -60,6 +69,7 @@ repo_sync_event:
type: import
created_at: '2015-01-28T09:52:53Z'
status: failure
automatic: true
auto_import: true
errors:
- "Error message 1"
Expand Down
Loading