1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 23:50:26 +01:00
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-06-13 15:16:59 +09:00
parent 10aaec8df8
commit 705fdc83ec
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
44 changed files with 3524 additions and 2936 deletions

View file

@ -48,44 +48,44 @@ paths:
$ref: ./paths/v1.1-get.yaml#/paths/~11.1~1search~1typeahead.json
/2/search/adaptive.json:
$ref: ./paths/v2.0-get.yaml#/paths/~12~1search~1adaptive.json
/graphql/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
$ref: ./paths/post.yaml#/paths/~1graphql~11RyAhNwby-gzGCRVsMxKbQ~1CreateTweet
/graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
$ref: ./paths/timeline.yaml#/paths/~1graphql~12TemLyqrMpTeAmysdbnVqw~1ListLatestTweetsTimeline
/graphql/5fmEkRT-1AdHqEsbVgehMg/Likes:
$ref: ./paths/usertweets.yaml#/paths/~1graphql~15fmEkRT-1AdHqEsbVgehMg~1Likes
/graphql/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
$ref: ./paths/profile.yaml#/paths/~1graphql~19zwVLJ48lmVUk8u_Gh9DmA~1ProfileSpotlightsQuery
/graphql/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
$ref: ./paths/timeline.yaml#/paths/~1graphql~1HCosKfLNW1AcOo3la3mMgg~1HomeTimeline
/graphql/HuTx74BxAnezK1gWvYY7zg/UserTweets:
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1HuTx74BxAnezK1gWvYY7zg~1UserTweets
/graphql/IWP6Zt14sARO29lJT35bBw/Following:
$ref: ./paths/follow.yaml#/paths/~1graphql~1IWP6Zt14sARO29lJT35bBw~1Following
/graphql/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1RIWc55YCNyUJ-U3HHGYkdg~1UserTweetsAndReplies
/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
$ref: ./paths/post.yaml#/paths/~1graphql~1VaenaVgh5q5ih7kvyVjgtg~1DeleteTweet
/graphql/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1YqiE3JL1KNgf9nSljYdxaA~1UserMedia
/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
$ref: ./paths/post.yaml#/paths/~1graphql~1ZYKSe-w7KEslx3JhSIk5LA~1UnfavoriteTweet
/graphql/djdTXDIk2qhd4OStqlUFeQ/Followers:
$ref: ./paths/follow.yaml#/paths/~1graphql~1djdTXDIk2qhd4OStqlUFeQ~1Followers
/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
$ref: ./paths/post.yaml#/paths/~1graphql~1iQtK4dl5hBmXewYZuEOKVw~1DeleteRetweet
/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
$ref: ./paths/post.yaml#/paths/~1graphql~1lI07N6Otwv1PhnEgXILM7A~1FavoriteTweet
/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
$ref: ./paths/post.yaml#/paths/~1graphql~1ojPdsZsimiJrUGLR1sjUtA~1CreateRetweet
/graphql/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
$ref: ./paths/user.yaml#/paths/~1graphql~1sLVLhk0bGj3MVFEKTdax1w~1UserByScreenName
/graphql/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
$ref: ./paths/bookmarks.yaml#/paths/~1graphql~1tmd4ifV8RHltzn8ymGg1aw~1Bookmarks
/graphql/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
$ref: ./paths/tweet.yaml#/paths/~1graphql~1wNNG8DBB8EaXw1lq4vFWGA~1TweetDetail
/graphql/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
$ref: ./paths/timeline.yaml#/paths/~1graphql~1zhX91JE87mWvfprhYE97xA~1HomeLatestTimeline
/graphql/{pathQueryId}/Bookmarks:
$ref: ./paths/bookmarks.yaml#/paths/~1graphql~1{pathQueryId}~1Bookmarks
/graphql/{pathQueryId}/CreateRetweet:
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1CreateRetweet
/graphql/{pathQueryId}/CreateTweet:
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1CreateTweet
/graphql/{pathQueryId}/DeleteRetweet:
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1DeleteRetweet
/graphql/{pathQueryId}/DeleteTweet:
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1DeleteTweet
/graphql/{pathQueryId}/FavoriteTweet:
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1FavoriteTweet
/graphql/{pathQueryId}/Followers:
$ref: ./paths/follow.yaml#/paths/~1graphql~1{pathQueryId}~1Followers
/graphql/{pathQueryId}/Following:
$ref: ./paths/follow.yaml#/paths/~1graphql~1{pathQueryId}~1Following
/graphql/{pathQueryId}/HomeLatestTimeline:
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{pathQueryId}~1HomeLatestTimeline
/graphql/{pathQueryId}/HomeTimeline:
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{pathQueryId}~1HomeTimeline
/graphql/{pathQueryId}/Likes:
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{pathQueryId}~1Likes
/graphql/{pathQueryId}/ListLatestTweetsTimeline:
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{pathQueryId}~1ListLatestTweetsTimeline
/graphql/{pathQueryId}/ProfileSpotlightsQuery:
$ref: ./paths/profile.yaml#/paths/~1graphql~1{pathQueryId}~1ProfileSpotlightsQuery
/graphql/{pathQueryId}/TweetDetail:
$ref: ./paths/tweet.yaml#/paths/~1graphql~1{pathQueryId}~1TweetDetail
/graphql/{pathQueryId}/UnfavoriteTweet:
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1UnfavoriteTweet
/graphql/{pathQueryId}/UserByScreenName:
$ref: ./paths/user.yaml#/paths/~1graphql~1{pathQueryId}~1UserByScreenName
/graphql/{pathQueryId}/UserMedia:
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{pathQueryId}~1UserMedia
/graphql/{pathQueryId}/UserTweets:
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{pathQueryId}~1UserTweets
/graphql/{pathQueryId}/UserTweetsAndReplies:
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{pathQueryId}~1UserTweetsAndReplies
/other:
$ref: ./paths/other.yaml#/paths/~1other
security:

View file

@ -23,7 +23,7 @@ info:
version: 0.0.1
openapi: 3.0.3
paths:
/graphql/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
/graphql/{pathQueryId}/Bookmarks:
get:
description: get bookmarks
operationId: getBookmarks
@ -57,6 +57,13 @@ paths:
default: en
description: language code.
type: string
- in: path
name: pathQueryId
required: true
schema:
default: tmd4ifV8RHltzn8ymGg1aw
example: tmd4ifV8RHltzn8ymGg1aw
type: string
- in: query
name: queryId
required: true

View file

@ -38,118 +38,7 @@ info:
version: 0.0.1
openapi: 3.0.3
paths:
/graphql/IWP6Zt14sARO29lJT35bBw/Following:
get:
description: get user list of following
operationId: getFollowing
parameters:
- in: header
name: user-agent
required: true
schema:
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/112.0.0.0 Safari/537.36
description: UserAgent, some APIs may be rejected if changed.
type: string
- in: header
name: authorization
required: true
schema:
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
description: It is a constant value and does not need to be changed.
type: string
- in: header
name: x-twitter-active-user
required: true
schema:
default: 'yes'
description: Unknown what this value means.
type: string
- in: header
name: x-twitter-client-language
required: true
schema:
default: en
description: language code.
type: string
- in: query
name: queryId
required: true
schema:
default: '"IWP6Zt14sARO29lJT35bBw"'
example: '"IWP6Zt14sARO29lJT35bBw"'
type: string
- in: query
name: variables
required: true
schema:
default: '{"userId": "44196397", "count": 20, "includePromotedContent":
false}'
example: '{"userId": "44196397", "count": 20, "includePromotedContent":
false}'
type: string
- in: query
name: features
required: true
schema:
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_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, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_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, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/FollowResponse'
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:
- user-list
/graphql/djdTXDIk2qhd4OStqlUFeQ/Followers:
/graphql/{pathQueryId}/Followers:
get:
description: get user list of followers
operationId: getFollowers
@ -183,6 +72,13 @@ paths:
default: en
description: language code.
type: string
- in: path
name: pathQueryId
required: true
schema:
default: djdTXDIk2qhd4OStqlUFeQ
example: djdTXDIk2qhd4OStqlUFeQ
type: string
- in: query
name: queryId
required: true
@ -260,3 +156,121 @@ paths:
type: string
tags:
- user-list
/graphql/{pathQueryId}/Following:
get:
description: get user list of following
operationId: getFollowing
parameters:
- in: header
name: user-agent
required: true
schema:
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/112.0.0.0 Safari/537.36
description: UserAgent, some APIs may be rejected if changed.
type: string
- in: header
name: authorization
required: true
schema:
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
description: It is a constant value and does not need to be changed.
type: string
- in: header
name: x-twitter-active-user
required: true
schema:
default: 'yes'
description: Unknown what this value means.
type: string
- in: header
name: x-twitter-client-language
required: true
schema:
default: en
description: language code.
type: string
- in: path
name: pathQueryId
required: true
schema:
default: IWP6Zt14sARO29lJT35bBw
example: IWP6Zt14sARO29lJT35bBw
type: string
- in: query
name: queryId
required: true
schema:
default: '"IWP6Zt14sARO29lJT35bBw"'
example: '"IWP6Zt14sARO29lJT35bBw"'
type: string
- in: query
name: variables
required: true
schema:
default: '{"userId": "44196397", "count": 20, "includePromotedContent":
false}'
example: '{"userId": "44196397", "count": 20, "includePromotedContent":
false}'
type: string
- in: query
name: features
required: true
schema:
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_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, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_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, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/FollowResponse'
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:
- user-list

View file

@ -136,7 +136,110 @@ info:
version: 0.0.1
openapi: 3.0.3
paths:
/graphql/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
/graphql/{pathQueryId}/CreateRetweet:
post:
description: create Retweet
operationId: postCreateRetweet
parameters:
- in: header
name: user-agent
required: true
schema:
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/112.0.0.0 Safari/537.36
description: UserAgent, some APIs may be rejected if changed.
type: string
- in: header
name: authorization
required: true
schema:
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
description: It is a constant value and does not need to be changed.
type: string
- in: header
name: x-twitter-active-user
required: true
schema:
default: 'yes'
description: Unknown what this value means.
type: string
- in: header
name: x-twitter-client-language
required: true
schema:
default: en
description: language code.
type: string
- in: path
name: pathQueryId
required: true
schema:
default: ojPdsZsimiJrUGLR1sjUtA
example: ojPdsZsimiJrUGLR1sjUtA
type: string
requestBody:
content:
application/json:
schema:
properties:
queryId:
default: ojPdsZsimiJrUGLR1sjUtA
example: ojPdsZsimiJrUGLR1sjUtA
type: string
variables:
properties:
dark_request:
default: false
example: false
type: boolean
tweet_id:
default: '1349129669258448897'
example: '1349129669258448897'
type: string
required:
- tweet_id
- dark_request
type: object
required:
- queryId
- variables
description: body
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/CreateRetweetResponse'
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:
- post
/graphql/{pathQueryId}/CreateTweet:
post:
description: create Tweet
operationId: postCreateTweet
@ -170,6 +273,13 @@ paths:
default: en
description: language code.
type: string
- in: path
name: pathQueryId
required: true
schema:
default: 1RyAhNwby-gzGCRVsMxKbQ
example: 1RyAhNwby-gzGCRVsMxKbQ
type: string
requestBody:
content:
application/json:
@ -352,199 +462,7 @@ paths:
type: string
tags:
- post
/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
post:
description: delete Retweet
operationId: postDeleteTweet
parameters:
- in: header
name: user-agent
required: true
schema:
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/112.0.0.0 Safari/537.36
description: UserAgent, some APIs may be rejected if changed.
type: string
- in: header
name: authorization
required: true
schema:
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
description: It is a constant value and does not need to be changed.
type: string
- in: header
name: x-twitter-active-user
required: true
schema:
default: 'yes'
description: Unknown what this value means.
type: string
- in: header
name: x-twitter-client-language
required: true
schema:
default: en
description: language code.
type: string
requestBody:
content:
application/json:
schema:
properties:
queryId:
default: VaenaVgh5q5ih7kvyVjgtg
example: VaenaVgh5q5ih7kvyVjgtg
type: string
variables:
properties:
dark_request:
default: false
example: false
type: boolean
tweet_id:
default: '1349129669258448897'
example: '1349129669258448897'
type: string
required:
- tweet_id
- dark_request
type: object
required:
- queryId
- variables
description: body
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/DeleteTweetResponse'
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:
- post
/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
post:
description: unfavorite Tweet
operationId: postUnfavoriteTweet
parameters:
- in: header
name: user-agent
required: true
schema:
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/112.0.0.0 Safari/537.36
description: UserAgent, some APIs may be rejected if changed.
type: string
- in: header
name: authorization
required: true
schema:
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
description: It is a constant value and does not need to be changed.
type: string
- in: header
name: x-twitter-active-user
required: true
schema:
default: 'yes'
description: Unknown what this value means.
type: string
- in: header
name: x-twitter-client-language
required: true
schema:
default: en
description: language code.
type: string
requestBody:
content:
application/json:
schema:
properties:
queryId:
default: ZYKSe-w7KEslx3JhSIk5LA
example: ZYKSe-w7KEslx3JhSIk5LA
type: string
variables:
properties:
dark_request:
default: false
example: false
type: boolean
tweet_id:
default: '1349129669258448897'
example: '1349129669258448897'
type: string
required:
- tweet_id
- dark_request
type: object
required:
- queryId
- variables
description: body
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/UnfavoriteTweetResponseData'
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:
- post
/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
/graphql/{pathQueryId}/DeleteRetweet:
post:
description: delete Retweet
operationId: postDeleteRetweet
@ -578,6 +496,13 @@ paths:
default: en
description: language code.
type: string
- in: path
name: pathQueryId
required: true
schema:
default: iQtK4dl5hBmXewYZuEOKVw
example: iQtK4dl5hBmXewYZuEOKVw
type: string
requestBody:
content:
application/json:
@ -640,7 +565,110 @@ paths:
type: string
tags:
- post
/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
/graphql/{pathQueryId}/DeleteTweet:
post:
description: delete Retweet
operationId: postDeleteTweet
parameters:
- in: header
name: user-agent
required: true
schema:
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/112.0.0.0 Safari/537.36
description: UserAgent, some APIs may be rejected if changed.
type: string
- in: header
name: authorization
required: true
schema:
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
description: It is a constant value and does not need to be changed.
type: string
- in: header
name: x-twitter-active-user
required: true
schema:
default: 'yes'
description: Unknown what this value means.
type: string
- in: header
name: x-twitter-client-language
required: true
schema:
default: en
description: language code.
type: string
- in: path
name: pathQueryId
required: true
schema:
default: VaenaVgh5q5ih7kvyVjgtg
example: VaenaVgh5q5ih7kvyVjgtg
type: string
requestBody:
content:
application/json:
schema:
properties:
queryId:
default: VaenaVgh5q5ih7kvyVjgtg
example: VaenaVgh5q5ih7kvyVjgtg
type: string
variables:
properties:
dark_request:
default: false
example: false
type: boolean
tweet_id:
default: '1349129669258448897'
example: '1349129669258448897'
type: string
required:
- tweet_id
- dark_request
type: object
required:
- queryId
- variables
description: body
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/DeleteTweetResponse'
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:
- post
/graphql/{pathQueryId}/FavoriteTweet:
post:
description: favorite Tweet
operationId: postFavoriteTweet
@ -674,6 +702,13 @@ paths:
default: en
description: language code.
type: string
- in: path
name: pathQueryId
required: true
schema:
default: lI07N6Otwv1PhnEgXILM7A
example: lI07N6Otwv1PhnEgXILM7A
type: string
requestBody:
content:
application/json:
@ -736,10 +771,10 @@ paths:
type: string
tags:
- post
/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
/graphql/{pathQueryId}/UnfavoriteTweet:
post:
description: create Retweet
operationId: postCreateRetweet
description: unfavorite Tweet
operationId: postUnfavoriteTweet
parameters:
- in: header
name: user-agent
@ -770,14 +805,21 @@ paths:
default: en
description: language code.
type: string
- in: path
name: pathQueryId
required: true
schema:
default: ZYKSe-w7KEslx3JhSIk5LA
example: ZYKSe-w7KEslx3JhSIk5LA
type: string
requestBody:
content:
application/json:
schema:
properties:
queryId:
default: ojPdsZsimiJrUGLR1sjUtA
example: ojPdsZsimiJrUGLR1sjUtA
default: ZYKSe-w7KEslx3JhSIk5LA
example: ZYKSe-w7KEslx3JhSIk5LA
type: string
variables:
properties:
@ -803,7 +845,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateRetweetResponse'
$ref: '#/components/schemas/UnfavoriteTweetResponseData'
description: Successful operation
headers:
x-connection-hash:

View file

@ -63,7 +63,7 @@ info:
version: 0.0.1
openapi: 3.0.3
paths:
/graphql/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
/graphql/{pathQueryId}/ProfileSpotlightsQuery:
get:
description: get user by screen name
operationId: getProfileSpotlightsQuery
@ -97,6 +97,13 @@ paths:
default: en
description: language code.
type: string
- in: path
name: pathQueryId
required: true
schema:
default: 9zwVLJ48lmVUk8u_Gh9DmA
example: 9zwVLJ48lmVUk8u_Gh9DmA
type: string
- in: query
name: queryId
required: true

View file

@ -47,227 +47,7 @@ info:
version: 0.0.1
openapi: 3.0.3
paths:
/graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
get:
description: get tweet list of timeline
operationId: getListLatestTweetsTimeline
parameters:
- in: header
name: user-agent
required: true
schema:
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/112.0.0.0 Safari/537.36
description: UserAgent, some APIs may be rejected if changed.
type: string
- in: header
name: authorization
required: true
schema:
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
description: It is a constant value and does not need to be changed.
type: string
- in: header
name: x-twitter-active-user
required: true
schema:
default: 'yes'
description: Unknown what this value means.
type: string
- in: header
name: x-twitter-client-language
required: true
schema:
default: en
description: language code.
type: string
- in: query
name: queryId
required: true
schema:
default: '"2TemLyqrMpTeAmysdbnVqw"'
example: '"2TemLyqrMpTeAmysdbnVqw"'
type: string
- in: query
name: variables
required: true
schema:
default: '{"listId": "53044119", "count": 20}'
example: '{"listId": "53044119", "count": 20}'
type: string
- in: query
name: features
required: true
schema:
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_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, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_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, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/ListTweetsTimelineResponse'
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/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
get:
description: get tweet list of timeline
operationId: getHomeTimeline
parameters:
- in: header
name: user-agent
required: true
schema:
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/112.0.0.0 Safari/537.36
description: UserAgent, some APIs may be rejected if changed.
type: string
- in: header
name: authorization
required: true
schema:
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
description: It is a constant value and does not need to be changed.
type: string
- in: header
name: x-twitter-active-user
required: true
schema:
default: 'yes'
description: Unknown what this value means.
type: string
- in: header
name: x-twitter-client-language
required: true
schema:
default: en
description: language code.
type: string
- in: query
name: queryId
required: true
schema:
default: '"HCosKfLNW1AcOo3la3mMgg"'
example: '"HCosKfLNW1AcOo3la3mMgg"'
type: string
- in: query
name: variables
required: true
schema:
default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
true, "requestContext": "launch", "withCommunity": true}'
example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
true, "requestContext": "launch", "withCommunity": true}'
type: string
- in: query
name: features
required: true
schema:
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_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, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_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, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/TimelineResponse'
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/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
/graphql/{pathQueryId}/HomeLatestTimeline:
get:
description: get tweet list of timeline
operationId: getHomeLatestTimeline
@ -301,6 +81,13 @@ paths:
default: en
description: language code.
type: string
- in: path
name: pathQueryId
required: true
schema:
default: zhX91JE87mWvfprhYE97xA
example: zhX91JE87mWvfprhYE97xA
type: string
- in: query
name: queryId
required: true
@ -378,3 +165,237 @@ paths:
type: string
tags:
- tweet
/graphql/{pathQueryId}/HomeTimeline:
get:
description: get tweet list of timeline
operationId: getHomeTimeline
parameters:
- in: header
name: user-agent
required: true
schema:
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/112.0.0.0 Safari/537.36
description: UserAgent, some APIs may be rejected if changed.
type: string
- in: header
name: authorization
required: true
schema:
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
description: It is a constant value and does not need to be changed.
type: string
- in: header
name: x-twitter-active-user
required: true
schema:
default: 'yes'
description: Unknown what this value means.
type: string
- in: header
name: x-twitter-client-language
required: true
schema:
default: en
description: language code.
type: string
- in: path
name: pathQueryId
required: true
schema:
default: HCosKfLNW1AcOo3la3mMgg
example: HCosKfLNW1AcOo3la3mMgg
type: string
- in: query
name: queryId
required: true
schema:
default: '"HCosKfLNW1AcOo3la3mMgg"'
example: '"HCosKfLNW1AcOo3la3mMgg"'
type: string
- in: query
name: variables
required: true
schema:
default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
true, "requestContext": "launch", "withCommunity": true}'
example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
true, "requestContext": "launch", "withCommunity": true}'
type: string
- in: query
name: features
required: true
schema:
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_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, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_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, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/TimelineResponse'
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}/ListLatestTweetsTimeline:
get:
description: get tweet list of timeline
operationId: getListLatestTweetsTimeline
parameters:
- in: header
name: user-agent
required: true
schema:
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/112.0.0.0 Safari/537.36
description: UserAgent, some APIs may be rejected if changed.
type: string
- in: header
name: authorization
required: true
schema:
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
description: It is a constant value and does not need to be changed.
type: string
- in: header
name: x-twitter-active-user
required: true
schema:
default: 'yes'
description: Unknown what this value means.
type: string
- in: header
name: x-twitter-client-language
required: true
schema:
default: en
description: language code.
type: string
- in: path
name: pathQueryId
required: true
schema:
default: 2TemLyqrMpTeAmysdbnVqw
example: 2TemLyqrMpTeAmysdbnVqw
type: string
- in: query
name: queryId
required: true
schema:
default: '"2TemLyqrMpTeAmysdbnVqw"'
example: '"2TemLyqrMpTeAmysdbnVqw"'
type: string
- in: query
name: variables
required: true
schema:
default: '{"listId": "53044119", "count": 20}'
example: '{"listId": "53044119", "count": 20}'
type: string
- in: query
name: features
required: true
schema:
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_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, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_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, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/ListTweetsTimelineResponse'
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

View file

@ -17,7 +17,7 @@ info:
version: 0.0.1
openapi: 3.0.3
paths:
/graphql/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
/graphql/{pathQueryId}/TweetDetail:
get:
description: get TweetDetail
operationId: getTweetDetail
@ -51,6 +51,13 @@ paths:
default: en
description: language code.
type: string
- in: path
name: pathQueryId
required: true
schema:
default: wNNG8DBB8EaXw1lq4vFWGA
example: wNNG8DBB8EaXw1lq4vFWGA
type: string
- in: query
name: queryId
required: true

View file

@ -17,7 +17,7 @@ info:
version: 0.0.1
openapi: 3.0.3
paths:
/graphql/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
/graphql/{pathQueryId}/UserByScreenName:
get:
description: get user by screen name
operationId: getUserByScreenName
@ -51,6 +51,13 @@ paths:
default: en
description: language code.
type: string
- in: path
name: pathQueryId
required: true
schema:
default: sLVLhk0bGj3MVFEKTdax1w
example: sLVLhk0bGj3MVFEKTdax1w
type: string
- in: query
name: queryId
required: true

View file

@ -32,7 +32,7 @@ info:
version: 0.0.1
openapi: 3.0.3
paths:
/graphql/5fmEkRT-1AdHqEsbVgehMg/Likes:
/graphql/{pathQueryId}/Likes:
get:
description: get user likes tweets
operationId: getLikes
@ -66,6 +66,13 @@ paths:
default: en
description: language code.
type: string
- in: path
name: pathQueryId
required: true
schema:
default: 5fmEkRT-1AdHqEsbVgehMg
example: 5fmEkRT-1AdHqEsbVgehMg
type: string
- in: query
name: queryId
required: true
@ -145,231 +152,7 @@ paths:
type: string
tags:
- tweet
/graphql/HuTx74BxAnezK1gWvYY7zg/UserTweets:
get:
description: get user tweets
operationId: getUserTweets
parameters:
- in: header
name: user-agent
required: true
schema:
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/112.0.0.0 Safari/537.36
description: UserAgent, some APIs may be rejected if changed.
type: string
- in: header
name: authorization
required: true
schema:
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
description: It is a constant value and does not need to be changed.
type: string
- in: header
name: x-twitter-active-user
required: true
schema:
default: 'yes'
description: Unknown what this value means.
type: string
- in: header
name: x-twitter-client-language
required: true
schema:
default: en
description: language code.
type: string
- in: query
name: queryId
required: true
schema:
default: '"HuTx74BxAnezK1gWvYY7zg"'
example: '"HuTx74BxAnezK1gWvYY7zg"'
type: string
- in: query
name: variables
required: true
schema:
default: '{"userId": "44196397", "count": 40, "includePromotedContent":
true, "withQuickPromoteEligibilityTweetFields": true, "withVoice": true,
"withV2Timeline": true}'
example: '{"userId": "44196397", "count": 40, "includePromotedContent":
true, "withQuickPromoteEligibilityTweetFields": true, "withVoice": true,
"withV2Timeline": true}'
type: string
- in: query
name: features
required: true
schema:
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_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, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_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, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
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/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
get:
description: get user replies tweets
operationId: getUserTweetsAndReplies
parameters:
- in: header
name: user-agent
required: true
schema:
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/112.0.0.0 Safari/537.36
description: UserAgent, some APIs may be rejected if changed.
type: string
- in: header
name: authorization
required: true
schema:
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
description: It is a constant value and does not need to be changed.
type: string
- in: header
name: x-twitter-active-user
required: true
schema:
default: 'yes'
description: Unknown what this value means.
type: string
- in: header
name: x-twitter-client-language
required: true
schema:
default: en
description: language code.
type: string
- in: query
name: queryId
required: true
schema:
default: '"RIWc55YCNyUJ-U3HHGYkdg"'
example: '"RIWc55YCNyUJ-U3HHGYkdg"'
type: string
- in: query
name: variables
required: true
schema:
default: '{"userId": "44196397", "count": 40, "includePromotedContent":
true, "withCommunity": true, "withVoice": true, "withV2Timeline": true}'
example: '{"userId": "44196397", "count": 40, "includePromotedContent":
true, "withCommunity": true, "withVoice": true, "withV2Timeline": true}'
type: string
- in: query
name: features
required: true
schema:
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_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, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_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, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
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/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
/graphql/{pathQueryId}/UserMedia:
get:
description: get user media tweets
operationId: getUserMedia
@ -403,6 +186,13 @@ paths:
default: en
description: language code.
type: string
- in: path
name: pathQueryId
required: true
schema:
default: YqiE3JL1KNgf9nSljYdxaA
example: YqiE3JL1KNgf9nSljYdxaA
type: string
- in: query
name: queryId
required: true
@ -482,3 +272,241 @@ paths:
type: string
tags:
- tweet
/graphql/{pathQueryId}/UserTweets:
get:
description: get user tweets
operationId: getUserTweets
parameters:
- in: header
name: user-agent
required: true
schema:
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/112.0.0.0 Safari/537.36
description: UserAgent, some APIs may be rejected if changed.
type: string
- in: header
name: authorization
required: true
schema:
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
description: It is a constant value and does not need to be changed.
type: string
- in: header
name: x-twitter-active-user
required: true
schema:
default: 'yes'
description: Unknown what this value means.
type: string
- in: header
name: x-twitter-client-language
required: true
schema:
default: en
description: language code.
type: string
- in: path
name: pathQueryId
required: true
schema:
default: HuTx74BxAnezK1gWvYY7zg
example: HuTx74BxAnezK1gWvYY7zg
type: string
- in: query
name: queryId
required: true
schema:
default: '"HuTx74BxAnezK1gWvYY7zg"'
example: '"HuTx74BxAnezK1gWvYY7zg"'
type: string
- in: query
name: variables
required: true
schema:
default: '{"userId": "44196397", "count": 40, "includePromotedContent":
true, "withQuickPromoteEligibilityTweetFields": true, "withVoice": true,
"withV2Timeline": true}'
example: '{"userId": "44196397", "count": 40, "includePromotedContent":
true, "withQuickPromoteEligibilityTweetFields": true, "withVoice": true,
"withV2Timeline": true}'
type: string
- in: query
name: features
required: true
schema:
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_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, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_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, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
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}/UserTweetsAndReplies:
get:
description: get user replies tweets
operationId: getUserTweetsAndReplies
parameters:
- in: header
name: user-agent
required: true
schema:
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/112.0.0.0 Safari/537.36
description: UserAgent, some APIs may be rejected if changed.
type: string
- in: header
name: authorization
required: true
schema:
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
description: It is a constant value and does not need to be changed.
type: string
- in: header
name: x-twitter-active-user
required: true
schema:
default: 'yes'
description: Unknown what this value means.
type: string
- in: header
name: x-twitter-client-language
required: true
schema:
default: en
description: language code.
type: string
- in: path
name: pathQueryId
required: true
schema:
default: RIWc55YCNyUJ-U3HHGYkdg
example: RIWc55YCNyUJ-U3HHGYkdg
type: string
- in: query
name: queryId
required: true
schema:
default: '"RIWc55YCNyUJ-U3HHGYkdg"'
example: '"RIWc55YCNyUJ-U3HHGYkdg"'
type: string
- in: query
name: variables
required: true
schema:
default: '{"userId": "44196397", "count": 40, "includePromotedContent":
true, "withCommunity": true, "withVoice": true, "withV2Timeline": true}'
example: '{"userId": "44196397", "count": 40, "includePromotedContent":
true, "withCommunity": true, "withVoice": true, "withV2Timeline": true}'
type: string
- in: query
name: features
required: true
schema:
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_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, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_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, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
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

13
dist/dart/resources/parameters.yaml vendored Normal file
View file

@ -0,0 +1,13 @@
components:
parameters:
queryId:
in: path
name: queryId
required: true
schema:
type: string
info:
title: Twitter OpenAPI
version: 0.0.1
openapi: 3.0.3
paths: {}

View file

@ -130,7 +130,8 @@ components:
- name
- url
type: object
rest_id: string
rest_id:
type: string
type: object
core:
$ref: ./user.yaml#/components/schemas/UserResultCore