github.com/kyma-incubator/compass/components/director@v0.0.0-20230623144113-d764f56ff805/examples/add-document-to-bundle/add-document-to-bundle.graphql (about)

     1  # Code generated by Compass integration tests, DO NOT EDIT.
     2  mutation {
     3    result: addDocumentToBundle(
     4      bundleID: "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
     5      in: {
     6        title: "Readme"
     7        displayName: "display-name"
     8        description: "Detailed description of project"
     9        format: MARKDOWN
    10        fetchRequest: {
    11          url: "kyma-project.io"
    12          auth: {
    13            credential: { basic: { username: "admin", password: "secret" } }
    14            additionalHeadersSerialized: "{\"header-A\":[\"ha1\",\"ha2\"],\"header-B\":[\"hb1\",\"hb2\"]}"
    15            additionalQueryParamsSerialized: "{\"qA\":[\"qa1\",\"qa2\"],\"qB\":[\"qb1\",\"qb2\"]}"
    16          }
    17          mode: BUNDLE
    18          filter: "/docs/README.md"
    19        }
    20      }
    21    ) {
    22      id
    23      title
    24      displayName
    25      description
    26      format
    27      kind
    28      data
    29      fetchRequest {
    30        url
    31        auth {
    32          credential {
    33            ... on BasicCredentialData {
    34              username
    35              password
    36            }
    37            ... on CertificateOAuthCredentialData {
    38              clientId
    39              certificate
    40              url
    41            }
    42            ... on OAuthCredentialData {
    43              clientId
    44              clientSecret
    45              url
    46            }
    47          }
    48          oneTimeToken {
    49            __typename
    50            token
    51            used
    52            expiresAt
    53          }
    54          certCommonName
    55          accessStrategy
    56          additionalHeaders
    57          additionalQueryParams
    58          requestAuth {
    59            csrf {
    60              tokenEndpointURL
    61              credential {
    62                ... on BasicCredentialData {
    63                  username
    64                  password
    65                }
    66                ... on OAuthCredentialData {
    67                  clientId
    68                  clientSecret
    69                  url
    70                }
    71                ... on CertificateOAuthCredentialData {
    72                  clientId
    73                  certificate
    74                  url
    75                }
    76              }
    77              additionalHeaders
    78              additionalQueryParams
    79            }
    80          }
    81        }
    82        mode
    83        filter
    84        status {
    85          condition
    86          message
    87          timestamp
    88        }
    89      }
    90    }
    91  }