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
3419b5c0ab
commit
3a16f63cc6
40 changed files with 2367 additions and 1376 deletions
324
dist/dart/openapi-3.0.yaml
vendored
324
dist/dart/openapi-3.0.yaml
vendored
|
|
@ -1,90 +1,246 @@
|
||||||
components:
|
components:
|
||||||
schemas: {}
|
schemas:
|
||||||
securitySchemes:
|
User:
|
||||||
CookieAuthToken:
|
properties:
|
||||||
description: HttpOnly cookie
|
__typename:
|
||||||
in: cookie
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
||||||
name: auth_token
|
affiliates_highlighted_label:
|
||||||
type: apiKey
|
type: object
|
||||||
CookieCt0:
|
business_account:
|
||||||
description: document.cookie.split('; ').find(row => row.startsWith('ct0='));
|
type: object
|
||||||
in: cookie
|
has_graduated_access:
|
||||||
name: ct0
|
type: boolean
|
||||||
type: apiKey
|
has_nft_avatar:
|
||||||
CsrfToken:
|
default: false
|
||||||
description: document.cookie.split('; ').find(row => row.startsWith('ct0='));
|
type: boolean
|
||||||
in: header
|
id:
|
||||||
name: x-csrf-token
|
pattern: ^[a-z\-]+[0-9]+$
|
||||||
type: apiKey
|
type: string
|
||||||
authType:
|
is_blue_verified:
|
||||||
description: OAuth2Session if you are logged in
|
default: false
|
||||||
in: header
|
type: boolean
|
||||||
name: x-twitter-auth-type
|
legacy:
|
||||||
type: apiKey
|
$ref: '#/components/schemas/UserLegacy'
|
||||||
|
rest_id:
|
||||||
|
pattern: ^[0-9]+$
|
||||||
|
type: string
|
||||||
|
super_follow_eligible:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
super_followed_by:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
super_following:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
required:
|
||||||
|
- __typename
|
||||||
|
- affiliates_highlighted_label
|
||||||
|
- id
|
||||||
|
- is_blue_verified
|
||||||
|
- legacy
|
||||||
|
- rest_id
|
||||||
|
- super_follow_eligible
|
||||||
|
- super_followed_by
|
||||||
|
- super_following
|
||||||
|
UserLegacy:
|
||||||
|
properties:
|
||||||
|
blocked_by:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
blocking:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
can_dm:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
can_media_tag:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
created_at:
|
||||||
|
$ref: ./general.yaml#/components/schemas/TwitterTimeFormat
|
||||||
|
default_profile:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
default_profile_image:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
description:
|
||||||
|
type: string
|
||||||
|
entities:
|
||||||
|
type: object
|
||||||
|
fast_followers_count:
|
||||||
|
type: integer
|
||||||
|
favourites_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
follow_request_sent:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
followed_by:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
followers_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
following:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
friends_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
has_custom_timelines:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
is_translator:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
listed_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
location:
|
||||||
|
type: string
|
||||||
|
media_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
muting:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
normal_followers_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
notifications:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
pinned_tweet_ids_str:
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
possibly_sensitive:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
profile_banner_extensions:
|
||||||
|
type: object
|
||||||
|
profile_banner_url:
|
||||||
|
format: uri
|
||||||
|
type: string
|
||||||
|
profile_image_extensions:
|
||||||
|
type: object
|
||||||
|
profile_image_url_https:
|
||||||
|
format: uri
|
||||||
|
type: string
|
||||||
|
profile_interstitial_type:
|
||||||
|
type: string
|
||||||
|
protected:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
screen_name:
|
||||||
|
type: string
|
||||||
|
statuses_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
translator_type:
|
||||||
|
type: string
|
||||||
|
url:
|
||||||
|
type: string
|
||||||
|
verified:
|
||||||
|
type: boolean
|
||||||
|
want_retweets:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
required:
|
||||||
|
- blocked_by
|
||||||
|
- blocking
|
||||||
|
- can_dm
|
||||||
|
- can_media_tag
|
||||||
|
- created_at
|
||||||
|
- default_profile
|
||||||
|
- default_profile_image
|
||||||
|
- description
|
||||||
|
- entities
|
||||||
|
- fast_followers_count
|
||||||
|
- favourites_count
|
||||||
|
- follow_request_sent
|
||||||
|
- followed_by
|
||||||
|
- followers_count
|
||||||
|
- following
|
||||||
|
- friends_count
|
||||||
|
- has_custom_timelines
|
||||||
|
- is_translator
|
||||||
|
- listed_count
|
||||||
|
- location
|
||||||
|
- media_count
|
||||||
|
- muting
|
||||||
|
- name
|
||||||
|
- normal_followers_count
|
||||||
|
- notifications
|
||||||
|
- pinned_tweet_ids_str
|
||||||
|
- possibly_sensitive
|
||||||
|
- profile_image_url_https
|
||||||
|
- profile_interstitial_type
|
||||||
|
- protected
|
||||||
|
- screen_name
|
||||||
|
- status
|
||||||
|
- statuses_count
|
||||||
|
- translator_type
|
||||||
|
- verified
|
||||||
|
- want_retweets
|
||||||
|
UserResultCore:
|
||||||
|
properties:
|
||||||
|
user_results:
|
||||||
|
$ref: '#/components/schemas/UserResults'
|
||||||
|
required:
|
||||||
|
- user_results
|
||||||
|
UserResults:
|
||||||
|
properties:
|
||||||
|
result:
|
||||||
|
$ref: '#/components/schemas/User'
|
||||||
|
required:
|
||||||
|
- result
|
||||||
info:
|
info:
|
||||||
contact:
|
|
||||||
email: yuki@yuki0311.com
|
|
||||||
description: Twitter OpenAPI(Swagger) specification
|
|
||||||
license:
|
|
||||||
name: GNU Affero General Public License v3.
|
|
||||||
url: https://raw.githubusercontent.com/fa0311/twitter-openapi/main/LICENSE.txt
|
|
||||||
termsOfService: https://github.com/fa0311
|
|
||||||
title: Twitter OpenAPI
|
title: Twitter OpenAPI
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
|
/1.1/friendships/create.json:
|
||||||
$ref: ./paths/post.yaml#/paths/~11RyAhNwby-gzGCRVsMxKbQ~1CreateTweet
|
$ref: ./paths/v1.1.yaml#/paths/~11.1~1friendships~1create.json
|
||||||
/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
/graphql/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
|
||||||
$ref: ./paths/timeline.yaml#/paths/~12TemLyqrMpTeAmysdbnVqw~1ListLatestTweetsTimeline
|
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1CreateTweet
|
||||||
/5fmEkRT-1AdHqEsbVgehMg/Likes:
|
/graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~15fmEkRT-1AdHqEsbVgehMg~1Likes
|
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{{queryId}}~1ListLatestTweetsTimeline
|
||||||
/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
|
/graphql/5fmEkRT-1AdHqEsbVgehMg/Likes:
|
||||||
$ref: ./paths/profile.yaml#/paths/~19zwVLJ48lmVUk8u_Gh9DmA~1ProfileSpotlightsQuery
|
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{{queryId}}~1Likes
|
||||||
/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
|
/graphql/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
|
||||||
$ref: ./paths/timeline.yaml#/paths/~1HCosKfLNW1AcOo3la3mMgg~1HomeTimeline
|
$ref: ./paths/profile.yaml#/paths/~1graphql~1{{queryId}}~1ProfileSpotlightsQuery
|
||||||
/HuTx74BxAnezK1gWvYY7zg/UserTweets:
|
/graphql/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~1HuTx74BxAnezK1gWvYY7zg~1UserTweets
|
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{{queryId}}~1HomeTimeline
|
||||||
/IWP6Zt14sARO29lJT35bBw/Following:
|
/graphql/HuTx74BxAnezK1gWvYY7zg/UserTweets:
|
||||||
$ref: ./paths/follow.yaml#/paths/~1IWP6Zt14sARO29lJT35bBw~1Following
|
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{{queryId}}~1UserTweets
|
||||||
/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
|
/graphql/IWP6Zt14sARO29lJT35bBw/Following:
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~1RIWc55YCNyUJ-U3HHGYkdg~1UserTweetsAndReplies
|
$ref: ./paths/follow.yaml#/paths/~1graphql~1{{queryId}}~1Following
|
||||||
/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
|
/graphql/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
|
||||||
$ref: ./paths/post.yaml#/paths/~1VaenaVgh5q5ih7kvyVjgtg~1DeleteTweet
|
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{{queryId}}~1UserTweetsAndReplies
|
||||||
/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
|
/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~1YqiE3JL1KNgf9nSljYdxaA~1UserMedia
|
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1DeleteTweet
|
||||||
/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
|
/graphql/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
|
||||||
$ref: ./paths/post.yaml#/paths/~1ZYKSe-w7KEslx3JhSIk5LA~1UnfavoriteTweet
|
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{{queryId}}~1UserMedia
|
||||||
/djdTXDIk2qhd4OStqlUFeQ/Followers:
|
/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
|
||||||
$ref: ./paths/follow.yaml#/paths/~1djdTXDIk2qhd4OStqlUFeQ~1Followers
|
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1UnfavoriteTweet
|
||||||
/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
|
/graphql/djdTXDIk2qhd4OStqlUFeQ/Followers:
|
||||||
$ref: ./paths/post.yaml#/paths/~1iQtK4dl5hBmXewYZuEOKVw~1DeleteRetweet
|
$ref: ./paths/follow.yaml#/paths/~1graphql~1{{queryId}}~1Followers
|
||||||
/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
|
/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
|
||||||
$ref: ./paths/post.yaml#/paths/~1lI07N6Otwv1PhnEgXILM7A~1FavoriteTweet
|
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1DeleteRetweet
|
||||||
/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
|
/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
|
||||||
$ref: ./paths/post.yaml#/paths/~1ojPdsZsimiJrUGLR1sjUtA~1CreateRetweet
|
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1FavoriteTweet
|
||||||
/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
|
/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
|
||||||
$ref: ./paths/user.yaml#/paths/~1sLVLhk0bGj3MVFEKTdax1w~1UserByScreenName
|
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1CreateRetweet
|
||||||
/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
|
/graphql/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
|
||||||
$ref: ./paths/bookmarks.yaml#/paths/~1tmd4ifV8RHltzn8ymGg1aw~1Bookmarks
|
$ref: ./paths/user.yaml#/paths/~1graphql~1{{queryId}}~1UserByScreenName
|
||||||
/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
|
/graphql/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
|
||||||
$ref: ./paths/tweet.yaml#/paths/~1wNNG8DBB8EaXw1lq4vFWGA~1TweetDetail
|
$ref: ./paths/bookmarks.yaml#/paths/~1graphql~1{{queryId}}~1Bookmarks
|
||||||
/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
|
/graphql/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
|
||||||
$ref: ./paths/timeline.yaml#/paths/~1zhX91JE87mWvfprhYE97xA~1HomeLatestTimeline
|
$ref: ./paths/tweet.yaml#/paths/~1graphql~1{{queryId}}~1TweetDetail
|
||||||
security:
|
/graphql/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
|
||||||
- bearerAuth: []
|
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{{queryId}}~1HomeLatestTimeline
|
||||||
- CsrfToken: []
|
|
||||||
- ActiveUser: []
|
|
||||||
- AuthType: []
|
|
||||||
- ClientLanguage: []
|
|
||||||
- CookieAuthToken: []
|
|
||||||
- CookieCt0: []
|
|
||||||
servers:
|
|
||||||
- url: https://twitter.com/i/api/graphql
|
|
||||||
tags:
|
|
||||||
- description: response User
|
|
||||||
name: User
|
|
||||||
- description: response User list
|
|
||||||
name: UserList
|
|
||||||
- description: response tweet
|
|
||||||
name: Tweet
|
|
||||||
|
|
|
||||||
66
dist/dart/paths/bookmarks.yaml
vendored
66
dist/dart/paths/bookmarks.yaml
vendored
|
|
@ -23,17 +23,46 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
|
/graphql/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
|
||||||
get:
|
get:
|
||||||
description: get bookmarks
|
description: get bookmarks
|
||||||
operationId: getBookmarks
|
operationId: getBookmarks
|
||||||
parameters:
|
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
|
- in: query
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: tmd4ifV8RHltzn8ymGg1aw
|
default: '"tmd4ifV8RHltzn8ymGg1aw"'
|
||||||
example: tmd4ifV8RHltzn8ymGg1aw
|
example: '"tmd4ifV8RHltzn8ymGg1aw"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -69,35 +98,6 @@ paths:
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
false}'
|
false}'
|
||||||
type: string
|
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: 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
|
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -140,4 +140,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
|
|
|
||||||
132
dist/dart/paths/follow.yaml
vendored
132
dist/dart/paths/follow.yaml
vendored
|
|
@ -38,17 +38,46 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/IWP6Zt14sARO29lJT35bBw/Following:
|
/graphql/IWP6Zt14sARO29lJT35bBw/Following:
|
||||||
get:
|
get:
|
||||||
description: get user list of following
|
description: get user list of following
|
||||||
operationId: getFollowing
|
operationId: getFollowing
|
||||||
parameters:
|
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
|
- in: query
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: IWP6Zt14sARO29lJT35bBw
|
default: '"IWP6Zt14sARO29lJT35bBw"'
|
||||||
example: IWP6Zt14sARO29lJT35bBw
|
example: '"IWP6Zt14sARO29lJT35bBw"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -86,35 +115,6 @@ paths:
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
false}'
|
false}'
|
||||||
type: string
|
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: 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
|
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -157,18 +157,47 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- UserList
|
- userList
|
||||||
/djdTXDIk2qhd4OStqlUFeQ/Followers:
|
/graphql/djdTXDIk2qhd4OStqlUFeQ/Followers:
|
||||||
get:
|
get:
|
||||||
description: get user list of followers
|
description: get user list of followers
|
||||||
operationId: getFollowers
|
operationId: getFollowers
|
||||||
parameters:
|
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
|
- in: query
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: djdTXDIk2qhd4OStqlUFeQ
|
default: '"djdTXDIk2qhd4OStqlUFeQ"'
|
||||||
example: djdTXDIk2qhd4OStqlUFeQ
|
example: '"djdTXDIk2qhd4OStqlUFeQ"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -206,35 +235,6 @@ paths:
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
false}'
|
false}'
|
||||||
type: string
|
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: 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
|
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -277,4 +277,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- UserList
|
- userList
|
||||||
|
|
|
||||||
344
dist/dart/paths/post.yaml
vendored
344
dist/dart/paths/post.yaml
vendored
|
|
@ -136,11 +136,19 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
|
/graphql/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
|
||||||
post:
|
post:
|
||||||
description: create Tweet
|
description: create Tweet
|
||||||
operationId: postCreateTweet
|
operationId: postCreateTweet
|
||||||
parameters:
|
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
|
- in: header
|
||||||
name: authorization
|
name: authorization
|
||||||
required: true
|
required: true
|
||||||
|
|
@ -162,46 +170,49 @@ paths:
|
||||||
default: en
|
default: en
|
||||||
description: language code.
|
description: language code.
|
||||||
type: string
|
type: string
|
||||||
- in: header
|
- in: query
|
||||||
name: user-agent
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
default: '"1RyAhNwby-gzGCRVsMxKbQ"'
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
example: '"1RyAhNwby-gzGCRVsMxKbQ"'
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
type: object
|
||||||
type: string
|
- in: query
|
||||||
requestBody:
|
name: variables
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
properties:
|
|
||||||
features:
|
|
||||||
example: '{"tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "interactive_text_enabled":
|
|
||||||
true, "responsive_web_text_conversations_enabled": false, "longform_notetweets_rich_text_read_enabled":
|
|
||||||
true, "blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
true, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "responsive_web_graphql_timeline_navigation_enabled": true,
|
|
||||||
"responsive_web_enhance_cards_enabled": false}'
|
|
||||||
type: object
|
|
||||||
queryId:
|
|
||||||
default: 1RyAhNwby-gzGCRVsMxKbQ
|
|
||||||
example: 1RyAhNwby-gzGCRVsMxKbQ
|
|
||||||
type: string
|
|
||||||
variables:
|
|
||||||
example: '{"tweet_text": "test", "media": {"media_entities": [],
|
|
||||||
"possibly_sensitive": false}, "semantic_annotation_ids": [], "dark_request":
|
|
||||||
false}'
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- queryId
|
|
||||||
- variables
|
|
||||||
- features
|
|
||||||
required: true
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"tweet_text": "test", "media": {"media_entities": [], "possibly_sensitive":
|
||||||
|
false}, "semantic_annotation_ids": [], "dark_request": false}'
|
||||||
|
example: '{"tweet_text": "test", "media": {"media_entities": [], "possibly_sensitive":
|
||||||
|
false}, "semantic_annotation_ids": [], "dark_request": false}'
|
||||||
|
type: object
|
||||||
|
- in: query
|
||||||
|
name: features
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
||||||
|
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
||||||
|
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
||||||
|
true, "tweet_awards_web_tipping_enabled": false, "interactive_text_enabled":
|
||||||
|
true, "responsive_web_text_conversations_enabled": false, "longform_notetweets_rich_text_read_enabled":
|
||||||
|
true, "blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
||||||
|
true, "verified_phone_label_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
||||||
|
true, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
||||||
|
false, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
||||||
|
false, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
|
false}'
|
||||||
|
example: '{"tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
||||||
|
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
||||||
|
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
||||||
|
true, "tweet_awards_web_tipping_enabled": false, "interactive_text_enabled":
|
||||||
|
true, "responsive_web_text_conversations_enabled": false, "longform_notetweets_rich_text_read_enabled":
|
||||||
|
true, "blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
||||||
|
true, "verified_phone_label_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
||||||
|
true, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
||||||
|
false, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
||||||
|
false, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
|
false}'
|
||||||
|
type: object
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -244,12 +255,20 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Post
|
- post
|
||||||
/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
|
/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
|
||||||
post:
|
post:
|
||||||
description: delete Retweet
|
description: delete Retweet
|
||||||
operationId: postDeleteTweet
|
operationId: postDeleteTweet
|
||||||
parameters:
|
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
|
- in: header
|
||||||
name: authorization
|
name: authorization
|
||||||
required: true
|
required: true
|
||||||
|
|
@ -271,34 +290,27 @@ paths:
|
||||||
default: en
|
default: en
|
||||||
description: language code.
|
description: language code.
|
||||||
type: string
|
type: string
|
||||||
- in: header
|
- in: query
|
||||||
name: user-agent
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
default: '"VaenaVgh5q5ih7kvyVjgtg"'
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
example: '"VaenaVgh5q5ih7kvyVjgtg"'
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
type: object
|
||||||
type: string
|
- in: query
|
||||||
requestBody:
|
name: variables
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
properties:
|
|
||||||
features:
|
|
||||||
example: '{{Features}}'
|
|
||||||
type: object
|
|
||||||
queryId:
|
|
||||||
default: VaenaVgh5q5ih7kvyVjgtg
|
|
||||||
example: VaenaVgh5q5ih7kvyVjgtg
|
|
||||||
type: string
|
|
||||||
variables:
|
|
||||||
example: '{"tweet_id": "1349129669258448897"}'
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- queryId
|
|
||||||
- variables
|
|
||||||
- features
|
|
||||||
required: true
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"tweet_id": "1349129669258448897"}'
|
||||||
|
example: '{"tweet_id": "1349129669258448897"}'
|
||||||
|
type: object
|
||||||
|
- in: query
|
||||||
|
name: features
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{}'
|
||||||
|
example: '{}'
|
||||||
|
type: object
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -341,12 +353,20 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Post
|
- post
|
||||||
/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
|
/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
|
||||||
post:
|
post:
|
||||||
description: unfavorite Tweet
|
description: unfavorite Tweet
|
||||||
operationId: postUnfavoriteTweet
|
operationId: postUnfavoriteTweet
|
||||||
parameters:
|
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
|
- in: header
|
||||||
name: authorization
|
name: authorization
|
||||||
required: true
|
required: true
|
||||||
|
|
@ -368,34 +388,22 @@ paths:
|
||||||
default: en
|
default: en
|
||||||
description: language code.
|
description: language code.
|
||||||
type: string
|
type: string
|
||||||
- in: header
|
- in: query
|
||||||
name: user-agent
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
default: '"ZYKSe-w7KEslx3JhSIk5LA"'
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
example: '"ZYKSe-w7KEslx3JhSIk5LA"'
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
type: object
|
||||||
type: string
|
- in: query
|
||||||
requestBody:
|
name: Parameters
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
properties:
|
|
||||||
features:
|
|
||||||
example: '{{Features}}'
|
|
||||||
type: object
|
|
||||||
queryId:
|
|
||||||
default: ZYKSe-w7KEslx3JhSIk5LA
|
|
||||||
example: ZYKSe-w7KEslx3JhSIk5LA
|
|
||||||
type: string
|
|
||||||
variables:
|
|
||||||
example: '{"tweet_id": "1349129669258448897"}'
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- queryId
|
|
||||||
- variables
|
|
||||||
- features
|
|
||||||
required: true
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||||
|
{}}'
|
||||||
|
example: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||||
|
{}}'
|
||||||
|
type: object
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -438,12 +446,20 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Post
|
- post
|
||||||
/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
|
/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
|
||||||
post:
|
post:
|
||||||
description: delete Retweet
|
description: delete Retweet
|
||||||
operationId: postDeleteRetweet
|
operationId: postDeleteRetweet
|
||||||
parameters:
|
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
|
- in: header
|
||||||
name: authorization
|
name: authorization
|
||||||
required: true
|
required: true
|
||||||
|
|
@ -465,34 +481,22 @@ paths:
|
||||||
default: en
|
default: en
|
||||||
description: language code.
|
description: language code.
|
||||||
type: string
|
type: string
|
||||||
- in: header
|
- in: query
|
||||||
name: user-agent
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
default: '"iQtK4dl5hBmXewYZuEOKVw"'
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
example: '"iQtK4dl5hBmXewYZuEOKVw"'
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
type: object
|
||||||
type: string
|
- in: query
|
||||||
requestBody:
|
name: Parameters
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
properties:
|
|
||||||
features:
|
|
||||||
example: '{{Features}}'
|
|
||||||
type: object
|
|
||||||
queryId:
|
|
||||||
default: iQtK4dl5hBmXewYZuEOKVw
|
|
||||||
example: iQtK4dl5hBmXewYZuEOKVw
|
|
||||||
type: string
|
|
||||||
variables:
|
|
||||||
example: '{"tweet_id": "1349129669258448897"}'
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- queryId
|
|
||||||
- variables
|
|
||||||
- features
|
|
||||||
required: true
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||||
|
{}}'
|
||||||
|
example: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||||
|
{}}'
|
||||||
|
type: object
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -535,12 +539,20 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Post
|
- post
|
||||||
/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
|
/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
|
||||||
post:
|
post:
|
||||||
description: favorite Tweet
|
description: favorite Tweet
|
||||||
operationId: postFavoriteTweet
|
operationId: postFavoriteTweet
|
||||||
parameters:
|
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
|
- in: header
|
||||||
name: authorization
|
name: authorization
|
||||||
required: true
|
required: true
|
||||||
|
|
@ -562,34 +574,22 @@ paths:
|
||||||
default: en
|
default: en
|
||||||
description: language code.
|
description: language code.
|
||||||
type: string
|
type: string
|
||||||
- in: header
|
- in: query
|
||||||
name: user-agent
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
default: '"lI07N6Otwv1PhnEgXILM7A"'
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
example: '"lI07N6Otwv1PhnEgXILM7A"'
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
type: object
|
||||||
type: string
|
- in: query
|
||||||
requestBody:
|
name: Parameters
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
properties:
|
|
||||||
features:
|
|
||||||
example: '{{Features}}'
|
|
||||||
type: object
|
|
||||||
queryId:
|
|
||||||
default: lI07N6Otwv1PhnEgXILM7A
|
|
||||||
example: lI07N6Otwv1PhnEgXILM7A
|
|
||||||
type: string
|
|
||||||
variables:
|
|
||||||
example: '{"tweet_id": "1349129669258448897"}'
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- queryId
|
|
||||||
- variables
|
|
||||||
- features
|
|
||||||
required: true
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||||
|
{}}'
|
||||||
|
example: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||||
|
{}}'
|
||||||
|
type: object
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -632,12 +632,20 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Post
|
- post
|
||||||
/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
|
/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
|
||||||
post:
|
post:
|
||||||
description: create Retweet
|
description: create Retweet
|
||||||
operationId: postCreateRetweet
|
operationId: postCreateRetweet
|
||||||
parameters:
|
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
|
- in: header
|
||||||
name: authorization
|
name: authorization
|
||||||
required: true
|
required: true
|
||||||
|
|
@ -659,34 +667,22 @@ paths:
|
||||||
default: en
|
default: en
|
||||||
description: language code.
|
description: language code.
|
||||||
type: string
|
type: string
|
||||||
- in: header
|
- in: query
|
||||||
name: user-agent
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
default: '"ojPdsZsimiJrUGLR1sjUtA"'
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
example: '"ojPdsZsimiJrUGLR1sjUtA"'
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
type: object
|
||||||
type: string
|
- in: query
|
||||||
requestBody:
|
name: Parameters
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
properties:
|
|
||||||
features:
|
|
||||||
example: '{{Features}}'
|
|
||||||
type: object
|
|
||||||
queryId:
|
|
||||||
default: ojPdsZsimiJrUGLR1sjUtA
|
|
||||||
example: ojPdsZsimiJrUGLR1sjUtA
|
|
||||||
type: string
|
|
||||||
variables:
|
|
||||||
example: '{"tweet_id": "1349129669258448897"}'
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- queryId
|
|
||||||
- variables
|
|
||||||
- features
|
|
||||||
required: true
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||||
|
{}}'
|
||||||
|
example: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||||
|
{}}'
|
||||||
|
type: object
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -729,4 +725,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Post
|
- post
|
||||||
|
|
|
||||||
48
dist/dart/paths/profile.yaml
vendored
48
dist/dart/paths/profile.yaml
vendored
|
|
@ -63,31 +63,18 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
|
/graphql/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
|
||||||
get:
|
get:
|
||||||
description: get user by screen name
|
description: get user by screen name
|
||||||
operationId: getProfileSpotlightsQuery
|
operationId: getProfileSpotlightsQuery
|
||||||
parameters:
|
parameters:
|
||||||
- in: query
|
- in: header
|
||||||
name: queryId
|
name: user-agent
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: 9zwVLJ48lmVUk8u_Gh9DmA
|
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
||||||
example: 9zwVLJ48lmVUk8u_Gh9DmA
|
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
||||||
type: string
|
description: UserAgent, some APIs may be rejected if changed.
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"screen_name": "elonmusk"}'
|
|
||||||
example: '{"screen_name": "elonmusk"}'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: features
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{}'
|
|
||||||
example: '{}'
|
|
||||||
type: string
|
type: string
|
||||||
- in: header
|
- in: header
|
||||||
name: authorization
|
name: authorization
|
||||||
|
|
@ -110,13 +97,26 @@ paths:
|
||||||
default: en
|
default: en
|
||||||
description: language code.
|
description: language code.
|
||||||
type: string
|
type: string
|
||||||
- in: header
|
- in: query
|
||||||
name: user-agent
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
default: '"9zwVLJ48lmVUk8u_Gh9DmA"'
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
example: '"9zwVLJ48lmVUk8u_Gh9DmA"'
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
type: string
|
||||||
|
- in: query
|
||||||
|
name: variables
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"screen_name": "elonmusk"}'
|
||||||
|
example: '{"screen_name": "elonmusk"}'
|
||||||
|
type: string
|
||||||
|
- in: query
|
||||||
|
name: features
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{}'
|
||||||
|
example: '{}'
|
||||||
type: string
|
type: string
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
|
|
||||||
198
dist/dart/paths/timeline.yaml
vendored
198
dist/dart/paths/timeline.yaml
vendored
|
|
@ -47,17 +47,46 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
/graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
||||||
get:
|
get:
|
||||||
description: get tweet list of timeline
|
description: get tweet list of timeline
|
||||||
operationId: getListLatestTweetsTimeline
|
operationId: getListLatestTweetsTimeline
|
||||||
parameters:
|
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
|
- in: query
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: 2TemLyqrMpTeAmysdbnVqw
|
default: '"2TemLyqrMpTeAmysdbnVqw"'
|
||||||
example: 2TemLyqrMpTeAmysdbnVqw
|
example: '"2TemLyqrMpTeAmysdbnVqw"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -93,35 +122,6 @@ paths:
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
false}'
|
false}'
|
||||||
type: string
|
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: 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
|
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -164,18 +164,47 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
|
/graphql/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
|
||||||
get:
|
get:
|
||||||
description: get tweet list of timeline
|
description: get tweet list of timeline
|
||||||
operationId: getHomeTimeline
|
operationId: getHomeTimeline
|
||||||
parameters:
|
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
|
- in: query
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: HCosKfLNW1AcOo3la3mMgg
|
default: '"HCosKfLNW1AcOo3la3mMgg"'
|
||||||
example: HCosKfLNW1AcOo3la3mMgg
|
example: '"HCosKfLNW1AcOo3la3mMgg"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -213,35 +242,6 @@ paths:
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
false}'
|
false}'
|
||||||
type: string
|
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: 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
|
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -284,18 +284,47 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
|
/graphql/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
|
||||||
get:
|
get:
|
||||||
description: get tweet list of timeline
|
description: get tweet list of timeline
|
||||||
operationId: getHomeLatestTimeline
|
operationId: getHomeLatestTimeline
|
||||||
parameters:
|
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
|
- in: query
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: zhX91JE87mWvfprhYE97xA
|
default: '"zhX91JE87mWvfprhYE97xA"'
|
||||||
example: zhX91JE87mWvfprhYE97xA
|
example: '"zhX91JE87mWvfprhYE97xA"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -333,35 +362,6 @@ paths:
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
false}'
|
false}'
|
||||||
type: string
|
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: 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
|
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -404,4 +404,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
|
|
|
||||||
66
dist/dart/paths/tweet.yaml
vendored
66
dist/dart/paths/tweet.yaml
vendored
|
|
@ -17,17 +17,46 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
|
/graphql/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
|
||||||
get:
|
get:
|
||||||
description: get TweetDetail
|
description: get TweetDetail
|
||||||
operationId: getTweetDetail
|
operationId: getTweetDetail
|
||||||
parameters:
|
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
|
- in: query
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: wNNG8DBB8EaXw1lq4vFWGA
|
default: '"wNNG8DBB8EaXw1lq4vFWGA"'
|
||||||
example: wNNG8DBB8EaXw1lq4vFWGA
|
example: '"wNNG8DBB8EaXw1lq4vFWGA"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -69,35 +98,6 @@ paths:
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
false}'
|
false}'
|
||||||
type: string
|
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: 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
|
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -140,4 +140,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
|
|
|
||||||
58
dist/dart/paths/user.yaml
vendored
58
dist/dart/paths/user.yaml
vendored
|
|
@ -17,35 +17,18 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
|
/graphql/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
|
||||||
get:
|
get:
|
||||||
description: get user by screen name
|
description: get user by screen name
|
||||||
operationId: getUserByScreenName
|
operationId: getUserByScreenName
|
||||||
parameters:
|
parameters:
|
||||||
- in: query
|
- in: header
|
||||||
name: queryId
|
name: user-agent
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: sLVLhk0bGj3MVFEKTdax1w
|
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
||||||
example: sLVLhk0bGj3MVFEKTdax1w
|
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
||||||
type: string
|
description: UserAgent, some APIs may be rejected if changed.
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"screen_name": "elonmusk", "withSafetyModeUserFields": true}'
|
|
||||||
example: '{"screen_name": "elonmusk", "withSafetyModeUserFields": true}'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: features
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "responsive_web_graphql_timeline_navigation_enabled": true}'
|
|
||||||
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "responsive_web_graphql_timeline_navigation_enabled": true}'
|
|
||||||
type: string
|
type: string
|
||||||
- in: header
|
- in: header
|
||||||
name: authorization
|
name: authorization
|
||||||
|
|
@ -68,13 +51,30 @@ paths:
|
||||||
default: en
|
default: en
|
||||||
description: language code.
|
description: language code.
|
||||||
type: string
|
type: string
|
||||||
- in: header
|
- in: query
|
||||||
name: user-agent
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
default: '"sLVLhk0bGj3MVFEKTdax1w"'
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
example: '"sLVLhk0bGj3MVFEKTdax1w"'
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
type: string
|
||||||
|
- in: query
|
||||||
|
name: variables
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"screen_name": "elonmusk", "withSafetyModeUserFields": true}'
|
||||||
|
example: '{"screen_name": "elonmusk", "withSafetyModeUserFields": true}'
|
||||||
|
type: string
|
||||||
|
- in: query
|
||||||
|
name: features
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
||||||
|
true, "verified_phone_label_enabled": false, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
||||||
|
false, "responsive_web_graphql_timeline_navigation_enabled": true}'
|
||||||
|
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
||||||
|
true, "verified_phone_label_enabled": false, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
||||||
|
false, "responsive_web_graphql_timeline_navigation_enabled": true}'
|
||||||
type: string
|
type: string
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
|
@ -118,4 +118,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- User
|
- user
|
||||||
|
|
|
||||||
264
dist/dart/paths/usertweets.yaml
vendored
264
dist/dart/paths/usertweets.yaml
vendored
|
|
@ -32,17 +32,46 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/5fmEkRT-1AdHqEsbVgehMg/Likes:
|
/graphql/5fmEkRT-1AdHqEsbVgehMg/Likes:
|
||||||
get:
|
get:
|
||||||
description: get user likes tweets
|
description: get user likes tweets
|
||||||
operationId: getLikes
|
operationId: getLikes
|
||||||
parameters:
|
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
|
- in: query
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: 5fmEkRT-1AdHqEsbVgehMg
|
default: '"5fmEkRT-1AdHqEsbVgehMg"'
|
||||||
example: 5fmEkRT-1AdHqEsbVgehMg
|
example: '"5fmEkRT-1AdHqEsbVgehMg"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -82,35 +111,6 @@ paths:
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
false}'
|
false}'
|
||||||
type: string
|
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: 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
|
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -153,18 +153,47 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
/HuTx74BxAnezK1gWvYY7zg/UserTweets:
|
/graphql/HuTx74BxAnezK1gWvYY7zg/UserTweets:
|
||||||
get:
|
get:
|
||||||
description: get user tweets
|
description: get user tweets
|
||||||
operationId: getUserTweets
|
operationId: getUserTweets
|
||||||
parameters:
|
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
|
- in: query
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: HuTx74BxAnezK1gWvYY7zg
|
default: '"HuTx74BxAnezK1gWvYY7zg"'
|
||||||
example: HuTx74BxAnezK1gWvYY7zg
|
example: '"HuTx74BxAnezK1gWvYY7zg"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -204,35 +233,6 @@ paths:
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
false}'
|
false}'
|
||||||
type: string
|
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: 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
|
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -275,18 +275,47 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
|
/graphql/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
|
||||||
get:
|
get:
|
||||||
description: get user replies tweets
|
description: get user replies tweets
|
||||||
operationId: getUserTweetsAndReplies
|
operationId: getUserTweetsAndReplies
|
||||||
parameters:
|
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
|
- in: query
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: RIWc55YCNyUJ-U3HHGYkdg
|
default: '"RIWc55YCNyUJ-U3HHGYkdg"'
|
||||||
example: RIWc55YCNyUJ-U3HHGYkdg
|
example: '"RIWc55YCNyUJ-U3HHGYkdg"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -324,35 +353,6 @@ paths:
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
false}'
|
false}'
|
||||||
type: string
|
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: 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
|
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -395,18 +395,47 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
|
/graphql/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
|
||||||
get:
|
get:
|
||||||
description: get user media tweets
|
description: get user media tweets
|
||||||
operationId: getUserMedia
|
operationId: getUserMedia
|
||||||
parameters:
|
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
|
- in: query
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: YqiE3JL1KNgf9nSljYdxaA
|
default: '"YqiE3JL1KNgf9nSljYdxaA"'
|
||||||
example: YqiE3JL1KNgf9nSljYdxaA
|
example: '"YqiE3JL1KNgf9nSljYdxaA"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -446,35 +475,6 @@ paths:
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
false}'
|
false}'
|
||||||
type: string
|
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: 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
|
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -517,4 +517,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
|
|
|
||||||
48
dist/dart/paths/v1.1.yaml
vendored
Normal file
48
dist/dart/paths/v1.1.yaml
vendored
Normal file
|
|
@ -0,0 +1,48 @@
|
||||||
|
info:
|
||||||
|
title: Twitter OpenAPI
|
||||||
|
version: 0.0.1
|
||||||
|
openapi: 3.0.3
|
||||||
|
paths:
|
||||||
|
/1.1/friendships/create.json:
|
||||||
|
post:
|
||||||
|
description: post create friendships
|
||||||
|
operationId: postCreateFriendships
|
||||||
|
responses:
|
||||||
|
'200':
|
||||||
|
description: Successful operation
|
||||||
|
headers:
|
||||||
|
x-connection-hash:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
x-content-type-options:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
x-frame-options:
|
||||||
|
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
|
||||||
|
x-xss-protection:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
tags:
|
||||||
|
- v1.1
|
||||||
344
dist/docs/openapi-3.0.yaml
vendored
344
dist/docs/openapi-3.0.yaml
vendored
|
|
@ -1,110 +1,246 @@
|
||||||
components:
|
components:
|
||||||
schemas: {}
|
schemas:
|
||||||
securitySchemes:
|
User:
|
||||||
ActiveUser:
|
properties:
|
||||||
description: 'yes'
|
__typename:
|
||||||
in: header
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
||||||
name: x-twitter-active-user
|
affiliates_highlighted_label:
|
||||||
type: apiKey
|
type: object
|
||||||
BearerAuth:
|
business_account:
|
||||||
description: AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
type: object
|
||||||
scheme: bearer
|
has_graduated_access:
|
||||||
type: http
|
type: boolean
|
||||||
ClientLanguage:
|
has_nft_avatar:
|
||||||
description: en
|
default: false
|
||||||
in: header
|
type: boolean
|
||||||
name: x-twitter-client-language
|
id:
|
||||||
type: apiKey
|
pattern: ^[a-z\-]+[0-9]+$
|
||||||
CookieAuthToken:
|
type: string
|
||||||
description: HttpOnly cookie
|
is_blue_verified:
|
||||||
in: cookie
|
default: false
|
||||||
name: auth_token
|
type: boolean
|
||||||
type: apiKey
|
legacy:
|
||||||
CookieCt0:
|
$ref: '#/components/schemas/UserLegacy'
|
||||||
description: document.cookie.split('; ').find(row => row.startsWith('ct0='));
|
rest_id:
|
||||||
in: cookie
|
pattern: ^[0-9]+$
|
||||||
name: ct0
|
type: string
|
||||||
type: apiKey
|
super_follow_eligible:
|
||||||
CsrfToken:
|
default: false
|
||||||
description: document.cookie.split('; ').find(row => row.startsWith('ct0='));
|
type: boolean
|
||||||
in: header
|
super_followed_by:
|
||||||
name: x-csrf-token
|
default: false
|
||||||
type: apiKey
|
type: boolean
|
||||||
UserAgent:
|
super_following:
|
||||||
description: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
default: false
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
type: boolean
|
||||||
in: header
|
required:
|
||||||
name: user-agent
|
- __typename
|
||||||
type: apiKey
|
- affiliates_highlighted_label
|
||||||
authType:
|
- id
|
||||||
description: OAuth2Session if you are logged in
|
- is_blue_verified
|
||||||
in: header
|
- legacy
|
||||||
name: x-twitter-auth-type
|
- rest_id
|
||||||
type: apiKey
|
- super_follow_eligible
|
||||||
|
- super_followed_by
|
||||||
|
- super_following
|
||||||
|
UserLegacy:
|
||||||
|
properties:
|
||||||
|
blocked_by:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
blocking:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
can_dm:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
can_media_tag:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
created_at:
|
||||||
|
$ref: ./general.yaml#/components/schemas/TwitterTimeFormat
|
||||||
|
default_profile:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
default_profile_image:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
description:
|
||||||
|
type: string
|
||||||
|
entities:
|
||||||
|
type: object
|
||||||
|
fast_followers_count:
|
||||||
|
type: integer
|
||||||
|
favourites_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
follow_request_sent:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
followed_by:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
followers_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
following:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
friends_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
has_custom_timelines:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
is_translator:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
listed_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
location:
|
||||||
|
type: string
|
||||||
|
media_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
muting:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
normal_followers_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
notifications:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
pinned_tweet_ids_str:
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
possibly_sensitive:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
profile_banner_extensions:
|
||||||
|
type: object
|
||||||
|
profile_banner_url:
|
||||||
|
format: uri
|
||||||
|
type: string
|
||||||
|
profile_image_extensions:
|
||||||
|
type: object
|
||||||
|
profile_image_url_https:
|
||||||
|
format: uri
|
||||||
|
type: string
|
||||||
|
profile_interstitial_type:
|
||||||
|
type: string
|
||||||
|
protected:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
screen_name:
|
||||||
|
type: string
|
||||||
|
statuses_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
translator_type:
|
||||||
|
type: string
|
||||||
|
url:
|
||||||
|
type: string
|
||||||
|
verified:
|
||||||
|
type: boolean
|
||||||
|
want_retweets:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
required:
|
||||||
|
- blocked_by
|
||||||
|
- blocking
|
||||||
|
- can_dm
|
||||||
|
- can_media_tag
|
||||||
|
- created_at
|
||||||
|
- default_profile
|
||||||
|
- default_profile_image
|
||||||
|
- description
|
||||||
|
- entities
|
||||||
|
- fast_followers_count
|
||||||
|
- favourites_count
|
||||||
|
- follow_request_sent
|
||||||
|
- followed_by
|
||||||
|
- followers_count
|
||||||
|
- following
|
||||||
|
- friends_count
|
||||||
|
- has_custom_timelines
|
||||||
|
- is_translator
|
||||||
|
- listed_count
|
||||||
|
- location
|
||||||
|
- media_count
|
||||||
|
- muting
|
||||||
|
- name
|
||||||
|
- normal_followers_count
|
||||||
|
- notifications
|
||||||
|
- pinned_tweet_ids_str
|
||||||
|
- possibly_sensitive
|
||||||
|
- profile_image_url_https
|
||||||
|
- profile_interstitial_type
|
||||||
|
- protected
|
||||||
|
- screen_name
|
||||||
|
- status
|
||||||
|
- statuses_count
|
||||||
|
- translator_type
|
||||||
|
- verified
|
||||||
|
- want_retweets
|
||||||
|
UserResultCore:
|
||||||
|
properties:
|
||||||
|
user_results:
|
||||||
|
$ref: '#/components/schemas/UserResults'
|
||||||
|
required:
|
||||||
|
- user_results
|
||||||
|
UserResults:
|
||||||
|
properties:
|
||||||
|
result:
|
||||||
|
$ref: '#/components/schemas/User'
|
||||||
|
required:
|
||||||
|
- result
|
||||||
info:
|
info:
|
||||||
contact:
|
|
||||||
email: yuki@yuki0311.com
|
|
||||||
description: Twitter OpenAPI(Swagger) specification
|
|
||||||
license:
|
|
||||||
name: GNU Affero General Public License v3.
|
|
||||||
url: https://raw.githubusercontent.com/fa0311/twitter-openapi/main/LICENSE.txt
|
|
||||||
termsOfService: https://github.com/fa0311
|
|
||||||
title: Twitter OpenAPI
|
title: Twitter OpenAPI
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
|
/1.1/friendships/create.json:
|
||||||
$ref: ./paths/post.yaml#/paths/~11RyAhNwby-gzGCRVsMxKbQ~1CreateTweet
|
$ref: ./paths/v1.1.yaml#/paths/~11.1~1friendships~1create.json
|
||||||
/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
/graphql/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
|
||||||
$ref: ./paths/timeline.yaml#/paths/~12TemLyqrMpTeAmysdbnVqw~1ListLatestTweetsTimeline
|
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1CreateTweet
|
||||||
/5fmEkRT-1AdHqEsbVgehMg/Likes:
|
/graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~15fmEkRT-1AdHqEsbVgehMg~1Likes
|
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{{queryId}}~1ListLatestTweetsTimeline
|
||||||
/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
|
/graphql/5fmEkRT-1AdHqEsbVgehMg/Likes:
|
||||||
$ref: ./paths/profile.yaml#/paths/~19zwVLJ48lmVUk8u_Gh9DmA~1ProfileSpotlightsQuery
|
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{{queryId}}~1Likes
|
||||||
/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
|
/graphql/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
|
||||||
$ref: ./paths/timeline.yaml#/paths/~1HCosKfLNW1AcOo3la3mMgg~1HomeTimeline
|
$ref: ./paths/profile.yaml#/paths/~1graphql~1{{queryId}}~1ProfileSpotlightsQuery
|
||||||
/HuTx74BxAnezK1gWvYY7zg/UserTweets:
|
/graphql/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~1HuTx74BxAnezK1gWvYY7zg~1UserTweets
|
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{{queryId}}~1HomeTimeline
|
||||||
/IWP6Zt14sARO29lJT35bBw/Following:
|
/graphql/HuTx74BxAnezK1gWvYY7zg/UserTweets:
|
||||||
$ref: ./paths/follow.yaml#/paths/~1IWP6Zt14sARO29lJT35bBw~1Following
|
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{{queryId}}~1UserTweets
|
||||||
/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
|
/graphql/IWP6Zt14sARO29lJT35bBw/Following:
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~1RIWc55YCNyUJ-U3HHGYkdg~1UserTweetsAndReplies
|
$ref: ./paths/follow.yaml#/paths/~1graphql~1{{queryId}}~1Following
|
||||||
/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
|
/graphql/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
|
||||||
$ref: ./paths/post.yaml#/paths/~1VaenaVgh5q5ih7kvyVjgtg~1DeleteTweet
|
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{{queryId}}~1UserTweetsAndReplies
|
||||||
/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
|
/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~1YqiE3JL1KNgf9nSljYdxaA~1UserMedia
|
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1DeleteTweet
|
||||||
/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
|
/graphql/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
|
||||||
$ref: ./paths/post.yaml#/paths/~1ZYKSe-w7KEslx3JhSIk5LA~1UnfavoriteTweet
|
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{{queryId}}~1UserMedia
|
||||||
/djdTXDIk2qhd4OStqlUFeQ/Followers:
|
/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
|
||||||
$ref: ./paths/follow.yaml#/paths/~1djdTXDIk2qhd4OStqlUFeQ~1Followers
|
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1UnfavoriteTweet
|
||||||
/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
|
/graphql/djdTXDIk2qhd4OStqlUFeQ/Followers:
|
||||||
$ref: ./paths/post.yaml#/paths/~1iQtK4dl5hBmXewYZuEOKVw~1DeleteRetweet
|
$ref: ./paths/follow.yaml#/paths/~1graphql~1{{queryId}}~1Followers
|
||||||
/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
|
/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
|
||||||
$ref: ./paths/post.yaml#/paths/~1lI07N6Otwv1PhnEgXILM7A~1FavoriteTweet
|
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1DeleteRetweet
|
||||||
/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
|
/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
|
||||||
$ref: ./paths/post.yaml#/paths/~1ojPdsZsimiJrUGLR1sjUtA~1CreateRetweet
|
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1FavoriteTweet
|
||||||
/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
|
/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
|
||||||
$ref: ./paths/user.yaml#/paths/~1sLVLhk0bGj3MVFEKTdax1w~1UserByScreenName
|
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1CreateRetweet
|
||||||
/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
|
/graphql/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
|
||||||
$ref: ./paths/bookmarks.yaml#/paths/~1tmd4ifV8RHltzn8ymGg1aw~1Bookmarks
|
$ref: ./paths/user.yaml#/paths/~1graphql~1{{queryId}}~1UserByScreenName
|
||||||
/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
|
/graphql/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
|
||||||
$ref: ./paths/tweet.yaml#/paths/~1wNNG8DBB8EaXw1lq4vFWGA~1TweetDetail
|
$ref: ./paths/bookmarks.yaml#/paths/~1graphql~1{{queryId}}~1Bookmarks
|
||||||
/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
|
/graphql/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
|
||||||
$ref: ./paths/timeline.yaml#/paths/~1zhX91JE87mWvfprhYE97xA~1HomeLatestTimeline
|
$ref: ./paths/tweet.yaml#/paths/~1graphql~1{{queryId}}~1TweetDetail
|
||||||
security:
|
/graphql/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
|
||||||
- bearerAuth: []
|
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{{queryId}}~1HomeLatestTimeline
|
||||||
- CsrfToken: []
|
|
||||||
- ActiveUser: []
|
|
||||||
- AuthType: []
|
|
||||||
- ClientLanguage: []
|
|
||||||
- CookieAuthToken: []
|
|
||||||
- CookieCt0: []
|
|
||||||
servers:
|
|
||||||
- url: https://twitter.com/i/api/graphql
|
|
||||||
tags:
|
|
||||||
- description: response User
|
|
||||||
name: User
|
|
||||||
- description: response User list
|
|
||||||
name: UserList
|
|
||||||
- description: response tweet
|
|
||||||
name: Tweet
|
|
||||||
|
|
|
||||||
16
dist/docs/paths/bookmarks.yaml
vendored
16
dist/docs/paths/bookmarks.yaml
vendored
|
|
@ -23,18 +23,20 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
|
/graphql/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
|
||||||
get:
|
get:
|
||||||
description: get bookmarks
|
description: get bookmarks
|
||||||
operationId: getBookmarks
|
operationId: getBookmarks
|
||||||
parameters:
|
parameters:
|
||||||
- in: query
|
- content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
default: tmd4ifV8RHltzn8ymGg1aw
|
||||||
|
example: tmd4ifV8RHltzn8ymGg1aw
|
||||||
|
type: string
|
||||||
|
in: query
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
|
||||||
default: tmd4ifV8RHltzn8ymGg1aw
|
|
||||||
example: tmd4ifV8RHltzn8ymGg1aw
|
|
||||||
type: string
|
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
|
|
@ -205,4 +207,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
|
|
|
||||||
32
dist/docs/paths/follow.yaml
vendored
32
dist/docs/paths/follow.yaml
vendored
|
|
@ -38,18 +38,20 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/IWP6Zt14sARO29lJT35bBw/Following:
|
/graphql/IWP6Zt14sARO29lJT35bBw/Following:
|
||||||
get:
|
get:
|
||||||
description: get user list of following
|
description: get user list of following
|
||||||
operationId: getFollowing
|
operationId: getFollowing
|
||||||
parameters:
|
parameters:
|
||||||
- in: query
|
- content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
default: IWP6Zt14sARO29lJT35bBw
|
||||||
|
example: IWP6Zt14sARO29lJT35bBw
|
||||||
|
type: string
|
||||||
|
in: query
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
|
||||||
default: IWP6Zt14sARO29lJT35bBw
|
|
||||||
example: IWP6Zt14sARO29lJT35bBw
|
|
||||||
type: string
|
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
|
|
@ -220,19 +222,21 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- UserList
|
- userList
|
||||||
/djdTXDIk2qhd4OStqlUFeQ/Followers:
|
/graphql/djdTXDIk2qhd4OStqlUFeQ/Followers:
|
||||||
get:
|
get:
|
||||||
description: get user list of followers
|
description: get user list of followers
|
||||||
operationId: getFollowers
|
operationId: getFollowers
|
||||||
parameters:
|
parameters:
|
||||||
- in: query
|
- content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
default: djdTXDIk2qhd4OStqlUFeQ
|
||||||
|
example: djdTXDIk2qhd4OStqlUFeQ
|
||||||
|
type: string
|
||||||
|
in: query
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
|
||||||
default: djdTXDIk2qhd4OStqlUFeQ
|
|
||||||
example: djdTXDIk2qhd4OStqlUFeQ
|
|
||||||
type: string
|
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
|
|
@ -403,4 +407,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- UserList
|
- userList
|
||||||
|
|
|
||||||
161
dist/docs/paths/post.yaml
vendored
161
dist/docs/paths/post.yaml
vendored
|
|
@ -136,11 +136,18 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
|
/graphql/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
|
||||||
post:
|
post:
|
||||||
description: create Tweet
|
description: create Tweet
|
||||||
operationId: postCreateTweet
|
operationId: postCreateTweet
|
||||||
parameters:
|
parameters:
|
||||||
|
- in: query
|
||||||
|
name: queryId
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: 1RyAhNwby-gzGCRVsMxKbQ
|
||||||
|
example: 1RyAhNwby-gzGCRVsMxKbQ
|
||||||
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
required: true
|
required: true
|
||||||
|
|
@ -322,12 +329,19 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Post
|
- post
|
||||||
/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
|
/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
|
||||||
post:
|
post:
|
||||||
description: delete Retweet
|
description: delete Retweet
|
||||||
operationId: postDeleteTweet
|
operationId: postDeleteTweet
|
||||||
parameters:
|
parameters:
|
||||||
|
- in: query
|
||||||
|
name: queryId
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: VaenaVgh5q5ih7kvyVjgtg
|
||||||
|
example: VaenaVgh5q5ih7kvyVjgtg
|
||||||
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
required: true
|
required: true
|
||||||
|
|
@ -340,6 +354,13 @@ paths:
|
||||||
required:
|
required:
|
||||||
- tweet_id
|
- tweet_id
|
||||||
type: object
|
type: object
|
||||||
|
- in: query
|
||||||
|
name: features
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
properties: {}
|
||||||
|
required: []
|
||||||
|
type: object
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -382,23 +403,40 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Post
|
- post
|
||||||
/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
|
/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
|
||||||
post:
|
post:
|
||||||
description: unfavorite Tweet
|
description: unfavorite Tweet
|
||||||
operationId: postUnfavoriteTweet
|
operationId: postUnfavoriteTweet
|
||||||
parameters:
|
parameters:
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: queryId
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: ZYKSe-w7KEslx3JhSIk5LA
|
||||||
|
example: ZYKSe-w7KEslx3JhSIk5LA
|
||||||
|
type: string
|
||||||
|
- in: query
|
||||||
|
name: Parameters
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
tweet_id:
|
features:
|
||||||
default: '1349129669258448897'
|
properties: {}
|
||||||
example: '1349129669258448897'
|
required: []
|
||||||
type: string
|
type: object
|
||||||
|
variables:
|
||||||
|
properties:
|
||||||
|
tweet_id:
|
||||||
|
default: '1349129669258448897'
|
||||||
|
example: '1349129669258448897'
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- tweet_id
|
||||||
|
type: object
|
||||||
required:
|
required:
|
||||||
- tweet_id
|
- variables
|
||||||
|
- features
|
||||||
type: object
|
type: object
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
|
@ -442,23 +480,40 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Post
|
- post
|
||||||
/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
|
/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
|
||||||
post:
|
post:
|
||||||
description: delete Retweet
|
description: delete Retweet
|
||||||
operationId: postDeleteRetweet
|
operationId: postDeleteRetweet
|
||||||
parameters:
|
parameters:
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: queryId
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: iQtK4dl5hBmXewYZuEOKVw
|
||||||
|
example: iQtK4dl5hBmXewYZuEOKVw
|
||||||
|
type: string
|
||||||
|
- in: query
|
||||||
|
name: Parameters
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
tweet_id:
|
features:
|
||||||
default: '1349129669258448897'
|
properties: {}
|
||||||
example: '1349129669258448897'
|
required: []
|
||||||
type: string
|
type: object
|
||||||
|
variables:
|
||||||
|
properties:
|
||||||
|
tweet_id:
|
||||||
|
default: '1349129669258448897'
|
||||||
|
example: '1349129669258448897'
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- tweet_id
|
||||||
|
type: object
|
||||||
required:
|
required:
|
||||||
- tweet_id
|
- variables
|
||||||
|
- features
|
||||||
type: object
|
type: object
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
|
@ -502,23 +557,40 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Post
|
- post
|
||||||
/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
|
/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
|
||||||
post:
|
post:
|
||||||
description: favorite Tweet
|
description: favorite Tweet
|
||||||
operationId: postFavoriteTweet
|
operationId: postFavoriteTweet
|
||||||
parameters:
|
parameters:
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: queryId
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: lI07N6Otwv1PhnEgXILM7A
|
||||||
|
example: lI07N6Otwv1PhnEgXILM7A
|
||||||
|
type: string
|
||||||
|
- in: query
|
||||||
|
name: Parameters
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
tweet_id:
|
features:
|
||||||
default: '1349129669258448897'
|
properties: {}
|
||||||
example: '1349129669258448897'
|
required: []
|
||||||
type: string
|
type: object
|
||||||
|
variables:
|
||||||
|
properties:
|
||||||
|
tweet_id:
|
||||||
|
default: '1349129669258448897'
|
||||||
|
example: '1349129669258448897'
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- tweet_id
|
||||||
|
type: object
|
||||||
required:
|
required:
|
||||||
- tweet_id
|
- variables
|
||||||
|
- features
|
||||||
type: object
|
type: object
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
|
@ -562,23 +634,40 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Post
|
- post
|
||||||
/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
|
/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
|
||||||
post:
|
post:
|
||||||
description: create Retweet
|
description: create Retweet
|
||||||
operationId: postCreateRetweet
|
operationId: postCreateRetweet
|
||||||
parameters:
|
parameters:
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: queryId
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: ojPdsZsimiJrUGLR1sjUtA
|
||||||
|
example: ojPdsZsimiJrUGLR1sjUtA
|
||||||
|
type: string
|
||||||
|
- in: query
|
||||||
|
name: Parameters
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
tweet_id:
|
features:
|
||||||
default: '1349129669258448897'
|
properties: {}
|
||||||
example: '1349129669258448897'
|
required: []
|
||||||
type: string
|
type: object
|
||||||
|
variables:
|
||||||
|
properties:
|
||||||
|
tweet_id:
|
||||||
|
default: '1349129669258448897'
|
||||||
|
example: '1349129669258448897'
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- tweet_id
|
||||||
|
type: object
|
||||||
required:
|
required:
|
||||||
- tweet_id
|
- variables
|
||||||
|
- features
|
||||||
type: object
|
type: object
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
|
@ -622,4 +711,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Post
|
- post
|
||||||
|
|
|
||||||
14
dist/docs/paths/profile.yaml
vendored
14
dist/docs/paths/profile.yaml
vendored
|
|
@ -63,18 +63,20 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
|
/graphql/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
|
||||||
get:
|
get:
|
||||||
description: get user by screen name
|
description: get user by screen name
|
||||||
operationId: getProfileSpotlightsQuery
|
operationId: getProfileSpotlightsQuery
|
||||||
parameters:
|
parameters:
|
||||||
- in: query
|
- content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
default: 9zwVLJ48lmVUk8u_Gh9DmA
|
||||||
|
example: 9zwVLJ48lmVUk8u_Gh9DmA
|
||||||
|
type: string
|
||||||
|
in: query
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
|
||||||
default: 9zwVLJ48lmVUk8u_Gh9DmA
|
|
||||||
example: 9zwVLJ48lmVUk8u_Gh9DmA
|
|
||||||
type: string
|
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
|
|
|
||||||
48
dist/docs/paths/timeline.yaml
vendored
48
dist/docs/paths/timeline.yaml
vendored
|
|
@ -47,18 +47,20 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
/graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
||||||
get:
|
get:
|
||||||
description: get tweet list of timeline
|
description: get tweet list of timeline
|
||||||
operationId: getListLatestTweetsTimeline
|
operationId: getListLatestTweetsTimeline
|
||||||
parameters:
|
parameters:
|
||||||
- in: query
|
- content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
default: 2TemLyqrMpTeAmysdbnVqw
|
||||||
|
example: 2TemLyqrMpTeAmysdbnVqw
|
||||||
|
type: string
|
||||||
|
in: query
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
|
||||||
default: 2TemLyqrMpTeAmysdbnVqw
|
|
||||||
example: 2TemLyqrMpTeAmysdbnVqw
|
|
||||||
type: string
|
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
|
|
@ -224,19 +226,21 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
|
/graphql/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
|
||||||
get:
|
get:
|
||||||
description: get tweet list of timeline
|
description: get tweet list of timeline
|
||||||
operationId: getHomeTimeline
|
operationId: getHomeTimeline
|
||||||
parameters:
|
parameters:
|
||||||
- in: query
|
- content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
default: HCosKfLNW1AcOo3la3mMgg
|
||||||
|
example: HCosKfLNW1AcOo3la3mMgg
|
||||||
|
type: string
|
||||||
|
in: query
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
|
||||||
default: HCosKfLNW1AcOo3la3mMgg
|
|
||||||
example: HCosKfLNW1AcOo3la3mMgg
|
|
||||||
type: string
|
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
|
|
@ -417,19 +421,21 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
|
/graphql/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
|
||||||
get:
|
get:
|
||||||
description: get tweet list of timeline
|
description: get tweet list of timeline
|
||||||
operationId: getHomeLatestTimeline
|
operationId: getHomeLatestTimeline
|
||||||
parameters:
|
parameters:
|
||||||
- in: query
|
- content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
default: zhX91JE87mWvfprhYE97xA
|
||||||
|
example: zhX91JE87mWvfprhYE97xA
|
||||||
|
type: string
|
||||||
|
in: query
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
|
||||||
default: zhX91JE87mWvfprhYE97xA
|
|
||||||
example: zhX91JE87mWvfprhYE97xA
|
|
||||||
type: string
|
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
|
|
@ -605,4 +611,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
|
|
|
||||||
16
dist/docs/paths/tweet.yaml
vendored
16
dist/docs/paths/tweet.yaml
vendored
|
|
@ -17,18 +17,20 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
|
/graphql/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
|
||||||
get:
|
get:
|
||||||
description: get TweetDetail
|
description: get TweetDetail
|
||||||
operationId: getTweetDetail
|
operationId: getTweetDetail
|
||||||
parameters:
|
parameters:
|
||||||
- in: query
|
- content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
default: wNNG8DBB8EaXw1lq4vFWGA
|
||||||
|
example: wNNG8DBB8EaXw1lq4vFWGA
|
||||||
|
type: string
|
||||||
|
in: query
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
|
||||||
default: wNNG8DBB8EaXw1lq4vFWGA
|
|
||||||
example: wNNG8DBB8EaXw1lq4vFWGA
|
|
||||||
type: string
|
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
|
|
@ -224,4 +226,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
|
|
|
||||||
16
dist/docs/paths/user.yaml
vendored
16
dist/docs/paths/user.yaml
vendored
|
|
@ -17,18 +17,20 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
|
/graphql/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
|
||||||
get:
|
get:
|
||||||
description: get user by screen name
|
description: get user by screen name
|
||||||
operationId: getUserByScreenName
|
operationId: getUserByScreenName
|
||||||
parameters:
|
parameters:
|
||||||
- in: query
|
- content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
default: sLVLhk0bGj3MVFEKTdax1w
|
||||||
|
example: sLVLhk0bGj3MVFEKTdax1w
|
||||||
|
type: string
|
||||||
|
in: query
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
|
||||||
default: sLVLhk0bGj3MVFEKTdax1w
|
|
||||||
example: sLVLhk0bGj3MVFEKTdax1w
|
|
||||||
type: string
|
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
|
|
@ -124,4 +126,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- User
|
- user
|
||||||
|
|
|
||||||
64
dist/docs/paths/usertweets.yaml
vendored
64
dist/docs/paths/usertweets.yaml
vendored
|
|
@ -32,18 +32,20 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/5fmEkRT-1AdHqEsbVgehMg/Likes:
|
/graphql/5fmEkRT-1AdHqEsbVgehMg/Likes:
|
||||||
get:
|
get:
|
||||||
description: get user likes tweets
|
description: get user likes tweets
|
||||||
operationId: getLikes
|
operationId: getLikes
|
||||||
parameters:
|
parameters:
|
||||||
- in: query
|
- content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
default: 5fmEkRT-1AdHqEsbVgehMg
|
||||||
|
example: 5fmEkRT-1AdHqEsbVgehMg
|
||||||
|
type: string
|
||||||
|
in: query
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
|
||||||
default: 5fmEkRT-1AdHqEsbVgehMg
|
|
||||||
example: 5fmEkRT-1AdHqEsbVgehMg
|
|
||||||
type: string
|
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
|
|
@ -234,19 +236,21 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
/HuTx74BxAnezK1gWvYY7zg/UserTweets:
|
/graphql/HuTx74BxAnezK1gWvYY7zg/UserTweets:
|
||||||
get:
|
get:
|
||||||
description: get user tweets
|
description: get user tweets
|
||||||
operationId: getUserTweets
|
operationId: getUserTweets
|
||||||
parameters:
|
parameters:
|
||||||
- in: query
|
- content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
default: HuTx74BxAnezK1gWvYY7zg
|
||||||
|
example: HuTx74BxAnezK1gWvYY7zg
|
||||||
|
type: string
|
||||||
|
in: query
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
|
||||||
default: HuTx74BxAnezK1gWvYY7zg
|
|
||||||
example: HuTx74BxAnezK1gWvYY7zg
|
|
||||||
type: string
|
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
|
|
@ -432,19 +436,21 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
|
/graphql/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
|
||||||
get:
|
get:
|
||||||
description: get user replies tweets
|
description: get user replies tweets
|
||||||
operationId: getUserTweetsAndReplies
|
operationId: getUserTweetsAndReplies
|
||||||
parameters:
|
parameters:
|
||||||
- in: query
|
- content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
default: RIWc55YCNyUJ-U3HHGYkdg
|
||||||
|
example: RIWc55YCNyUJ-U3HHGYkdg
|
||||||
|
type: string
|
||||||
|
in: query
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
|
||||||
default: RIWc55YCNyUJ-U3HHGYkdg
|
|
||||||
example: RIWc55YCNyUJ-U3HHGYkdg
|
|
||||||
type: string
|
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
|
|
@ -630,19 +636,21 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
|
/graphql/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
|
||||||
get:
|
get:
|
||||||
description: get user media tweets
|
description: get user media tweets
|
||||||
operationId: getUserMedia
|
operationId: getUserMedia
|
||||||
parameters:
|
parameters:
|
||||||
- in: query
|
- content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
default: YqiE3JL1KNgf9nSljYdxaA
|
||||||
|
example: YqiE3JL1KNgf9nSljYdxaA
|
||||||
|
type: string
|
||||||
|
in: query
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
|
||||||
default: YqiE3JL1KNgf9nSljYdxaA
|
|
||||||
example: YqiE3JL1KNgf9nSljYdxaA
|
|
||||||
type: string
|
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
|
|
@ -833,4 +841,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
|
|
|
||||||
48
dist/docs/paths/v1.1.yaml
vendored
Normal file
48
dist/docs/paths/v1.1.yaml
vendored
Normal file
|
|
@ -0,0 +1,48 @@
|
||||||
|
info:
|
||||||
|
title: Twitter OpenAPI
|
||||||
|
version: 0.0.1
|
||||||
|
openapi: 3.0.3
|
||||||
|
paths:
|
||||||
|
/1.1/friendships/create.json:
|
||||||
|
post:
|
||||||
|
description: post create friendships
|
||||||
|
operationId: postCreateFriendships
|
||||||
|
responses:
|
||||||
|
'200':
|
||||||
|
description: Successful operation
|
||||||
|
headers:
|
||||||
|
x-connection-hash:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
x-content-type-options:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
x-frame-options:
|
||||||
|
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
|
||||||
|
x-xss-protection:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
tags:
|
||||||
|
- v1.1
|
||||||
344
dist/test/openapi-3.0.yaml
vendored
344
dist/test/openapi-3.0.yaml
vendored
|
|
@ -1,110 +1,246 @@
|
||||||
components:
|
components:
|
||||||
schemas: {}
|
schemas:
|
||||||
securitySchemes:
|
User:
|
||||||
ActiveUser:
|
properties:
|
||||||
description: 'yes'
|
__typename:
|
||||||
in: header
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
||||||
name: x-twitter-active-user
|
affiliates_highlighted_label:
|
||||||
type: apiKey
|
type: object
|
||||||
BearerAuth:
|
business_account:
|
||||||
description: AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
type: object
|
||||||
scheme: bearer
|
has_graduated_access:
|
||||||
type: http
|
type: boolean
|
||||||
ClientLanguage:
|
has_nft_avatar:
|
||||||
description: en
|
default: false
|
||||||
in: header
|
type: boolean
|
||||||
name: x-twitter-client-language
|
id:
|
||||||
type: apiKey
|
pattern: ^[a-z\-]+[0-9]+$
|
||||||
CookieAuthToken:
|
type: string
|
||||||
description: HttpOnly cookie
|
is_blue_verified:
|
||||||
in: cookie
|
default: false
|
||||||
name: auth_token
|
type: boolean
|
||||||
type: apiKey
|
legacy:
|
||||||
CookieCt0:
|
$ref: '#/components/schemas/UserLegacy'
|
||||||
description: document.cookie.split('; ').find(row => row.startsWith('ct0='));
|
rest_id:
|
||||||
in: cookie
|
pattern: ^[0-9]+$
|
||||||
name: ct0
|
type: string
|
||||||
type: apiKey
|
super_follow_eligible:
|
||||||
CsrfToken:
|
default: false
|
||||||
description: document.cookie.split('; ').find(row => row.startsWith('ct0='));
|
type: boolean
|
||||||
in: header
|
super_followed_by:
|
||||||
name: x-csrf-token
|
default: false
|
||||||
type: apiKey
|
type: boolean
|
||||||
UserAgent:
|
super_following:
|
||||||
description: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
default: false
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
type: boolean
|
||||||
in: header
|
required:
|
||||||
name: user-agent
|
- __typename
|
||||||
type: apiKey
|
- affiliates_highlighted_label
|
||||||
authType:
|
- id
|
||||||
description: OAuth2Session if you are logged in
|
- is_blue_verified
|
||||||
in: header
|
- legacy
|
||||||
name: x-twitter-auth-type
|
- rest_id
|
||||||
type: apiKey
|
- super_follow_eligible
|
||||||
|
- super_followed_by
|
||||||
|
- super_following
|
||||||
|
UserLegacy:
|
||||||
|
properties:
|
||||||
|
blocked_by:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
blocking:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
can_dm:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
can_media_tag:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
created_at:
|
||||||
|
$ref: ./general.yaml#/components/schemas/TwitterTimeFormat
|
||||||
|
default_profile:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
default_profile_image:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
description:
|
||||||
|
type: string
|
||||||
|
entities:
|
||||||
|
type: object
|
||||||
|
fast_followers_count:
|
||||||
|
type: integer
|
||||||
|
favourites_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
follow_request_sent:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
followed_by:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
followers_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
following:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
friends_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
has_custom_timelines:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
is_translator:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
listed_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
location:
|
||||||
|
type: string
|
||||||
|
media_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
muting:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
normal_followers_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
notifications:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
pinned_tweet_ids_str:
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
possibly_sensitive:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
profile_banner_extensions:
|
||||||
|
type: object
|
||||||
|
profile_banner_url:
|
||||||
|
format: uri
|
||||||
|
type: string
|
||||||
|
profile_image_extensions:
|
||||||
|
type: object
|
||||||
|
profile_image_url_https:
|
||||||
|
format: uri
|
||||||
|
type: string
|
||||||
|
profile_interstitial_type:
|
||||||
|
type: string
|
||||||
|
protected:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
screen_name:
|
||||||
|
type: string
|
||||||
|
statuses_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
translator_type:
|
||||||
|
type: string
|
||||||
|
url:
|
||||||
|
type: string
|
||||||
|
verified:
|
||||||
|
type: boolean
|
||||||
|
want_retweets:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
required:
|
||||||
|
- blocked_by
|
||||||
|
- blocking
|
||||||
|
- can_dm
|
||||||
|
- can_media_tag
|
||||||
|
- created_at
|
||||||
|
- default_profile
|
||||||
|
- default_profile_image
|
||||||
|
- description
|
||||||
|
- entities
|
||||||
|
- fast_followers_count
|
||||||
|
- favourites_count
|
||||||
|
- follow_request_sent
|
||||||
|
- followed_by
|
||||||
|
- followers_count
|
||||||
|
- following
|
||||||
|
- friends_count
|
||||||
|
- has_custom_timelines
|
||||||
|
- is_translator
|
||||||
|
- listed_count
|
||||||
|
- location
|
||||||
|
- media_count
|
||||||
|
- muting
|
||||||
|
- name
|
||||||
|
- normal_followers_count
|
||||||
|
- notifications
|
||||||
|
- pinned_tweet_ids_str
|
||||||
|
- possibly_sensitive
|
||||||
|
- profile_image_url_https
|
||||||
|
- profile_interstitial_type
|
||||||
|
- protected
|
||||||
|
- screen_name
|
||||||
|
- status
|
||||||
|
- statuses_count
|
||||||
|
- translator_type
|
||||||
|
- verified
|
||||||
|
- want_retweets
|
||||||
|
UserResultCore:
|
||||||
|
properties:
|
||||||
|
user_results:
|
||||||
|
$ref: '#/components/schemas/UserResults'
|
||||||
|
required:
|
||||||
|
- user_results
|
||||||
|
UserResults:
|
||||||
|
properties:
|
||||||
|
result:
|
||||||
|
$ref: '#/components/schemas/User'
|
||||||
|
required:
|
||||||
|
- result
|
||||||
info:
|
info:
|
||||||
contact:
|
|
||||||
email: yuki@yuki0311.com
|
|
||||||
description: Twitter OpenAPI(Swagger) specification
|
|
||||||
license:
|
|
||||||
name: GNU Affero General Public License v3.
|
|
||||||
url: https://raw.githubusercontent.com/fa0311/twitter-openapi/main/LICENSE.txt
|
|
||||||
termsOfService: https://github.com/fa0311
|
|
||||||
title: Twitter OpenAPI
|
title: Twitter OpenAPI
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
|
/1.1/friendships/create.json:
|
||||||
$ref: ./paths/post.yaml#/paths/~11RyAhNwby-gzGCRVsMxKbQ~1CreateTweet
|
$ref: ./paths/v1.1.yaml#/paths/~11.1~1friendships~1create.json
|
||||||
/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
/graphql/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
|
||||||
$ref: ./paths/timeline.yaml#/paths/~12TemLyqrMpTeAmysdbnVqw~1ListLatestTweetsTimeline
|
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1CreateTweet
|
||||||
/5fmEkRT-1AdHqEsbVgehMg/Likes:
|
/graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~15fmEkRT-1AdHqEsbVgehMg~1Likes
|
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{{queryId}}~1ListLatestTweetsTimeline
|
||||||
/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
|
/graphql/5fmEkRT-1AdHqEsbVgehMg/Likes:
|
||||||
$ref: ./paths/profile.yaml#/paths/~19zwVLJ48lmVUk8u_Gh9DmA~1ProfileSpotlightsQuery
|
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{{queryId}}~1Likes
|
||||||
/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
|
/graphql/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
|
||||||
$ref: ./paths/timeline.yaml#/paths/~1HCosKfLNW1AcOo3la3mMgg~1HomeTimeline
|
$ref: ./paths/profile.yaml#/paths/~1graphql~1{{queryId}}~1ProfileSpotlightsQuery
|
||||||
/HuTx74BxAnezK1gWvYY7zg/UserTweets:
|
/graphql/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~1HuTx74BxAnezK1gWvYY7zg~1UserTweets
|
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{{queryId}}~1HomeTimeline
|
||||||
/IWP6Zt14sARO29lJT35bBw/Following:
|
/graphql/HuTx74BxAnezK1gWvYY7zg/UserTweets:
|
||||||
$ref: ./paths/follow.yaml#/paths/~1IWP6Zt14sARO29lJT35bBw~1Following
|
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{{queryId}}~1UserTweets
|
||||||
/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
|
/graphql/IWP6Zt14sARO29lJT35bBw/Following:
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~1RIWc55YCNyUJ-U3HHGYkdg~1UserTweetsAndReplies
|
$ref: ./paths/follow.yaml#/paths/~1graphql~1{{queryId}}~1Following
|
||||||
/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
|
/graphql/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
|
||||||
$ref: ./paths/post.yaml#/paths/~1VaenaVgh5q5ih7kvyVjgtg~1DeleteTweet
|
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{{queryId}}~1UserTweetsAndReplies
|
||||||
/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
|
/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~1YqiE3JL1KNgf9nSljYdxaA~1UserMedia
|
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1DeleteTweet
|
||||||
/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
|
/graphql/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
|
||||||
$ref: ./paths/post.yaml#/paths/~1ZYKSe-w7KEslx3JhSIk5LA~1UnfavoriteTweet
|
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{{queryId}}~1UserMedia
|
||||||
/djdTXDIk2qhd4OStqlUFeQ/Followers:
|
/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
|
||||||
$ref: ./paths/follow.yaml#/paths/~1djdTXDIk2qhd4OStqlUFeQ~1Followers
|
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1UnfavoriteTweet
|
||||||
/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
|
/graphql/djdTXDIk2qhd4OStqlUFeQ/Followers:
|
||||||
$ref: ./paths/post.yaml#/paths/~1iQtK4dl5hBmXewYZuEOKVw~1DeleteRetweet
|
$ref: ./paths/follow.yaml#/paths/~1graphql~1{{queryId}}~1Followers
|
||||||
/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
|
/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
|
||||||
$ref: ./paths/post.yaml#/paths/~1lI07N6Otwv1PhnEgXILM7A~1FavoriteTweet
|
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1DeleteRetweet
|
||||||
/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
|
/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
|
||||||
$ref: ./paths/post.yaml#/paths/~1ojPdsZsimiJrUGLR1sjUtA~1CreateRetweet
|
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1FavoriteTweet
|
||||||
/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
|
/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
|
||||||
$ref: ./paths/user.yaml#/paths/~1sLVLhk0bGj3MVFEKTdax1w~1UserByScreenName
|
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1CreateRetweet
|
||||||
/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
|
/graphql/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
|
||||||
$ref: ./paths/bookmarks.yaml#/paths/~1tmd4ifV8RHltzn8ymGg1aw~1Bookmarks
|
$ref: ./paths/user.yaml#/paths/~1graphql~1{{queryId}}~1UserByScreenName
|
||||||
/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
|
/graphql/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
|
||||||
$ref: ./paths/tweet.yaml#/paths/~1wNNG8DBB8EaXw1lq4vFWGA~1TweetDetail
|
$ref: ./paths/bookmarks.yaml#/paths/~1graphql~1{{queryId}}~1Bookmarks
|
||||||
/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
|
/graphql/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
|
||||||
$ref: ./paths/timeline.yaml#/paths/~1zhX91JE87mWvfprhYE97xA~1HomeLatestTimeline
|
$ref: ./paths/tweet.yaml#/paths/~1graphql~1{{queryId}}~1TweetDetail
|
||||||
security:
|
/graphql/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
|
||||||
- bearerAuth: []
|
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{{queryId}}~1HomeLatestTimeline
|
||||||
- CsrfToken: []
|
|
||||||
- ActiveUser: []
|
|
||||||
- AuthType: []
|
|
||||||
- ClientLanguage: []
|
|
||||||
- CookieAuthToken: []
|
|
||||||
- CookieCt0: []
|
|
||||||
servers:
|
|
||||||
- url: https://twitter.com/i/api/graphql
|
|
||||||
tags:
|
|
||||||
- description: response User
|
|
||||||
name: User
|
|
||||||
- description: response User list
|
|
||||||
name: UserList
|
|
||||||
- description: response tweet
|
|
||||||
name: Tweet
|
|
||||||
|
|
|
||||||
8
dist/test/paths/bookmarks.yaml
vendored
8
dist/test/paths/bookmarks.yaml
vendored
|
|
@ -23,7 +23,7 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
|
/graphql/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
|
||||||
get:
|
get:
|
||||||
description: get bookmarks
|
description: get bookmarks
|
||||||
operationId: getBookmarks
|
operationId: getBookmarks
|
||||||
|
|
@ -32,8 +32,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: tmd4ifV8RHltzn8ymGg1aw
|
default: '"tmd4ifV8RHltzn8ymGg1aw"'
|
||||||
example: tmd4ifV8RHltzn8ymGg1aw
|
example: '"tmd4ifV8RHltzn8ymGg1aw"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -111,4 +111,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
|
|
|
||||||
16
dist/test/paths/follow.yaml
vendored
16
dist/test/paths/follow.yaml
vendored
|
|
@ -38,7 +38,7 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/IWP6Zt14sARO29lJT35bBw/Following:
|
/graphql/IWP6Zt14sARO29lJT35bBw/Following:
|
||||||
get:
|
get:
|
||||||
description: get user list of following
|
description: get user list of following
|
||||||
operationId: getFollowing
|
operationId: getFollowing
|
||||||
|
|
@ -47,8 +47,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: IWP6Zt14sARO29lJT35bBw
|
default: '"IWP6Zt14sARO29lJT35bBw"'
|
||||||
example: IWP6Zt14sARO29lJT35bBw
|
example: '"IWP6Zt14sARO29lJT35bBw"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -128,8 +128,8 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- UserList
|
- userList
|
||||||
/djdTXDIk2qhd4OStqlUFeQ/Followers:
|
/graphql/djdTXDIk2qhd4OStqlUFeQ/Followers:
|
||||||
get:
|
get:
|
||||||
description: get user list of followers
|
description: get user list of followers
|
||||||
operationId: getFollowers
|
operationId: getFollowers
|
||||||
|
|
@ -138,8 +138,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: djdTXDIk2qhd4OStqlUFeQ
|
default: '"djdTXDIk2qhd4OStqlUFeQ"'
|
||||||
example: djdTXDIk2qhd4OStqlUFeQ
|
example: '"djdTXDIk2qhd4OStqlUFeQ"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -219,4 +219,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- UserList
|
- userList
|
||||||
|
|
|
||||||
164
dist/test/paths/post.yaml
vendored
164
dist/test/paths/post.yaml
vendored
|
|
@ -136,11 +136,54 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
|
/graphql/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
|
||||||
post:
|
post:
|
||||||
description: create Tweet
|
description: create Tweet
|
||||||
operationId: postCreateTweet
|
operationId: postCreateTweet
|
||||||
parameters: []
|
parameters:
|
||||||
|
- in: query
|
||||||
|
name: queryId
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '"1RyAhNwby-gzGCRVsMxKbQ"'
|
||||||
|
example: '"1RyAhNwby-gzGCRVsMxKbQ"'
|
||||||
|
type: string
|
||||||
|
- in: query
|
||||||
|
name: variables
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"tweet_text": "test", "media": {"media_entities": [], "possibly_sensitive":
|
||||||
|
false}, "semantic_annotation_ids": [], "dark_request": false}'
|
||||||
|
example: '{"tweet_text": "test", "media": {"media_entities": [], "possibly_sensitive":
|
||||||
|
false}, "semantic_annotation_ids": [], "dark_request": false}'
|
||||||
|
type: string
|
||||||
|
- in: query
|
||||||
|
name: features
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
||||||
|
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
||||||
|
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
||||||
|
true, "tweet_awards_web_tipping_enabled": false, "interactive_text_enabled":
|
||||||
|
true, "responsive_web_text_conversations_enabled": false, "longform_notetweets_rich_text_read_enabled":
|
||||||
|
true, "blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
||||||
|
true, "verified_phone_label_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
||||||
|
true, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
||||||
|
false, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
||||||
|
false, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
|
false}'
|
||||||
|
example: '{"tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
||||||
|
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
||||||
|
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
||||||
|
true, "tweet_awards_web_tipping_enabled": false, "interactive_text_enabled":
|
||||||
|
true, "responsive_web_text_conversations_enabled": false, "longform_notetweets_rich_text_read_enabled":
|
||||||
|
true, "blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
||||||
|
true, "verified_phone_label_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
||||||
|
true, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
||||||
|
false, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
||||||
|
false, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
|
false}'
|
||||||
|
type: string
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -183,12 +226,33 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Post
|
- post
|
||||||
/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
|
/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
|
||||||
post:
|
post:
|
||||||
description: delete Retweet
|
description: delete Retweet
|
||||||
operationId: postDeleteTweet
|
operationId: postDeleteTweet
|
||||||
parameters: []
|
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"}'
|
||||||
|
example: '{"tweet_id": "1349129669258448897"}'
|
||||||
|
type: string
|
||||||
|
- in: query
|
||||||
|
name: features
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{}'
|
||||||
|
example: '{}'
|
||||||
|
type: string
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -231,12 +295,28 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Post
|
- post
|
||||||
/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
|
/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
|
||||||
post:
|
post:
|
||||||
description: unfavorite Tweet
|
description: unfavorite Tweet
|
||||||
operationId: postUnfavoriteTweet
|
operationId: postUnfavoriteTweet
|
||||||
parameters: []
|
parameters:
|
||||||
|
- in: query
|
||||||
|
name: queryId
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '"ZYKSe-w7KEslx3JhSIk5LA"'
|
||||||
|
example: '"ZYKSe-w7KEslx3JhSIk5LA"'
|
||||||
|
type: string
|
||||||
|
- in: query
|
||||||
|
name: Parameters
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||||
|
{}}'
|
||||||
|
example: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||||
|
{}}'
|
||||||
|
type: string
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -279,12 +359,28 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Post
|
- post
|
||||||
/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
|
/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
|
||||||
post:
|
post:
|
||||||
description: delete Retweet
|
description: delete Retweet
|
||||||
operationId: postDeleteRetweet
|
operationId: postDeleteRetweet
|
||||||
parameters: []
|
parameters:
|
||||||
|
- in: query
|
||||||
|
name: queryId
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '"iQtK4dl5hBmXewYZuEOKVw"'
|
||||||
|
example: '"iQtK4dl5hBmXewYZuEOKVw"'
|
||||||
|
type: string
|
||||||
|
- in: query
|
||||||
|
name: Parameters
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||||
|
{}}'
|
||||||
|
example: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||||
|
{}}'
|
||||||
|
type: string
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -327,12 +423,28 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Post
|
- post
|
||||||
/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
|
/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
|
||||||
post:
|
post:
|
||||||
description: favorite Tweet
|
description: favorite Tweet
|
||||||
operationId: postFavoriteTweet
|
operationId: postFavoriteTweet
|
||||||
parameters: []
|
parameters:
|
||||||
|
- in: query
|
||||||
|
name: queryId
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '"lI07N6Otwv1PhnEgXILM7A"'
|
||||||
|
example: '"lI07N6Otwv1PhnEgXILM7A"'
|
||||||
|
type: string
|
||||||
|
- in: query
|
||||||
|
name: Parameters
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||||
|
{}}'
|
||||||
|
example: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||||
|
{}}'
|
||||||
|
type: string
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -375,12 +487,28 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Post
|
- post
|
||||||
/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
|
/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
|
||||||
post:
|
post:
|
||||||
description: create Retweet
|
description: create Retweet
|
||||||
operationId: postCreateRetweet
|
operationId: postCreateRetweet
|
||||||
parameters: []
|
parameters:
|
||||||
|
- in: query
|
||||||
|
name: queryId
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '"ojPdsZsimiJrUGLR1sjUtA"'
|
||||||
|
example: '"ojPdsZsimiJrUGLR1sjUtA"'
|
||||||
|
type: string
|
||||||
|
- in: query
|
||||||
|
name: Parameters
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||||
|
{}}'
|
||||||
|
example: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||||
|
{}}'
|
||||||
|
type: string
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -423,4 +551,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Post
|
- post
|
||||||
|
|
|
||||||
6
dist/test/paths/profile.yaml
vendored
6
dist/test/paths/profile.yaml
vendored
|
|
@ -63,7 +63,7 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
|
/graphql/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
|
||||||
get:
|
get:
|
||||||
description: get user by screen name
|
description: get user by screen name
|
||||||
operationId: getProfileSpotlightsQuery
|
operationId: getProfileSpotlightsQuery
|
||||||
|
|
@ -72,8 +72,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: 9zwVLJ48lmVUk8u_Gh9DmA
|
default: '"9zwVLJ48lmVUk8u_Gh9DmA"'
|
||||||
example: 9zwVLJ48lmVUk8u_Gh9DmA
|
example: '"9zwVLJ48lmVUk8u_Gh9DmA"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
|
||||||
24
dist/test/paths/timeline.yaml
vendored
24
dist/test/paths/timeline.yaml
vendored
|
|
@ -47,7 +47,7 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
/graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
||||||
get:
|
get:
|
||||||
description: get tweet list of timeline
|
description: get tweet list of timeline
|
||||||
operationId: getListLatestTweetsTimeline
|
operationId: getListLatestTweetsTimeline
|
||||||
|
|
@ -56,8 +56,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: 2TemLyqrMpTeAmysdbnVqw
|
default: '"2TemLyqrMpTeAmysdbnVqw"'
|
||||||
example: 2TemLyqrMpTeAmysdbnVqw
|
example: '"2TemLyqrMpTeAmysdbnVqw"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -135,8 +135,8 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
|
/graphql/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
|
||||||
get:
|
get:
|
||||||
description: get tweet list of timeline
|
description: get tweet list of timeline
|
||||||
operationId: getHomeTimeline
|
operationId: getHomeTimeline
|
||||||
|
|
@ -145,8 +145,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: HCosKfLNW1AcOo3la3mMgg
|
default: '"HCosKfLNW1AcOo3la3mMgg"'
|
||||||
example: HCosKfLNW1AcOo3la3mMgg
|
example: '"HCosKfLNW1AcOo3la3mMgg"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -226,8 +226,8 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
|
/graphql/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
|
||||||
get:
|
get:
|
||||||
description: get tweet list of timeline
|
description: get tweet list of timeline
|
||||||
operationId: getHomeLatestTimeline
|
operationId: getHomeLatestTimeline
|
||||||
|
|
@ -236,8 +236,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: zhX91JE87mWvfprhYE97xA
|
default: '"zhX91JE87mWvfprhYE97xA"'
|
||||||
example: zhX91JE87mWvfprhYE97xA
|
example: '"zhX91JE87mWvfprhYE97xA"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -317,4 +317,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
|
|
|
||||||
8
dist/test/paths/tweet.yaml
vendored
8
dist/test/paths/tweet.yaml
vendored
|
|
@ -17,7 +17,7 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
|
/graphql/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
|
||||||
get:
|
get:
|
||||||
description: get TweetDetail
|
description: get TweetDetail
|
||||||
operationId: getTweetDetail
|
operationId: getTweetDetail
|
||||||
|
|
@ -26,8 +26,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: wNNG8DBB8EaXw1lq4vFWGA
|
default: '"wNNG8DBB8EaXw1lq4vFWGA"'
|
||||||
example: wNNG8DBB8EaXw1lq4vFWGA
|
example: '"wNNG8DBB8EaXw1lq4vFWGA"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -111,4 +111,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
|
|
|
||||||
8
dist/test/paths/user.yaml
vendored
8
dist/test/paths/user.yaml
vendored
|
|
@ -17,7 +17,7 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
|
/graphql/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
|
||||||
get:
|
get:
|
||||||
description: get user by screen name
|
description: get user by screen name
|
||||||
operationId: getUserByScreenName
|
operationId: getUserByScreenName
|
||||||
|
|
@ -26,8 +26,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: sLVLhk0bGj3MVFEKTdax1w
|
default: '"sLVLhk0bGj3MVFEKTdax1w"'
|
||||||
example: sLVLhk0bGj3MVFEKTdax1w
|
example: '"sLVLhk0bGj3MVFEKTdax1w"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -89,4 +89,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- User
|
- user
|
||||||
|
|
|
||||||
32
dist/test/paths/usertweets.yaml
vendored
32
dist/test/paths/usertweets.yaml
vendored
|
|
@ -32,7 +32,7 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/5fmEkRT-1AdHqEsbVgehMg/Likes:
|
/graphql/5fmEkRT-1AdHqEsbVgehMg/Likes:
|
||||||
get:
|
get:
|
||||||
description: get user likes tweets
|
description: get user likes tweets
|
||||||
operationId: getLikes
|
operationId: getLikes
|
||||||
|
|
@ -41,8 +41,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: 5fmEkRT-1AdHqEsbVgehMg
|
default: '"5fmEkRT-1AdHqEsbVgehMg"'
|
||||||
example: 5fmEkRT-1AdHqEsbVgehMg
|
example: '"5fmEkRT-1AdHqEsbVgehMg"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -124,8 +124,8 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
/HuTx74BxAnezK1gWvYY7zg/UserTweets:
|
/graphql/HuTx74BxAnezK1gWvYY7zg/UserTweets:
|
||||||
get:
|
get:
|
||||||
description: get user tweets
|
description: get user tweets
|
||||||
operationId: getUserTweets
|
operationId: getUserTweets
|
||||||
|
|
@ -134,8 +134,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: HuTx74BxAnezK1gWvYY7zg
|
default: '"HuTx74BxAnezK1gWvYY7zg"'
|
||||||
example: HuTx74BxAnezK1gWvYY7zg
|
example: '"HuTx74BxAnezK1gWvYY7zg"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -217,8 +217,8 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
|
/graphql/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
|
||||||
get:
|
get:
|
||||||
description: get user replies tweets
|
description: get user replies tweets
|
||||||
operationId: getUserTweetsAndReplies
|
operationId: getUserTweetsAndReplies
|
||||||
|
|
@ -227,8 +227,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: RIWc55YCNyUJ-U3HHGYkdg
|
default: '"RIWc55YCNyUJ-U3HHGYkdg"'
|
||||||
example: RIWc55YCNyUJ-U3HHGYkdg
|
example: '"RIWc55YCNyUJ-U3HHGYkdg"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -308,8 +308,8 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
|
/graphql/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
|
||||||
get:
|
get:
|
||||||
description: get user media tweets
|
description: get user media tweets
|
||||||
operationId: getUserMedia
|
operationId: getUserMedia
|
||||||
|
|
@ -318,8 +318,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: YqiE3JL1KNgf9nSljYdxaA
|
default: '"YqiE3JL1KNgf9nSljYdxaA"'
|
||||||
example: YqiE3JL1KNgf9nSljYdxaA
|
example: '"YqiE3JL1KNgf9nSljYdxaA"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -401,4 +401,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
|
|
|
||||||
48
dist/test/paths/v1.1.yaml
vendored
Normal file
48
dist/test/paths/v1.1.yaml
vendored
Normal file
|
|
@ -0,0 +1,48 @@
|
||||||
|
info:
|
||||||
|
title: Twitter OpenAPI
|
||||||
|
version: 0.0.1
|
||||||
|
openapi: 3.0.3
|
||||||
|
paths:
|
||||||
|
/1.1/friendships/create.json:
|
||||||
|
post:
|
||||||
|
description: post create friendships
|
||||||
|
operationId: postCreateFriendships
|
||||||
|
responses:
|
||||||
|
'200':
|
||||||
|
description: Successful operation
|
||||||
|
headers:
|
||||||
|
x-connection-hash:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
x-content-type-options:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
x-frame-options:
|
||||||
|
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
|
||||||
|
x-xss-protection:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
tags:
|
||||||
|
- v1.1
|
||||||
344
dist/typescript/openapi-3.0.yaml
vendored
344
dist/typescript/openapi-3.0.yaml
vendored
|
|
@ -1,110 +1,246 @@
|
||||||
components:
|
components:
|
||||||
schemas: {}
|
schemas:
|
||||||
securitySchemes:
|
User:
|
||||||
ActiveUser:
|
properties:
|
||||||
description: 'yes'
|
__typename:
|
||||||
in: header
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
||||||
name: x-twitter-active-user
|
affiliates_highlighted_label:
|
||||||
type: apiKey
|
type: object
|
||||||
BearerAuth:
|
business_account:
|
||||||
description: AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
type: object
|
||||||
scheme: bearer
|
has_graduated_access:
|
||||||
type: http
|
type: boolean
|
||||||
ClientLanguage:
|
has_nft_avatar:
|
||||||
description: en
|
default: false
|
||||||
in: header
|
type: boolean
|
||||||
name: x-twitter-client-language
|
id:
|
||||||
type: apiKey
|
pattern: ^[a-z\-]+[0-9]+$
|
||||||
CookieAuthToken:
|
type: string
|
||||||
description: HttpOnly cookie
|
is_blue_verified:
|
||||||
in: cookie
|
default: false
|
||||||
name: auth_token
|
type: boolean
|
||||||
type: apiKey
|
legacy:
|
||||||
CookieCt0:
|
$ref: '#/components/schemas/UserLegacy'
|
||||||
description: document.cookie.split('; ').find(row => row.startsWith('ct0='));
|
rest_id:
|
||||||
in: cookie
|
pattern: ^[0-9]+$
|
||||||
name: ct0
|
type: string
|
||||||
type: apiKey
|
super_follow_eligible:
|
||||||
CsrfToken:
|
default: false
|
||||||
description: document.cookie.split('; ').find(row => row.startsWith('ct0='));
|
type: boolean
|
||||||
in: header
|
super_followed_by:
|
||||||
name: x-csrf-token
|
default: false
|
||||||
type: apiKey
|
type: boolean
|
||||||
UserAgent:
|
super_following:
|
||||||
description: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
default: false
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
type: boolean
|
||||||
in: header
|
required:
|
||||||
name: user-agent
|
- __typename
|
||||||
type: apiKey
|
- affiliates_highlighted_label
|
||||||
authType:
|
- id
|
||||||
description: OAuth2Session if you are logged in
|
- is_blue_verified
|
||||||
in: header
|
- legacy
|
||||||
name: x-twitter-auth-type
|
- rest_id
|
||||||
type: apiKey
|
- super_follow_eligible
|
||||||
|
- super_followed_by
|
||||||
|
- super_following
|
||||||
|
UserLegacy:
|
||||||
|
properties:
|
||||||
|
blocked_by:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
blocking:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
can_dm:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
can_media_tag:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
created_at:
|
||||||
|
$ref: ./general.yaml#/components/schemas/TwitterTimeFormat
|
||||||
|
default_profile:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
default_profile_image:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
description:
|
||||||
|
type: string
|
||||||
|
entities:
|
||||||
|
type: object
|
||||||
|
fast_followers_count:
|
||||||
|
type: integer
|
||||||
|
favourites_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
follow_request_sent:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
followed_by:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
followers_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
following:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
friends_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
has_custom_timelines:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
is_translator:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
listed_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
location:
|
||||||
|
type: string
|
||||||
|
media_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
muting:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
normal_followers_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
notifications:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
pinned_tweet_ids_str:
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
possibly_sensitive:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
profile_banner_extensions:
|
||||||
|
type: object
|
||||||
|
profile_banner_url:
|
||||||
|
format: uri
|
||||||
|
type: string
|
||||||
|
profile_image_extensions:
|
||||||
|
type: object
|
||||||
|
profile_image_url_https:
|
||||||
|
format: uri
|
||||||
|
type: string
|
||||||
|
profile_interstitial_type:
|
||||||
|
type: string
|
||||||
|
protected:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
screen_name:
|
||||||
|
type: string
|
||||||
|
statuses_count:
|
||||||
|
default: 0
|
||||||
|
type: integer
|
||||||
|
translator_type:
|
||||||
|
type: string
|
||||||
|
url:
|
||||||
|
type: string
|
||||||
|
verified:
|
||||||
|
type: boolean
|
||||||
|
want_retweets:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
required:
|
||||||
|
- blocked_by
|
||||||
|
- blocking
|
||||||
|
- can_dm
|
||||||
|
- can_media_tag
|
||||||
|
- created_at
|
||||||
|
- default_profile
|
||||||
|
- default_profile_image
|
||||||
|
- description
|
||||||
|
- entities
|
||||||
|
- fast_followers_count
|
||||||
|
- favourites_count
|
||||||
|
- follow_request_sent
|
||||||
|
- followed_by
|
||||||
|
- followers_count
|
||||||
|
- following
|
||||||
|
- friends_count
|
||||||
|
- has_custom_timelines
|
||||||
|
- is_translator
|
||||||
|
- listed_count
|
||||||
|
- location
|
||||||
|
- media_count
|
||||||
|
- muting
|
||||||
|
- name
|
||||||
|
- normal_followers_count
|
||||||
|
- notifications
|
||||||
|
- pinned_tweet_ids_str
|
||||||
|
- possibly_sensitive
|
||||||
|
- profile_image_url_https
|
||||||
|
- profile_interstitial_type
|
||||||
|
- protected
|
||||||
|
- screen_name
|
||||||
|
- status
|
||||||
|
- statuses_count
|
||||||
|
- translator_type
|
||||||
|
- verified
|
||||||
|
- want_retweets
|
||||||
|
UserResultCore:
|
||||||
|
properties:
|
||||||
|
user_results:
|
||||||
|
$ref: '#/components/schemas/UserResults'
|
||||||
|
required:
|
||||||
|
- user_results
|
||||||
|
UserResults:
|
||||||
|
properties:
|
||||||
|
result:
|
||||||
|
$ref: '#/components/schemas/User'
|
||||||
|
required:
|
||||||
|
- result
|
||||||
info:
|
info:
|
||||||
contact:
|
|
||||||
email: yuki@yuki0311.com
|
|
||||||
description: Twitter OpenAPI(Swagger) specification
|
|
||||||
license:
|
|
||||||
name: GNU Affero General Public License v3.
|
|
||||||
url: https://raw.githubusercontent.com/fa0311/twitter-openapi/main/LICENSE.txt
|
|
||||||
termsOfService: https://github.com/fa0311
|
|
||||||
title: Twitter OpenAPI
|
title: Twitter OpenAPI
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
|
/1.1/friendships/create.json:
|
||||||
$ref: ./paths/post.yaml#/paths/~11RyAhNwby-gzGCRVsMxKbQ~1CreateTweet
|
$ref: ./paths/v1.1.yaml#/paths/~11.1~1friendships~1create.json
|
||||||
/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
/graphql/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
|
||||||
$ref: ./paths/timeline.yaml#/paths/~12TemLyqrMpTeAmysdbnVqw~1ListLatestTweetsTimeline
|
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1CreateTweet
|
||||||
/5fmEkRT-1AdHqEsbVgehMg/Likes:
|
/graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~15fmEkRT-1AdHqEsbVgehMg~1Likes
|
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{{queryId}}~1ListLatestTweetsTimeline
|
||||||
/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
|
/graphql/5fmEkRT-1AdHqEsbVgehMg/Likes:
|
||||||
$ref: ./paths/profile.yaml#/paths/~19zwVLJ48lmVUk8u_Gh9DmA~1ProfileSpotlightsQuery
|
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{{queryId}}~1Likes
|
||||||
/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
|
/graphql/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
|
||||||
$ref: ./paths/timeline.yaml#/paths/~1HCosKfLNW1AcOo3la3mMgg~1HomeTimeline
|
$ref: ./paths/profile.yaml#/paths/~1graphql~1{{queryId}}~1ProfileSpotlightsQuery
|
||||||
/HuTx74BxAnezK1gWvYY7zg/UserTweets:
|
/graphql/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~1HuTx74BxAnezK1gWvYY7zg~1UserTweets
|
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{{queryId}}~1HomeTimeline
|
||||||
/IWP6Zt14sARO29lJT35bBw/Following:
|
/graphql/HuTx74BxAnezK1gWvYY7zg/UserTweets:
|
||||||
$ref: ./paths/follow.yaml#/paths/~1IWP6Zt14sARO29lJT35bBw~1Following
|
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{{queryId}}~1UserTweets
|
||||||
/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
|
/graphql/IWP6Zt14sARO29lJT35bBw/Following:
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~1RIWc55YCNyUJ-U3HHGYkdg~1UserTweetsAndReplies
|
$ref: ./paths/follow.yaml#/paths/~1graphql~1{{queryId}}~1Following
|
||||||
/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
|
/graphql/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
|
||||||
$ref: ./paths/post.yaml#/paths/~1VaenaVgh5q5ih7kvyVjgtg~1DeleteTweet
|
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{{queryId}}~1UserTweetsAndReplies
|
||||||
/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
|
/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~1YqiE3JL1KNgf9nSljYdxaA~1UserMedia
|
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1DeleteTweet
|
||||||
/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
|
/graphql/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
|
||||||
$ref: ./paths/post.yaml#/paths/~1ZYKSe-w7KEslx3JhSIk5LA~1UnfavoriteTweet
|
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{{queryId}}~1UserMedia
|
||||||
/djdTXDIk2qhd4OStqlUFeQ/Followers:
|
/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
|
||||||
$ref: ./paths/follow.yaml#/paths/~1djdTXDIk2qhd4OStqlUFeQ~1Followers
|
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1UnfavoriteTweet
|
||||||
/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
|
/graphql/djdTXDIk2qhd4OStqlUFeQ/Followers:
|
||||||
$ref: ./paths/post.yaml#/paths/~1iQtK4dl5hBmXewYZuEOKVw~1DeleteRetweet
|
$ref: ./paths/follow.yaml#/paths/~1graphql~1{{queryId}}~1Followers
|
||||||
/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
|
/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
|
||||||
$ref: ./paths/post.yaml#/paths/~1lI07N6Otwv1PhnEgXILM7A~1FavoriteTweet
|
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1DeleteRetweet
|
||||||
/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
|
/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
|
||||||
$ref: ./paths/post.yaml#/paths/~1ojPdsZsimiJrUGLR1sjUtA~1CreateRetweet
|
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1FavoriteTweet
|
||||||
/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
|
/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
|
||||||
$ref: ./paths/user.yaml#/paths/~1sLVLhk0bGj3MVFEKTdax1w~1UserByScreenName
|
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1CreateRetweet
|
||||||
/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
|
/graphql/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
|
||||||
$ref: ./paths/bookmarks.yaml#/paths/~1tmd4ifV8RHltzn8ymGg1aw~1Bookmarks
|
$ref: ./paths/user.yaml#/paths/~1graphql~1{{queryId}}~1UserByScreenName
|
||||||
/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
|
/graphql/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
|
||||||
$ref: ./paths/tweet.yaml#/paths/~1wNNG8DBB8EaXw1lq4vFWGA~1TweetDetail
|
$ref: ./paths/bookmarks.yaml#/paths/~1graphql~1{{queryId}}~1Bookmarks
|
||||||
/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
|
/graphql/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
|
||||||
$ref: ./paths/timeline.yaml#/paths/~1zhX91JE87mWvfprhYE97xA~1HomeLatestTimeline
|
$ref: ./paths/tweet.yaml#/paths/~1graphql~1{{queryId}}~1TweetDetail
|
||||||
security:
|
/graphql/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
|
||||||
- bearerAuth: []
|
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{{queryId}}~1HomeLatestTimeline
|
||||||
- CsrfToken: []
|
|
||||||
- ActiveUser: []
|
|
||||||
- AuthType: []
|
|
||||||
- ClientLanguage: []
|
|
||||||
- CookieAuthToken: []
|
|
||||||
- CookieCt0: []
|
|
||||||
servers:
|
|
||||||
- url: https://twitter.com/i/api/graphql
|
|
||||||
tags:
|
|
||||||
- description: response User
|
|
||||||
name: User
|
|
||||||
- description: response User list
|
|
||||||
name: UserList
|
|
||||||
- description: response tweet
|
|
||||||
name: Tweet
|
|
||||||
|
|
|
||||||
8
dist/typescript/paths/bookmarks.yaml
vendored
8
dist/typescript/paths/bookmarks.yaml
vendored
|
|
@ -23,7 +23,7 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
|
/graphql/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
|
||||||
get:
|
get:
|
||||||
description: get bookmarks
|
description: get bookmarks
|
||||||
operationId: getBookmarks
|
operationId: getBookmarks
|
||||||
|
|
@ -32,8 +32,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: tmd4ifV8RHltzn8ymGg1aw
|
default: '"tmd4ifV8RHltzn8ymGg1aw"'
|
||||||
example: tmd4ifV8RHltzn8ymGg1aw
|
example: '"tmd4ifV8RHltzn8ymGg1aw"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -111,4 +111,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
|
|
|
||||||
16
dist/typescript/paths/follow.yaml
vendored
16
dist/typescript/paths/follow.yaml
vendored
|
|
@ -38,7 +38,7 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/IWP6Zt14sARO29lJT35bBw/Following:
|
/graphql/IWP6Zt14sARO29lJT35bBw/Following:
|
||||||
get:
|
get:
|
||||||
description: get user list of following
|
description: get user list of following
|
||||||
operationId: getFollowing
|
operationId: getFollowing
|
||||||
|
|
@ -47,8 +47,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: IWP6Zt14sARO29lJT35bBw
|
default: '"IWP6Zt14sARO29lJT35bBw"'
|
||||||
example: IWP6Zt14sARO29lJT35bBw
|
example: '"IWP6Zt14sARO29lJT35bBw"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -128,8 +128,8 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- UserList
|
- userList
|
||||||
/djdTXDIk2qhd4OStqlUFeQ/Followers:
|
/graphql/djdTXDIk2qhd4OStqlUFeQ/Followers:
|
||||||
get:
|
get:
|
||||||
description: get user list of followers
|
description: get user list of followers
|
||||||
operationId: getFollowers
|
operationId: getFollowers
|
||||||
|
|
@ -138,8 +138,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: djdTXDIk2qhd4OStqlUFeQ
|
default: '"djdTXDIk2qhd4OStqlUFeQ"'
|
||||||
example: djdTXDIk2qhd4OStqlUFeQ
|
example: '"djdTXDIk2qhd4OStqlUFeQ"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -219,4 +219,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- UserList
|
- userList
|
||||||
|
|
|
||||||
284
dist/typescript/paths/post.yaml
vendored
284
dist/typescript/paths/post.yaml
vendored
|
|
@ -136,43 +136,54 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
|
/graphql/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
|
||||||
post:
|
post:
|
||||||
description: create Tweet
|
description: create Tweet
|
||||||
operationId: postCreateTweet
|
operationId: postCreateTweet
|
||||||
parameters: []
|
parameters:
|
||||||
requestBody:
|
- in: query
|
||||||
content:
|
name: queryId
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
properties:
|
|
||||||
features:
|
|
||||||
example: '{"tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "interactive_text_enabled":
|
|
||||||
true, "responsive_web_text_conversations_enabled": false, "longform_notetweets_rich_text_read_enabled":
|
|
||||||
true, "blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
true, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "responsive_web_graphql_timeline_navigation_enabled": true,
|
|
||||||
"responsive_web_enhance_cards_enabled": false}'
|
|
||||||
type: object
|
|
||||||
queryId:
|
|
||||||
default: 1RyAhNwby-gzGCRVsMxKbQ
|
|
||||||
example: 1RyAhNwby-gzGCRVsMxKbQ
|
|
||||||
type: string
|
|
||||||
variables:
|
|
||||||
example: '{"tweet_text": "test", "media": {"media_entities": [],
|
|
||||||
"possibly_sensitive": false}, "semantic_annotation_ids": [], "dark_request":
|
|
||||||
false}'
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- queryId
|
|
||||||
- variables
|
|
||||||
- features
|
|
||||||
required: true
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '"1RyAhNwby-gzGCRVsMxKbQ"'
|
||||||
|
example: '"1RyAhNwby-gzGCRVsMxKbQ"'
|
||||||
|
type: object
|
||||||
|
- in: query
|
||||||
|
name: variables
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"tweet_text": "test", "media": {"media_entities": [], "possibly_sensitive":
|
||||||
|
false}, "semantic_annotation_ids": [], "dark_request": false}'
|
||||||
|
example: '{"tweet_text": "test", "media": {"media_entities": [], "possibly_sensitive":
|
||||||
|
false}, "semantic_annotation_ids": [], "dark_request": false}'
|
||||||
|
type: object
|
||||||
|
- in: query
|
||||||
|
name: features
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
||||||
|
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
||||||
|
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
||||||
|
true, "tweet_awards_web_tipping_enabled": false, "interactive_text_enabled":
|
||||||
|
true, "responsive_web_text_conversations_enabled": false, "longform_notetweets_rich_text_read_enabled":
|
||||||
|
true, "blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
||||||
|
true, "verified_phone_label_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
||||||
|
true, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
||||||
|
false, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
||||||
|
false, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
|
false}'
|
||||||
|
example: '{"tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
||||||
|
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
||||||
|
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
||||||
|
true, "tweet_awards_web_tipping_enabled": false, "interactive_text_enabled":
|
||||||
|
true, "responsive_web_text_conversations_enabled": false, "longform_notetweets_rich_text_read_enabled":
|
||||||
|
true, "blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
||||||
|
true, "verified_phone_label_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
||||||
|
true, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
||||||
|
false, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
||||||
|
false, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
|
false}'
|
||||||
|
type: object
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -215,32 +226,33 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Post
|
- post
|
||||||
/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
|
/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
|
||||||
post:
|
post:
|
||||||
description: delete Retweet
|
description: delete Retweet
|
||||||
operationId: postDeleteTweet
|
operationId: postDeleteTweet
|
||||||
parameters: []
|
parameters:
|
||||||
requestBody:
|
- in: query
|
||||||
content:
|
name: queryId
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
properties:
|
|
||||||
features:
|
|
||||||
example: '{{Features}}'
|
|
||||||
type: object
|
|
||||||
queryId:
|
|
||||||
default: VaenaVgh5q5ih7kvyVjgtg
|
|
||||||
example: VaenaVgh5q5ih7kvyVjgtg
|
|
||||||
type: string
|
|
||||||
variables:
|
|
||||||
example: '{"tweet_id": "1349129669258448897"}'
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- queryId
|
|
||||||
- variables
|
|
||||||
- features
|
|
||||||
required: true
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '"VaenaVgh5q5ih7kvyVjgtg"'
|
||||||
|
example: '"VaenaVgh5q5ih7kvyVjgtg"'
|
||||||
|
type: object
|
||||||
|
- in: query
|
||||||
|
name: variables
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"tweet_id": "1349129669258448897"}'
|
||||||
|
example: '{"tweet_id": "1349129669258448897"}'
|
||||||
|
type: object
|
||||||
|
- in: query
|
||||||
|
name: features
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{}'
|
||||||
|
example: '{}'
|
||||||
|
type: object
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -283,32 +295,28 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Post
|
- post
|
||||||
/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
|
/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
|
||||||
post:
|
post:
|
||||||
description: unfavorite Tweet
|
description: unfavorite Tweet
|
||||||
operationId: postUnfavoriteTweet
|
operationId: postUnfavoriteTweet
|
||||||
parameters: []
|
parameters:
|
||||||
requestBody:
|
- in: query
|
||||||
content:
|
name: queryId
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
properties:
|
|
||||||
features:
|
|
||||||
example: '{{Features}}'
|
|
||||||
type: object
|
|
||||||
queryId:
|
|
||||||
default: ZYKSe-w7KEslx3JhSIk5LA
|
|
||||||
example: ZYKSe-w7KEslx3JhSIk5LA
|
|
||||||
type: string
|
|
||||||
variables:
|
|
||||||
example: '{"tweet_id": "1349129669258448897"}'
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- queryId
|
|
||||||
- variables
|
|
||||||
- features
|
|
||||||
required: true
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '"ZYKSe-w7KEslx3JhSIk5LA"'
|
||||||
|
example: '"ZYKSe-w7KEslx3JhSIk5LA"'
|
||||||
|
type: object
|
||||||
|
- in: query
|
||||||
|
name: Parameters
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||||
|
{}}'
|
||||||
|
example: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||||
|
{}}'
|
||||||
|
type: object
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -351,32 +359,28 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Post
|
- post
|
||||||
/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
|
/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
|
||||||
post:
|
post:
|
||||||
description: delete Retweet
|
description: delete Retweet
|
||||||
operationId: postDeleteRetweet
|
operationId: postDeleteRetweet
|
||||||
parameters: []
|
parameters:
|
||||||
requestBody:
|
- in: query
|
||||||
content:
|
name: queryId
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
properties:
|
|
||||||
features:
|
|
||||||
example: '{{Features}}'
|
|
||||||
type: object
|
|
||||||
queryId:
|
|
||||||
default: iQtK4dl5hBmXewYZuEOKVw
|
|
||||||
example: iQtK4dl5hBmXewYZuEOKVw
|
|
||||||
type: string
|
|
||||||
variables:
|
|
||||||
example: '{"tweet_id": "1349129669258448897"}'
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- queryId
|
|
||||||
- variables
|
|
||||||
- features
|
|
||||||
required: true
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '"iQtK4dl5hBmXewYZuEOKVw"'
|
||||||
|
example: '"iQtK4dl5hBmXewYZuEOKVw"'
|
||||||
|
type: object
|
||||||
|
- in: query
|
||||||
|
name: Parameters
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||||
|
{}}'
|
||||||
|
example: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||||
|
{}}'
|
||||||
|
type: object
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -419,32 +423,28 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Post
|
- post
|
||||||
/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
|
/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
|
||||||
post:
|
post:
|
||||||
description: favorite Tweet
|
description: favorite Tweet
|
||||||
operationId: postFavoriteTweet
|
operationId: postFavoriteTweet
|
||||||
parameters: []
|
parameters:
|
||||||
requestBody:
|
- in: query
|
||||||
content:
|
name: queryId
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
properties:
|
|
||||||
features:
|
|
||||||
example: '{{Features}}'
|
|
||||||
type: object
|
|
||||||
queryId:
|
|
||||||
default: lI07N6Otwv1PhnEgXILM7A
|
|
||||||
example: lI07N6Otwv1PhnEgXILM7A
|
|
||||||
type: string
|
|
||||||
variables:
|
|
||||||
example: '{"tweet_id": "1349129669258448897"}'
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- queryId
|
|
||||||
- variables
|
|
||||||
- features
|
|
||||||
required: true
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '"lI07N6Otwv1PhnEgXILM7A"'
|
||||||
|
example: '"lI07N6Otwv1PhnEgXILM7A"'
|
||||||
|
type: object
|
||||||
|
- in: query
|
||||||
|
name: Parameters
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||||
|
{}}'
|
||||||
|
example: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||||
|
{}}'
|
||||||
|
type: object
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -487,32 +487,28 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Post
|
- post
|
||||||
/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
|
/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
|
||||||
post:
|
post:
|
||||||
description: create Retweet
|
description: create Retweet
|
||||||
operationId: postCreateRetweet
|
operationId: postCreateRetweet
|
||||||
parameters: []
|
parameters:
|
||||||
requestBody:
|
- in: query
|
||||||
content:
|
name: queryId
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
properties:
|
|
||||||
features:
|
|
||||||
example: '{{Features}}'
|
|
||||||
type: object
|
|
||||||
queryId:
|
|
||||||
default: ojPdsZsimiJrUGLR1sjUtA
|
|
||||||
example: ojPdsZsimiJrUGLR1sjUtA
|
|
||||||
type: string
|
|
||||||
variables:
|
|
||||||
example: '{"tweet_id": "1349129669258448897"}'
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- queryId
|
|
||||||
- variables
|
|
||||||
- features
|
|
||||||
required: true
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '"ojPdsZsimiJrUGLR1sjUtA"'
|
||||||
|
example: '"ojPdsZsimiJrUGLR1sjUtA"'
|
||||||
|
type: object
|
||||||
|
- in: query
|
||||||
|
name: Parameters
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||||
|
{}}'
|
||||||
|
example: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||||
|
{}}'
|
||||||
|
type: object
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -555,4 +551,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Post
|
- post
|
||||||
|
|
|
||||||
6
dist/typescript/paths/profile.yaml
vendored
6
dist/typescript/paths/profile.yaml
vendored
|
|
@ -63,7 +63,7 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
|
/graphql/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
|
||||||
get:
|
get:
|
||||||
description: get user by screen name
|
description: get user by screen name
|
||||||
operationId: getProfileSpotlightsQuery
|
operationId: getProfileSpotlightsQuery
|
||||||
|
|
@ -72,8 +72,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: 9zwVLJ48lmVUk8u_Gh9DmA
|
default: '"9zwVLJ48lmVUk8u_Gh9DmA"'
|
||||||
example: 9zwVLJ48lmVUk8u_Gh9DmA
|
example: '"9zwVLJ48lmVUk8u_Gh9DmA"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
|
||||||
24
dist/typescript/paths/timeline.yaml
vendored
24
dist/typescript/paths/timeline.yaml
vendored
|
|
@ -47,7 +47,7 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
/graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
||||||
get:
|
get:
|
||||||
description: get tweet list of timeline
|
description: get tweet list of timeline
|
||||||
operationId: getListLatestTweetsTimeline
|
operationId: getListLatestTweetsTimeline
|
||||||
|
|
@ -56,8 +56,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: 2TemLyqrMpTeAmysdbnVqw
|
default: '"2TemLyqrMpTeAmysdbnVqw"'
|
||||||
example: 2TemLyqrMpTeAmysdbnVqw
|
example: '"2TemLyqrMpTeAmysdbnVqw"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -135,8 +135,8 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
|
/graphql/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
|
||||||
get:
|
get:
|
||||||
description: get tweet list of timeline
|
description: get tweet list of timeline
|
||||||
operationId: getHomeTimeline
|
operationId: getHomeTimeline
|
||||||
|
|
@ -145,8 +145,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: HCosKfLNW1AcOo3la3mMgg
|
default: '"HCosKfLNW1AcOo3la3mMgg"'
|
||||||
example: HCosKfLNW1AcOo3la3mMgg
|
example: '"HCosKfLNW1AcOo3la3mMgg"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -226,8 +226,8 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
|
/graphql/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
|
||||||
get:
|
get:
|
||||||
description: get tweet list of timeline
|
description: get tweet list of timeline
|
||||||
operationId: getHomeLatestTimeline
|
operationId: getHomeLatestTimeline
|
||||||
|
|
@ -236,8 +236,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: zhX91JE87mWvfprhYE97xA
|
default: '"zhX91JE87mWvfprhYE97xA"'
|
||||||
example: zhX91JE87mWvfprhYE97xA
|
example: '"zhX91JE87mWvfprhYE97xA"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -317,4 +317,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
|
|
|
||||||
8
dist/typescript/paths/tweet.yaml
vendored
8
dist/typescript/paths/tweet.yaml
vendored
|
|
@ -17,7 +17,7 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
|
/graphql/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
|
||||||
get:
|
get:
|
||||||
description: get TweetDetail
|
description: get TweetDetail
|
||||||
operationId: getTweetDetail
|
operationId: getTweetDetail
|
||||||
|
|
@ -26,8 +26,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: wNNG8DBB8EaXw1lq4vFWGA
|
default: '"wNNG8DBB8EaXw1lq4vFWGA"'
|
||||||
example: wNNG8DBB8EaXw1lq4vFWGA
|
example: '"wNNG8DBB8EaXw1lq4vFWGA"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -111,4 +111,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
|
|
|
||||||
8
dist/typescript/paths/user.yaml
vendored
8
dist/typescript/paths/user.yaml
vendored
|
|
@ -17,7 +17,7 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
|
/graphql/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
|
||||||
get:
|
get:
|
||||||
description: get user by screen name
|
description: get user by screen name
|
||||||
operationId: getUserByScreenName
|
operationId: getUserByScreenName
|
||||||
|
|
@ -26,8 +26,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: sLVLhk0bGj3MVFEKTdax1w
|
default: '"sLVLhk0bGj3MVFEKTdax1w"'
|
||||||
example: sLVLhk0bGj3MVFEKTdax1w
|
example: '"sLVLhk0bGj3MVFEKTdax1w"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -89,4 +89,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- User
|
- user
|
||||||
|
|
|
||||||
32
dist/typescript/paths/usertweets.yaml
vendored
32
dist/typescript/paths/usertweets.yaml
vendored
|
|
@ -32,7 +32,7 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/5fmEkRT-1AdHqEsbVgehMg/Likes:
|
/graphql/5fmEkRT-1AdHqEsbVgehMg/Likes:
|
||||||
get:
|
get:
|
||||||
description: get user likes tweets
|
description: get user likes tweets
|
||||||
operationId: getLikes
|
operationId: getLikes
|
||||||
|
|
@ -41,8 +41,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: 5fmEkRT-1AdHqEsbVgehMg
|
default: '"5fmEkRT-1AdHqEsbVgehMg"'
|
||||||
example: 5fmEkRT-1AdHqEsbVgehMg
|
example: '"5fmEkRT-1AdHqEsbVgehMg"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -124,8 +124,8 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
/HuTx74BxAnezK1gWvYY7zg/UserTweets:
|
/graphql/HuTx74BxAnezK1gWvYY7zg/UserTweets:
|
||||||
get:
|
get:
|
||||||
description: get user tweets
|
description: get user tweets
|
||||||
operationId: getUserTweets
|
operationId: getUserTweets
|
||||||
|
|
@ -134,8 +134,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: HuTx74BxAnezK1gWvYY7zg
|
default: '"HuTx74BxAnezK1gWvYY7zg"'
|
||||||
example: HuTx74BxAnezK1gWvYY7zg
|
example: '"HuTx74BxAnezK1gWvYY7zg"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -217,8 +217,8 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
|
/graphql/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
|
||||||
get:
|
get:
|
||||||
description: get user replies tweets
|
description: get user replies tweets
|
||||||
operationId: getUserTweetsAndReplies
|
operationId: getUserTweetsAndReplies
|
||||||
|
|
@ -227,8 +227,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: RIWc55YCNyUJ-U3HHGYkdg
|
default: '"RIWc55YCNyUJ-U3HHGYkdg"'
|
||||||
example: RIWc55YCNyUJ-U3HHGYkdg
|
example: '"RIWc55YCNyUJ-U3HHGYkdg"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -308,8 +308,8 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
|
/graphql/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
|
||||||
get:
|
get:
|
||||||
description: get user media tweets
|
description: get user media tweets
|
||||||
operationId: getUserMedia
|
operationId: getUserMedia
|
||||||
|
|
@ -318,8 +318,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: YqiE3JL1KNgf9nSljYdxaA
|
default: '"YqiE3JL1KNgf9nSljYdxaA"'
|
||||||
example: YqiE3JL1KNgf9nSljYdxaA
|
example: '"YqiE3JL1KNgf9nSljYdxaA"'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -401,4 +401,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- Tweet
|
- tweet
|
||||||
|
|
|
||||||
48
dist/typescript/paths/v1.1.yaml
vendored
Normal file
48
dist/typescript/paths/v1.1.yaml
vendored
Normal file
|
|
@ -0,0 +1,48 @@
|
||||||
|
info:
|
||||||
|
title: Twitter OpenAPI
|
||||||
|
version: 0.0.1
|
||||||
|
openapi: 3.0.3
|
||||||
|
paths:
|
||||||
|
/1.1/friendships/create.json:
|
||||||
|
post:
|
||||||
|
description: post create friendships
|
||||||
|
operationId: postCreateFriendships
|
||||||
|
responses:
|
||||||
|
'200':
|
||||||
|
description: Successful operation
|
||||||
|
headers:
|
||||||
|
x-connection-hash:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
x-content-type-options:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
x-frame-options:
|
||||||
|
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
|
||||||
|
x-xss-protection:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
tags:
|
||||||
|
- v1.1
|
||||||
Loading…
Add table
Add a link
Reference in a new issue