github.com/kyma-incubator/compass/components/director@v0.0.0-20230623144113-d764f56ff805/examples/add-event-definition-to-application/add-event-definition-to-application.graphql (about)

     1  # Code generated by Compass integration tests, DO NOT EDIT.
     2  mutation {
     3    result: addEventDefinitionToApplication(
     4      appID: "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
     5      in: { name: "name", spec: { data: "data", type: ASYNC_API, format: JSON } }
     6    ) {
     7      id
     8      name
     9      description
    10      group
    11      spec {
    12        id
    13        data
    14        type
    15        format
    16        fetchRequest {
    17          url
    18          auth {
    19            credential {
    20              ... on BasicCredentialData {
    21                username
    22                password
    23              }
    24              ... on CertificateOAuthCredentialData {
    25                clientId
    26                certificate
    27                url
    28              }
    29              ... on OAuthCredentialData {
    30                clientId
    31                clientSecret
    32                url
    33              }
    34            }
    35            oneTimeToken {
    36              __typename
    37              token
    38              used
    39              expiresAt
    40            }
    41            certCommonName
    42            accessStrategy
    43            additionalHeaders
    44            additionalQueryParams
    45            requestAuth {
    46              csrf {
    47                tokenEndpointURL
    48                credential {
    49                  ... on BasicCredentialData {
    50                    username
    51                    password
    52                  }
    53                  ... on OAuthCredentialData {
    54                    clientId
    55                    clientSecret
    56                    url
    57                  }
    58                  ... on CertificateOAuthCredentialData {
    59                    clientId
    60                    certificate
    61                    url
    62                  }
    63                }
    64                additionalHeaders
    65                additionalQueryParams
    66              }
    67            }
    68          }
    69          mode
    70          filter
    71          status {
    72            condition
    73            message
    74            timestamp
    75          }
    76        }
    77      }
    78      version {
    79        value
    80        deprecated
    81        deprecatedSince
    82        forRemoval
    83      }
    84    }
    85  }