Erfordert Manager oder höher (Admin). Berechtigungen

createBroadcastChannel(
  organizationId: ID!
  spec: BroadcastChannelSpec!
): BroadcastChannel!

Argumente

Feld

Typ

Rückgabe

BroadcastChannel!

Feld

Typ

Beispiel

mutation CreateBroadcastChannel($organizationId: ID!, $spec: BroadcastChannelSpec!) {
  createBroadcastChannel(organizationId: $organizationId, spec: $spec) {
    id
    iql
    enabled
    endpoint {
      id
      providerType
      providerProfileId
      deletable
      doiConfirmed
      doiConfirmedAt
    }
  }
}

Beispielantwort

{
  "data": {
    "createBroadcastChannel": {
      "id": "01JB3X7T9QK2M4N6P8R0S2T4V6",
      "iql": "Example iql",
      "enabled": true,
      "endpoint": {
        "id": "01JB3X7T9QK2M4N6P8R0S2T4V6",
        "providerType": "MAIL",
        "providerProfileId": "01JB3X7T9QK2M4N6P8R0S2T4V6",
        "deletable": true,
        "doiConfirmed": true,
        "doiConfirmedAt": "2026-01-01T12:00:00Z"
      }
    }
  }
}

Auf dieser Seite