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

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