github.com/kyma-incubator/compass/components/director@v0.0.0-20230623144113-d764f56ff805/examples/update-webhook/update-webhook.graphql (about) 1 # Code generated by Compass integration tests, DO NOT EDIT. 2 mutation { 3 result: updateWebhook( 4 webhookID: "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa" 5 in: { 6 type: CONFIGURATION_CHANGED 7 url: "http://updated-webhook.url" 8 outputTemplate: "{\"location\":\"{{.Headers.Location}}\",\"success_status_code\": 202,\"error\": \"{{.Body.error}}\"}" 9 } 10 ) { 11 id 12 applicationID 13 applicationTemplateID 14 runtimeID 15 formationTemplateID 16 type 17 mode 18 correlationIdKey 19 retryInterval 20 timeout 21 url 22 urlTemplate 23 inputTemplate 24 headerTemplate 25 outputTemplate 26 statusTemplate 27 auth { 28 credential { 29 ... on BasicCredentialData { 30 username 31 password 32 } 33 ... on CertificateOAuthCredentialData { 34 clientId 35 certificate 36 url 37 } 38 ... on OAuthCredentialData { 39 clientId 40 clientSecret 41 url 42 } 43 } 44 oneTimeToken { 45 __typename 46 token 47 used 48 expiresAt 49 } 50 certCommonName 51 accessStrategy 52 additionalHeaders 53 additionalQueryParams 54 requestAuth { 55 csrf { 56 tokenEndpointURL 57 credential { 58 ... on BasicCredentialData { 59 username 60 password 61 } 62 ... on OAuthCredentialData { 63 clientId 64 clientSecret 65 url 66 } 67 ... on CertificateOAuthCredentialData { 68 clientId 69 certificate 70 url 71 } 72 } 73 additionalHeaders 74 additionalQueryParams 75 } 76 } 77 } 78 createdAt 79 } 80 }