1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 23:50:26 +01:00
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-05-02 21:59:32 +09:00
parent 3419b5c0ab
commit 3a16f63cc6
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
40 changed files with 2367 additions and 1376 deletions

View file

@ -1,110 +1,246 @@
components:
schemas: {}
securitySchemes:
ActiveUser:
description: 'yes'
in: header
name: x-twitter-active-user
type: apiKey
BearerAuth:
description: AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
scheme: bearer
type: http
ClientLanguage:
description: en
in: header
name: x-twitter-client-language
type: apiKey
CookieAuthToken:
description: HttpOnly cookie
in: cookie
name: auth_token
type: apiKey
CookieCt0:
description: document.cookie.split('; ').find(row => row.startsWith('ct0='));
in: cookie
name: ct0
type: apiKey
CsrfToken:
description: document.cookie.split('; ').find(row => row.startsWith('ct0='));
in: header
name: x-csrf-token
type: apiKey
UserAgent:
description: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/112.0.0.0 Safari/537.36
in: header
name: user-agent
type: apiKey
authType:
description: OAuth2Session if you are logged in
in: header
name: x-twitter-auth-type
type: apiKey
schemas:
User:
properties:
__typename:
$ref: ./typename.yaml#/components/schemas/TypeName
affiliates_highlighted_label:
type: object
business_account:
type: object
has_graduated_access:
type: boolean
has_nft_avatar:
default: false
type: boolean
id:
pattern: ^[a-z\-]+[0-9]+$
type: string
is_blue_verified:
default: false
type: boolean
legacy:
$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:
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
version: 0.0.1
openapi: 3.0.3
paths:
/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
$ref: ./paths/post.yaml#/paths/~11RyAhNwby-gzGCRVsMxKbQ~1CreateTweet
/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
$ref: ./paths/timeline.yaml#/paths/~12TemLyqrMpTeAmysdbnVqw~1ListLatestTweetsTimeline
/5fmEkRT-1AdHqEsbVgehMg/Likes:
$ref: ./paths/usertweets.yaml#/paths/~15fmEkRT-1AdHqEsbVgehMg~1Likes
/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
$ref: ./paths/profile.yaml#/paths/~19zwVLJ48lmVUk8u_Gh9DmA~1ProfileSpotlightsQuery
/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
$ref: ./paths/timeline.yaml#/paths/~1HCosKfLNW1AcOo3la3mMgg~1HomeTimeline
/HuTx74BxAnezK1gWvYY7zg/UserTweets:
$ref: ./paths/usertweets.yaml#/paths/~1HuTx74BxAnezK1gWvYY7zg~1UserTweets
/IWP6Zt14sARO29lJT35bBw/Following:
$ref: ./paths/follow.yaml#/paths/~1IWP6Zt14sARO29lJT35bBw~1Following
/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
$ref: ./paths/usertweets.yaml#/paths/~1RIWc55YCNyUJ-U3HHGYkdg~1UserTweetsAndReplies
/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
$ref: ./paths/post.yaml#/paths/~1VaenaVgh5q5ih7kvyVjgtg~1DeleteTweet
/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
$ref: ./paths/usertweets.yaml#/paths/~1YqiE3JL1KNgf9nSljYdxaA~1UserMedia
/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
$ref: ./paths/post.yaml#/paths/~1ZYKSe-w7KEslx3JhSIk5LA~1UnfavoriteTweet
/djdTXDIk2qhd4OStqlUFeQ/Followers:
$ref: ./paths/follow.yaml#/paths/~1djdTXDIk2qhd4OStqlUFeQ~1Followers
/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
$ref: ./paths/post.yaml#/paths/~1iQtK4dl5hBmXewYZuEOKVw~1DeleteRetweet
/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
$ref: ./paths/post.yaml#/paths/~1lI07N6Otwv1PhnEgXILM7A~1FavoriteTweet
/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
$ref: ./paths/post.yaml#/paths/~1ojPdsZsimiJrUGLR1sjUtA~1CreateRetweet
/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
$ref: ./paths/user.yaml#/paths/~1sLVLhk0bGj3MVFEKTdax1w~1UserByScreenName
/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
$ref: ./paths/bookmarks.yaml#/paths/~1tmd4ifV8RHltzn8ymGg1aw~1Bookmarks
/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
$ref: ./paths/tweet.yaml#/paths/~1wNNG8DBB8EaXw1lq4vFWGA~1TweetDetail
/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
$ref: ./paths/timeline.yaml#/paths/~1zhX91JE87mWvfprhYE97xA~1HomeLatestTimeline
security:
- bearerAuth: []
- 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
/1.1/friendships/create.json:
$ref: ./paths/v1.1.yaml#/paths/~11.1~1friendships~1create.json
/graphql/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1CreateTweet
/graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{{queryId}}~1ListLatestTweetsTimeline
/graphql/5fmEkRT-1AdHqEsbVgehMg/Likes:
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{{queryId}}~1Likes
/graphql/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
$ref: ./paths/profile.yaml#/paths/~1graphql~1{{queryId}}~1ProfileSpotlightsQuery
/graphql/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{{queryId}}~1HomeTimeline
/graphql/HuTx74BxAnezK1gWvYY7zg/UserTweets:
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{{queryId}}~1UserTweets
/graphql/IWP6Zt14sARO29lJT35bBw/Following:
$ref: ./paths/follow.yaml#/paths/~1graphql~1{{queryId}}~1Following
/graphql/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{{queryId}}~1UserTweetsAndReplies
/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1DeleteTweet
/graphql/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{{queryId}}~1UserMedia
/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1UnfavoriteTweet
/graphql/djdTXDIk2qhd4OStqlUFeQ/Followers:
$ref: ./paths/follow.yaml#/paths/~1graphql~1{{queryId}}~1Followers
/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1DeleteRetweet
/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1FavoriteTweet
/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
$ref: ./paths/post.yaml#/paths/~1graphql~1{{queryId}}~1CreateRetweet
/graphql/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
$ref: ./paths/user.yaml#/paths/~1graphql~1{{queryId}}~1UserByScreenName
/graphql/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
$ref: ./paths/bookmarks.yaml#/paths/~1graphql~1{{queryId}}~1Bookmarks
/graphql/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
$ref: ./paths/tweet.yaml#/paths/~1graphql~1{{queryId}}~1TweetDetail
/graphql/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{{queryId}}~1HomeLatestTimeline

View file

@ -23,18 +23,20 @@ info:
version: 0.0.1
openapi: 3.0.3
paths:
/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
/graphql/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
get:
description: get bookmarks
operationId: getBookmarks
parameters:
- in: query
- content:
application/json:
schema:
default: tmd4ifV8RHltzn8ymGg1aw
example: tmd4ifV8RHltzn8ymGg1aw
type: string
in: query
name: queryId
required: true
schema:
default: tmd4ifV8RHltzn8ymGg1aw
example: tmd4ifV8RHltzn8ymGg1aw
type: string
- content:
application/json:
schema:
@ -205,4 +207,4 @@ paths:
schema:
type: integer
tags:
- Tweet
- tweet

View file

@ -38,18 +38,20 @@ info:
version: 0.0.1
openapi: 3.0.3
paths:
/IWP6Zt14sARO29lJT35bBw/Following:
/graphql/IWP6Zt14sARO29lJT35bBw/Following:
get:
description: get user list of following
operationId: getFollowing
parameters:
- in: query
- content:
application/json:
schema:
default: IWP6Zt14sARO29lJT35bBw
example: IWP6Zt14sARO29lJT35bBw
type: string
in: query
name: queryId
required: true
schema:
default: IWP6Zt14sARO29lJT35bBw
example: IWP6Zt14sARO29lJT35bBw
type: string
- content:
application/json:
schema:
@ -220,19 +222,21 @@ paths:
schema:
type: integer
tags:
- UserList
/djdTXDIk2qhd4OStqlUFeQ/Followers:
- userList
/graphql/djdTXDIk2qhd4OStqlUFeQ/Followers:
get:
description: get user list of followers
operationId: getFollowers
parameters:
- in: query
- content:
application/json:
schema:
default: djdTXDIk2qhd4OStqlUFeQ
example: djdTXDIk2qhd4OStqlUFeQ
type: string
in: query
name: queryId
required: true
schema:
default: djdTXDIk2qhd4OStqlUFeQ
example: djdTXDIk2qhd4OStqlUFeQ
type: string
- content:
application/json:
schema:
@ -403,4 +407,4 @@ paths:
schema:
type: integer
tags:
- UserList
- userList

View file

@ -136,11 +136,18 @@ info:
version: 0.0.1
openapi: 3.0.3
paths:
/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
/graphql/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
post:
description: create Tweet
operationId: postCreateTweet
parameters:
- in: query
name: queryId
required: true
schema:
default: 1RyAhNwby-gzGCRVsMxKbQ
example: 1RyAhNwby-gzGCRVsMxKbQ
type: string
- in: query
name: variables
required: true
@ -322,12 +329,19 @@ paths:
schema:
type: integer
tags:
- Post
/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
- post
/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
post:
description: delete Retweet
operationId: postDeleteTweet
parameters:
- in: query
name: queryId
required: true
schema:
default: VaenaVgh5q5ih7kvyVjgtg
example: VaenaVgh5q5ih7kvyVjgtg
type: string
- in: query
name: variables
required: true
@ -340,6 +354,13 @@ paths:
required:
- tweet_id
type: object
- in: query
name: features
required: true
schema:
properties: {}
required: []
type: object
responses:
'200':
content:
@ -382,23 +403,40 @@ paths:
schema:
type: integer
tags:
- Post
/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
- post
/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
post:
description: unfavorite Tweet
operationId: postUnfavoriteTweet
parameters:
- in: query
name: variables
name: queryId
required: true
schema:
default: ZYKSe-w7KEslx3JhSIk5LA
example: ZYKSe-w7KEslx3JhSIk5LA
type: string
- in: query
name: Parameters
required: true
schema:
properties:
tweet_id:
default: '1349129669258448897'
example: '1349129669258448897'
type: string
features:
properties: {}
required: []
type: object
variables:
properties:
tweet_id:
default: '1349129669258448897'
example: '1349129669258448897'
type: string
required:
- tweet_id
type: object
required:
- tweet_id
- variables
- features
type: object
responses:
'200':
@ -442,23 +480,40 @@ paths:
schema:
type: integer
tags:
- Post
/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
- post
/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
post:
description: delete Retweet
operationId: postDeleteRetweet
parameters:
- in: query
name: variables
name: queryId
required: true
schema:
default: iQtK4dl5hBmXewYZuEOKVw
example: iQtK4dl5hBmXewYZuEOKVw
type: string
- in: query
name: Parameters
required: true
schema:
properties:
tweet_id:
default: '1349129669258448897'
example: '1349129669258448897'
type: string
features:
properties: {}
required: []
type: object
variables:
properties:
tweet_id:
default: '1349129669258448897'
example: '1349129669258448897'
type: string
required:
- tweet_id
type: object
required:
- tweet_id
- variables
- features
type: object
responses:
'200':
@ -502,23 +557,40 @@ paths:
schema:
type: integer
tags:
- Post
/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
- post
/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
post:
description: favorite Tweet
operationId: postFavoriteTweet
parameters:
- in: query
name: variables
name: queryId
required: true
schema:
default: lI07N6Otwv1PhnEgXILM7A
example: lI07N6Otwv1PhnEgXILM7A
type: string
- in: query
name: Parameters
required: true
schema:
properties:
tweet_id:
default: '1349129669258448897'
example: '1349129669258448897'
type: string
features:
properties: {}
required: []
type: object
variables:
properties:
tweet_id:
default: '1349129669258448897'
example: '1349129669258448897'
type: string
required:
- tweet_id
type: object
required:
- tweet_id
- variables
- features
type: object
responses:
'200':
@ -562,23 +634,40 @@ paths:
schema:
type: integer
tags:
- Post
/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
- post
/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
post:
description: create Retweet
operationId: postCreateRetweet
parameters:
- in: query
name: variables
name: queryId
required: true
schema:
default: ojPdsZsimiJrUGLR1sjUtA
example: ojPdsZsimiJrUGLR1sjUtA
type: string
- in: query
name: Parameters
required: true
schema:
properties:
tweet_id:
default: '1349129669258448897'
example: '1349129669258448897'
type: string
features:
properties: {}
required: []
type: object
variables:
properties:
tweet_id:
default: '1349129669258448897'
example: '1349129669258448897'
type: string
required:
- tweet_id
type: object
required:
- tweet_id
- variables
- features
type: object
responses:
'200':
@ -622,4 +711,4 @@ paths:
schema:
type: integer
tags:
- Post
- post

View file

@ -63,18 +63,20 @@ info:
version: 0.0.1
openapi: 3.0.3
paths:
/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
/graphql/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
get:
description: get user by screen name
operationId: getProfileSpotlightsQuery
parameters:
- in: query
- content:
application/json:
schema:
default: 9zwVLJ48lmVUk8u_Gh9DmA
example: 9zwVLJ48lmVUk8u_Gh9DmA
type: string
in: query
name: queryId
required: true
schema:
default: 9zwVLJ48lmVUk8u_Gh9DmA
example: 9zwVLJ48lmVUk8u_Gh9DmA
type: string
- content:
application/json:
schema:

View file

@ -47,18 +47,20 @@ info:
version: 0.0.1
openapi: 3.0.3
paths:
/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
/graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
get:
description: get tweet list of timeline
operationId: getListLatestTweetsTimeline
parameters:
- in: query
- content:
application/json:
schema:
default: 2TemLyqrMpTeAmysdbnVqw
example: 2TemLyqrMpTeAmysdbnVqw
type: string
in: query
name: queryId
required: true
schema:
default: 2TemLyqrMpTeAmysdbnVqw
example: 2TemLyqrMpTeAmysdbnVqw
type: string
- content:
application/json:
schema:
@ -224,19 +226,21 @@ paths:
schema:
type: integer
tags:
- Tweet
/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
- tweet
/graphql/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
get:
description: get tweet list of timeline
operationId: getHomeTimeline
parameters:
- in: query
- content:
application/json:
schema:
default: HCosKfLNW1AcOo3la3mMgg
example: HCosKfLNW1AcOo3la3mMgg
type: string
in: query
name: queryId
required: true
schema:
default: HCosKfLNW1AcOo3la3mMgg
example: HCosKfLNW1AcOo3la3mMgg
type: string
- content:
application/json:
schema:
@ -417,19 +421,21 @@ paths:
schema:
type: integer
tags:
- Tweet
/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
- tweet
/graphql/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
get:
description: get tweet list of timeline
operationId: getHomeLatestTimeline
parameters:
- in: query
- content:
application/json:
schema:
default: zhX91JE87mWvfprhYE97xA
example: zhX91JE87mWvfprhYE97xA
type: string
in: query
name: queryId
required: true
schema:
default: zhX91JE87mWvfprhYE97xA
example: zhX91JE87mWvfprhYE97xA
type: string
- content:
application/json:
schema:
@ -605,4 +611,4 @@ paths:
schema:
type: integer
tags:
- Tweet
- tweet

View file

@ -17,18 +17,20 @@ info:
version: 0.0.1
openapi: 3.0.3
paths:
/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
/graphql/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
get:
description: get TweetDetail
operationId: getTweetDetail
parameters:
- in: query
- content:
application/json:
schema:
default: wNNG8DBB8EaXw1lq4vFWGA
example: wNNG8DBB8EaXw1lq4vFWGA
type: string
in: query
name: queryId
required: true
schema:
default: wNNG8DBB8EaXw1lq4vFWGA
example: wNNG8DBB8EaXw1lq4vFWGA
type: string
- content:
application/json:
schema:
@ -224,4 +226,4 @@ paths:
schema:
type: integer
tags:
- Tweet
- tweet

View file

@ -17,18 +17,20 @@ info:
version: 0.0.1
openapi: 3.0.3
paths:
/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
/graphql/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
get:
description: get user by screen name
operationId: getUserByScreenName
parameters:
- in: query
- content:
application/json:
schema:
default: sLVLhk0bGj3MVFEKTdax1w
example: sLVLhk0bGj3MVFEKTdax1w
type: string
in: query
name: queryId
required: true
schema:
default: sLVLhk0bGj3MVFEKTdax1w
example: sLVLhk0bGj3MVFEKTdax1w
type: string
- content:
application/json:
schema:
@ -124,4 +126,4 @@ paths:
schema:
type: integer
tags:
- User
- user

View file

@ -32,18 +32,20 @@ info:
version: 0.0.1
openapi: 3.0.3
paths:
/5fmEkRT-1AdHqEsbVgehMg/Likes:
/graphql/5fmEkRT-1AdHqEsbVgehMg/Likes:
get:
description: get user likes tweets
operationId: getLikes
parameters:
- in: query
- content:
application/json:
schema:
default: 5fmEkRT-1AdHqEsbVgehMg
example: 5fmEkRT-1AdHqEsbVgehMg
type: string
in: query
name: queryId
required: true
schema:
default: 5fmEkRT-1AdHqEsbVgehMg
example: 5fmEkRT-1AdHqEsbVgehMg
type: string
- content:
application/json:
schema:
@ -234,19 +236,21 @@ paths:
schema:
type: integer
tags:
- Tweet
/HuTx74BxAnezK1gWvYY7zg/UserTweets:
- tweet
/graphql/HuTx74BxAnezK1gWvYY7zg/UserTweets:
get:
description: get user tweets
operationId: getUserTweets
parameters:
- in: query
- content:
application/json:
schema:
default: HuTx74BxAnezK1gWvYY7zg
example: HuTx74BxAnezK1gWvYY7zg
type: string
in: query
name: queryId
required: true
schema:
default: HuTx74BxAnezK1gWvYY7zg
example: HuTx74BxAnezK1gWvYY7zg
type: string
- content:
application/json:
schema:
@ -432,19 +436,21 @@ paths:
schema:
type: integer
tags:
- Tweet
/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
- tweet
/graphql/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
get:
description: get user replies tweets
operationId: getUserTweetsAndReplies
parameters:
- in: query
- content:
application/json:
schema:
default: RIWc55YCNyUJ-U3HHGYkdg
example: RIWc55YCNyUJ-U3HHGYkdg
type: string
in: query
name: queryId
required: true
schema:
default: RIWc55YCNyUJ-U3HHGYkdg
example: RIWc55YCNyUJ-U3HHGYkdg
type: string
- content:
application/json:
schema:
@ -630,19 +636,21 @@ paths:
schema:
type: integer
tags:
- Tweet
/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
- tweet
/graphql/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
get:
description: get user media tweets
operationId: getUserMedia
parameters:
- in: query
- content:
application/json:
schema:
default: YqiE3JL1KNgf9nSljYdxaA
example: YqiE3JL1KNgf9nSljYdxaA
type: string
in: query
name: queryId
required: true
schema:
default: YqiE3JL1KNgf9nSljYdxaA
example: YqiE3JL1KNgf9nSljYdxaA
type: string
- content:
application/json:
schema:
@ -833,4 +841,4 @@ paths:
schema:
type: integer
tags:
- Tweet
- tweet

48
dist/docs/paths/v1.1.yaml vendored Normal file
View 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