Skip to content

Mentions quickstart: remove unsupported exclude parameter - #588

Draft
tcaldwell-x wants to merge 1 commit into
mainfrom
tcaldwell/docs-mentions-no-exclude
Draft

tcaldwell-x wants to merge 1 commit into
mainfrom
tcaldwell/docs-mentions-no-exclude

Conversation

@tcaldwell-x

Copy link
Copy Markdown
Collaborator

The mentions quickstart showed an exclude parameter (with cURL/Python/JS examples and a parameter-table row), but GET /2/users/{id}/mentions has no exclude parameter (see openapi.json: id, max_results, pagination_token, start_time, end_time, since_id, until_id, and field/expansion params).

Changes:

  • Replace the "Exclude replies" examples with a note that the mentions endpoint can't filter, and a recent search example (@handle -is:reply -is:retweet).
  • Remove the exclude row from the Common parameters table.
  • Fix max_results range to 5-100 (openapi minimum is 5).

Surfaced by a developer forum question about filtering spam mentions.

@mintlify

mintlify Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Status Preview Updated
x-corp 🟢 Ready View Preview Nov 27, 2026, 7:05 PM

This branch was successfully deployed

1 active deployment
staging — f725288e Deployed Nov 27, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant