providerProfiles(
  organizationId: ID!
): [ProviderProfile!]!

Argumente

Feld

Typ

Rückgabe

[ProviderProfile!]!

Feld

Typ

Beispiel

query ProviderProfiles($organizationId: ID!) {
  providerProfiles(organizationId: $organizationId) {
    id
    name
    type
    configuration {
      __typename
      ... on SlackAppProviderProfileConfig {
        teamName
      }
      ... on DiscordAppProviderProfileConfig {
        guildName
      }
      ... on TeamsProviderProfileConfig {
        teamId
        teamName
      }
      ... on MailProviderProfileConfig {
        fromAddress
        fromName
      }
    }
  }
}

Beispielantwort

{
  "data": {
    "providerProfiles": [
      {
        "id": "01JB3X7T9QK2M4N6P8R0S2T4V6",
        "name": "Example name",
        "type": "MAIL",
        "configuration": {
          "__typename": "SlackAppProviderProfileConfig",
          "teamName": "Example teamName"
        }
      }
    ]
  }
}

Auf dieser Seite