invantive documentation
Forum di supporto InvantiveAccedi / Registrati

UserActions: Discourse User Actions

read only REST

  • Catalogo: Discourse
  • Schema: Users
  • Label: User Actions

Get a list of user actions

È possibile solo recuperare i dati.

Get a list of user actions

Codice sorgente dell'API

  • Punto finale: /user_actions.json
  • Operazione: get /user_actions.json

Caratteristiche prestazionali

Characteristic Value
Latenza media di accesso (ms) 243
Scrittura di righe al minuto 219

Il risultato può essere memorizzato nella memoria cache sul client.

Parametri

Name Tipo di dati Required Default Documentation
filter ``
offset ``
username ``

Colonne della tabella

Di seguito sono riportate le colonne della tabella UserActions. Ogni colonna ha un tipo di dati SQL. Un nuovo valore non nullo deve essere fornito per ogni colonna richiesta in ogni momento durante l'inserimento e l'aggiornamento.

Name Tipo di dati Label Required Marks Documentation
acting_avatar_template varchar2 Modello di avatar provvisorio filters on the platform, writable, acting_avatar_template
acting_name varchar2 Nome d'arte filters on the platform, writable, acting_name
acting_user_id int64 ID utente provvisorio filters on the platform, writable, acting_user_id
acting_username varchar2 Nome utente provvisorio filters on the platform, writable, acting_username
action_code varchar2 Codice azione writable The JSON text of the nested object.
action_type int64 Tipo di azione filters on the platform, writable, action_type
archived char Archived filters on the platform, writable, archived
avatar_template varchar2 Modello per avatar filters on the platform, writable, avatar_template
category_id int64 ID categoria filters on the platform, writable, category_id
closed char Closed filters on the platform, writable, closed
created_at varchar2 Creato il filters on the platform, writable, created_at
delete char Delete filters on the platform, writable, delete
exerpt varchar2 Exerpt filters on the platform, writable, exerpt
hidden char Hidden filters on the platform, writable, hidden
name varchar2 Name filters on the platform, writable, name
post_id int64 ID post filters on the platform, writable, post_id
slug varchar2 Slug filters on the platform, writable, slug
target_name varchar2 Nome del bersaglio filters on the platform, writable, target_name
target_user_id varchar2 ID utente di destinazione filters on the platform, writable, target_user_id
target_username varchar2 Nome utente di destinazione filters on the platform, writable, target_username
title varchar2 Title filters on the platform, writable, title
topic_id int64 ID argomento filters on the platform, writable, topic_id
user_id int64 ID Utente filters on the platform, writable, user_id
username varchar2 Nome Utente filters on the platform, writable, username

Note di rilascio

Cosa è cambiato, versione per versione, nelle tabelle, nelle colonne, negli attributi e nelle funzionalità del driver:

Modifiche apportate a questa tabella, da 26.0 a 27.0

Offset dei parametri di Discourse.Users.UserActions: modifiche ai tipi di dati .NET

Il tipo di dati Dotnet passa da string a int64.

Cosa fare

Verificare le istruzioni, le Views e gli script che la utilizzano prima dell’aggiornamento.

  • può interrompere un'istruzione
  • string → int64
  • importanza 3

  • - delete
  • - exerpt
  • ~ hidden (database_data_type: char → varchar2)
  • ~ hidden (dotnet_data_type: boolean → string)
  • ~ post_id (database_data_type: int64 → varchar2)
  • ~ post_id (dotnet_data_type: int64 → string)
  • ~ target_user_id (database_data_type: varchar2 → int64)
  • ~ target_user_id (dotnet_data_type: string → int64)
  • + deleted (char)
  • + excerpt (varchar2)
  • + post_number (int64)
  • + post_type (varchar2)

Tutte le sostituzioni del conducente, da 26.0 a 27.0