Notifications

Notifications envoyées aux utilisateurs.

Types

Notification

  • actions: [ Link]
  • body: String
  • channel: Articles | Comments | GodparentRequests | GroupBoard | Mandatory | Other | Permissions | Shotguns
  • createdAt: DateTime
  • goto: String
  • group: Group?
  • groupId: ID?
  • id: ID
  • imageFile: String
  • localID: LocalID
  • subscription: NotificationSubscription
  • subscriptionId: ID
  • timestamp: DateTime?
  • title: String
  • updatedAt: DateTime
  • vibrate: [ Int]

E
NotificationChannel

  • Articles
  • Comments
  • GodparentRequests
  • GroupBoard
  • Mandatory
  • Other
  • Permissions
  • Shotguns

NotificationSubscription

  • createdAt: DateTime
  • endpoint: String
  • expiresAt: DateTime?
  • id: ID
  • name: String
  • owner: User
  • ownerId: ID
  • updatedAt: DateTime

N
NotificationSubscriptionKeysInput

  • auth: String
  • p256dh: String

Queries

notificationsSendCountForArticle(​group:  UID, ​visibility:  Visibility) →  Int

Mutations

sendNotification(​body:  String, ​title:  String) →  Boolean

Arguments

  • body: String
  • title: String

testNotification(​subscriptionEndpoint:  String) →  Boolean

Churros API, version dev (at ab9f305)

Made with <3 by net7 net7

Documentation generated with Graphinx