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

View file

@ -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:

View file

@ -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:

View file

@ -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

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

File diff suppressed because it is too large Load diff

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

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

View file

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