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-04-27 21:01:38 +09:00
parent 4d7c0c3ab5
commit 295edb55aa
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
54 changed files with 8026 additions and 578 deletions

View file

@ -28,16 +28,35 @@ paths:
description: get bookmarks
operationId: getBookmarks
parameters:
- in: query
name: queryId
required: true
schema:
default: tmd4ifV8RHltzn8ymGg1aw
example: tmd4ifV8RHltzn8ymGg1aw
type: string
- in: query
name: variables
required: true
schema:
default: '{"count": 20, "includePromotedContent": true}'
example: '{"count": 20, "includePromotedContent": true}'
type: string
- in: query
name: features
required: true
schema:
default: '{"graphql_timeline_v2_bookmark_timeline": true, "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: '{"graphql_timeline_v2_bookmark_timeline": true, "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":
@ -50,13 +69,6 @@ paths:
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
type: string
- in: query
name: queryId
required: true
schema:
default: tmd4ifV8RHltzn8ymGg1aw
example: tmd4ifV8RHltzn8ymGg1aw
type: string
- in: header
name: authorization
required: true

View file

@ -43,10 +43,19 @@ paths:
description: get user list of following
operationId: getFollowing
parameters:
- 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
@ -54,6 +63,17 @@ paths:
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":
@ -66,13 +86,6 @@ paths:
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
type: string
- in: query
name: queryId
required: true
schema:
default: IWP6Zt14sARO29lJT35bBw
example: IWP6Zt14sARO29lJT35bBw
type: string
- in: header
name: authorization
required: true
@ -150,10 +163,19 @@ paths:
description: get user list of followers
operationId: getFollowers
parameters:
- in: query
name: queryId
required: true
schema:
default: djdTXDIk2qhd4OStqlUFeQ
example: djdTXDIk2qhd4OStqlUFeQ
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
@ -161,6 +183,17 @@ paths:
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":
@ -173,13 +206,6 @@ paths:
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
type: string
- in: query
name: queryId
required: true
schema:
default: djdTXDIk2qhd4OStqlUFeQ
example: djdTXDIk2qhd4OStqlUFeQ
type: string
- in: header
name: authorization
required: true

View file

@ -1,5 +1,13 @@
components:
schemas:
CreateRetweet:
properties:
result:
items:
$ref: '#/components/schemas/Retweet'
type: object
required:
- result
CreateRetweetResponse:
properties:
data:
@ -15,9 +23,15 @@ components:
CreateRetweetResponseResult:
properties:
retweet_results:
$ref: ./../schemas/post.yaml#/components/schemas/CreateRetweet
$ref: '#/components/schemas/CreateRetweet'
required:
- retweet_results
CreateTweet:
properties:
result:
$ref: ./../schemas/tweet.yaml#/components/schemas/Tweet
required:
- result
CreateTweetResponse:
properties:
data:
@ -26,16 +40,24 @@ components:
- data
CreateTweetResponseData:
properties:
create_retweet:
create_tweet:
$ref: '#/components/schemas/CreateTweetResponseResult'
required:
- create_tweet
CreateTweetResponseResult:
properties:
tweet_results:
$ref: ./../schemas/post.yaml#/components/schemas/CreateTweet
$ref: '#/components/schemas/CreateTweet'
required:
- tweet_results
DeleteRetweet:
properties:
result:
items:
$ref: '#/components/schemas/Retweet'
type: object
required:
- result
DeleteRetweetResponse:
properties:
data:
@ -51,7 +73,7 @@ components:
DeleteRetweetResponseResult:
properties:
retweet_results:
$ref: ./../schemas/post.yaml#/components/schemas/DeleteRetweet
$ref: '#/components/schemas/DeleteRetweet'
required:
- source_tweet_results
DeleteTweetResponse:
@ -69,19 +91,44 @@ components:
DeleteTweetResponseResult:
properties:
tweet_results:
$ref: ./../schemas/post.yaml#/components/schemas/DeleteTweet
type: object
required:
- tweet_results
FavoriteTweet:
properties:
favorite_tweet:
type: string
required:
- favorite_tweet
FavoriteTweetResponseData:
properties:
data:
$ref: ./../schemas/post.yaml#/components/schemas/FavoriteTweet
$ref: '#/components/schemas/FavoriteTweet'
required:
- data
Retweet:
properties:
legacy:
items:
properties:
full_text:
type: string
type: object
rest_id:
type: string
required:
- rest_id
- legacy
UnfavoriteTweet:
properties:
unfavorite_tweet:
type: string
required:
- unfavorite_tweet
UnfavoriteTweetResponseData:
properties:
data:
$ref: ./../schemas/post.yaml#/components/schemas/UnfavoriteTweet
$ref: '#/components/schemas/UnfavoriteTweet'
required:
- data
info:
@ -92,38 +139,8 @@ paths:
/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
post:
description: create Tweet
operationId: createTweet
operationId: postCreateTweet
parameters:
- in: query
name: variables
required: true
schema:
example: '{"tweet_text": "test", "media": {"media_entities": [], "possibly_sensitive":
false}, "semantic_annotation_ids": []}'
type: string
- in: query
name: features
required: true
schema:
example: '{"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, "interactive_text_enabled":
true, "responsive_web_text_conversations_enabled": false, "longform_notetweets_rich_text_read_enabled":
true, "blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
true, "verified_phone_label_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
true, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_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: queryId
required: true
schema:
default: 1RyAhNwby-gzGCRVsMxKbQ
example: 1RyAhNwby-gzGCRVsMxKbQ
type: string
- in: header
name: authorization
required: true
@ -153,6 +170,38 @@ paths:
like Gecko) Chrome/112.0.0.0 Safari/537.36
description: UserAgent, some APIs may be rejected if changed.
type: string
requestBody:
content:
application/json:
schema:
properties:
features:
example: '{"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, "interactive_text_enabled":
true, "responsive_web_text_conversations_enabled": false, "longform_notetweets_rich_text_read_enabled":
true, "blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
true, "verified_phone_label_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
true, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_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: object
queryId:
default: 1RyAhNwby-gzGCRVsMxKbQ
example: 1RyAhNwby-gzGCRVsMxKbQ
type: string
variables:
example: '{"tweet_text": "test", "media": {"media_entities": [],
"possibly_sensitive": false}, "semantic_annotation_ids": [], "dark_request":
false}'
type: object
required:
- queryId
- variables
- features
required: true
responses:
'200':
content:
@ -199,27 +248,8 @@ paths:
/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
post:
description: delete Retweet
operationId: deleteTweet
operationId: postDeleteTweet
parameters:
- in: query
name: variables
required: true
schema:
example: '{"tweet_id": "1349129669258448897"}'
type: string
- in: query
name: features
required: true
schema:
example: '{}'
type: string
- in: query
name: queryId
required: true
schema:
default: VaenaVgh5q5ih7kvyVjgtg
example: VaenaVgh5q5ih7kvyVjgtg
type: string
- in: header
name: authorization
required: true
@ -249,6 +279,26 @@ paths:
like Gecko) Chrome/112.0.0.0 Safari/537.36
description: UserAgent, some APIs may be rejected if changed.
type: string
requestBody:
content:
application/json:
schema:
properties:
features:
example: '{{Features}}'
type: object
queryId:
default: VaenaVgh5q5ih7kvyVjgtg
example: VaenaVgh5q5ih7kvyVjgtg
type: string
variables:
example: '{"tweet_id": "1349129669258448897"}'
type: object
required:
- queryId
- variables
- features
required: true
responses:
'200':
content:
@ -295,27 +345,8 @@ paths:
/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
post:
description: unfavorite Tweet
operationId: unfavoriteTweet
operationId: postUnfavoriteTweet
parameters:
- in: query
name: variables
required: true
schema:
example: '{"tweet_id": "1349129669258448897"}'
type: string
- in: query
name: features
required: true
schema:
example: '{}'
type: string
- in: query
name: queryId
required: true
schema:
default: ZYKSe-w7KEslx3JhSIk5LA
example: ZYKSe-w7KEslx3JhSIk5LA
type: string
- in: header
name: authorization
required: true
@ -345,6 +376,26 @@ paths:
like Gecko) Chrome/112.0.0.0 Safari/537.36
description: UserAgent, some APIs may be rejected if changed.
type: string
requestBody:
content:
application/json:
schema:
properties:
features:
example: '{{Features}}'
type: object
queryId:
default: ZYKSe-w7KEslx3JhSIk5LA
example: ZYKSe-w7KEslx3JhSIk5LA
type: string
variables:
example: '{"tweet_id": "1349129669258448897"}'
type: object
required:
- queryId
- variables
- features
required: true
responses:
'200':
content:
@ -391,27 +442,8 @@ paths:
/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
post:
description: delete Retweet
operationId: deleteRetweet
operationId: postDeleteRetweet
parameters:
- in: query
name: variables
required: true
schema:
example: '{"tweet_id": "1349129669258448897"}'
type: string
- in: query
name: features
required: true
schema:
example: '{}'
type: string
- in: query
name: queryId
required: true
schema:
default: iQtK4dl5hBmXewYZuEOKVw
example: iQtK4dl5hBmXewYZuEOKVw
type: string
- in: header
name: authorization
required: true
@ -441,6 +473,26 @@ paths:
like Gecko) Chrome/112.0.0.0 Safari/537.36
description: UserAgent, some APIs may be rejected if changed.
type: string
requestBody:
content:
application/json:
schema:
properties:
features:
example: '{{Features}}'
type: object
queryId:
default: iQtK4dl5hBmXewYZuEOKVw
example: iQtK4dl5hBmXewYZuEOKVw
type: string
variables:
example: '{"tweet_id": "1349129669258448897"}'
type: object
required:
- queryId
- variables
- features
required: true
responses:
'200':
content:
@ -487,27 +539,8 @@ paths:
/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
post:
description: favorite Tweet
operationId: favoriteTweet
operationId: postFavoriteTweet
parameters:
- in: query
name: variables
required: true
schema:
example: '{"tweet_id": "1349129669258448897"}'
type: string
- in: query
name: features
required: true
schema:
example: '{}'
type: string
- in: query
name: queryId
required: true
schema:
default: lI07N6Otwv1PhnEgXILM7A
example: lI07N6Otwv1PhnEgXILM7A
type: string
- in: header
name: authorization
required: true
@ -537,6 +570,26 @@ paths:
like Gecko) Chrome/112.0.0.0 Safari/537.36
description: UserAgent, some APIs may be rejected if changed.
type: string
requestBody:
content:
application/json:
schema:
properties:
features:
example: '{{Features}}'
type: object
queryId:
default: lI07N6Otwv1PhnEgXILM7A
example: lI07N6Otwv1PhnEgXILM7A
type: string
variables:
example: '{"tweet_id": "1349129669258448897"}'
type: object
required:
- queryId
- variables
- features
required: true
responses:
'200':
content:
@ -583,27 +636,8 @@ paths:
/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
post:
description: create Retweet
operationId: createRetweet
operationId: postCreateRetweet
parameters:
- in: query
name: variables
required: true
schema:
example: '{"tweet_id": "1349129669258448897"}'
type: string
- in: query
name: features
required: true
schema:
example: '{}'
type: string
- in: query
name: queryId
required: true
schema:
default: ojPdsZsimiJrUGLR1sjUtA
example: ojPdsZsimiJrUGLR1sjUtA
type: string
- in: header
name: authorization
required: true
@ -633,6 +667,26 @@ paths:
like Gecko) Chrome/112.0.0.0 Safari/537.36
description: UserAgent, some APIs may be rejected if changed.
type: string
requestBody:
content:
application/json:
schema:
properties:
features:
example: '{{Features}}'
type: object
queryId:
default: ojPdsZsimiJrUGLR1sjUtA
example: ojPdsZsimiJrUGLR1sjUtA
type: string
variables:
example: '{"tweet_id": "1349129669258448897"}'
type: object
required:
- queryId
- variables
- features
required: true
responses:
'200':
content:

View file

@ -68,25 +68,27 @@ paths:
description: get user by screen name
operationId: getProfileSpotlightsQuery
parameters:
- in: query
name: queryId
required: true
schema:
default: 9zwVLJ48lmVUk8u_Gh9DmA
example: 9zwVLJ48lmVUk8u_Gh9DmA
type: string
- in: query
name: variables
required: true
schema:
default: '{"screen_name": "elonmusk"}'
example: '{"screen_name": "elonmusk"}'
type: string
- in: query
name: features
required: true
schema:
default: '{}'
example: '{}'
type: string
- in: query
name: queryId
required: true
schema:
default: 9zwVLJ48lmVUk8u_Gh9DmA
example: 9zwVLJ48lmVUk8u_Gh9DmA
type: string
- in: header
name: authorization
required: true

View file

@ -52,16 +52,35 @@ paths:
description: get tweet list of timeline
operationId: getListLatestTweetsTimeline
parameters:
- 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":
@ -74,13 +93,6 @@ paths:
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
type: string
- in: query
name: queryId
required: true
schema:
default: 2TemLyqrMpTeAmysdbnVqw
example: 2TemLyqrMpTeAmysdbnVqw
type: string
- in: header
name: authorization
required: true
@ -158,10 +170,19 @@ paths:
description: get tweet list of timeline
operationId: getHomeTimeline
parameters:
- 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
@ -169,6 +190,17 @@ paths:
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":
@ -181,13 +213,6 @@ paths:
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
type: string
- in: query
name: queryId
required: true
schema:
default: HCosKfLNW1AcOo3la3mMgg
example: HCosKfLNW1AcOo3la3mMgg
type: string
- in: header
name: authorization
required: true
@ -265,10 +290,19 @@ paths:
description: get tweet list of timeline
operationId: getHomeLatestTimeline
parameters:
- in: query
name: queryId
required: true
schema:
default: zhX91JE87mWvfprhYE97xA
example: zhX91JE87mWvfprhYE97xA
type: string
- in: query
name: variables
required: true
schema:
default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
true, "requestContext": "launch"}'
example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
true, "requestContext": "launch"}'
type: string
@ -276,6 +310,17 @@ paths:
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":
@ -288,13 +333,6 @@ paths:
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
type: string
- in: query
name: queryId
required: true
schema:
default: zhX91JE87mWvfprhYE97xA
example: zhX91JE87mWvfprhYE97xA
type: string
- in: header
name: authorization
required: true

View file

@ -22,10 +22,21 @@ paths:
description: get TweetDetail
operationId: getTweetDetail
parameters:
- in: query
name: queryId
required: true
schema:
default: wNNG8DBB8EaXw1lq4vFWGA
example: wNNG8DBB8EaXw1lq4vFWGA
type: string
- in: query
name: variables
required: true
schema:
default: '{"focalTweetId": "1349129669258448897", "with_rux_injections":
false, "includePromotedContent": true, "withCommunity": true, "withQuickPromoteEligibilityTweetFields":
true, "withBirdwatchNotes": true, "withVoice": true, "withV2Timeline":
true}'
example: '{"focalTweetId": "1349129669258448897", "with_rux_injections":
false, "includePromotedContent": true, "withCommunity": true, "withQuickPromoteEligibilityTweetFields":
true, "withBirdwatchNotes": true, "withVoice": true, "withV2Timeline":
@ -35,6 +46,17 @@ paths:
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":
@ -47,13 +69,6 @@ paths:
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
type: string
- in: query
name: queryId
required: true
schema:
default: wNNG8DBB8EaXw1lq4vFWGA
example: wNNG8DBB8EaXw1lq4vFWGA
type: string
- in: header
name: authorization
required: true

View file

@ -22,27 +22,31 @@ paths:
description: get user by screen name
operationId: getUserByScreenName
parameters:
- in: query
name: queryId
required: true
schema:
default: sLVLhk0bGj3MVFEKTdax1w
example: sLVLhk0bGj3MVFEKTdax1w
type: string
- in: query
name: variables
required: true
schema:
default: '{"screen_name": "elonmusk", "withSafetyModeUserFields": true}'
example: '{"screen_name": "elonmusk", "withSafetyModeUserFields": 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_skip_user_profile_image_extensions_enabled":
false, "responsive_web_graphql_timeline_navigation_enabled": true}'
example: '{"blue_business_profile_image_shape_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}'
type: string
- in: query
name: queryId
required: true
schema:
default: sLVLhk0bGj3MVFEKTdax1w
example: sLVLhk0bGj3MVFEKTdax1w
type: string
- in: header
name: authorization
required: true

View file

@ -37,10 +37,20 @@ paths:
description: get user likes tweets
operationId: getLikes
parameters:
- in: query
name: queryId
required: true
schema:
default: 5fmEkRT-1AdHqEsbVgehMg
example: 5fmEkRT-1AdHqEsbVgehMg
type: string
- in: query
name: variables
required: true
schema:
default: '{"userId": "44196397", "count": 20, "includePromotedContent":
false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
true, "withV2Timeline": true}'
example: '{"userId": "44196397", "count": 20, "includePromotedContent":
false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
true, "withV2Timeline": true}'
@ -49,6 +59,17 @@ paths:
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":
@ -61,13 +82,6 @@ paths:
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
type: string
- in: query
name: queryId
required: true
schema:
default: 5fmEkRT-1AdHqEsbVgehMg
example: 5fmEkRT-1AdHqEsbVgehMg
type: string
- in: header
name: authorization
required: true
@ -145,10 +159,20 @@ paths:
description: get user tweets
operationId: getUserTweets
parameters:
- 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}'
@ -157,6 +181,17 @@ paths:
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":
@ -169,13 +204,6 @@ paths:
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
type: string
- in: query
name: queryId
required: true
schema:
default: HuTx74BxAnezK1gWvYY7zg
example: HuTx74BxAnezK1gWvYY7zg
type: string
- in: header
name: authorization
required: true
@ -253,10 +281,19 @@ paths:
description: get user replies tweets
operationId: getUserTweetsAndReplies
parameters:
- 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
@ -264,6 +301,17 @@ paths:
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":
@ -276,13 +324,6 @@ paths:
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
type: string
- in: query
name: queryId
required: true
schema:
default: RIWc55YCNyUJ-U3HHGYkdg
example: RIWc55YCNyUJ-U3HHGYkdg
type: string
- in: header
name: authorization
required: true
@ -360,10 +401,20 @@ paths:
description: get user media tweets
operationId: getUserMedia
parameters:
- in: query
name: queryId
required: true
schema:
default: YqiE3JL1KNgf9nSljYdxaA
example: YqiE3JL1KNgf9nSljYdxaA
type: string
- in: query
name: variables
required: true
schema:
default: '{"userId": "44196397", "count": 40, "includePromotedContent":
false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
true, "withV2Timeline": true}'
example: '{"userId": "44196397", "count": 40, "includePromotedContent":
false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
true, "withV2Timeline": true}'
@ -372,6 +423,17 @@ paths:
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":
@ -384,13 +446,6 @@ paths:
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
false}'
type: string
- in: query
name: queryId
required: true
schema:
default: YqiE3JL1KNgf9nSljYdxaA
example: YqiE3JL1KNgf9nSljYdxaA
type: string
- in: header
name: authorization
required: true