Passer au contenu principal
POST
/
2
/
evaluate_note
Évaluer une Community Note
curl --request POST \
  --url https://api.x.com/2/evaluate_note \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "note_text": "<string>",
  "post_id": "1346889436626259968"
}
'
{
  "data": {
    "claim_opinion_score": 123
  },
  "errors": [
    {
      "title": "<string>",
      "type": "<string>",
      "detail": "<string>",
      "status": 123
    }
  ]
}

Autorisations

Authorization
string
header
requis

The access token received from the authorization server in the OAuth 2.0 flow.

Corps

application/json
note_text
string
requis

Texte de la note communautaire.

post_id
string
requis

Identifiant unique de ce Tweet. Il est renvoyé sous forme de chaîne de caractères afin d’éviter les complications avec les langages et outils qui ne gèrent pas les entiers de très grande taille.

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

"1346889436626259968"

Réponse

La requête a réussi.

data
object
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).