Appearance
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:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
organizationUuid | String! | Ja | UUID of the organization. |
url | String! | Ja | RSS feed URL. |
name | String | Nee | Display 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:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
channelUuid | String! | Ja | |
botUuid | String! | 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:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
organizationUuid | String! | Ja | UUID of the organization. |
feedUuid | String! | Ja | UUID 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:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
channelUuid | String! | Ja |
Voorbeeld:
graphql
query UnlinkChannelFromBot {
unlinkChannelFromBot(channelUuid: $channelUuid) {
# selecteer velden uit het return type
}
}