mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 15:40:26 +01:00
build
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
10aaec8df8
commit
705fdc83ec
44 changed files with 3524 additions and 2936 deletions
76
dist/dart/openapi-3.0.yaml
vendored
76
dist/dart/openapi-3.0.yaml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
9
dist/dart/paths/bookmarks.yaml
vendored
9
dist/dart/paths/bookmarks.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
238
dist/dart/paths/follow.yaml
vendored
238
dist/dart/paths/follow.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
444
dist/dart/paths/post.yaml
vendored
444
dist/dart/paths/post.yaml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
9
dist/dart/paths/profile.yaml
vendored
9
dist/dart/paths/profile.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
463
dist/dart/paths/timeline.yaml
vendored
463
dist/dart/paths/timeline.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
9
dist/dart/paths/tweet.yaml
vendored
9
dist/dart/paths/tweet.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
9
dist/dart/paths/user.yaml
vendored
9
dist/dart/paths/user.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
480
dist/dart/paths/usertweets.yaml
vendored
480
dist/dart/paths/usertweets.yaml
vendored
|
|
@ -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
13
dist/dart/resources/parameters.yaml
vendored
Normal 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: {}
|
||||
3
dist/dart/schemas/tweet.yaml
vendored
3
dist/dart/schemas/tweet.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
76
dist/docs/openapi-3.0.yaml
vendored
76
dist/docs/openapi-3.0.yaml
vendored
|
|
@ -68,44 +68,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:
|
||||
|
|
|
|||
9
dist/docs/paths/bookmarks.yaml
vendored
9
dist/docs/paths/bookmarks.yaml
vendored
|
|
@ -23,11 +23,18 @@ info:
|
|||
version: 0.0.1
|
||||
openapi: 3.0.3
|
||||
paths:
|
||||
/graphql/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
|
||||
/graphql/{pathQueryId}/Bookmarks:
|
||||
get:
|
||||
description: get bookmarks
|
||||
operationId: getBookmarks
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: tmd4ifV8RHltzn8ymGg1aw
|
||||
example: tmd4ifV8RHltzn8ymGg1aw
|
||||
type: string
|
||||
- content:
|
||||
application/json:
|
||||
required:
|
||||
|
|
|
|||
462
dist/docs/paths/follow.yaml
vendored
462
dist/docs/paths/follow.yaml
vendored
|
|
@ -38,234 +38,18 @@ info:
|
|||
version: 0.0.1
|
||||
openapi: 3.0.3
|
||||
paths:
|
||||
/graphql/IWP6Zt14sARO29lJT35bBw/Following:
|
||||
get:
|
||||
description: get user list of following
|
||||
operationId: getFollowing
|
||||
parameters:
|
||||
- content:
|
||||
application/json:
|
||||
required:
|
||||
- I
|
||||
- W
|
||||
- P
|
||||
- '6'
|
||||
- Z
|
||||
- t
|
||||
- '1'
|
||||
- '4'
|
||||
- s
|
||||
- A
|
||||
- R
|
||||
- O
|
||||
- '2'
|
||||
- '9'
|
||||
- l
|
||||
- J
|
||||
- T
|
||||
- '3'
|
||||
- '5'
|
||||
- b
|
||||
- B
|
||||
- w
|
||||
schema:
|
||||
default: IWP6Zt14sARO29lJT35bBw
|
||||
example: IWP6Zt14sARO29lJT35bBw
|
||||
type: string
|
||||
in: query
|
||||
name: queryId
|
||||
required: true
|
||||
- content:
|
||||
application/json:
|
||||
required:
|
||||
- userId
|
||||
- count
|
||||
- includePromotedContent
|
||||
schema:
|
||||
properties:
|
||||
count:
|
||||
default: 20
|
||||
example: 20
|
||||
type: integer
|
||||
includePromotedContent:
|
||||
default: false
|
||||
example: false
|
||||
type: boolean
|
||||
userId:
|
||||
default: '44196397'
|
||||
example: '44196397'
|
||||
type: string
|
||||
required:
|
||||
- userId
|
||||
- count
|
||||
- includePromotedContent
|
||||
type: object
|
||||
in: query
|
||||
name: variables
|
||||
required: true
|
||||
- content:
|
||||
application/json:
|
||||
required:
|
||||
- blue_business_profile_image_shape_enabled
|
||||
- responsive_web_graphql_exclude_directive_enabled
|
||||
- verified_phone_label_enabled
|
||||
- responsive_web_graphql_timeline_navigation_enabled
|
||||
- responsive_web_graphql_skip_user_profile_image_extensions_enabled
|
||||
- tweetypie_unmention_optimization_enabled
|
||||
- vibe_api_enabled
|
||||
- responsive_web_edit_tweet_api_enabled
|
||||
- graphql_is_translatable_rweb_tweet_is_translatable_enabled
|
||||
- view_counts_everywhere_api_enabled
|
||||
- longform_notetweets_consumption_enabled
|
||||
- tweet_awards_web_tipping_enabled
|
||||
- freedom_of_speech_not_reach_fetch_enabled
|
||||
- standardized_nudges_misinfo
|
||||
- tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled
|
||||
- interactive_text_enabled
|
||||
- responsive_web_text_conversations_enabled
|
||||
- longform_notetweets_rich_text_read_enabled
|
||||
- responsive_web_enhance_cards_enabled
|
||||
schema:
|
||||
properties:
|
||||
blue_business_profile_image_shape_enabled:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
freedom_of_speech_not_reach_fetch_enabled:
|
||||
default: false
|
||||
example: false
|
||||
type: boolean
|
||||
graphql_is_translatable_rweb_tweet_is_translatable_enabled:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
interactive_text_enabled:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
longform_notetweets_consumption_enabled:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
longform_notetweets_rich_text_read_enabled:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
responsive_web_edit_tweet_api_enabled:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
responsive_web_enhance_cards_enabled:
|
||||
default: false
|
||||
example: false
|
||||
type: boolean
|
||||
responsive_web_graphql_exclude_directive_enabled:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
responsive_web_graphql_skip_user_profile_image_extensions_enabled:
|
||||
default: false
|
||||
example: false
|
||||
type: boolean
|
||||
responsive_web_graphql_timeline_navigation_enabled:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
responsive_web_text_conversations_enabled:
|
||||
default: false
|
||||
example: false
|
||||
type: boolean
|
||||
standardized_nudges_misinfo:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
tweet_awards_web_tipping_enabled:
|
||||
default: false
|
||||
example: false
|
||||
type: boolean
|
||||
tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled:
|
||||
default: false
|
||||
example: false
|
||||
type: boolean
|
||||
tweetypie_unmention_optimization_enabled:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
verified_phone_label_enabled:
|
||||
default: false
|
||||
example: false
|
||||
type: boolean
|
||||
vibe_api_enabled:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
view_counts_everywhere_api_enabled:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
required:
|
||||
- blue_business_profile_image_shape_enabled
|
||||
- responsive_web_graphql_exclude_directive_enabled
|
||||
- verified_phone_label_enabled
|
||||
- responsive_web_graphql_timeline_navigation_enabled
|
||||
- responsive_web_graphql_skip_user_profile_image_extensions_enabled
|
||||
- tweetypie_unmention_optimization_enabled
|
||||
- vibe_api_enabled
|
||||
- responsive_web_edit_tweet_api_enabled
|
||||
- graphql_is_translatable_rweb_tweet_is_translatable_enabled
|
||||
- view_counts_everywhere_api_enabled
|
||||
- longform_notetweets_consumption_enabled
|
||||
- tweet_awards_web_tipping_enabled
|
||||
- freedom_of_speech_not_reach_fetch_enabled
|
||||
- standardized_nudges_misinfo
|
||||
- tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled
|
||||
- interactive_text_enabled
|
||||
- responsive_web_text_conversations_enabled
|
||||
- longform_notetweets_rich_text_read_enabled
|
||||
- responsive_web_enhance_cards_enabled
|
||||
type: object
|
||||
in: query
|
||||
name: features
|
||||
required: true
|
||||
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
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: djdTXDIk2qhd4OStqlUFeQ
|
||||
example: djdTXDIk2qhd4OStqlUFeQ
|
||||
type: string
|
||||
- content:
|
||||
application/json:
|
||||
required:
|
||||
|
|
@ -484,3 +268,233 @@ paths:
|
|||
type: string
|
||||
tags:
|
||||
- user-list
|
||||
/graphql/{pathQueryId}/Following:
|
||||
get:
|
||||
description: get user list of following
|
||||
operationId: getFollowing
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: IWP6Zt14sARO29lJT35bBw
|
||||
example: IWP6Zt14sARO29lJT35bBw
|
||||
type: string
|
||||
- content:
|
||||
application/json:
|
||||
required:
|
||||
- I
|
||||
- W
|
||||
- P
|
||||
- '6'
|
||||
- Z
|
||||
- t
|
||||
- '1'
|
||||
- '4'
|
||||
- s
|
||||
- A
|
||||
- R
|
||||
- O
|
||||
- '2'
|
||||
- '9'
|
||||
- l
|
||||
- J
|
||||
- T
|
||||
- '3'
|
||||
- '5'
|
||||
- b
|
||||
- B
|
||||
- w
|
||||
schema:
|
||||
default: IWP6Zt14sARO29lJT35bBw
|
||||
example: IWP6Zt14sARO29lJT35bBw
|
||||
type: string
|
||||
in: query
|
||||
name: queryId
|
||||
required: true
|
||||
- content:
|
||||
application/json:
|
||||
required:
|
||||
- userId
|
||||
- count
|
||||
- includePromotedContent
|
||||
schema:
|
||||
properties:
|
||||
count:
|
||||
default: 20
|
||||
example: 20
|
||||
type: integer
|
||||
includePromotedContent:
|
||||
default: false
|
||||
example: false
|
||||
type: boolean
|
||||
userId:
|
||||
default: '44196397'
|
||||
example: '44196397'
|
||||
type: string
|
||||
required:
|
||||
- userId
|
||||
- count
|
||||
- includePromotedContent
|
||||
type: object
|
||||
in: query
|
||||
name: variables
|
||||
required: true
|
||||
- content:
|
||||
application/json:
|
||||
required:
|
||||
- blue_business_profile_image_shape_enabled
|
||||
- responsive_web_graphql_exclude_directive_enabled
|
||||
- verified_phone_label_enabled
|
||||
- responsive_web_graphql_timeline_navigation_enabled
|
||||
- responsive_web_graphql_skip_user_profile_image_extensions_enabled
|
||||
- tweetypie_unmention_optimization_enabled
|
||||
- vibe_api_enabled
|
||||
- responsive_web_edit_tweet_api_enabled
|
||||
- graphql_is_translatable_rweb_tweet_is_translatable_enabled
|
||||
- view_counts_everywhere_api_enabled
|
||||
- longform_notetweets_consumption_enabled
|
||||
- tweet_awards_web_tipping_enabled
|
||||
- freedom_of_speech_not_reach_fetch_enabled
|
||||
- standardized_nudges_misinfo
|
||||
- tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled
|
||||
- interactive_text_enabled
|
||||
- responsive_web_text_conversations_enabled
|
||||
- longform_notetweets_rich_text_read_enabled
|
||||
- responsive_web_enhance_cards_enabled
|
||||
schema:
|
||||
properties:
|
||||
blue_business_profile_image_shape_enabled:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
freedom_of_speech_not_reach_fetch_enabled:
|
||||
default: false
|
||||
example: false
|
||||
type: boolean
|
||||
graphql_is_translatable_rweb_tweet_is_translatable_enabled:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
interactive_text_enabled:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
longform_notetweets_consumption_enabled:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
longform_notetweets_rich_text_read_enabled:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
responsive_web_edit_tweet_api_enabled:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
responsive_web_enhance_cards_enabled:
|
||||
default: false
|
||||
example: false
|
||||
type: boolean
|
||||
responsive_web_graphql_exclude_directive_enabled:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
responsive_web_graphql_skip_user_profile_image_extensions_enabled:
|
||||
default: false
|
||||
example: false
|
||||
type: boolean
|
||||
responsive_web_graphql_timeline_navigation_enabled:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
responsive_web_text_conversations_enabled:
|
||||
default: false
|
||||
example: false
|
||||
type: boolean
|
||||
standardized_nudges_misinfo:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
tweet_awards_web_tipping_enabled:
|
||||
default: false
|
||||
example: false
|
||||
type: boolean
|
||||
tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled:
|
||||
default: false
|
||||
example: false
|
||||
type: boolean
|
||||
tweetypie_unmention_optimization_enabled:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
verified_phone_label_enabled:
|
||||
default: false
|
||||
example: false
|
||||
type: boolean
|
||||
vibe_api_enabled:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
view_counts_everywhere_api_enabled:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
required:
|
||||
- blue_business_profile_image_shape_enabled
|
||||
- responsive_web_graphql_exclude_directive_enabled
|
||||
- verified_phone_label_enabled
|
||||
- responsive_web_graphql_timeline_navigation_enabled
|
||||
- responsive_web_graphql_skip_user_profile_image_extensions_enabled
|
||||
- tweetypie_unmention_optimization_enabled
|
||||
- vibe_api_enabled
|
||||
- responsive_web_edit_tweet_api_enabled
|
||||
- graphql_is_translatable_rweb_tweet_is_translatable_enabled
|
||||
- view_counts_everywhere_api_enabled
|
||||
- longform_notetweets_consumption_enabled
|
||||
- tweet_awards_web_tipping_enabled
|
||||
- freedom_of_speech_not_reach_fetch_enabled
|
||||
- standardized_nudges_misinfo
|
||||
- tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled
|
||||
- interactive_text_enabled
|
||||
- responsive_web_text_conversations_enabled
|
||||
- longform_notetweets_rich_text_read_enabled
|
||||
- responsive_web_enhance_cards_enabled
|
||||
type: object
|
||||
in: query
|
||||
name: features
|
||||
required: true
|
||||
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
|
||||
|
|
|
|||
312
dist/docs/paths/post.yaml
vendored
312
dist/docs/paths/post.yaml
vendored
|
|
@ -136,11 +136,88 @@ 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: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: ojPdsZsimiJrUGLR1sjUtA
|
||||
example: ojPdsZsimiJrUGLR1sjUtA
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
schema:
|
||||
default: ojPdsZsimiJrUGLR1sjUtA
|
||||
example: ojPdsZsimiJrUGLR1sjUtA
|
||||
type: string
|
||||
- in: query
|
||||
name: variables
|
||||
required: true
|
||||
schema:
|
||||
properties:
|
||||
dark_request:
|
||||
default: false
|
||||
example: false
|
||||
type: boolean
|
||||
tweet_id:
|
||||
default: '1349129669258448897'
|
||||
example: '1349129669258448897'
|
||||
type: string
|
||||
required:
|
||||
- tweet_id
|
||||
- dark_request
|
||||
type: object
|
||||
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
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: 1RyAhNwby-gzGCRVsMxKbQ
|
||||
example: 1RyAhNwby-gzGCRVsMxKbQ
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
|
|
@ -321,137 +398,18 @@ paths:
|
|||
type: string
|
||||
tags:
|
||||
- post
|
||||
/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
|
||||
post:
|
||||
description: delete Retweet
|
||||
operationId: postDeleteTweet
|
||||
parameters:
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
schema:
|
||||
default: VaenaVgh5q5ih7kvyVjgtg
|
||||
example: VaenaVgh5q5ih7kvyVjgtg
|
||||
type: string
|
||||
- in: query
|
||||
name: variables
|
||||
required: true
|
||||
schema:
|
||||
properties:
|
||||
dark_request:
|
||||
default: false
|
||||
example: false
|
||||
type: boolean
|
||||
tweet_id:
|
||||
default: '1349129669258448897'
|
||||
example: '1349129669258448897'
|
||||
type: string
|
||||
required:
|
||||
- tweet_id
|
||||
- dark_request
|
||||
type: object
|
||||
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: query
|
||||
name: queryId
|
||||
required: true
|
||||
schema:
|
||||
default: ZYKSe-w7KEslx3JhSIk5LA
|
||||
example: ZYKSe-w7KEslx3JhSIk5LA
|
||||
type: string
|
||||
- in: query
|
||||
name: variables
|
||||
required: true
|
||||
schema:
|
||||
properties:
|
||||
dark_request:
|
||||
default: false
|
||||
example: false
|
||||
type: boolean
|
||||
tweet_id:
|
||||
default: '1349129669258448897'
|
||||
example: '1349129669258448897'
|
||||
type: string
|
||||
required:
|
||||
- tweet_id
|
||||
- dark_request
|
||||
type: object
|
||||
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
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: iQtK4dl5hBmXewYZuEOKVw
|
||||
example: iQtK4dl5hBmXewYZuEOKVw
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
|
|
@ -510,11 +468,88 @@ paths:
|
|||
type: string
|
||||
tags:
|
||||
- post
|
||||
/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
|
||||
/graphql/{pathQueryId}/DeleteTweet:
|
||||
post:
|
||||
description: delete Retweet
|
||||
operationId: postDeleteTweet
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: VaenaVgh5q5ih7kvyVjgtg
|
||||
example: VaenaVgh5q5ih7kvyVjgtg
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
schema:
|
||||
default: VaenaVgh5q5ih7kvyVjgtg
|
||||
example: VaenaVgh5q5ih7kvyVjgtg
|
||||
type: string
|
||||
- in: query
|
||||
name: variables
|
||||
required: true
|
||||
schema:
|
||||
properties:
|
||||
dark_request:
|
||||
default: false
|
||||
example: false
|
||||
type: boolean
|
||||
tweet_id:
|
||||
default: '1349129669258448897'
|
||||
example: '1349129669258448897'
|
||||
type: string
|
||||
required:
|
||||
- tweet_id
|
||||
- dark_request
|
||||
type: object
|
||||
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
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: lI07N6Otwv1PhnEgXILM7A
|
||||
example: lI07N6Otwv1PhnEgXILM7A
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
|
|
@ -573,17 +608,24 @@ paths:
|
|||
type: string
|
||||
tags:
|
||||
- post
|
||||
/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
|
||||
/graphql/{pathQueryId}/UnfavoriteTweet:
|
||||
post:
|
||||
description: create Retweet
|
||||
operationId: postCreateRetweet
|
||||
description: unfavorite Tweet
|
||||
operationId: postUnfavoriteTweet
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: ZYKSe-w7KEslx3JhSIk5LA
|
||||
example: ZYKSe-w7KEslx3JhSIk5LA
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
schema:
|
||||
default: ojPdsZsimiJrUGLR1sjUtA
|
||||
example: ojPdsZsimiJrUGLR1sjUtA
|
||||
default: ZYKSe-w7KEslx3JhSIk5LA
|
||||
example: ZYKSe-w7KEslx3JhSIk5LA
|
||||
type: string
|
||||
- in: query
|
||||
name: variables
|
||||
|
|
@ -607,7 +649,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/CreateRetweetResponse'
|
||||
$ref: '#/components/schemas/UnfavoriteTweetResponseData'
|
||||
description: Successful operation
|
||||
headers:
|
||||
x-connection-hash:
|
||||
|
|
|
|||
9
dist/docs/paths/profile.yaml
vendored
9
dist/docs/paths/profile.yaml
vendored
|
|
@ -63,11 +63,18 @@ 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
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: 9zwVLJ48lmVUk8u_Gh9DmA
|
||||
example: 9zwVLJ48lmVUk8u_Gh9DmA
|
||||
type: string
|
||||
- content:
|
||||
application/json:
|
||||
required:
|
||||
|
|
|
|||
163
dist/docs/paths/timeline.yaml
vendored
163
dist/docs/paths/timeline.yaml
vendored
|
|
@ -47,39 +47,46 @@ info:
|
|||
version: 0.0.1
|
||||
openapi: 3.0.3
|
||||
paths:
|
||||
/graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
||||
/graphql/{pathQueryId}/HomeLatestTimeline:
|
||||
get:
|
||||
description: get tweet list of timeline
|
||||
operationId: getListLatestTweetsTimeline
|
||||
operationId: getHomeLatestTimeline
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: zhX91JE87mWvfprhYE97xA
|
||||
example: zhX91JE87mWvfprhYE97xA
|
||||
type: string
|
||||
- content:
|
||||
application/json:
|
||||
required:
|
||||
- '2'
|
||||
- T
|
||||
- e
|
||||
- z
|
||||
- h
|
||||
- X
|
||||
- '9'
|
||||
- '1'
|
||||
- J
|
||||
- E
|
||||
- '8'
|
||||
- '7'
|
||||
- m
|
||||
- L
|
||||
- y
|
||||
- q
|
||||
- r
|
||||
- M
|
||||
- W
|
||||
- v
|
||||
- f
|
||||
- p
|
||||
- T
|
||||
- e
|
||||
- r
|
||||
- h
|
||||
- Y
|
||||
- E
|
||||
- '9'
|
||||
- '7'
|
||||
- x
|
||||
- A
|
||||
- m
|
||||
- y
|
||||
- s
|
||||
- d
|
||||
- b
|
||||
- n
|
||||
- V
|
||||
- q
|
||||
- w
|
||||
schema:
|
||||
default: 2TemLyqrMpTeAmysdbnVqw
|
||||
example: 2TemLyqrMpTeAmysdbnVqw
|
||||
default: zhX91JE87mWvfprhYE97xA
|
||||
example: zhX91JE87mWvfprhYE97xA
|
||||
type: string
|
||||
in: query
|
||||
name: queryId
|
||||
|
|
@ -87,21 +94,33 @@ paths:
|
|||
- content:
|
||||
application/json:
|
||||
required:
|
||||
- listId
|
||||
- count
|
||||
- includePromotedContent
|
||||
- latestControlAvailable
|
||||
- requestContext
|
||||
schema:
|
||||
properties:
|
||||
count:
|
||||
default: 20
|
||||
example: 20
|
||||
type: integer
|
||||
listId:
|
||||
default: '53044119'
|
||||
example: '53044119'
|
||||
includePromotedContent:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
latestControlAvailable:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
requestContext:
|
||||
default: launch
|
||||
example: launch
|
||||
type: string
|
||||
required:
|
||||
- listId
|
||||
- count
|
||||
- includePromotedContent
|
||||
- latestControlAvailable
|
||||
- requestContext
|
||||
type: object
|
||||
in: query
|
||||
name: variables
|
||||
|
|
@ -235,7 +254,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ListTweetsTimelineResponse'
|
||||
$ref: '#/components/schemas/TimelineResponse'
|
||||
description: Successful operation
|
||||
headers:
|
||||
x-connection-hash:
|
||||
|
|
@ -264,11 +283,18 @@ paths:
|
|||
type: string
|
||||
tags:
|
||||
- tweet
|
||||
/graphql/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
|
||||
/graphql/{pathQueryId}/HomeTimeline:
|
||||
get:
|
||||
description: get tweet list of timeline
|
||||
operationId: getHomeTimeline
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: HCosKfLNW1AcOo3la3mMgg
|
||||
example: HCosKfLNW1AcOo3la3mMgg
|
||||
type: string
|
||||
- content:
|
||||
application/json:
|
||||
required:
|
||||
|
|
@ -499,39 +525,46 @@ paths:
|
|||
type: string
|
||||
tags:
|
||||
- tweet
|
||||
/graphql/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
|
||||
/graphql/{pathQueryId}/ListLatestTweetsTimeline:
|
||||
get:
|
||||
description: get tweet list of timeline
|
||||
operationId: getHomeLatestTimeline
|
||||
operationId: getListLatestTweetsTimeline
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: 2TemLyqrMpTeAmysdbnVqw
|
||||
example: 2TemLyqrMpTeAmysdbnVqw
|
||||
type: string
|
||||
- content:
|
||||
application/json:
|
||||
required:
|
||||
- z
|
||||
- h
|
||||
- X
|
||||
- '9'
|
||||
- '1'
|
||||
- J
|
||||
- E
|
||||
- '8'
|
||||
- '7'
|
||||
- '2'
|
||||
- T
|
||||
- e
|
||||
- m
|
||||
- W
|
||||
- v
|
||||
- f
|
||||
- p
|
||||
- L
|
||||
- y
|
||||
- q
|
||||
- r
|
||||
- h
|
||||
- Y
|
||||
- E
|
||||
- '9'
|
||||
- '7'
|
||||
- x
|
||||
- M
|
||||
- p
|
||||
- T
|
||||
- e
|
||||
- A
|
||||
- m
|
||||
- y
|
||||
- s
|
||||
- d
|
||||
- b
|
||||
- n
|
||||
- V
|
||||
- q
|
||||
- w
|
||||
schema:
|
||||
default: zhX91JE87mWvfprhYE97xA
|
||||
example: zhX91JE87mWvfprhYE97xA
|
||||
default: 2TemLyqrMpTeAmysdbnVqw
|
||||
example: 2TemLyqrMpTeAmysdbnVqw
|
||||
type: string
|
||||
in: query
|
||||
name: queryId
|
||||
|
|
@ -539,33 +572,21 @@ paths:
|
|||
- content:
|
||||
application/json:
|
||||
required:
|
||||
- listId
|
||||
- count
|
||||
- includePromotedContent
|
||||
- latestControlAvailable
|
||||
- requestContext
|
||||
schema:
|
||||
properties:
|
||||
count:
|
||||
default: 20
|
||||
example: 20
|
||||
type: integer
|
||||
includePromotedContent:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
latestControlAvailable:
|
||||
default: true
|
||||
example: true
|
||||
type: boolean
|
||||
requestContext:
|
||||
default: launch
|
||||
example: launch
|
||||
listId:
|
||||
default: '53044119'
|
||||
example: '53044119'
|
||||
type: string
|
||||
required:
|
||||
- listId
|
||||
- count
|
||||
- includePromotedContent
|
||||
- latestControlAvailable
|
||||
- requestContext
|
||||
type: object
|
||||
in: query
|
||||
name: variables
|
||||
|
|
@ -699,7 +720,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/TimelineResponse'
|
||||
$ref: '#/components/schemas/ListTweetsTimelineResponse'
|
||||
description: Successful operation
|
||||
headers:
|
||||
x-connection-hash:
|
||||
|
|
|
|||
9
dist/docs/paths/tweet.yaml
vendored
9
dist/docs/paths/tweet.yaml
vendored
|
|
@ -17,11 +17,18 @@ info:
|
|||
version: 0.0.1
|
||||
openapi: 3.0.3
|
||||
paths:
|
||||
/graphql/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
|
||||
/graphql/{pathQueryId}/TweetDetail:
|
||||
get:
|
||||
description: get TweetDetail
|
||||
operationId: getTweetDetail
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: wNNG8DBB8EaXw1lq4vFWGA
|
||||
example: wNNG8DBB8EaXw1lq4vFWGA
|
||||
type: string
|
||||
- content:
|
||||
application/json:
|
||||
required:
|
||||
|
|
|
|||
9
dist/docs/paths/user.yaml
vendored
9
dist/docs/paths/user.yaml
vendored
|
|
@ -17,11 +17,18 @@ 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
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: sLVLhk0bGj3MVFEKTdax1w
|
||||
example: sLVLhk0bGj3MVFEKTdax1w
|
||||
type: string
|
||||
- content:
|
||||
application/json:
|
||||
required:
|
||||
|
|
|
|||
996
dist/docs/paths/usertweets.yaml
vendored
996
dist/docs/paths/usertweets.yaml
vendored
File diff suppressed because it is too large
Load diff
13
dist/docs/resources/parameters.yaml
vendored
Normal file
13
dist/docs/resources/parameters.yaml
vendored
Normal 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: {}
|
||||
3
dist/docs/schemas/tweet.yaml
vendored
3
dist/docs/schemas/tweet.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
76
dist/test/openapi-3.0.yaml
vendored
76
dist/test/openapi-3.0.yaml
vendored
|
|
@ -68,44 +68,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:
|
||||
|
|
|
|||
9
dist/test/paths/bookmarks.yaml
vendored
9
dist/test/paths/bookmarks.yaml
vendored
|
|
@ -23,11 +23,18 @@ info:
|
|||
version: 0.0.1
|
||||
openapi: 3.0.3
|
||||
paths:
|
||||
/graphql/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
|
||||
/graphql/{pathQueryId}/Bookmarks:
|
||||
get:
|
||||
description: get bookmarks
|
||||
operationId: getBookmarks
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: tmd4ifV8RHltzn8ymGg1aw
|
||||
example: tmd4ifV8RHltzn8ymGg1aw
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
|
|
|
|||
180
dist/test/paths/follow.yaml
vendored
180
dist/test/paths/follow.yaml
vendored
|
|
@ -38,93 +38,18 @@ info:
|
|||
version: 0.0.1
|
||||
openapi: 3.0.3
|
||||
paths:
|
||||
/graphql/IWP6Zt14sARO29lJT35bBw/Following:
|
||||
get:
|
||||
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
|
||||
- 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
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: djdTXDIk2qhd4OStqlUFeQ
|
||||
example: djdTXDIk2qhd4OStqlUFeQ
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
|
|
@ -202,3 +127,92 @@ paths:
|
|||
type: string
|
||||
tags:
|
||||
- user-list
|
||||
/graphql/{pathQueryId}/Following:
|
||||
get:
|
||||
description: get user list of following
|
||||
operationId: getFollowing
|
||||
parameters:
|
||||
- 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
|
||||
|
|
|
|||
272
dist/test/paths/post.yaml
vendored
272
dist/test/paths/post.yaml
vendored
|
|
@ -136,11 +136,78 @@ 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: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: ojPdsZsimiJrUGLR1sjUtA
|
||||
example: ojPdsZsimiJrUGLR1sjUtA
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
schema:
|
||||
default: '"ojPdsZsimiJrUGLR1sjUtA"'
|
||||
example: '"ojPdsZsimiJrUGLR1sjUtA"'
|
||||
type: string
|
||||
- in: query
|
||||
name: variables
|
||||
required: true
|
||||
schema:
|
||||
default: '{"tweet_id": "1349129669258448897", "dark_request": false}'
|
||||
example: '{"tweet_id": "1349129669258448897", "dark_request": false}'
|
||||
type: string
|
||||
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
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: 1RyAhNwby-gzGCRVsMxKbQ
|
||||
example: 1RyAhNwby-gzGCRVsMxKbQ
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
|
|
@ -218,117 +285,18 @@ paths:
|
|||
type: string
|
||||
tags:
|
||||
- post
|
||||
/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
|
||||
post:
|
||||
description: delete Retweet
|
||||
operationId: postDeleteTweet
|
||||
parameters:
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
schema:
|
||||
default: '"VaenaVgh5q5ih7kvyVjgtg"'
|
||||
example: '"VaenaVgh5q5ih7kvyVjgtg"'
|
||||
type: string
|
||||
- in: query
|
||||
name: variables
|
||||
required: true
|
||||
schema:
|
||||
default: '{"tweet_id": "1349129669258448897", "dark_request": false}'
|
||||
example: '{"tweet_id": "1349129669258448897", "dark_request": false}'
|
||||
type: string
|
||||
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: query
|
||||
name: queryId
|
||||
required: true
|
||||
schema:
|
||||
default: '"ZYKSe-w7KEslx3JhSIk5LA"'
|
||||
example: '"ZYKSe-w7KEslx3JhSIk5LA"'
|
||||
type: string
|
||||
- in: query
|
||||
name: variables
|
||||
required: true
|
||||
schema:
|
||||
default: '{"tweet_id": "1349129669258448897", "dark_request": false}'
|
||||
example: '{"tweet_id": "1349129669258448897", "dark_request": false}'
|
||||
type: string
|
||||
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
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: iQtK4dl5hBmXewYZuEOKVw
|
||||
example: iQtK4dl5hBmXewYZuEOKVw
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
|
|
@ -377,11 +345,78 @@ paths:
|
|||
type: string
|
||||
tags:
|
||||
- post
|
||||
/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
|
||||
/graphql/{pathQueryId}/DeleteTweet:
|
||||
post:
|
||||
description: delete Retweet
|
||||
operationId: postDeleteTweet
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: VaenaVgh5q5ih7kvyVjgtg
|
||||
example: VaenaVgh5q5ih7kvyVjgtg
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
schema:
|
||||
default: '"VaenaVgh5q5ih7kvyVjgtg"'
|
||||
example: '"VaenaVgh5q5ih7kvyVjgtg"'
|
||||
type: string
|
||||
- in: query
|
||||
name: variables
|
||||
required: true
|
||||
schema:
|
||||
default: '{"tweet_id": "1349129669258448897", "dark_request": false}'
|
||||
example: '{"tweet_id": "1349129669258448897", "dark_request": false}'
|
||||
type: string
|
||||
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
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: lI07N6Otwv1PhnEgXILM7A
|
||||
example: lI07N6Otwv1PhnEgXILM7A
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
|
|
@ -430,17 +465,24 @@ paths:
|
|||
type: string
|
||||
tags:
|
||||
- post
|
||||
/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
|
||||
/graphql/{pathQueryId}/UnfavoriteTweet:
|
||||
post:
|
||||
description: create Retweet
|
||||
operationId: postCreateRetweet
|
||||
description: unfavorite Tweet
|
||||
operationId: postUnfavoriteTweet
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: ZYKSe-w7KEslx3JhSIk5LA
|
||||
example: ZYKSe-w7KEslx3JhSIk5LA
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
schema:
|
||||
default: '"ojPdsZsimiJrUGLR1sjUtA"'
|
||||
example: '"ojPdsZsimiJrUGLR1sjUtA"'
|
||||
default: '"ZYKSe-w7KEslx3JhSIk5LA"'
|
||||
example: '"ZYKSe-w7KEslx3JhSIk5LA"'
|
||||
type: string
|
||||
- in: query
|
||||
name: variables
|
||||
|
|
@ -454,7 +496,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/CreateRetweetResponse'
|
||||
$ref: '#/components/schemas/UnfavoriteTweetResponseData'
|
||||
description: Successful operation
|
||||
headers:
|
||||
x-connection-hash:
|
||||
|
|
|
|||
9
dist/test/paths/profile.yaml
vendored
9
dist/test/paths/profile.yaml
vendored
|
|
@ -63,11 +63,18 @@ 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
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: 9zwVLJ48lmVUk8u_Gh9DmA
|
||||
example: 9zwVLJ48lmVUk8u_Gh9DmA
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
|
|
|
|||
347
dist/test/paths/timeline.yaml
vendored
347
dist/test/paths/timeline.yaml
vendored
|
|
@ -47,173 +47,18 @@ info:
|
|||
version: 0.0.1
|
||||
openapi: 3.0.3
|
||||
paths:
|
||||
/graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
||||
get:
|
||||
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":
|
||||
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: 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
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: zhX91JE87mWvfprhYE97xA
|
||||
example: zhX91JE87mWvfprhYE97xA
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
|
|
@ -291,3 +136,179 @@ paths:
|
|||
type: string
|
||||
tags:
|
||||
- tweet
|
||||
/graphql/{pathQueryId}/HomeTimeline:
|
||||
get:
|
||||
description: get tweet list of timeline
|
||||
operationId: getHomeTimeline
|
||||
parameters:
|
||||
- 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: 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
|
||||
|
|
|
|||
9
dist/test/paths/tweet.yaml
vendored
9
dist/test/paths/tweet.yaml
vendored
|
|
@ -17,11 +17,18 @@ info:
|
|||
version: 0.0.1
|
||||
openapi: 3.0.3
|
||||
paths:
|
||||
/graphql/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
|
||||
/graphql/{pathQueryId}/TweetDetail:
|
||||
get:
|
||||
description: get TweetDetail
|
||||
operationId: getTweetDetail
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: wNNG8DBB8EaXw1lq4vFWGA
|
||||
example: wNNG8DBB8EaXw1lq4vFWGA
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
|
|
|
|||
9
dist/test/paths/user.yaml
vendored
9
dist/test/paths/user.yaml
vendored
|
|
@ -17,11 +17,18 @@ 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
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: sLVLhk0bGj3MVFEKTdax1w
|
||||
example: sLVLhk0bGj3MVFEKTdax1w
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
|
|
|
|||
364
dist/test/paths/usertweets.yaml
vendored
364
dist/test/paths/usertweets.yaml
vendored
|
|
@ -32,11 +32,18 @@ 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
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: 5fmEkRT-1AdHqEsbVgehMg
|
||||
example: 5fmEkRT-1AdHqEsbVgehMg
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
|
|
@ -116,177 +123,18 @@ paths:
|
|||
type: string
|
||||
tags:
|
||||
- tweet
|
||||
/graphql/HuTx74BxAnezK1gWvYY7zg/UserTweets:
|
||||
get:
|
||||
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}'
|
||||
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: 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
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: YqiE3JL1KNgf9nSljYdxaA
|
||||
example: YqiE3JL1KNgf9nSljYdxaA
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
|
|
@ -366,3 +214,183 @@ paths:
|
|||
type: string
|
||||
tags:
|
||||
- tweet
|
||||
/graphql/{pathQueryId}/UserTweets:
|
||||
get:
|
||||
description: get user tweets
|
||||
operationId: getUserTweets
|
||||
parameters:
|
||||
- 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: 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/test/resources/parameters.yaml
vendored
Normal file
13
dist/test/resources/parameters.yaml
vendored
Normal 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: {}
|
||||
3
dist/test/schemas/tweet.yaml
vendored
3
dist/test/schemas/tweet.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
76
dist/typescript/openapi-3.0.yaml
vendored
76
dist/typescript/openapi-3.0.yaml
vendored
|
|
@ -68,44 +68,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:
|
||||
|
|
|
|||
9
dist/typescript/paths/bookmarks.yaml
vendored
9
dist/typescript/paths/bookmarks.yaml
vendored
|
|
@ -23,11 +23,18 @@ info:
|
|||
version: 0.0.1
|
||||
openapi: 3.0.3
|
||||
paths:
|
||||
/graphql/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
|
||||
/graphql/{pathQueryId}/Bookmarks:
|
||||
get:
|
||||
description: get bookmarks
|
||||
operationId: getBookmarks
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: tmd4ifV8RHltzn8ymGg1aw
|
||||
example: tmd4ifV8RHltzn8ymGg1aw
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
|
|
|
|||
180
dist/typescript/paths/follow.yaml
vendored
180
dist/typescript/paths/follow.yaml
vendored
|
|
@ -38,93 +38,18 @@ info:
|
|||
version: 0.0.1
|
||||
openapi: 3.0.3
|
||||
paths:
|
||||
/graphql/IWP6Zt14sARO29lJT35bBw/Following:
|
||||
get:
|
||||
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
|
||||
- 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
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: djdTXDIk2qhd4OStqlUFeQ
|
||||
example: djdTXDIk2qhd4OStqlUFeQ
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
|
|
@ -202,3 +127,92 @@ paths:
|
|||
type: string
|
||||
tags:
|
||||
- user-list
|
||||
/graphql/{pathQueryId}/Following:
|
||||
get:
|
||||
description: get user list of following
|
||||
operationId: getFollowing
|
||||
parameters:
|
||||
- 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
|
||||
|
|
|
|||
336
dist/typescript/paths/post.yaml
vendored
336
dist/typescript/paths/post.yaml
vendored
|
|
@ -136,11 +136,92 @@ 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: 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
|
||||
parameters: []
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: 1RyAhNwby-gzGCRVsMxKbQ
|
||||
example: 1RyAhNwby-gzGCRVsMxKbQ
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
|
|
@ -323,145 +404,18 @@ paths:
|
|||
type: string
|
||||
tags:
|
||||
- post
|
||||
/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
|
||||
post:
|
||||
description: delete Retweet
|
||||
operationId: postDeleteTweet
|
||||
parameters: []
|
||||
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: []
|
||||
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
|
||||
parameters: []
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: iQtK4dl5hBmXewYZuEOKVw
|
||||
example: iQtK4dl5hBmXewYZuEOKVw
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
|
|
@ -524,11 +478,92 @@ paths:
|
|||
type: string
|
||||
tags:
|
||||
- post
|
||||
/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
|
||||
/graphql/{pathQueryId}/DeleteTweet:
|
||||
post:
|
||||
description: delete Retweet
|
||||
operationId: postDeleteTweet
|
||||
parameters:
|
||||
- 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
|
||||
parameters: []
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: lI07N6Otwv1PhnEgXILM7A
|
||||
example: lI07N6Otwv1PhnEgXILM7A
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
|
|
@ -591,19 +626,26 @@ paths:
|
|||
type: string
|
||||
tags:
|
||||
- post
|
||||
/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
|
||||
/graphql/{pathQueryId}/UnfavoriteTweet:
|
||||
post:
|
||||
description: create Retweet
|
||||
operationId: postCreateRetweet
|
||||
parameters: []
|
||||
description: unfavorite Tweet
|
||||
operationId: postUnfavoriteTweet
|
||||
parameters:
|
||||
- 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:
|
||||
|
|
@ -629,7 +671,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/CreateRetweetResponse'
|
||||
$ref: '#/components/schemas/UnfavoriteTweetResponseData'
|
||||
description: Successful operation
|
||||
headers:
|
||||
x-connection-hash:
|
||||
|
|
|
|||
9
dist/typescript/paths/profile.yaml
vendored
9
dist/typescript/paths/profile.yaml
vendored
|
|
@ -63,11 +63,18 @@ 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
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: 9zwVLJ48lmVUk8u_Gh9DmA
|
||||
example: 9zwVLJ48lmVUk8u_Gh9DmA
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
|
|
|
|||
347
dist/typescript/paths/timeline.yaml
vendored
347
dist/typescript/paths/timeline.yaml
vendored
|
|
@ -47,173 +47,18 @@ info:
|
|||
version: 0.0.1
|
||||
openapi: 3.0.3
|
||||
paths:
|
||||
/graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
||||
get:
|
||||
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":
|
||||
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: 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
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: zhX91JE87mWvfprhYE97xA
|
||||
example: zhX91JE87mWvfprhYE97xA
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
|
|
@ -291,3 +136,179 @@ paths:
|
|||
type: string
|
||||
tags:
|
||||
- tweet
|
||||
/graphql/{pathQueryId}/HomeTimeline:
|
||||
get:
|
||||
description: get tweet list of timeline
|
||||
operationId: getHomeTimeline
|
||||
parameters:
|
||||
- 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: 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
|
||||
|
|
|
|||
9
dist/typescript/paths/tweet.yaml
vendored
9
dist/typescript/paths/tweet.yaml
vendored
|
|
@ -17,11 +17,18 @@ info:
|
|||
version: 0.0.1
|
||||
openapi: 3.0.3
|
||||
paths:
|
||||
/graphql/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
|
||||
/graphql/{pathQueryId}/TweetDetail:
|
||||
get:
|
||||
description: get TweetDetail
|
||||
operationId: getTweetDetail
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: wNNG8DBB8EaXw1lq4vFWGA
|
||||
example: wNNG8DBB8EaXw1lq4vFWGA
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
|
|
|
|||
9
dist/typescript/paths/user.yaml
vendored
9
dist/typescript/paths/user.yaml
vendored
|
|
@ -17,11 +17,18 @@ 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
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: sLVLhk0bGj3MVFEKTdax1w
|
||||
example: sLVLhk0bGj3MVFEKTdax1w
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
|
|
|
|||
364
dist/typescript/paths/usertweets.yaml
vendored
364
dist/typescript/paths/usertweets.yaml
vendored
|
|
@ -32,11 +32,18 @@ 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
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: 5fmEkRT-1AdHqEsbVgehMg
|
||||
example: 5fmEkRT-1AdHqEsbVgehMg
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
|
|
@ -116,177 +123,18 @@ paths:
|
|||
type: string
|
||||
tags:
|
||||
- tweet
|
||||
/graphql/HuTx74BxAnezK1gWvYY7zg/UserTweets:
|
||||
get:
|
||||
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}'
|
||||
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: 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
|
||||
parameters:
|
||||
- in: path
|
||||
name: pathQueryId
|
||||
required: true
|
||||
schema:
|
||||
default: YqiE3JL1KNgf9nSljYdxaA
|
||||
example: YqiE3JL1KNgf9nSljYdxaA
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
|
|
@ -366,3 +214,183 @@ paths:
|
|||
type: string
|
||||
tags:
|
||||
- tweet
|
||||
/graphql/{pathQueryId}/UserTweets:
|
||||
get:
|
||||
description: get user tweets
|
||||
operationId: getUserTweets
|
||||
parameters:
|
||||
- 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: 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/typescript/resources/parameters.yaml
vendored
Normal file
13
dist/typescript/resources/parameters.yaml
vendored
Normal 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: {}
|
||||
3
dist/typescript/schemas/tweet.yaml
vendored
3
dist/typescript/schemas/tweet.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue