Passer au contenu principal
GET
Récupérer une communauté par id

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Scopes

list.read

View Lists, members, and followers of Lists you created or are a member of, including private Lists.

tweet.read

View all Posts you can see, including those from protected accounts.

users.read

View any account you can see, including protected accounts.

Paramètres de chemin

id
string
requis

Identifiant de la communauté. L’identifiant unique de cette Communauté.

Pattern: ^[0-9]{1,19}$
Exemple:

"1146654567674912769"

Paramètres de requête

community.fields
enum<string>[]

Une liste de champs de Communauté à afficher, séparés par des virgules. Les champs disponibles pour l’objet Community.

Minimum array length: 1
Options disponibles:
access,
created_at,
description,
id,
join_policy,
member_count,
name
Exemple:

Réponse

La requête a réussi.

data
object

Une Communauté X est un groupe organisé de Publications.

errors
object[]
Minimum array length: 1

Un objet HTTP Problem Details, tel que défini dans la RFC IETF 7807 (https://tools.ietf.org/html/rfc7807).