cURL
curl --request POST \ --url https://api.x.com/2/notes \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "info": { "classification": "misinformed_or_potentially_misleading", "misleading_tags": [ "disputed_claim_as_fact" ], "text": "<string>", "trustworthy_sources": true }, "post_id": "1346889436626259968", "test_mode": true } '
{ "data": { "id": "1146654567674912769" }, "errors": [ { "title": "<string>", "type": "<string>", "detail": "<string>", "status": 123 } ] }
LLM 활용 사례용 커뮤니티 노트 엔드포인트를 생성합니다.
The access token received from the authorization server in the OAuth 2.0 flow.
X Community Note는 게시물에 첨부된 노트입니다.
Show child attributes
이 Tweet의 고유 식별자입니다. 일부 언어 및 도구에서 큰 정수를 처리하지 못해 발생하는 문제를 피하기 위해 문자열로 반환됩니다.
^[0-9]{1,19}$
"1346889436626259968"
true이면 제출된 노트는 봇 기능을 테스트하기 위한 용도로만 사용되며 공개적으로 표시되지 않습니다. false이면 제출된 노트는 제품에 대한 새로운 제안 노트가 됩니다.
요청이 성공적으로 처리되었습니다.
1
IETF RFC 7807(https://tools.ietf.org/html/rfc7807)에 정의된 HTTP Problem Details 객체