mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 23:50:26 +01:00
build
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
4d7c0c3ab5
commit
295edb55aa
54 changed files with 8026 additions and 578 deletions
26
dist/dart/paths/bookmarks.yaml
vendored
26
dist/dart/paths/bookmarks.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
54
dist/dart/paths/follow.yaml
vendored
54
dist/dart/paths/follow.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
330
dist/dart/paths/post.yaml
vendored
330
dist/dart/paths/post.yaml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
16
dist/dart/paths/profile.yaml
vendored
16
dist/dart/paths/profile.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
80
dist/dart/paths/timeline.yaml
vendored
80
dist/dart/paths/timeline.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
29
dist/dart/paths/tweet.yaml
vendored
29
dist/dart/paths/tweet.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
18
dist/dart/paths/user.yaml
vendored
18
dist/dart/paths/user.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
111
dist/dart/paths/usertweets.yaml
vendored
111
dist/dart/paths/usertweets.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
90
dist/dart/response/error.yaml
vendored
Normal file
90
dist/dart/response/error.yaml
vendored
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
components:
|
||||
schemas:
|
||||
Error:
|
||||
properties:
|
||||
code:
|
||||
type: integer
|
||||
extensions:
|
||||
$ref: '#/components/schemas/Extensions'
|
||||
kind:
|
||||
type: string
|
||||
locations:
|
||||
items:
|
||||
$ref: '#/components/schemas/Location'
|
||||
type: array
|
||||
message:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
path:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
source:
|
||||
type: string
|
||||
tracing:
|
||||
$ref: '#/components/schemas/Tracing'
|
||||
required:
|
||||
- message
|
||||
- locations
|
||||
- path
|
||||
- extensions
|
||||
- code
|
||||
- kind
|
||||
- name
|
||||
- source
|
||||
- tracing
|
||||
type: object
|
||||
ErrorResponse:
|
||||
properties:
|
||||
errors:
|
||||
$ref: '#/components/schemas/Errors'
|
||||
required:
|
||||
- errors
|
||||
- data
|
||||
type: object
|
||||
Errors:
|
||||
items:
|
||||
$ref: '#/components/schemas/Error'
|
||||
type: array
|
||||
Extensions:
|
||||
properties:
|
||||
code:
|
||||
type: integer
|
||||
kind:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
source:
|
||||
type: string
|
||||
tracing:
|
||||
$ref: '#/components/schemas/Tracing'
|
||||
required:
|
||||
- name
|
||||
- source
|
||||
- code
|
||||
- kind
|
||||
- tracing
|
||||
type: object
|
||||
Location:
|
||||
properties:
|
||||
column:
|
||||
type: integer
|
||||
line:
|
||||
type: integer
|
||||
required:
|
||||
- line
|
||||
- column
|
||||
type: object
|
||||
Tracing:
|
||||
properties:
|
||||
trace_id:
|
||||
type: string
|
||||
required:
|
||||
- trace_id
|
||||
type: object
|
||||
info:
|
||||
title: Twitter OpenAPI
|
||||
version: 0.0.1
|
||||
openapi: 3.0.3
|
||||
paths: {}
|
||||
60
dist/dart/schemas/post.yaml
vendored
60
dist/dart/schemas/post.yaml
vendored
|
|
@ -1,60 +0,0 @@
|
|||
components:
|
||||
schemas:
|
||||
CreateRetweet:
|
||||
properties:
|
||||
result:
|
||||
items:
|
||||
$ref: '#/components/schemas/Retweet'
|
||||
type: object
|
||||
required:
|
||||
- result
|
||||
CreateTweet:
|
||||
properties:
|
||||
result:
|
||||
items:
|
||||
$ref: ./tweet.yaml#/components/schemas/Tweet
|
||||
type: object
|
||||
required:
|
||||
- result
|
||||
DeleteRetweet:
|
||||
properties:
|
||||
result:
|
||||
items:
|
||||
$ref: '#/components/schemas/Retweet'
|
||||
type: object
|
||||
required:
|
||||
- result
|
||||
DeleteTweet:
|
||||
properties:
|
||||
nullable: true
|
||||
type: object
|
||||
FavoriteTweet:
|
||||
properties:
|
||||
favorite_tweet:
|
||||
type: string
|
||||
required:
|
||||
- favorite_tweet
|
||||
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
|
||||
info:
|
||||
title: Twitter OpenAPI
|
||||
version: 0.0.1
|
||||
openapi: 3.0.3
|
||||
paths: {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue