Skip to content

Commit 8f784a5

Browse files
authored
Merge pull request #26 from tcaldwell-x/sparack/add_community_notes_docs
update json response
2 parents ef4fcfe + d916dbc commit 8f784a5

1 file changed

Lines changed: 30 additions & 28 deletions

File tree

x-api/community-notes/quickstart.mdx

Lines changed: 30 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -152,34 +152,36 @@ The response will be something like:
152152

153153
```json
154154
{
155-
"data": [
156-
{
157-
"text": "Join us to learn more about our new analytics endpoints available in the X API v2 📊 https://t.co/Zf7e64Xj1k",
158-
"edit_history_tweet_ids": [
159-
"1933207126262096118"
160-
],
161-
"id": "1933207126262096118"
162-
},
163-
{
164-
"text": "Exploring the new X API v2 analytics endpoints https://t.co/9wl2tQy4a8",
165-
"edit_history_tweet_ids": [
166-
"1933206844467785868"
167-
],
168-
"id": "1933206844467785868"
169-
},
170-
{
171-
"text": "Thrilled to announce that X API has won the 2025 Postman API Network Award for Best API! Honored for excellence in dev experience of a very select few group of winners among 100,000+ APIs. Thank you, @getpostman, and our amazing dev community! https://t.co/BjMZrfAoQo",
172-
"edit_history_tweet_ids": [
173-
"1930672414444372186"
174-
],
175-
"id": "1930672414444372186"
176-
}
177-
],
178-
"meta": {
179-
"newest_id": "1933207126262096118",
180-
"oldest_id": "1930672414444372186",
181-
"result_count": 3
182-
}
155+
"data": [
156+
{
157+
"id": "1939827717186494817",
158+
"info": {
159+
"text": "test note text. http://source.com",
160+
"classification": "misinformed_or_potentially_misleading",
161+
"misleading_tags": [
162+
"missing_important_context"
163+
],
164+
"post_id": "1939719604957577716",
165+
"trustworthy_sources": true
166+
}
167+
},
168+
{
169+
"id": "1939827486533222881",
170+
"info": {
171+
"text": "test note tex 2t. http://source.com",
172+
"classification": "misinformed_or_potentially_misleading",
173+
"misleading_tags": [
174+
"missing_important_context"
175+
],
176+
"post_id": "1939769235158237565",
177+
"trustworthy_sources": true
178+
}
179+
}
180+
],
181+
"meta": {
182+
"result_count": 2,
183+
"next_token": "[token]"
184+
}
183185
}
184186
```
185187

0 commit comments

Comments
 (0)