github.com/kyma-incubator/compass/components/director@v0.0.0-20230623144113-d764f56ff805/examples/add-webhook/add-formation-template-webhook.graphql (about)

     1  # Code generated by Compass integration tests, DO NOT EDIT.
     2  mutation {
     3    result: addWebhook(
     4      formationTemplateID: "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
     5      in: { type: FORMATION_LIFECYCLE, url: "http://localhost:6439/", mode: SYNC }
     6    ) {
     7      id
     8      applicationID
     9      applicationTemplateID
    10      runtimeID
    11      formationTemplateID
    12      type
    13      mode
    14      correlationIdKey
    15      retryInterval
    16      timeout
    17      url
    18      urlTemplate
    19      inputTemplate
    20      headerTemplate
    21      outputTemplate
    22      statusTemplate
    23      auth {
    24        credential {
    25          ... on BasicCredentialData {
    26            username
    27            password
    28          }
    29          ... on CertificateOAuthCredentialData {
    30            clientId
    31            certificate
    32            url
    33          }
    34          ... on OAuthCredentialData {
    35            clientId
    36            clientSecret
    37            url
    38          }
    39        }
    40        oneTimeToken {
    41          __typename
    42          token
    43          used
    44          expiresAt
    45        }
    46        certCommonName
    47        accessStrategy
    48        additionalHeaders
    49        additionalQueryParams
    50        requestAuth {
    51          csrf {
    52            tokenEndpointURL
    53            credential {
    54              ... on BasicCredentialData {
    55                username
    56                password
    57              }
    58              ... on OAuthCredentialData {
    59                clientId
    60                clientSecret
    61                url
    62              }
    63              ... on CertificateOAuthCredentialData {
    64                clientId
    65                certificate
    66                url
    67              }
    68            }
    69            additionalHeaders
    70            additionalQueryParams
    71          }
    72        }
    73      }
    74      createdAt
    75    }
    76  }