mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 23:50:26 +01:00
build
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
10aaec8df8
commit
705fdc83ec
44 changed files with 3524 additions and 2936 deletions
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue