Appearance
Organisaties
Interne GraphQL-queries: Organisaties. Vereist authenticatie.
Endpoint: POST https://graphql.persmonitor.nl/graphql
Intern · VPN
Deze pagina's zijn op productie alleen via VPN bereikbaar onder /internal/.
myOrganizations
Organisaties van de huidige gebruiker. Admin ziet alle tenants (standaard max 50). Optioneel: search, uuid, first, page.
Return type: [Organization]!
Authenticatie: Organisatielid
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
first | Int | Nee (default: 50) | Het aantal resultaten per pagina (default 50; globale read-cap 100, tenzij de query een hogere cap documenteert). |
page | Int | Nee (default: 1) | De pagina die je wilt opvragen. |
search | String | Nee | Zoek op organisatienaam (case-insensitive contains). |
uuid | String | Nee | Exacte organisatie-uuid (bijv. voor switch). |
Voorbeeld:
graphql
query MyOrganizations(
$first: Int
$page: Int
$search: String
) {
myOrganizations(first: $first, page: $page, search: $search) {
# selecteer velden uit het return type
}
}myOrganizationsCount
Totaal aantal organisaties voor search/uuid (voor paginatie).
Return type: Int!
Authenticatie: Organisatielid
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
search | String | Nee | Zelfde zoekterm als myOrganizations. |
uuid | String | Nee | Exacte organisatie-uuid. |
Voorbeeld:
graphql
query MyOrganizationsCount(
$search: String
$uuid: String
) {
myOrganizationsCount(search: $search, uuid: $uuid) {
# selecteer velden uit het return type
}
}organizationActivities
Audit log of all activities in an organization (custom services, etc.).
Return type: [Activity]!
Authenticatie: Organisatielid
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
organization | OrganizationRef! | Ja | Organisatie-selectie, bijv. { uuid }. |
limit | Int | Nee (default: 100) | Maximum number of activities to return (default 100). |
Voorbeeld:
graphql
query OrganizationActivities(
$limit: Int
) {
organizationActivities(organization: $organization, limit: $limit) {
# selecteer velden uit het return type
}
}organizationAlerts
System alerts for an organization (newest first).
Return type: [OrganizationAlert]!
Authenticatie: Organisatielid
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
organization | OrganizationRef! | Ja | |
limit | Int | Nee | Max alerts to return (default 50, max 200). |
Voorbeeld:
graphql
query OrganizationAlerts(
$limit: Int
) {
organizationAlerts(organization: $organization, limit: $limit) {
# selecteer velden uit het return type
}
}organizationAlertsUnreadCount
Number of unread organization alerts.
Return type: Int!
Authenticatie: Organisatielid
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
organization | OrganizationRef! | Ja |
Voorbeeld:
graphql
query OrganizationAlertsUnreadCount {
organizationAlertsUnreadCount(organization: $organization) {
# selecteer velden uit het return type
}
}organizationMembers
Leden van een organisatie. Altijd beschikbaar (minimaal de eigenaar). Vereist lidmaatschap.
Return type: [OrganizationMember!]!
Authenticatie: Organisatielid
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
organizationUuid | String! | Ja | UUID van de organisatie. |
Voorbeeld:
graphql
query OrganizationMembers {
organizationMembers(organizationUuid: $organizationUuid) {
# selecteer velden uit het return type
}
}organizationRssFeeds
RSS feeds of an organization. User must be member of the organization.
Return type: [RssFeed]!
Authenticatie: Organisatielid
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
organization | OrganizationRef! | Ja | Organisatie-selectie, bijv. { uuid }. |
Voorbeeld:
graphql
query OrganizationRssFeeds {
organizationRssFeeds(organization: $organization) {
# selecteer velden uit het return type
}
}organizationTemplates
Custom templates van een organisatie (alleen als canUseCustomTemplates). Anders lege lijst; system defaults worden gebruikt.
Return type: [NotificationTemplate]!
Authenticatie: Organisatielid
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
organization | OrganizationRef! | Ja | Organisatie-selectie, bijv. { uuid }. |
Voorbeeld:
graphql
query OrganizationTemplates {
organizationTemplates(organization: $organization) {
# selecteer velden uit het return type
}
}organizationUsage
Current resource usage for an organization. Requires authorization.
Return type: Usage!
Authenticatie: Organisatielid
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
organization | OrganizationRef! | Ja | Organisatie-selectie, bijv. { uuid }. |
Voorbeeld:
graphql
query OrganizationUsage {
organizationUsage(organization: $organization) {
# selecteer velden uit het return type
}
}