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

     1  ---
     2  webhook:
     3    type: object
     4    title: webhook
     5    properties:
     6      id:
     7        type: string
     8      callback_url:
     9        type: string
    10      description:
    11        type: string
    12      events:
    13        type: array
    14        items:
    15          type: string
    16      active:
    17        type: boolean
    18      include_branches:
    19        type: boolean
    20      created_at:
    21        type: string
    22        format: date-time
    23      updated_at:
    24        type: string
    25        format: date-time
    26    example:
    27      id: abcd1234cdef1234abcd1234cdef1234
    28      callback_url: http://example.com/hooks/phraseapp-notifications
    29      description: My webhook for chat notifications
    30      events: locales:create,translations:update
    31      active: true
    32      include_branches: false
    33      created_at: '2015-01-28T09:52:53Z'
    34      updated_at: '2015-01-28T09:52:53Z'