Skip to content

Fix Trends by WOEID response docs: remove tweet_count - #315

Open
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/58ae8dc1
Open

Fix Trends by WOEID response docs: remove tweet_count#315
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/58ae8dc1

Conversation

@mintlify

@mintlify mintlify Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Reported in Slack: GET /2/trends/by/woeid/{woeid} documents tweet_count on trend.fields and in the example response, but the API returns trend_name only — even when trend.fields=tweet_count is passed. Forum report: https://devcommunity.x.com/t/trends-by-woeid-not-returning-tweet-count-even-when-specified/257182

Changes:

  • openapi.json: dropped tweet_count from the Trend schema and from the TrendFieldsParameter enum. Trend is only referenced by GetTrendsByWoeidResponse, so no other endpoints are affected. PersonalizedTrend (used by /2/users/personalized_trends) is untouched — that endpoint still returns tweet_count.
  • x-api/trends/trends-by-woeid/introduction.mdx: removed tweet_count from the example response.

Generated by Mintlify Agent.

Requested by: tcaldwell@x.ai via Slack
Mintlify session: slack_1786669280.650509_C09MQDT6BM4

@mintlify

mintlify Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
x-corp 🟢 Ready View Preview Aug 14, 2026, 1:09 AM

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant