1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-03-07 12:39:54 +01:00

restore build

Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2025-05-01 01:27:19 +09:00
parent cacf230b0d
commit 988d50fd60
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
2 changed files with 1200 additions and 4 deletions

View file

@ -3349,12 +3349,11 @@ components:
properties:
__typename:
$ref: '#/components/schemas/TypeName'
timeline:
$ref: '#/components/schemas/TimelineV2'
timeline_v2:
$ref: '#/components/schemas/TimelineV2'
required:
- __typename
- timeline_v2
UserTweetsUser:
properties:
result:
@ -4349,6 +4348,20 @@ paths:
default: ztCdjqsvvdL0dE8R5ME0hQ
example: ztCdjqsvvdL0dE8R5ME0hQ
type: string
- in: query
name: '@path'
required: true
schema:
default: /i/api/graphql/ztCdjqsvvdL0dE8R5ME0hQ/Bookmarks
example: /i/api/graphql/ztCdjqsvvdL0dE8R5ME0hQ/Bookmarks
type: string
- in: query
name: '@method'
required: true
schema:
default: GET
example: GET
type: string
- in: query
name: variables
required: true
@ -4448,6 +4461,14 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/aoDbu3RHznuiSkQ9aNM67Q/CreateBookmark
example: /i/api/graphql/aoDbu3RHznuiSkQ9aNM67Q/CreateBookmark
type: string
queryId:
default: aoDbu3RHznuiSkQ9aNM67Q
example: aoDbu3RHznuiSkQ9aNM67Q
@ -4462,6 +4483,8 @@ paths:
- tweet_id
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
@ -4517,6 +4540,14 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet
example: /i/api/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet
type: string
queryId:
default: ojPdsZsimiJrUGLR1sjUtA
example: ojPdsZsimiJrUGLR1sjUtA
@ -4536,6 +4567,8 @@ paths:
- dark_request
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
@ -4591,6 +4624,14 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/xT36w0XM3A8jDynpkram2A/CreateTweet
example: /i/api/graphql/xT36w0XM3A8jDynpkram2A/CreateTweet
type: string
features:
properties:
articles_preview_enabled:
@ -4787,6 +4828,8 @@ paths:
- dark_request
type: object
required:
- '@path'
- '@method'
- queryId
- variables
- features
@ -4843,6 +4886,14 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/Wlmlj2-xzyS1GN3a6cj-mQ/DeleteBookmark
example: /i/api/graphql/Wlmlj2-xzyS1GN3a6cj-mQ/DeleteBookmark
type: string
queryId:
default: Wlmlj2-xzyS1GN3a6cj-mQ
example: Wlmlj2-xzyS1GN3a6cj-mQ
@ -4857,6 +4908,8 @@ paths:
- tweet_id
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
@ -4912,6 +4965,14 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet
example: /i/api/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet
type: string
queryId:
default: iQtK4dl5hBmXewYZuEOKVw
example: iQtK4dl5hBmXewYZuEOKVw
@ -4931,6 +4992,8 @@ paths:
- dark_request
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
@ -4986,6 +5049,14 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet
example: /i/api/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet
type: string
queryId:
default: VaenaVgh5q5ih7kvyVjgtg
example: VaenaVgh5q5ih7kvyVjgtg
@ -5005,6 +5076,8 @@ paths:
- dark_request
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
@ -5060,6 +5133,14 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet
example: /i/api/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet
type: string
queryId:
default: lI07N6Otwv1PhnEgXILM7A
example: lI07N6Otwv1PhnEgXILM7A
@ -5074,6 +5155,8 @@ paths:
- tweet_id
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
@ -5124,6 +5207,20 @@ paths:
default: q-g2cgR9LuLM6rvXQ-oxFw
example: q-g2cgR9LuLM6rvXQ-oxFw
type: string
- in: query
name: '@path'
required: true
schema:
default: /i/api/graphql/q-g2cgR9LuLM6rvXQ-oxFw/Favoriters
example: /i/api/graphql/q-g2cgR9LuLM6rvXQ-oxFw/Favoriters
type: string
- in: query
name: '@method'
required: true
schema:
default: GET
example: GET
type: string
- in: query
name: variables
required: true
@ -5220,6 +5317,20 @@ paths:
default: jqZ0_HJBA6mnu18iTZYm9w
example: jqZ0_HJBA6mnu18iTZYm9w
type: string
- in: query
name: '@path'
required: true
schema:
default: /i/api/graphql/jqZ0_HJBA6mnu18iTZYm9w/Followers
example: /i/api/graphql/jqZ0_HJBA6mnu18iTZYm9w/Followers
type: string
- in: query
name: '@method'
required: true
schema:
default: GET
example: GET
type: string
- in: query
name: variables
required: true
@ -5316,6 +5427,20 @@ paths:
default: Ba2FhuJKy1jPCGz80ouhzg
example: Ba2FhuJKy1jPCGz80ouhzg
type: string
- in: query
name: '@path'
required: true
schema:
default: /i/api/graphql/Ba2FhuJKy1jPCGz80ouhzg/FollowersYouKnow
example: /i/api/graphql/Ba2FhuJKy1jPCGz80ouhzg/FollowersYouKnow
type: string
- in: query
name: '@method'
required: true
schema:
default: GET
example: GET
type: string
- in: query
name: variables
required: true
@ -5412,6 +5537,20 @@ paths:
default: 4QHbs4wmzgtU91f-t96_Eg
example: 4QHbs4wmzgtU91f-t96_Eg
type: string
- in: query
name: '@path'
required: true
schema:
default: /i/api/graphql/4QHbs4wmzgtU91f-t96_Eg/Following
example: /i/api/graphql/4QHbs4wmzgtU91f-t96_Eg/Following
type: string
- in: query
name: '@method'
required: true
schema:
default: GET
example: GET
type: string
- in: query
name: variables
required: true
@ -5508,6 +5647,20 @@ paths:
default: nMyTQqsJiUGBKLGNSQamAA
example: nMyTQqsJiUGBKLGNSQamAA
type: string
- in: query
name: '@path'
required: true
schema:
default: /i/api/graphql/nMyTQqsJiUGBKLGNSQamAA/HomeLatestTimeline
example: /i/api/graphql/nMyTQqsJiUGBKLGNSQamAA/HomeLatestTimeline
type: string
- in: query
name: '@method'
required: true
schema:
default: GET
example: GET
type: string
- in: query
name: variables
required: true
@ -5604,6 +5757,20 @@ paths:
default: ci_OQZ2k0rG0Ax_lXRiWVA
example: ci_OQZ2k0rG0Ax_lXRiWVA
type: string
- in: query
name: '@path'
required: true
schema:
default: /i/api/graphql/ci_OQZ2k0rG0Ax_lXRiWVA/HomeTimeline
example: /i/api/graphql/ci_OQZ2k0rG0Ax_lXRiWVA/HomeTimeline
type: string
- in: query
name: '@method'
required: true
schema:
default: GET
example: GET
type: string
- in: query
name: variables
required: true
@ -5702,6 +5869,20 @@ paths:
default: uxjTlmrTI61zreSIV1urbw
example: uxjTlmrTI61zreSIV1urbw
type: string
- in: query
name: '@path'
required: true
schema:
default: /i/api/graphql/uxjTlmrTI61zreSIV1urbw/Likes
example: /i/api/graphql/uxjTlmrTI61zreSIV1urbw/Likes
type: string
- in: query
name: '@method'
required: true
schema:
default: GET
example: GET
type: string
- in: query
name: variables
required: true
@ -5807,6 +5988,20 @@ paths:
default: LSefrrxhpeX8HITbKfWz9g
example: LSefrrxhpeX8HITbKfWz9g
type: string
- in: query
name: '@path'
required: true
schema:
default: /i/api/graphql/LSefrrxhpeX8HITbKfWz9g/ListLatestTweetsTimeline
example: /i/api/graphql/LSefrrxhpeX8HITbKfWz9g/ListLatestTweetsTimeline
type: string
- in: query
name: '@method'
required: true
schema:
default: GET
example: GET
type: string
- in: query
name: variables
required: true
@ -5901,6 +6096,20 @@ paths:
default: -0XdHI-mrHWBQd8-oLo1aA
example: -0XdHI-mrHWBQd8-oLo1aA
type: string
- in: query
name: '@path'
required: true
schema:
default: /i/api/graphql/-0XdHI-mrHWBQd8-oLo1aA/ProfileSpotlightsQuery
example: /i/api/graphql/-0XdHI-mrHWBQd8-oLo1aA/ProfileSpotlightsQuery
type: string
- in: query
name: '@method'
required: true
schema:
default: GET
example: GET
type: string
- in: query
name: variables
required: true
@ -5959,6 +6168,20 @@ paths:
default: jyA1POBpkjVzqwOD7_6Jtw
example: jyA1POBpkjVzqwOD7_6Jtw
type: string
- in: query
name: '@path'
required: true
schema:
default: /i/api/graphql/jyA1POBpkjVzqwOD7_6Jtw/Retweeters
example: /i/api/graphql/jyA1POBpkjVzqwOD7_6Jtw/Retweeters
type: string
- in: query
name: '@method'
required: true
schema:
default: GET
example: GET
type: string
- in: query
name: variables
required: true
@ -6055,6 +6278,20 @@ paths:
default: fL2MBiqXPk5pSrOS5ACLdA
example: fL2MBiqXPk5pSrOS5ACLdA
type: string
- in: query
name: '@path'
required: true
schema:
default: /i/api/graphql/fL2MBiqXPk5pSrOS5ACLdA/SearchTimeline
example: /i/api/graphql/fL2MBiqXPk5pSrOS5ACLdA/SearchTimeline
type: string
- in: query
name: '@method'
required: true
schema:
default: GET
example: GET
type: string
- in: query
name: variables
required: true
@ -6151,6 +6388,20 @@ paths:
default: b9Yw90FMr_zUb8DvA8r2ug
example: b9Yw90FMr_zUb8DvA8r2ug
type: string
- in: query
name: '@path'
required: true
schema:
default: /i/api/graphql/b9Yw90FMr_zUb8DvA8r2ug/TweetDetail
example: /i/api/graphql/b9Yw90FMr_zUb8DvA8r2ug/TweetDetail
type: string
- in: query
name: '@method'
required: true
schema:
default: GET
example: GET
type: string
- in: query
name: variables
required: true
@ -6260,6 +6511,20 @@ paths:
default: 7xflPyRiUxGVbJd4uWmbfg
example: 7xflPyRiUxGVbJd4uWmbfg
type: string
- in: query
name: '@path'
required: true
schema:
default: /i/api/graphql/7xflPyRiUxGVbJd4uWmbfg/TweetResultByRestId
example: /i/api/graphql/7xflPyRiUxGVbJd4uWmbfg/TweetResultByRestId
type: string
- in: query
name: '@method'
required: true
schema:
default: GET
example: GET
type: string
- in: query
name: variables
required: true
@ -6364,6 +6629,14 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet
example: /i/api/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet
type: string
queryId:
default: ZYKSe-w7KEslx3JhSIk5LA
example: ZYKSe-w7KEslx3JhSIk5LA
@ -6383,6 +6656,8 @@ paths:
- dark_request
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
@ -6433,6 +6708,20 @@ paths:
default: tD8zKvQzwY3kdx5yz6YmOw
example: tD8zKvQzwY3kdx5yz6YmOw
type: string
- in: query
name: '@path'
required: true
schema:
default: /i/api/graphql/tD8zKvQzwY3kdx5yz6YmOw/UserByRestId
example: /i/api/graphql/tD8zKvQzwY3kdx5yz6YmOw/UserByRestId
type: string
- in: query
name: '@method'
required: true
schema:
default: GET
example: GET
type: string
- in: query
name: variables
required: true
@ -6501,6 +6790,20 @@ paths:
default: 32pL5BWe9WKeSK1MoPvFQQ
example: 32pL5BWe9WKeSK1MoPvFQQ
type: string
- in: query
name: '@path'
required: true
schema:
default: /i/api/graphql/32pL5BWe9WKeSK1MoPvFQQ/UserByScreenName
example: /i/api/graphql/32pL5BWe9WKeSK1MoPvFQQ/UserByScreenName
type: string
- in: query
name: '@method'
required: true
schema:
default: GET
example: GET
type: string
- in: query
name: variables
required: true
@ -6582,6 +6885,20 @@ paths:
default: y0aDPjeWFCpvY3GOmGXKhQ
example: y0aDPjeWFCpvY3GOmGXKhQ
type: string
- in: query
name: '@path'
required: true
schema:
default: /i/api/graphql/y0aDPjeWFCpvY3GOmGXKhQ/UserHighlightsTweets
example: /i/api/graphql/y0aDPjeWFCpvY3GOmGXKhQ/UserHighlightsTweets
type: string
- in: query
name: '@method'
required: true
schema:
default: GET
example: GET
type: string
- in: query
name: variables
required: true
@ -6685,6 +7002,20 @@ paths:
default: 8B9DqlaGvYyOvTCzzZWtNA
example: 8B9DqlaGvYyOvTCzzZWtNA
type: string
- in: query
name: '@path'
required: true
schema:
default: /i/api/graphql/8B9DqlaGvYyOvTCzzZWtNA/UserMedia
example: /i/api/graphql/8B9DqlaGvYyOvTCzzZWtNA/UserMedia
type: string
- in: query
name: '@method'
required: true
schema:
default: GET
example: GET
type: string
- in: query
name: variables
required: true
@ -6790,6 +7121,20 @@ paths:
default: M3Hpkrb8pjWkEuGdLeXMOA
example: M3Hpkrb8pjWkEuGdLeXMOA
type: string
- in: query
name: '@path'
required: true
schema:
default: /i/api/graphql/M3Hpkrb8pjWkEuGdLeXMOA/UserTweets
example: /i/api/graphql/M3Hpkrb8pjWkEuGdLeXMOA/UserTweets
type: string
- in: query
name: '@method'
required: true
schema:
default: GET
example: GET
type: string
- in: query
name: variables
required: true
@ -6881,6 +7226,123 @@ paths:
type: string
tags:
- tweet
/graphql/{pathQueryId}/UserTweetsAndReplies:
get:
description: get user replies tweets
operationId: getUserTweetsAndReplies
parameters:
- in: path
name: pathQueryId
required: true
schema:
default: pz0IHaV_t7T4HJavqqqcIA
example: pz0IHaV_t7T4HJavqqqcIA
type: string
- in: query
name: '@path'
required: true
schema:
default: /i/api/graphql/pz0IHaV_t7T4HJavqqqcIA/UserTweetsAndReplies
example: /i/api/graphql/pz0IHaV_t7T4HJavqqqcIA/UserTweetsAndReplies
type: string
- in: query
name: '@method'
required: true
schema:
default: GET
example: GET
type: string
- in: query
name: variables
required: true
schema:
default: '{"userId": "44196397", "count": 40, "includePromotedContent":
true, "withCommunity": true, "withVoice": true}'
example: '{"userId": "44196397", "count": 40, "includePromotedContent":
true, "withCommunity": true, "withVoice": true}'
type: string
- in: query
name: features
required: true
schema:
default: '{"rweb_video_screen_enabled": false, "profile_label_improvements_pcf_label_in_post_enabled":
true, "rweb_tipjar_consumption_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
true, "verified_phone_label_enabled": false, "creator_subscriptions_tweet_preview_api_enabled":
true, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
false, "premium_content_api_read_enabled": false, "communities_web_enable_tweet_community_results_fetch":
true, "c9s_tweet_anatomy_moderator_badge_enabled": true, "responsive_web_grok_analyze_button_fetch_trends_enabled":
false, "responsive_web_grok_analyze_post_followups_enabled": true, "responsive_web_jetfuel_frame":
false, "responsive_web_grok_share_attachment_enabled": true, "articles_preview_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, "responsive_web_grok_show_grok_translated_post":
false, "responsive_web_grok_analysis_button_from_backend": 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, "longform_notetweets_rich_text_read_enabled": true, "longform_notetweets_inline_media_enabled":
true, "responsive_web_grok_image_annotation_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
example: '{"rweb_video_screen_enabled": false, "profile_label_improvements_pcf_label_in_post_enabled":
true, "rweb_tipjar_consumption_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
true, "verified_phone_label_enabled": false, "creator_subscriptions_tweet_preview_api_enabled":
true, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
false, "premium_content_api_read_enabled": false, "communities_web_enable_tweet_community_results_fetch":
true, "c9s_tweet_anatomy_moderator_badge_enabled": true, "responsive_web_grok_analyze_button_fetch_trends_enabled":
false, "responsive_web_grok_analyze_post_followups_enabled": true, "responsive_web_jetfuel_frame":
false, "responsive_web_grok_share_attachment_enabled": true, "articles_preview_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, "responsive_web_grok_show_grok_translated_post":
false, "responsive_web_grok_analysis_button_from_backend": 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, "longform_notetweets_rich_text_read_enabled": true, "longform_notetweets_inline_media_enabled":
true, "responsive_web_grok_image_annotation_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
type: string
- in: query
name: fieldToggles
required: true
schema:
default: '{"withArticlePlainText": false}'
example: '{"withArticlePlainText": false}'
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/UserTweetsResponse'
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
tags:
- tweet
/graphql/{pathQueryId}/UsersByRestIds:
get:
description: get users by rest ids
@ -6893,6 +7355,20 @@ paths:
default: PyRggX3LQweP9nSF6PHliA
example: PyRggX3LQweP9nSF6PHliA
type: string
- in: query
name: '@path'
required: true
schema:
default: /i/api/graphql/PyRggX3LQweP9nSF6PHliA/UsersByRestIds
example: /i/api/graphql/PyRggX3LQweP9nSF6PHliA/UsersByRestIds
type: string
- in: query
name: '@method'
required: true
schema:
default: GET
example: GET
type: string
- in: query
name: variables
required: true