invantive documentation
Invantive SupportforenAnmelden / Eintragen

Notifications_Notifications: Discourse Notification Entries

read only REST

  • Katalog: Discourse
  • Schema: Notifications
  • Label: Notification Entries

Get notifications for the specified user

Es können nur Daten abgerufen werden.

Zusammenfassung

Get notifications for the specified user

API-Quelle

  • Endpunkt: /notifications.json
  • Operation: get /notifications.json

Leistungsmerkmale

Characteristic Value
Durchschnittliche Zugriffsverzögerung (ms) 243
Zeilen pro Minute schreiben 219

Das Ergebnis kann auf dem Client im Cache zwischengespeichert werden.

Parameter

Name Datentyp Required Default Documentation
username ``

Tabellenspalten

Die Spalten der Tabelle Notifications_Notifications sind unten aufgeführt. Jede Spalte hat einen SQL-Datentyp. Beim Einfügen und Aktualisieren muss für jede erforderliche Spalte jederzeit ein neuer Wert angegeben werden der nicht Null ist.

Name Datentyp Label Required Marks Documentation
created_at varchar2 Erstellt bei writable, created_at
data_badge_id int32 Daten-Ausweis-ID filters on the platform, writable, data.badge_id
data_badge_name varchar2 Name des Datenausweises filters on the platform, writable, data.badge_name
data_badge_slug varchar2 Daten-Badge-Slug filters on the platform, writable, data.badge_slug
data_badge_title char Titel des Datenabzeichens filters on the platform, writable, data.badge_title
data_display_username varchar2 Datenanzeige Benutzername writable, data.display_username
data_original_post_id decimal Daten – ID des Originalbeitrags writable, data.original_post_id
data_original_post_type decimal Daten – Typ des ursprünglichen Beitrags writable, data.original_post_type
data_original_username varchar2 Daten – Ursprünglicher Benutzername writable, data.original_username
data_revision_number varchar2 itgen_dce_data_revision_number writable The JSON text of the nested object.
data_topic_title varchar2 Titel des Datenthemas writable, data.topic_title
data_username varchar2 Daten Benutzername filters on the platform, writable, data.username
fancy_title varchar2 Ausgefallener Titel writable, fancy_title
id decimal ID writable, id
load_more_notifications varchar2 Weitere Benachrichtigungen laden filters on the platform, writable, ::ancestor.load_more_notifications
notification_type decimal Meldungsart writable, notification_type
post_number decimal Beitragsnummer writable, post_number
read char Read writable, read
seen_notification_id decimal ID der gesehene Benachrichtigung filters on the platform, writable, ::ancestor.seen_notification_id
slug varchar2 Slug writable, slug
topic_id decimal Themen-ID writable, topic_id
total_rows_notifications decimal Gesamtzahl der Zeilen – Benachrichtigungen filters on the platform, writable, ::ancestor.total_rows_notifications
user_id int32 Benutzer-Kennung filters on the platform, writable, user_id

Anmerkungen zu dieser Version

Was hat sich in den Tabellen, Spalten, Attributen und Funktionen des Treibers mit jeder neuen Version geändert:

Änderungen an dieser Tabelle, 26.0 bis 27.0

  • ~ data_badge_id (database_data_type: int32 → int64)
  • ~ data_badge_id (dotnet_data_type: int32 → int64)
  • - data_display_username
  • - data_original_post_id
  • - data_original_post_type
  • - data_original_username
  • - data_revision_number
  • - data_topic_title
  • - fancy_title
  • ~ id (database_data_type: decimal → int64)
  • ~ id (dotnet_data_type: decimal → int64)
  • ~ notification_type (database_data_type: decimal → int64)
  • ~ notification_type (dotnet_data_type: decimal → int64)
  • ~ post_number (database_data_type: decimal → int64)
  • ~ post_number (dotnet_data_type: decimal → int64)

10 weitere Änderungen

Der Parameter „username“ wurde aus „Discourse.Notifications.Notifications_Notifications“ entfernt.

Ein Aufruf, der diesen Parameter übergibt, schlägt nach dem Upgrade fehl.

Was ist zu tun?

Überprüfen Sie vor dem Upgrade alle Statements, Views und Skripte, die diese Spalte verwenden.

  • kann ein Statement unterbrechen
  • Bedeutung 4
Discourse.Notifications.Notifications_Notifications: Typänderungen

Der Typ von „Discourse.Notifications.Notifications_Notifications“ ändert sich von „tablefunction“ zu „Tabelle“.

Was ist zu tun?

Überprüfen Sie vor dem Upgrade alle Statements, Views und Skripte, die diese Spalte verwenden.

  • kann ein Statement unterbrechen
  • tablefunction → table
  • Bedeutung 3

  • ~ seen_notification_id (database_data_type: decimal → int64)
  • ~ seen_notification_id (dotnet_data_type: decimal → int64)
  • ~ topic_id (database_data_type: decimal → int64)
  • ~ topic_id (dotnet_data_type: decimal → int64)
  • ~ total_rows_notifications (database_data_type: decimal → int64)
  • ~ total_rows_notifications (dotnet_data_type: decimal → int64)
  • ~ user_id (database_data_type: int32 → int64)
  • ~ user_id (dotnet_data_type: int32 → int64)

Alle Treiberwechsel, 26.0 bis 27.0