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

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