PostsById: Discourse Post by ID
read only REST
- Catalogo:
Discourse - Schema:
Posts - Label: Post by ID
Get a single post
È possibile solo recuperare i dati.
Riepilogo
Get a single post
Codice sorgente dell'API
- Punto finale:
/posts/{id}.json - Operazione:
get /posts/{id}.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 |
|---|---|---|---|---|
id |
`` |
Colonne della tabella
Di seguito sono riportate le colonne della tabella PostsById. 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 |
|---|---|---|---|---|---|
admin |
char |
Administrator | filters on the platform, writable, admin |
||
avatar_ |
varchar2 |
Modello per avatar | filters on the platform, writable, avatar_ |
||
avg_ |
varchar2 |
itgen_dce_avg_time | writable | The JSON text of the nested object. | |
can_ |
char |
Può eliminare | filters on the platform, writable, can_ |
||
can_ |
char |
È possibile modificare | filters on the platform, writable, can_ |
||
can_ |
char |
È possibile recuperare | filters on the platform, writable, can_ |
||
can_ |
char |
Può visualizzare la cronologia delle modifiche | filters on the platform, writable, can_ |
||
can_ |
char |
È possibile convertire in formato wiki | filters on the platform, writable, can_ |
||
cooked |
varchar2 |
Cooked | filters on the platform, writable, cooked |
||
created_ |
varchar2 |
Creato il | filters on the platform, writable, created_ |
||
deleted_ |
varchar2 |
Eliminato alle | writable | The JSON text of the nested object. | |
display_ |
varchar2 |
Visualizza nome utente | filters on the platform, writable, display_ |
||
edit_ |
varchar2 |
Motivo della modifica | writable | The JSON text of the nested object. | |
hidden |
char |
Hidden | filters on the platform, writable, hidden |
||
hidden_ |
varchar2 |
itgen_dce_hidden_reason_id | writable | The JSON text of the nested object. | |
id |
decimal |
ID | filters on the platform, writable, id |
||
incoming_ |
decimal |
#Link in entrata | filters on the platform, writable, incoming_ |
||
moderator |
char |
Moderator | filters on the platform, writable, moderator |
||
name |
varchar2 |
Name | filters on the platform, writable, name |
||
post_ |
decimal |
Numero del post | filters on the platform, writable, post_ |
||
post_ |
decimal |
Tipo di post | filters on the platform, writable, post_ |
||
primary_ |
varchar2 |
itgen_dce_primary_group_flair_bg_color | writable | The JSON text of the nested object. | |
primary_ |
varchar2 |
itgen_dce_primary_group_flair_color | writable | The JSON text of the nested object. | |
primary_ |
varchar2 |
itgen_dce_primary_group_flair_url | writable | The JSON text of the nested object. | |
primary_ |
varchar2 |
Nome del gruppo primario | writable | The JSON text of the nested object. | |
quote_ |
decimal |
#Quotes | filters on the platform, writable, quote_ |
||
raw |
varchar2 |
Raw | filters on the platform, writable, raw |
||
reads |
decimal |
#Reads | filters on the platform, writable, reads |
||
reply_ |
decimal |
#Replies | filters on the platform, writable, reply_ |
||
reply_ |
varchar2 |
Rispondi al post numero | writable | The JSON text of the nested object. | |
score |
decimal |
Score | filters on the platform, writable, score |
||
staff |
char |
Staff | filters on the platform, writable, staff |
||
topic_ |
decimal |
ID argomento | filters on the platform, writable, topic_ |
||
topic_ |
varchar2 |
Slug dell'argomento | filters on the platform, writable, topic_ |
||
trust_ |
decimal |
Livello di fiducia | filters on the platform, writable, trust_ |
||
updated_ |
varchar2 |
Aggiornato il | filters on the platform, writable, updated_ |
||
user_ |
char |
Utente eliminato | filters on the platform, writable, user_ |
||
user_ |
decimal |
ID Utente | filters on the platform, writable, user_ |
||
user_ |
varchar2 |
Titolo utente | writable | The JSON text of the nested object. | |
username |
varchar2 |
Nome Utente | filters on the platform, writable, username |
||
version |
decimal |
Version | filters on the platform, writable, version |
||
wiki |
char |
Wiki | filters on the platform, writable, wiki |
||
yours |
char |
Yours | filters on the platform, writable, yours |
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
-avg_time-hidden_reason_id~id(database_data_type:decimal→int64)~id(dotnet_data_type:decimal→int64)~incoming_link_count(database_data_type:decimal→int64)~incoming_link_count(dotnet_data_type:decimal→int64)~post_number(database_data_type:decimal→int64)~post_number(dotnet_data_type:decimal→int64)~post_type(database_data_type:decimal→int64)~post_type(dotnet_data_type:decimal→int64)-primary_group_flair_bg_color-primary_group_flair_color-primary_group_flair_url~quote_count(database_data_type:decimal→int64)~quote_count(dotnet_data_type:decimal→int64)
25 ulteriori modifiche
~reads(database_data_type:decimal→int64)~reads(dotnet_data_type:decimal→int64)~reply_count(database_data_type:decimal→int64)~reply_count(dotnet_data_type:decimal→int64)~topic_id(database_data_type:decimal→int64)~topic_id(dotnet_data_type:decimal→int64)~trust_level(database_data_type:decimal→int64)~trust_level(dotnet_data_type:decimal→int64)~user_id(database_data_type:decimal→int64)~user_id(dotnet_data_type:decimal→int64)~version(database_data_type:decimal→int64)~version(dotnet_data_type:decimal→int64)+bookmarked(char)+can_see_hidden_post(char)+flair_bg_color(varchar2)+flair_color(varchar2)+flair_group_id(int64)+flair_name(varchar2)+flair_url(varchar2)+post_url(varchar2)+posts_count(int64)+readers_count(int64)+reviewable_id(int64)+reviewable_score_count(int64)+reviewable_score_pending_count(int64)