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

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