github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/schemas/repo_sync_event.yaml (about)

     1  ---
     2  repo_sync_event:
     3    type: object
     4    title: repo_sync_event
     5    properties:
     6      event_type:
     7        type: string
     8        enum: [import, export]
     9      created_at:
    10        type: string
    11        format: date-time
    12      status:
    13        type: string
    14        enum: [running, success, failure]
    15      pull_request_url:
    16        type: string
    17        description: URL of the pull request created on export
    18      auto_import:
    19        type: boolean
    20        description: Whether the import was triggered by the repo push event
    21      errors:
    22        description: List of error messages, in case of failure
    23        type: array
    24        items:
    25          anyOf:
    26          - type: string
    27          - type: object
    28    example:
    29      event_type: import
    30      created_at: '2015-01-28T09:52:53Z'
    31      status: failure
    32      auto_import: true
    33      errors:
    34        - "Error message"
    35        - "Error message"