mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 15:40:26 +01:00
redo TweetResultByRestId
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
5896953dda
commit
908530c39f
3 changed files with 338 additions and 13 deletions
99
dist/compatible/openapi-3.0.yaml
vendored
99
dist/compatible/openapi-3.0.yaml
vendored
|
|
@ -6211,6 +6211,105 @@ paths:
|
|||
type: string
|
||||
tags:
|
||||
- tweet
|
||||
/graphql/{pathQueryId}/TweetResultByRestId:
|
||||
get:
|
||||
description: get TweetResultByRestId
|
||||
operationId: getTweetResultByRestId
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: 7xflPyRiUxGVbJd4uWmbfg
|
||||
example: 7xflPyRiUxGVbJd4uWmbfg
|
||||
type: string
|
||||
- in: query
|
||||
name: variables
|
||||
required: true
|
||||
schema:
|
||||
default: '{"tweetId": "1691730070669517096", "withCommunity": false, "includePromotedContent":
|
||||
false, "withVoice": false}'
|
||||
example: '{"tweetId": "1691730070669517096", "withCommunity": false, "includePromotedContent":
|
||||
false, "withVoice": false}'
|
||||
type: string
|
||||
- in: query
|
||||
name: features
|
||||
required: true
|
||||
schema:
|
||||
default: '{"creator_subscriptions_tweet_preview_api_enabled": true, "communities_web_enable_tweet_community_results_fetch":
|
||||
true, "c9s_tweet_anatomy_moderator_badge_enabled": true, "articles_preview_enabled":
|
||||
true, "tweetypie_unmention_optimization_enabled": true, "responsive_web_edit_tweet_api_enabled":
|
||||
true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled": true,
|
||||
"view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
||||
true, "responsive_web_twitter_article_tweet_consumption_enabled": true,
|
||||
"tweet_awards_web_tipping_enabled": false, "creator_subscriptions_quote_tweet_preview_enabled":
|
||||
false, "freedom_of_speech_not_reach_fetch_enabled": true, "standardized_nudges_misinfo":
|
||||
true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
||||
true, "tweet_with_visibility_results_prefer_gql_media_interstitial_enabled":
|
||||
true, "rweb_video_timestamps_enabled": true, "longform_notetweets_rich_text_read_enabled":
|
||||
true, "longform_notetweets_inline_media_enabled": true, "rweb_tipjar_consumption_enabled":
|
||||
true, "responsive_web_graphql_exclude_directive_enabled": true, "verified_phone_label_enabled":
|
||||
false, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
||||
false, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||
false}'
|
||||
example: '{"creator_subscriptions_tweet_preview_api_enabled": true, "communities_web_enable_tweet_community_results_fetch":
|
||||
true, "c9s_tweet_anatomy_moderator_badge_enabled": true, "articles_preview_enabled":
|
||||
true, "tweetypie_unmention_optimization_enabled": true, "responsive_web_edit_tweet_api_enabled":
|
||||
true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled": true,
|
||||
"view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
||||
true, "responsive_web_twitter_article_tweet_consumption_enabled": true,
|
||||
"tweet_awards_web_tipping_enabled": false, "creator_subscriptions_quote_tweet_preview_enabled":
|
||||
false, "freedom_of_speech_not_reach_fetch_enabled": true, "standardized_nudges_misinfo":
|
||||
true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
||||
true, "tweet_with_visibility_results_prefer_gql_media_interstitial_enabled":
|
||||
true, "rweb_video_timestamps_enabled": true, "longform_notetweets_rich_text_read_enabled":
|
||||
true, "longform_notetweets_inline_media_enabled": true, "rweb_tipjar_consumption_enabled":
|
||||
true, "responsive_web_graphql_exclude_directive_enabled": true, "verified_phone_label_enabled":
|
||||
false, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
||||
false, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||
false}'
|
||||
type: string
|
||||
- in: query
|
||||
name: fieldToggles
|
||||
required: true
|
||||
schema:
|
||||
default: '{"withArticleRichContentState": true, "withArticlePlainText":
|
||||
false}'
|
||||
example: '{"withArticleRichContentState": true, "withArticlePlainText":
|
||||
false}'
|
||||
type: string
|
||||
responses:
|
||||
'200':
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/TweetResultByRestIdResponse'
|
||||
description: Successful operation
|
||||
headers:
|
||||
x-connection-hash:
|
||||
schema:
|
||||
type: string
|
||||
x-rate-limit-limit:
|
||||
schema:
|
||||
type: integer
|
||||
x-rate-limit-remaining:
|
||||
schema:
|
||||
type: integer
|
||||
x-rate-limit-reset:
|
||||
schema:
|
||||
type: integer
|
||||
x-response-time:
|
||||
schema:
|
||||
type: integer
|
||||
x-tfe-preserve-body:
|
||||
schema:
|
||||
type: boolean
|
||||
x-transaction-id:
|
||||
schema:
|
||||
type: string
|
||||
x-twitter-response-tags:
|
||||
schema:
|
||||
type: string
|
||||
/graphql/{pathQueryId}/UnfavoriteTweet:
|
||||
post:
|
||||
description: unfavorite Tweet
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue