Appearance
Monitors
GraphQL mutations: Monitors.
Endpoint: POST https://graphql.persmonitor.nl/graphql
Intern · VPN
Mutations voor de monitor-app; op productie via /internal/.
createMonitor
Create a P2000 monitor for the current environment. Requires Authorization Bearer token.
Return type: Monitor
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
input | CreateMonitorInput! | Ja |
Voorbeeld:
graphql
query CreateMonitor {
createMonitor(input: $input) {
# selecteer velden uit het return type
}
}deleteMonitor
Delete a monitor. Requires Authorization Bearer token.
Return type: Boolean!
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
uuid | String! | Ja | Monitor UUID to delete |
Voorbeeld:
graphql
query DeleteMonitor {
deleteMonitor(uuid: $uuid) {
# selecteer velden uit het return type
}
}updateMonitor
Update a monitor. Requires Authorization Bearer token.
Return type: Monitor
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
input | UpdateMonitorInput! | Ja |
Voorbeeld:
graphql
query UpdateMonitor {
updateMonitor(input: $input) {
# selecteer velden uit het return type
}
}