Skip to content

Overige mutations

Overige GraphQL mutations.

Endpoint: POST https://graphql.persmonitor.nl/graphql

Intern · VPN


addFeedToOrganization

Add an RSS feed to an organization. User must be member. Same URL is reused if it already exists.

Return type: RssFeed

Authenticatie: Ingelogde gebruiker (sessie- of API-token)

Argumenten:

ArgumentTypeVerplichtBeschrijving
organizationUuidString!JaUUID of the organization.
urlString!JaRSS feed URL.
nameStringNeeDisplay name (optional, defaults to URL).

Voorbeeld:

graphql
query AddFeedToOrganization(
  $name: String
) {
  addFeedToOrganization(organizationUuid: $organizationUuid, url: $url, name: $name) {
    # selecteer velden uit het return type
  }
}

linkChannelToBot

Link a Telegram channel to a specific bot. Channel and bot must belong to the same organization; caller must be a member.

Return type: Boolean!

Authenticatie: Ingelogde gebruiker (sessie- of API-token)

Argumenten:

ArgumentTypeVerplichtBeschrijving
channelUuidString!Ja
botUuidString!Ja

Voorbeeld:

graphql
query LinkChannelToBot {
  linkChannelToBot(channelUuid: $channelUuid, botUuid: $botUuid) {
    # selecteer velden uit het return type
  }
}

removeFeedFromOrganization

Remove an RSS feed from an organization (only unlinks, feed node remains).

Return type: Boolean!

Authenticatie: Ingelogde gebruiker (sessie- of API-token)

Argumenten:

ArgumentTypeVerplichtBeschrijving
organizationUuidString!JaUUID of the organization.
feedUuidString!JaUUID of the feed to remove from the organization.

Voorbeeld:

graphql
query RemoveFeedFromOrganization {
  removeFeedFromOrganization(organizationUuid: $organizationUuid, feedUuid: $feedUuid) {
    # selecteer velden uit het return type
  }
}

unlinkChannelFromBot

Unlink a Telegram channel from its bot (will fall back to platform default). Caller must be a member of the channel organization.

Return type: Boolean!

Authenticatie: Ingelogde gebruiker (sessie- of API-token)

Argumenten:

ArgumentTypeVerplichtBeschrijving
channelUuidString!Ja

Voorbeeld:

graphql
query UnlinkChannelFromBot {
  unlinkChannelFromBot(channelUuid: $channelUuid) {
    # selecteer velden uit het return type
  }
}