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

     1  # Code generated by Compass integration tests, DO NOT EDIT.
     2  mutation {
     3    result: updateApplicationTemplate(
     4      id: "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
     5      in: {
     6        name: "SAP new-app-template"
     7        description: "new description"
     8        applicationInput: {
     9          name: "new-app-create-input"
    10          description: "{{name}} {{display-name}}"
    11          labels: { displayName: "{{display-name}}" }
    12          healthCheckURL: "http://url.valid"
    13        }
    14        placeholders: [{ name: "name" }, { name: "display-name" }]
    15        accessLevel: GLOBAL
    16      }
    17    ) {
    18      id
    19      name
    20      description
    21      applicationInput
    22      placeholders {
    23        name
    24        description
    25        jsonPath
    26      }
    27      webhooks {
    28        id
    29        applicationID
    30        applicationTemplateID
    31        runtimeID
    32        formationTemplateID
    33        type
    34        mode
    35        correlationIdKey
    36        retryInterval
    37        timeout
    38        url
    39        urlTemplate
    40        inputTemplate
    41        headerTemplate
    42        outputTemplate
    43        statusTemplate
    44        auth {
    45          credential {
    46            ... on BasicCredentialData {
    47              username
    48              password
    49            }
    50            ... on CertificateOAuthCredentialData {
    51              clientId
    52              certificate
    53              url
    54            }
    55            ... on OAuthCredentialData {
    56              clientId
    57              clientSecret
    58              url
    59            }
    60          }
    61          oneTimeToken {
    62            __typename
    63            token
    64            used
    65            expiresAt
    66          }
    67          certCommonName
    68          accessStrategy
    69          additionalHeaders
    70          additionalQueryParams
    71          requestAuth {
    72            csrf {
    73              tokenEndpointURL
    74              credential {
    75                ... on BasicCredentialData {
    76                  username
    77                  password
    78                }
    79                ... on OAuthCredentialData {
    80                  clientId
    81                  clientSecret
    82                  url
    83                }
    84                ... on CertificateOAuthCredentialData {
    85                  clientId
    86                  certificate
    87                  url
    88                }
    89              }
    90              additionalHeaders
    91              additionalQueryParams
    92            }
    93          }
    94        }
    95        createdAt
    96      }
    97      labels
    98      accessLevel
    99    }
   100  }