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
6fbfc323b3
commit
3dbdd17fbb
74 changed files with 16 additions and 9401 deletions
|
|
@ -35,13 +35,6 @@ paths:
|
||||||
default: tmd4ifV8RHltzn8ymGg1aw
|
default: tmd4ifV8RHltzn8ymGg1aw
|
||||||
example: tmd4ifV8RHltzn8ymGg1aw
|
example: tmd4ifV8RHltzn8ymGg1aw
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"tmd4ifV8RHltzn8ymGg1aw"'
|
|
||||||
example: '"tmd4ifV8RHltzn8ymGg1aw"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
required: true
|
required: true
|
||||||
|
|
@ -50,13 +50,6 @@ paths:
|
||||||
default: djdTXDIk2qhd4OStqlUFeQ
|
default: djdTXDIk2qhd4OStqlUFeQ
|
||||||
example: djdTXDIk2qhd4OStqlUFeQ
|
example: djdTXDIk2qhd4OStqlUFeQ
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"djdTXDIk2qhd4OStqlUFeQ"'
|
|
||||||
example: '"djdTXDIk2qhd4OStqlUFeQ"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
required: true
|
required: true
|
||||||
|
|
@ -139,13 +132,6 @@ paths:
|
||||||
default: IWP6Zt14sARO29lJT35bBw
|
default: IWP6Zt14sARO29lJT35bBw
|
||||||
example: IWP6Zt14sARO29lJT35bBw
|
example: IWP6Zt14sARO29lJT35bBw
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"IWP6Zt14sARO29lJT35bBw"'
|
|
||||||
example: '"IWP6Zt14sARO29lJT35bBw"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
required: true
|
required: true
|
||||||
|
|
@ -75,13 +75,6 @@ paths:
|
||||||
default: 9zwVLJ48lmVUk8u_Gh9DmA
|
default: 9zwVLJ48lmVUk8u_Gh9DmA
|
||||||
example: 9zwVLJ48lmVUk8u_Gh9DmA
|
example: 9zwVLJ48lmVUk8u_Gh9DmA
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"9zwVLJ48lmVUk8u_Gh9DmA"'
|
|
||||||
example: '"9zwVLJ48lmVUk8u_Gh9DmA"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
required: true
|
required: true
|
||||||
|
|
@ -59,13 +59,6 @@ paths:
|
||||||
default: zhX91JE87mWvfprhYE97xA
|
default: zhX91JE87mWvfprhYE97xA
|
||||||
example: zhX91JE87mWvfprhYE97xA
|
example: zhX91JE87mWvfprhYE97xA
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"zhX91JE87mWvfprhYE97xA"'
|
|
||||||
example: '"zhX91JE87mWvfprhYE97xA"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
required: true
|
required: true
|
||||||
|
|
@ -148,13 +141,6 @@ paths:
|
||||||
default: HCosKfLNW1AcOo3la3mMgg
|
default: HCosKfLNW1AcOo3la3mMgg
|
||||||
example: HCosKfLNW1AcOo3la3mMgg
|
example: HCosKfLNW1AcOo3la3mMgg
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"HCosKfLNW1AcOo3la3mMgg"'
|
|
||||||
example: '"HCosKfLNW1AcOo3la3mMgg"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
required: true
|
required: true
|
||||||
|
|
@ -237,13 +223,6 @@ paths:
|
||||||
default: 2TemLyqrMpTeAmysdbnVqw
|
default: 2TemLyqrMpTeAmysdbnVqw
|
||||||
example: 2TemLyqrMpTeAmysdbnVqw
|
example: 2TemLyqrMpTeAmysdbnVqw
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"2TemLyqrMpTeAmysdbnVqw"'
|
|
||||||
example: '"2TemLyqrMpTeAmysdbnVqw"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
required: true
|
required: true
|
||||||
|
|
@ -29,13 +29,6 @@ paths:
|
||||||
default: wNNG8DBB8EaXw1lq4vFWGA
|
default: wNNG8DBB8EaXw1lq4vFWGA
|
||||||
example: wNNG8DBB8EaXw1lq4vFWGA
|
example: wNNG8DBB8EaXw1lq4vFWGA
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"wNNG8DBB8EaXw1lq4vFWGA"'
|
|
||||||
example: '"wNNG8DBB8EaXw1lq4vFWGA"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
required: true
|
required: true
|
||||||
|
|
@ -29,13 +29,6 @@ paths:
|
||||||
default: sLVLhk0bGj3MVFEKTdax1w
|
default: sLVLhk0bGj3MVFEKTdax1w
|
||||||
example: sLVLhk0bGj3MVFEKTdax1w
|
example: sLVLhk0bGj3MVFEKTdax1w
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"sLVLhk0bGj3MVFEKTdax1w"'
|
|
||||||
example: '"sLVLhk0bGj3MVFEKTdax1w"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
required: true
|
required: true
|
||||||
|
|
@ -44,13 +44,6 @@ paths:
|
||||||
default: 5fmEkRT-1AdHqEsbVgehMg
|
default: 5fmEkRT-1AdHqEsbVgehMg
|
||||||
example: 5fmEkRT-1AdHqEsbVgehMg
|
example: 5fmEkRT-1AdHqEsbVgehMg
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"5fmEkRT-1AdHqEsbVgehMg"'
|
|
||||||
example: '"5fmEkRT-1AdHqEsbVgehMg"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
required: true
|
required: true
|
||||||
|
|
@ -135,13 +128,6 @@ paths:
|
||||||
default: YqiE3JL1KNgf9nSljYdxaA
|
default: YqiE3JL1KNgf9nSljYdxaA
|
||||||
example: YqiE3JL1KNgf9nSljYdxaA
|
example: YqiE3JL1KNgf9nSljYdxaA
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"YqiE3JL1KNgf9nSljYdxaA"'
|
|
||||||
example: '"YqiE3JL1KNgf9nSljYdxaA"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
required: true
|
required: true
|
||||||
|
|
@ -226,13 +212,6 @@ paths:
|
||||||
default: HuTx74BxAnezK1gWvYY7zg
|
default: HuTx74BxAnezK1gWvYY7zg
|
||||||
example: HuTx74BxAnezK1gWvYY7zg
|
example: HuTx74BxAnezK1gWvYY7zg
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"HuTx74BxAnezK1gWvYY7zg"'
|
|
||||||
example: '"HuTx74BxAnezK1gWvYY7zg"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
required: true
|
required: true
|
||||||
|
|
@ -317,13 +296,6 @@ paths:
|
||||||
default: RIWc55YCNyUJ-U3HHGYkdg
|
default: RIWc55YCNyUJ-U3HHGYkdg
|
||||||
example: RIWc55YCNyUJ-U3HHGYkdg
|
example: RIWc55YCNyUJ-U3HHGYkdg
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"RIWc55YCNyUJ-U3HHGYkdg"'
|
|
||||||
example: '"RIWc55YCNyUJ-U3HHGYkdg"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
required: true
|
required: true
|
||||||
|
|
@ -234,6 +234,14 @@ components:
|
||||||
type: boolean
|
type: boolean
|
||||||
retweeted_status_result:
|
retweeted_status_result:
|
||||||
$ref: ./content.yaml#/components/schemas/ItemResult
|
$ref: ./content.yaml#/components/schemas/ItemResult
|
||||||
|
self_thread:
|
||||||
|
properties:
|
||||||
|
id_str:
|
||||||
|
pattern: ^[0-9]+$
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- id_str
|
||||||
|
type: object
|
||||||
user_id_str:
|
user_id_str:
|
||||||
pattern: ^[0-9]+$
|
pattern: ^[0-9]+$
|
||||||
type: string
|
type: string
|
||||||
117
dist/dart/openapi-3.0.yaml
vendored
117
dist/dart/openapi-3.0.yaml
vendored
|
|
@ -1,117 +0,0 @@
|
||||||
components:
|
|
||||||
schemas: {}
|
|
||||||
securitySchemes:
|
|
||||||
AuthType:
|
|
||||||
description: OAuth2Session if you are logged in
|
|
||||||
in: header
|
|
||||||
name: x-twitter-auth-type
|
|
||||||
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: ''
|
|
||||||
in: header
|
|
||||||
name: x-csrf-token
|
|
||||||
type: apiKey
|
|
||||||
GuestToken:
|
|
||||||
description: document.cookie.split('; ').find(row => row.startsWith('gt='));
|
|
||||||
in: header
|
|
||||||
name: x-guest-token
|
|
||||||
type: apiKey
|
|
||||||
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:
|
|
||||||
/1.1/friends/following/list.json:
|
|
||||||
$ref: ./paths/v1.1-get.yaml#/paths/~11.1~1friends~1following~1list.json
|
|
||||||
/1.1/friendships/create.json:
|
|
||||||
$ref: ./paths/v1.1-post.yaml#/paths/~11.1~1friendships~1create.json
|
|
||||||
/1.1/friendships/destroy.json:
|
|
||||||
$ref: ./paths/v1.1-post.yaml#/paths/~11.1~1friendships~1destroy.json
|
|
||||||
/1.1/search/typeahead.json:
|
|
||||||
$ref: ./paths/v1.1-get.yaml#/paths/~11.1~1search~1typeahead.json
|
|
||||||
/2/search/adaptive.json:
|
|
||||||
$ref: ./paths/v2.0-get.yaml#/paths/~12~1search~1adaptive.json
|
|
||||||
/graphql/{pathQueryId}/Bookmarks:
|
|
||||||
$ref: ./paths/bookmarks.yaml#/paths/~1graphql~1{pathQueryId}~1Bookmarks
|
|
||||||
/graphql/{pathQueryId}/CreateRetweet:
|
|
||||||
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1CreateRetweet
|
|
||||||
/graphql/{pathQueryId}/CreateTweet:
|
|
||||||
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1CreateTweet
|
|
||||||
/graphql/{pathQueryId}/DeleteRetweet:
|
|
||||||
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1DeleteRetweet
|
|
||||||
/graphql/{pathQueryId}/DeleteTweet:
|
|
||||||
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1DeleteTweet
|
|
||||||
/graphql/{pathQueryId}/FavoriteTweet:
|
|
||||||
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1FavoriteTweet
|
|
||||||
/graphql/{pathQueryId}/Followers:
|
|
||||||
$ref: ./paths/follow.yaml#/paths/~1graphql~1{pathQueryId}~1Followers
|
|
||||||
/graphql/{pathQueryId}/Following:
|
|
||||||
$ref: ./paths/follow.yaml#/paths/~1graphql~1{pathQueryId}~1Following
|
|
||||||
/graphql/{pathQueryId}/HomeLatestTimeline:
|
|
||||||
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{pathQueryId}~1HomeLatestTimeline
|
|
||||||
/graphql/{pathQueryId}/HomeTimeline:
|
|
||||||
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{pathQueryId}~1HomeTimeline
|
|
||||||
/graphql/{pathQueryId}/Likes:
|
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{pathQueryId}~1Likes
|
|
||||||
/graphql/{pathQueryId}/ListLatestTweetsTimeline:
|
|
||||||
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{pathQueryId}~1ListLatestTweetsTimeline
|
|
||||||
/graphql/{pathQueryId}/ProfileSpotlightsQuery:
|
|
||||||
$ref: ./paths/profile.yaml#/paths/~1graphql~1{pathQueryId}~1ProfileSpotlightsQuery
|
|
||||||
/graphql/{pathQueryId}/TweetDetail:
|
|
||||||
$ref: ./paths/tweet.yaml#/paths/~1graphql~1{pathQueryId}~1TweetDetail
|
|
||||||
/graphql/{pathQueryId}/UnfavoriteTweet:
|
|
||||||
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1UnfavoriteTweet
|
|
||||||
/graphql/{pathQueryId}/UserByScreenName:
|
|
||||||
$ref: ./paths/user.yaml#/paths/~1graphql~1{pathQueryId}~1UserByScreenName
|
|
||||||
/graphql/{pathQueryId}/UserMedia:
|
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{pathQueryId}~1UserMedia
|
|
||||||
/graphql/{pathQueryId}/UserTweets:
|
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{pathQueryId}~1UserTweets
|
|
||||||
/graphql/{pathQueryId}/UserTweetsAndReplies:
|
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{pathQueryId}~1UserTweetsAndReplies
|
|
||||||
/other:
|
|
||||||
$ref: ./paths/other.yaml#/paths/~1other
|
|
||||||
security:
|
|
||||||
- CsrfToken: []
|
|
||||||
- CookieCt0: []
|
|
||||||
- GuestToken: []
|
|
||||||
- CookieAuthToken: []
|
|
||||||
- AuthType: []
|
|
||||||
servers:
|
|
||||||
- url: https://twitter.com/i/api
|
|
||||||
tags:
|
|
||||||
- description: response User
|
|
||||||
name: user
|
|
||||||
- description: response User list
|
|
||||||
name: user-list
|
|
||||||
- description: response tweet
|
|
||||||
name: tweet
|
|
||||||
- description: post
|
|
||||||
name: post
|
|
||||||
- description: legacy APIs get
|
|
||||||
name: v1.1-get
|
|
||||||
- description: legacy APIs post
|
|
||||||
name: v1.1-post
|
|
||||||
- description: legacy APIs get
|
|
||||||
name: v2.0-get
|
|
||||||
- description: legacy APIs post
|
|
||||||
name: v2.0-post
|
|
||||||
- description: other
|
|
||||||
name: other
|
|
||||||
141
dist/dart/paths/bookmarks.yaml
vendored
141
dist/dart/paths/bookmarks.yaml
vendored
|
|
@ -1,141 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
BookmarksResponse:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/BookmarksResponseData'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
BookmarksResponseData:
|
|
||||||
properties:
|
|
||||||
bookmark_timeline_v2:
|
|
||||||
$ref: '#/components/schemas/BookmarksTimeline'
|
|
||||||
required:
|
|
||||||
- bookmark_timeline_v2
|
|
||||||
BookmarksTimeline:
|
|
||||||
properties:
|
|
||||||
timeline:
|
|
||||||
$ref: ./../schemas/timeline.yaml#/components/schemas/Timeline
|
|
||||||
required:
|
|
||||||
- timeline
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths:
|
|
||||||
/graphql/{pathQueryId}/Bookmarks:
|
|
||||||
get:
|
|
||||||
description: get bookmarks
|
|
||||||
operationId: getBookmarks
|
|
||||||
parameters:
|
|
||||||
- in: header
|
|
||||||
name: user-agent
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: authorization
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
|
||||||
description: It is a constant value and does not need to be changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-active-user
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'yes'
|
|
||||||
description: Unknown what this value means.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-client-language
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: en
|
|
||||||
description: language code.
|
|
||||||
type: string
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: tmd4ifV8RHltzn8ymGg1aw
|
|
||||||
example: tmd4ifV8RHltzn8ymGg1aw
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"tmd4ifV8RHltzn8ymGg1aw"'
|
|
||||||
example: '"tmd4ifV8RHltzn8ymGg1aw"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"count": 20, "includePromotedContent": true}'
|
|
||||||
example: '{"count": 20, "includePromotedContent": true}'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: features
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"graphql_timeline_v2_bookmark_timeline": true, "blue_business_profile_image_shape_enabled":
|
|
||||||
true, "responsive_web_graphql_exclude_directive_enabled": true, "verified_phone_label_enabled":
|
|
||||||
false, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
example: '{"graphql_timeline_v2_bookmark_timeline": true, "blue_business_profile_image_shape_enabled":
|
|
||||||
true, "responsive_web_graphql_exclude_directive_enabled": true, "verified_phone_label_enabled":
|
|
||||||
false, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/BookmarksResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- tweet
|
|
||||||
276
dist/dart/paths/follow.yaml
vendored
276
dist/dart/paths/follow.yaml
vendored
|
|
@ -1,276 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
FollowResponse:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/FollowResponseData'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
FollowResponseData:
|
|
||||||
properties:
|
|
||||||
user:
|
|
||||||
$ref: '#/components/schemas/FollowResponseUser'
|
|
||||||
required:
|
|
||||||
- user
|
|
||||||
FollowResponseResult:
|
|
||||||
properties:
|
|
||||||
__typename:
|
|
||||||
$ref: ./../schemas/typename.yaml#/components/schemas/TypeName
|
|
||||||
timeline:
|
|
||||||
$ref: '#/components/schemas/FollowTimeline'
|
|
||||||
required:
|
|
||||||
- __typename
|
|
||||||
- timeline
|
|
||||||
FollowResponseUser:
|
|
||||||
properties:
|
|
||||||
result:
|
|
||||||
$ref: '#/components/schemas/FollowResponseResult'
|
|
||||||
required:
|
|
||||||
- result
|
|
||||||
FollowTimeline:
|
|
||||||
properties:
|
|
||||||
timeline:
|
|
||||||
$ref: ./../schemas/timeline.yaml#/components/schemas/Timeline
|
|
||||||
required:
|
|
||||||
- timeline
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths:
|
|
||||||
/graphql/{pathQueryId}/Followers:
|
|
||||||
get:
|
|
||||||
description: get user list of followers
|
|
||||||
operationId: getFollowers
|
|
||||||
parameters:
|
|
||||||
- in: header
|
|
||||||
name: user-agent
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: authorization
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
|
||||||
description: It is a constant value and does not need to be changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-active-user
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'yes'
|
|
||||||
description: Unknown what this value means.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-client-language
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: en
|
|
||||||
description: language code.
|
|
||||||
type: string
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: djdTXDIk2qhd4OStqlUFeQ
|
|
||||||
example: djdTXDIk2qhd4OStqlUFeQ
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"djdTXDIk2qhd4OStqlUFeQ"'
|
|
||||||
example: '"djdTXDIk2qhd4OStqlUFeQ"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"userId": "44196397", "count": 20, "includePromotedContent":
|
|
||||||
false}'
|
|
||||||
example: '{"userId": "44196397", "count": 20, "includePromotedContent":
|
|
||||||
false}'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: features
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/FollowResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- user-list
|
|
||||||
/graphql/{pathQueryId}/Following:
|
|
||||||
get:
|
|
||||||
description: get user list of following
|
|
||||||
operationId: getFollowing
|
|
||||||
parameters:
|
|
||||||
- in: header
|
|
||||||
name: user-agent
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: authorization
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
|
||||||
description: It is a constant value and does not need to be changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-active-user
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'yes'
|
|
||||||
description: Unknown what this value means.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-client-language
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: en
|
|
||||||
description: language code.
|
|
||||||
type: string
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: IWP6Zt14sARO29lJT35bBw
|
|
||||||
example: IWP6Zt14sARO29lJT35bBw
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"IWP6Zt14sARO29lJT35bBw"'
|
|
||||||
example: '"IWP6Zt14sARO29lJT35bBw"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"userId": "44196397", "count": 20, "includePromotedContent":
|
|
||||||
false}'
|
|
||||||
example: '{"userId": "44196397", "count": 20, "includePromotedContent":
|
|
||||||
false}'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: features
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/FollowResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- user-list
|
|
||||||
876
dist/dart/paths/post.yaml
vendored
876
dist/dart/paths/post.yaml
vendored
|
|
@ -1,876 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
CreateRetweet:
|
|
||||||
properties:
|
|
||||||
result:
|
|
||||||
$ref: '#/components/schemas/Retweet'
|
|
||||||
required:
|
|
||||||
- result
|
|
||||||
CreateRetweetResponse:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/CreateRetweetResponseData'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
CreateRetweetResponseData:
|
|
||||||
properties:
|
|
||||||
create_retweet:
|
|
||||||
$ref: '#/components/schemas/CreateRetweetResponseResult'
|
|
||||||
required:
|
|
||||||
- create_retweet
|
|
||||||
CreateRetweetResponseResult:
|
|
||||||
properties:
|
|
||||||
retweet_results:
|
|
||||||
$ref: '#/components/schemas/CreateRetweet'
|
|
||||||
required:
|
|
||||||
- retweet_results
|
|
||||||
CreateTweet:
|
|
||||||
properties:
|
|
||||||
result:
|
|
||||||
$ref: ./../schemas/tweet.yaml#/components/schemas/Tweet
|
|
||||||
required:
|
|
||||||
- result
|
|
||||||
CreateTweetResponse:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/CreateTweetResponseData'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
CreateTweetResponseData:
|
|
||||||
properties:
|
|
||||||
create_tweet:
|
|
||||||
$ref: '#/components/schemas/CreateTweetResponseResult'
|
|
||||||
required:
|
|
||||||
- create_tweet
|
|
||||||
CreateTweetResponseResult:
|
|
||||||
properties:
|
|
||||||
tweet_results:
|
|
||||||
$ref: '#/components/schemas/CreateTweet'
|
|
||||||
required:
|
|
||||||
- tweet_results
|
|
||||||
DeleteRetweet:
|
|
||||||
properties:
|
|
||||||
result:
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/Retweet'
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- result
|
|
||||||
DeleteRetweetResponse:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/DeleteRetweetResponseData'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
DeleteRetweetResponseData:
|
|
||||||
properties:
|
|
||||||
create_retweet:
|
|
||||||
$ref: '#/components/schemas/CreateRetweetResponseResult'
|
|
||||||
required:
|
|
||||||
- unretweet
|
|
||||||
DeleteRetweetResponseResult:
|
|
||||||
properties:
|
|
||||||
retweet_results:
|
|
||||||
$ref: '#/components/schemas/DeleteRetweet'
|
|
||||||
required:
|
|
||||||
- source_tweet_results
|
|
||||||
DeleteTweetResponse:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/DeleteTweetResponseData'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
DeleteTweetResponseData:
|
|
||||||
properties:
|
|
||||||
delete_retweet:
|
|
||||||
$ref: '#/components/schemas/DeleteTweetResponseResult'
|
|
||||||
required:
|
|
||||||
- delete_tweet
|
|
||||||
DeleteTweetResponseResult:
|
|
||||||
properties:
|
|
||||||
tweet_results:
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- tweet_results
|
|
||||||
FavoriteTweet:
|
|
||||||
properties:
|
|
||||||
favorite_tweet:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- favorite_tweet
|
|
||||||
FavoriteTweetResponseData:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/FavoriteTweet'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
Retweet:
|
|
||||||
properties:
|
|
||||||
legacy:
|
|
||||||
properties:
|
|
||||||
full_text:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- full_text
|
|
||||||
type: object
|
|
||||||
rest_id:
|
|
||||||
pattern: ^[0-9]+$
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- rest_id
|
|
||||||
- legacy
|
|
||||||
UnfavoriteTweet:
|
|
||||||
properties:
|
|
||||||
unfavorite_tweet:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- unfavorite_tweet
|
|
||||||
UnfavoriteTweetResponseData:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/UnfavoriteTweet'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths:
|
|
||||||
/graphql/{pathQueryId}/CreateRetweet:
|
|
||||||
post:
|
|
||||||
description: create Retweet
|
|
||||||
operationId: postCreateRetweet
|
|
||||||
parameters:
|
|
||||||
- in: header
|
|
||||||
name: user-agent
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: authorization
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
|
||||||
description: It is a constant value and does not need to be changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-active-user
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'yes'
|
|
||||||
description: Unknown what this value means.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-client-language
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: en
|
|
||||||
description: language code.
|
|
||||||
type: string
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: ojPdsZsimiJrUGLR1sjUtA
|
|
||||||
example: ojPdsZsimiJrUGLR1sjUtA
|
|
||||||
type: string
|
|
||||||
requestBody:
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
properties:
|
|
||||||
queryId:
|
|
||||||
default: ojPdsZsimiJrUGLR1sjUtA
|
|
||||||
example: ojPdsZsimiJrUGLR1sjUtA
|
|
||||||
type: string
|
|
||||||
variables:
|
|
||||||
properties:
|
|
||||||
dark_request:
|
|
||||||
default: false
|
|
||||||
example: false
|
|
||||||
type: boolean
|
|
||||||
tweet_id:
|
|
||||||
default: '1349129669258448897'
|
|
||||||
example: '1349129669258448897'
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- tweet_id
|
|
||||||
- dark_request
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- queryId
|
|
||||||
- variables
|
|
||||||
description: body
|
|
||||||
required: true
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/CreateRetweetResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- post
|
|
||||||
/graphql/{pathQueryId}/CreateTweet:
|
|
||||||
post:
|
|
||||||
description: create Tweet
|
|
||||||
operationId: postCreateTweet
|
|
||||||
parameters:
|
|
||||||
- in: header
|
|
||||||
name: user-agent
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: authorization
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
|
||||||
description: It is a constant value and does not need to be changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-active-user
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'yes'
|
|
||||||
description: Unknown what this value means.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-client-language
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: en
|
|
||||||
description: language code.
|
|
||||||
type: string
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1RyAhNwby-gzGCRVsMxKbQ
|
|
||||||
example: 1RyAhNwby-gzGCRVsMxKbQ
|
|
||||||
type: string
|
|
||||||
requestBody:
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
properties:
|
|
||||||
features:
|
|
||||||
properties:
|
|
||||||
blue_business_profile_image_shape_enabled:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
freedom_of_speech_not_reach_fetch_enabled:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
graphql_is_translatable_rweb_tweet_is_translatable_enabled:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
interactive_text_enabled:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
longform_notetweets_consumption_enabled:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
longform_notetweets_rich_text_read_enabled:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
responsive_web_edit_tweet_api_enabled:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
responsive_web_enhance_cards_enabled:
|
|
||||||
default: false
|
|
||||||
example: false
|
|
||||||
type: boolean
|
|
||||||
responsive_web_graphql_exclude_directive_enabled:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
responsive_web_graphql_skip_user_profile_image_extensions_enabled:
|
|
||||||
default: false
|
|
||||||
example: false
|
|
||||||
type: boolean
|
|
||||||
responsive_web_graphql_timeline_navigation_enabled:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
responsive_web_text_conversations_enabled:
|
|
||||||
default: false
|
|
||||||
example: false
|
|
||||||
type: boolean
|
|
||||||
standardized_nudges_misinfo:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
tweet_awards_web_tipping_enabled:
|
|
||||||
default: false
|
|
||||||
example: false
|
|
||||||
type: boolean
|
|
||||||
tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled:
|
|
||||||
default: false
|
|
||||||
example: false
|
|
||||||
type: boolean
|
|
||||||
tweetypie_unmention_optimization_enabled:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
verified_phone_label_enabled:
|
|
||||||
default: false
|
|
||||||
example: false
|
|
||||||
type: boolean
|
|
||||||
vibe_api_enabled:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
view_counts_everywhere_api_enabled:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
required:
|
|
||||||
- tweetypie_unmention_optimization_enabled
|
|
||||||
- vibe_api_enabled
|
|
||||||
- responsive_web_edit_tweet_api_enabled
|
|
||||||
- graphql_is_translatable_rweb_tweet_is_translatable_enabled
|
|
||||||
- view_counts_everywhere_api_enabled
|
|
||||||
- longform_notetweets_consumption_enabled
|
|
||||||
- tweet_awards_web_tipping_enabled
|
|
||||||
- interactive_text_enabled
|
|
||||||
- responsive_web_text_conversations_enabled
|
|
||||||
- longform_notetweets_rich_text_read_enabled
|
|
||||||
- blue_business_profile_image_shape_enabled
|
|
||||||
- responsive_web_graphql_exclude_directive_enabled
|
|
||||||
- verified_phone_label_enabled
|
|
||||||
- freedom_of_speech_not_reach_fetch_enabled
|
|
||||||
- standardized_nudges_misinfo
|
|
||||||
- tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled
|
|
||||||
- responsive_web_graphql_skip_user_profile_image_extensions_enabled
|
|
||||||
- responsive_web_graphql_timeline_navigation_enabled
|
|
||||||
- responsive_web_enhance_cards_enabled
|
|
||||||
type: object
|
|
||||||
queryId:
|
|
||||||
default: 1RyAhNwby-gzGCRVsMxKbQ
|
|
||||||
example: 1RyAhNwby-gzGCRVsMxKbQ
|
|
||||||
type: string
|
|
||||||
variables:
|
|
||||||
properties:
|
|
||||||
dark_request:
|
|
||||||
default: false
|
|
||||||
example: false
|
|
||||||
type: boolean
|
|
||||||
media:
|
|
||||||
properties:
|
|
||||||
media_entities:
|
|
||||||
items:
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
possibly_sensitive:
|
|
||||||
default: false
|
|
||||||
example: false
|
|
||||||
type: boolean
|
|
||||||
required:
|
|
||||||
- media_entities
|
|
||||||
- possibly_sensitive
|
|
||||||
type: object
|
|
||||||
semantic_annotation_ids:
|
|
||||||
items:
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
tweet_text:
|
|
||||||
default: test
|
|
||||||
example: test
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- tweet_text
|
|
||||||
- media
|
|
||||||
- semantic_annotation_ids
|
|
||||||
- dark_request
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- queryId
|
|
||||||
- variables
|
|
||||||
- features
|
|
||||||
description: body
|
|
||||||
required: true
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/CreateTweetResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- post
|
|
||||||
/graphql/{pathQueryId}/DeleteRetweet:
|
|
||||||
post:
|
|
||||||
description: delete Retweet
|
|
||||||
operationId: postDeleteRetweet
|
|
||||||
parameters:
|
|
||||||
- in: header
|
|
||||||
name: user-agent
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: authorization
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
|
||||||
description: It is a constant value and does not need to be changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-active-user
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'yes'
|
|
||||||
description: Unknown what this value means.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-client-language
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: en
|
|
||||||
description: language code.
|
|
||||||
type: string
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: iQtK4dl5hBmXewYZuEOKVw
|
|
||||||
example: iQtK4dl5hBmXewYZuEOKVw
|
|
||||||
type: string
|
|
||||||
requestBody:
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
properties:
|
|
||||||
queryId:
|
|
||||||
default: iQtK4dl5hBmXewYZuEOKVw
|
|
||||||
example: iQtK4dl5hBmXewYZuEOKVw
|
|
||||||
type: string
|
|
||||||
variables:
|
|
||||||
properties:
|
|
||||||
dark_request:
|
|
||||||
default: false
|
|
||||||
example: false
|
|
||||||
type: boolean
|
|
||||||
source_tweet_id:
|
|
||||||
default: '1349129669258448897'
|
|
||||||
example: '1349129669258448897'
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- source_tweet_id
|
|
||||||
- dark_request
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- queryId
|
|
||||||
- variables
|
|
||||||
description: body
|
|
||||||
required: true
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/DeleteRetweetResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- post
|
|
||||||
/graphql/{pathQueryId}/DeleteTweet:
|
|
||||||
post:
|
|
||||||
description: delete Retweet
|
|
||||||
operationId: postDeleteTweet
|
|
||||||
parameters:
|
|
||||||
- in: header
|
|
||||||
name: user-agent
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: authorization
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
|
||||||
description: It is a constant value and does not need to be changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-active-user
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'yes'
|
|
||||||
description: Unknown what this value means.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-client-language
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: en
|
|
||||||
description: language code.
|
|
||||||
type: string
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: VaenaVgh5q5ih7kvyVjgtg
|
|
||||||
example: VaenaVgh5q5ih7kvyVjgtg
|
|
||||||
type: string
|
|
||||||
requestBody:
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
properties:
|
|
||||||
queryId:
|
|
||||||
default: VaenaVgh5q5ih7kvyVjgtg
|
|
||||||
example: VaenaVgh5q5ih7kvyVjgtg
|
|
||||||
type: string
|
|
||||||
variables:
|
|
||||||
properties:
|
|
||||||
dark_request:
|
|
||||||
default: false
|
|
||||||
example: false
|
|
||||||
type: boolean
|
|
||||||
tweet_id:
|
|
||||||
default: '1349129669258448897'
|
|
||||||
example: '1349129669258448897'
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- tweet_id
|
|
||||||
- dark_request
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- queryId
|
|
||||||
- variables
|
|
||||||
description: body
|
|
||||||
required: true
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/DeleteTweetResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- post
|
|
||||||
/graphql/{pathQueryId}/FavoriteTweet:
|
|
||||||
post:
|
|
||||||
description: favorite Tweet
|
|
||||||
operationId: postFavoriteTweet
|
|
||||||
parameters:
|
|
||||||
- in: header
|
|
||||||
name: user-agent
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: authorization
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
|
||||||
description: It is a constant value and does not need to be changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-active-user
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'yes'
|
|
||||||
description: Unknown what this value means.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-client-language
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: en
|
|
||||||
description: language code.
|
|
||||||
type: string
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: lI07N6Otwv1PhnEgXILM7A
|
|
||||||
example: lI07N6Otwv1PhnEgXILM7A
|
|
||||||
type: string
|
|
||||||
requestBody:
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
properties:
|
|
||||||
queryId:
|
|
||||||
default: lI07N6Otwv1PhnEgXILM7A
|
|
||||||
example: lI07N6Otwv1PhnEgXILM7A
|
|
||||||
type: string
|
|
||||||
variables:
|
|
||||||
properties:
|
|
||||||
dark_request:
|
|
||||||
default: false
|
|
||||||
example: false
|
|
||||||
type: boolean
|
|
||||||
tweet_id:
|
|
||||||
default: '1349129669258448897'
|
|
||||||
example: '1349129669258448897'
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- tweet_id
|
|
||||||
- dark_request
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- queryId
|
|
||||||
- variables
|
|
||||||
description: body
|
|
||||||
required: true
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/FavoriteTweetResponseData'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- post
|
|
||||||
/graphql/{pathQueryId}/UnfavoriteTweet:
|
|
||||||
post:
|
|
||||||
description: unfavorite Tweet
|
|
||||||
operationId: postUnfavoriteTweet
|
|
||||||
parameters:
|
|
||||||
- in: header
|
|
||||||
name: user-agent
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: authorization
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
|
||||||
description: It is a constant value and does not need to be changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-active-user
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'yes'
|
|
||||||
description: Unknown what this value means.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-client-language
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: en
|
|
||||||
description: language code.
|
|
||||||
type: string
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: ZYKSe-w7KEslx3JhSIk5LA
|
|
||||||
example: ZYKSe-w7KEslx3JhSIk5LA
|
|
||||||
type: string
|
|
||||||
requestBody:
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
properties:
|
|
||||||
queryId:
|
|
||||||
default: ZYKSe-w7KEslx3JhSIk5LA
|
|
||||||
example: ZYKSe-w7KEslx3JhSIk5LA
|
|
||||||
type: string
|
|
||||||
variables:
|
|
||||||
properties:
|
|
||||||
dark_request:
|
|
||||||
default: false
|
|
||||||
example: false
|
|
||||||
type: boolean
|
|
||||||
tweet_id:
|
|
||||||
default: '1349129669258448897'
|
|
||||||
example: '1349129669258448897'
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- tweet_id
|
|
||||||
- dark_request
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- queryId
|
|
||||||
- variables
|
|
||||||
description: body
|
|
||||||
required: true
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/UnfavoriteTweetResponseData'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- post
|
|
||||||
159
dist/dart/paths/profile.yaml
vendored
159
dist/dart/paths/profile.yaml
vendored
|
|
@ -1,159 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
ProfileResponse:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/ProfileResponseData'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
ProfileResponseData:
|
|
||||||
properties:
|
|
||||||
user_result_by_screen_name:
|
|
||||||
$ref: '#/components/schemas/UserResultByScreenName'
|
|
||||||
required:
|
|
||||||
- user_result_by_screen_name
|
|
||||||
UserResultByScreenName:
|
|
||||||
properties:
|
|
||||||
id:
|
|
||||||
pattern: ^[0-9a-zA-Z]+$
|
|
||||||
type: string
|
|
||||||
result:
|
|
||||||
$ref: '#/components/schemas/UserResultByScreenNameResult'
|
|
||||||
required:
|
|
||||||
- id
|
|
||||||
- result
|
|
||||||
UserResultByScreenNameLegacy:
|
|
||||||
properties:
|
|
||||||
blocked_by:
|
|
||||||
type: boolean
|
|
||||||
blocking:
|
|
||||||
type: boolean
|
|
||||||
followed_by:
|
|
||||||
type: boolean
|
|
||||||
following:
|
|
||||||
type: boolean
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
protected:
|
|
||||||
type: boolean
|
|
||||||
screen_name:
|
|
||||||
type: string
|
|
||||||
UserResultByScreenNameResult:
|
|
||||||
properties:
|
|
||||||
__typename:
|
|
||||||
$ref: ./../schemas/typename.yaml#/components/schemas/TypeName
|
|
||||||
id:
|
|
||||||
pattern: ^[0-9a-zA-Z=]+$
|
|
||||||
type: string
|
|
||||||
legacy:
|
|
||||||
$ref: '#/components/schemas/UserResultByScreenNameLegacy'
|
|
||||||
profilemodules:
|
|
||||||
type: object
|
|
||||||
rest_id:
|
|
||||||
pattern: ^[0-9]+$
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- __typename
|
|
||||||
- id
|
|
||||||
- legacy
|
|
||||||
- profilemodules
|
|
||||||
- rest_id
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths:
|
|
||||||
/graphql/{pathQueryId}/ProfileSpotlightsQuery:
|
|
||||||
get:
|
|
||||||
description: get user by screen name
|
|
||||||
operationId: getProfileSpotlightsQuery
|
|
||||||
parameters:
|
|
||||||
- in: header
|
|
||||||
name: user-agent
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: authorization
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
|
||||||
description: It is a constant value and does not need to be changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-active-user
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'yes'
|
|
||||||
description: Unknown what this value means.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-client-language
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: en
|
|
||||||
description: language code.
|
|
||||||
type: string
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 9zwVLJ48lmVUk8u_Gh9DmA
|
|
||||||
example: 9zwVLJ48lmVUk8u_Gh9DmA
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"9zwVLJ48lmVUk8u_Gh9DmA"'
|
|
||||||
example: '"9zwVLJ48lmVUk8u_Gh9DmA"'
|
|
||||||
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
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/ProfileResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
401
dist/dart/paths/timeline.yaml
vendored
401
dist/dart/paths/timeline.yaml
vendored
|
|
@ -1,401 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
HomeTimelineHome:
|
|
||||||
properties:
|
|
||||||
home_timeline_urt:
|
|
||||||
$ref: ./../schemas/timeline.yaml#/components/schemas/Timeline
|
|
||||||
required:
|
|
||||||
- home_timeline_urt
|
|
||||||
HomeTimelineResponseData:
|
|
||||||
properties:
|
|
||||||
home:
|
|
||||||
$ref: '#/components/schemas/HomeTimelineHome'
|
|
||||||
required:
|
|
||||||
- home
|
|
||||||
ListTweetsTimeline:
|
|
||||||
properties:
|
|
||||||
timeline:
|
|
||||||
$ref: ./../schemas/timeline.yaml#/components/schemas/Timeline
|
|
||||||
required:
|
|
||||||
- timeline
|
|
||||||
ListTweetsTimelineData:
|
|
||||||
properties:
|
|
||||||
list:
|
|
||||||
$ref: '#/components/schemas/ListTweetsTimelineList'
|
|
||||||
required:
|
|
||||||
- list
|
|
||||||
ListTweetsTimelineList:
|
|
||||||
properties:
|
|
||||||
tweets_timeline:
|
|
||||||
$ref: '#/components/schemas/ListTweetsTimeline'
|
|
||||||
required:
|
|
||||||
- tweets_timeline
|
|
||||||
ListTweetsTimelineResponse:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/ListTweetsTimelineData'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
TimelineResponse:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/HomeTimelineResponseData'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths:
|
|
||||||
/graphql/{pathQueryId}/HomeLatestTimeline:
|
|
||||||
get:
|
|
||||||
description: get tweet list of timeline
|
|
||||||
operationId: getHomeLatestTimeline
|
|
||||||
parameters:
|
|
||||||
- in: header
|
|
||||||
name: user-agent
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: authorization
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
|
||||||
description: It is a constant value and does not need to be changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-active-user
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'yes'
|
|
||||||
description: Unknown what this value means.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-client-language
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: en
|
|
||||||
description: language code.
|
|
||||||
type: string
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: zhX91JE87mWvfprhYE97xA
|
|
||||||
example: zhX91JE87mWvfprhYE97xA
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"zhX91JE87mWvfprhYE97xA"'
|
|
||||||
example: '"zhX91JE87mWvfprhYE97xA"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
|
||||||
true, "requestContext": "launch"}'
|
|
||||||
example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
|
||||||
true, "requestContext": "launch"}'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: features
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/TimelineResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- tweet
|
|
||||||
/graphql/{pathQueryId}/HomeTimeline:
|
|
||||||
get:
|
|
||||||
description: get tweet list of timeline
|
|
||||||
operationId: getHomeTimeline
|
|
||||||
parameters:
|
|
||||||
- in: header
|
|
||||||
name: user-agent
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: authorization
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
|
||||||
description: It is a constant value and does not need to be changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-active-user
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'yes'
|
|
||||||
description: Unknown what this value means.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-client-language
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: en
|
|
||||||
description: language code.
|
|
||||||
type: string
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: HCosKfLNW1AcOo3la3mMgg
|
|
||||||
example: HCosKfLNW1AcOo3la3mMgg
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"HCosKfLNW1AcOo3la3mMgg"'
|
|
||||||
example: '"HCosKfLNW1AcOo3la3mMgg"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
|
||||||
true, "requestContext": "launch", "withCommunity": true}'
|
|
||||||
example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
|
||||||
true, "requestContext": "launch", "withCommunity": true}'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: features
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/TimelineResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- tweet
|
|
||||||
/graphql/{pathQueryId}/ListLatestTweetsTimeline:
|
|
||||||
get:
|
|
||||||
description: get tweet list of timeline
|
|
||||||
operationId: getListLatestTweetsTimeline
|
|
||||||
parameters:
|
|
||||||
- in: header
|
|
||||||
name: user-agent
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: authorization
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
|
||||||
description: It is a constant value and does not need to be changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-active-user
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'yes'
|
|
||||||
description: Unknown what this value means.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-client-language
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: en
|
|
||||||
description: language code.
|
|
||||||
type: string
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 2TemLyqrMpTeAmysdbnVqw
|
|
||||||
example: 2TemLyqrMpTeAmysdbnVqw
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"2TemLyqrMpTeAmysdbnVqw"'
|
|
||||||
example: '"2TemLyqrMpTeAmysdbnVqw"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"listId": "53044119", "count": 20}'
|
|
||||||
example: '{"listId": "53044119", "count": 20}'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: features
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/ListTweetsTimelineResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- tweet
|
|
||||||
141
dist/dart/paths/tweet.yaml
vendored
141
dist/dart/paths/tweet.yaml
vendored
|
|
@ -1,141 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
TweetDetailResponse:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/TweetDetailResponseData'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
TweetDetailResponseData:
|
|
||||||
properties:
|
|
||||||
threaded_conversation_with_injections_v2:
|
|
||||||
$ref: ./../schemas/timeline.yaml#/components/schemas/Timeline
|
|
||||||
required:
|
|
||||||
- threaded_conversation_with_injections_v2
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths:
|
|
||||||
/graphql/{pathQueryId}/TweetDetail:
|
|
||||||
get:
|
|
||||||
description: get TweetDetail
|
|
||||||
operationId: getTweetDetail
|
|
||||||
parameters:
|
|
||||||
- in: header
|
|
||||||
name: user-agent
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: authorization
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
|
||||||
description: It is a constant value and does not need to be changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-active-user
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'yes'
|
|
||||||
description: Unknown what this value means.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-client-language
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: en
|
|
||||||
description: language code.
|
|
||||||
type: string
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: wNNG8DBB8EaXw1lq4vFWGA
|
|
||||||
example: wNNG8DBB8EaXw1lq4vFWGA
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"wNNG8DBB8EaXw1lq4vFWGA"'
|
|
||||||
example: '"wNNG8DBB8EaXw1lq4vFWGA"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"focalTweetId": "1349129669258448897", "with_rux_injections":
|
|
||||||
false, "includePromotedContent": true, "withCommunity": true, "withQuickPromoteEligibilityTweetFields":
|
|
||||||
true, "withBirdwatchNotes": true, "withVoice": true, "withV2Timeline":
|
|
||||||
true}'
|
|
||||||
example: '{"focalTweetId": "1349129669258448897", "with_rux_injections":
|
|
||||||
false, "includePromotedContent": true, "withCommunity": true, "withQuickPromoteEligibilityTweetFields":
|
|
||||||
true, "withBirdwatchNotes": true, "withVoice": true, "withV2Timeline":
|
|
||||||
true}'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: features
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/TweetDetailResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- tweet
|
|
||||||
119
dist/dart/paths/user.yaml
vendored
119
dist/dart/paths/user.yaml
vendored
|
|
@ -1,119 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
UserResponse:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/UserResponseData'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
UserResponseData:
|
|
||||||
properties:
|
|
||||||
user:
|
|
||||||
$ref: ./../schemas/user.yaml#/components/schemas/UserResults
|
|
||||||
required:
|
|
||||||
- user
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths:
|
|
||||||
/graphql/{pathQueryId}/UserByScreenName:
|
|
||||||
get:
|
|
||||||
description: get user by screen name
|
|
||||||
operationId: getUserByScreenName
|
|
||||||
parameters:
|
|
||||||
- in: header
|
|
||||||
name: user-agent
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: authorization
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
|
||||||
description: It is a constant value and does not need to be changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-active-user
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'yes'
|
|
||||||
description: Unknown what this value means.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-client-language
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: en
|
|
||||||
description: language code.
|
|
||||||
type: string
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: sLVLhk0bGj3MVFEKTdax1w
|
|
||||||
example: sLVLhk0bGj3MVFEKTdax1w
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"sLVLhk0bGj3MVFEKTdax1w"'
|
|
||||||
example: '"sLVLhk0bGj3MVFEKTdax1w"'
|
|
||||||
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
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/UserResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- user
|
|
||||||
512
dist/dart/paths/usertweets.yaml
vendored
512
dist/dart/paths/usertweets.yaml
vendored
|
|
@ -1,512 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
UserTweetsData:
|
|
||||||
properties:
|
|
||||||
user:
|
|
||||||
$ref: '#/components/schemas/UserTweetsUser'
|
|
||||||
required:
|
|
||||||
- user
|
|
||||||
UserTweetsResponse:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/UserTweetsData'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
UserTweetsResult:
|
|
||||||
properties:
|
|
||||||
__typename:
|
|
||||||
$ref: ./../schemas/typename.yaml#/components/schemas/TypeName
|
|
||||||
timeline_v2:
|
|
||||||
$ref: ./../schemas/timeline.yaml#/components/schemas/TimelineV2
|
|
||||||
required:
|
|
||||||
- __typename
|
|
||||||
- timeline_v2
|
|
||||||
UserTweetsUser:
|
|
||||||
properties:
|
|
||||||
result:
|
|
||||||
$ref: '#/components/schemas/UserTweetsResult'
|
|
||||||
required:
|
|
||||||
- result
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths:
|
|
||||||
/graphql/{pathQueryId}/Likes:
|
|
||||||
get:
|
|
||||||
description: get user likes tweets
|
|
||||||
operationId: getLikes
|
|
||||||
parameters:
|
|
||||||
- in: header
|
|
||||||
name: user-agent
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: authorization
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
|
||||||
description: It is a constant value and does not need to be changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-active-user
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'yes'
|
|
||||||
description: Unknown what this value means.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-client-language
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: en
|
|
||||||
description: language code.
|
|
||||||
type: string
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 5fmEkRT-1AdHqEsbVgehMg
|
|
||||||
example: 5fmEkRT-1AdHqEsbVgehMg
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"5fmEkRT-1AdHqEsbVgehMg"'
|
|
||||||
example: '"5fmEkRT-1AdHqEsbVgehMg"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"userId": "44196397", "count": 20, "includePromotedContent":
|
|
||||||
false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
|
|
||||||
true, "withV2Timeline": true}'
|
|
||||||
example: '{"userId": "44196397", "count": 20, "includePromotedContent":
|
|
||||||
false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
|
|
||||||
true, "withV2Timeline": true}'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: features
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/UserTweetsResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- tweet
|
|
||||||
/graphql/{pathQueryId}/UserMedia:
|
|
||||||
get:
|
|
||||||
description: get user media tweets
|
|
||||||
operationId: getUserMedia
|
|
||||||
parameters:
|
|
||||||
- in: header
|
|
||||||
name: user-agent
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: authorization
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
|
||||||
description: It is a constant value and does not need to be changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-active-user
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'yes'
|
|
||||||
description: Unknown what this value means.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-client-language
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: en
|
|
||||||
description: language code.
|
|
||||||
type: string
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: YqiE3JL1KNgf9nSljYdxaA
|
|
||||||
example: YqiE3JL1KNgf9nSljYdxaA
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"YqiE3JL1KNgf9nSljYdxaA"'
|
|
||||||
example: '"YqiE3JL1KNgf9nSljYdxaA"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
||||||
false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
|
|
||||||
true, "withV2Timeline": true}'
|
|
||||||
example: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
||||||
false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
|
|
||||||
true, "withV2Timeline": true}'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: features
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/UserTweetsResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- tweet
|
|
||||||
/graphql/{pathQueryId}/UserTweets:
|
|
||||||
get:
|
|
||||||
description: get user tweets
|
|
||||||
operationId: getUserTweets
|
|
||||||
parameters:
|
|
||||||
- in: header
|
|
||||||
name: user-agent
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: authorization
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
|
||||||
description: It is a constant value and does not need to be changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-active-user
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'yes'
|
|
||||||
description: Unknown what this value means.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-client-language
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: en
|
|
||||||
description: language code.
|
|
||||||
type: string
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: HuTx74BxAnezK1gWvYY7zg
|
|
||||||
example: HuTx74BxAnezK1gWvYY7zg
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"HuTx74BxAnezK1gWvYY7zg"'
|
|
||||||
example: '"HuTx74BxAnezK1gWvYY7zg"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
||||||
true, "withQuickPromoteEligibilityTweetFields": true, "withVoice": true,
|
|
||||||
"withV2Timeline": true}'
|
|
||||||
example: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
||||||
true, "withQuickPromoteEligibilityTweetFields": true, "withVoice": true,
|
|
||||||
"withV2Timeline": true}'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: features
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/UserTweetsResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- tweet
|
|
||||||
/graphql/{pathQueryId}/UserTweetsAndReplies:
|
|
||||||
get:
|
|
||||||
description: get user replies tweets
|
|
||||||
operationId: getUserTweetsAndReplies
|
|
||||||
parameters:
|
|
||||||
- in: header
|
|
||||||
name: user-agent
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: authorization
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
|
||||||
description: It is a constant value and does not need to be changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-active-user
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'yes'
|
|
||||||
description: Unknown what this value means.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-client-language
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: en
|
|
||||||
description: language code.
|
|
||||||
type: string
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: RIWc55YCNyUJ-U3HHGYkdg
|
|
||||||
example: RIWc55YCNyUJ-U3HHGYkdg
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"RIWc55YCNyUJ-U3HHGYkdg"'
|
|
||||||
example: '"RIWc55YCNyUJ-U3HHGYkdg"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
||||||
true, "withCommunity": true, "withVoice": true, "withV2Timeline": true}'
|
|
||||||
example: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
||||||
true, "withCommunity": true, "withVoice": true, "withV2Timeline": true}'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: features
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/UserTweetsResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- tweet
|
|
||||||
300
dist/dart/paths/v1.1-get.yaml
vendored
300
dist/dart/paths/v1.1-get.yaml
vendored
|
|
@ -1,300 +0,0 @@
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths:
|
|
||||||
/1.1/friends/following/list.json:
|
|
||||||
get:
|
|
||||||
description: get friends following list
|
|
||||||
operationId: getFriendsFollowingList
|
|
||||||
parameters:
|
|
||||||
- in: header
|
|
||||||
name: user-agent
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: authorization
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
|
||||||
description: It is a constant value and does not need to be changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-active-user
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'yes'
|
|
||||||
description: Unknown what this value means.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-client-language
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: en
|
|
||||||
description: language code.
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: include_profile_interstitial_type
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: include_blocking
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: include_blocked_by
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: include_followed_by
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: include_want_retweets
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: include_mute_edge
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: include_can_dm
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: include_can_media_tag
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: include_ext_has_nft_avatar
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: include_ext_is_blue_verified
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: include_ext_verified_type
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: include_ext_profile_image_shape
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: skip_status
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: cursor
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: -1
|
|
||||||
example: -1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: user_id
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '44196397'
|
|
||||||
example: '44196397'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: count
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 3
|
|
||||||
example: 3
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: with_total_count
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
status:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-access-level:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-client-event-enabled:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-content-type-options:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-transaction:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- v1.1-get
|
|
||||||
/1.1/search/typeahead.json:
|
|
||||||
get:
|
|
||||||
description: get search typeahead
|
|
||||||
operationId: getSearchTypeahead
|
|
||||||
parameters:
|
|
||||||
- in: header
|
|
||||||
name: user-agent
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: authorization
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
|
||||||
description: It is a constant value and does not need to be changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-active-user
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'yes'
|
|
||||||
description: Unknown what this value means.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-client-language
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: en
|
|
||||||
description: language code.
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: include_ext_is_blue_verified
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: include_ext_verified_type
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: include_ext_profile_image_shape
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: q
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: test
|
|
||||||
example: test
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: src
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: search_box
|
|
||||||
example: search_box
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: result_type
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: events,users,topics
|
|
||||||
example: events,users,topics
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
status:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-access-level:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-client-event-enabled:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-content-type-options:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-transaction:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- v1.1-get
|
|
||||||
295
dist/dart/paths/v1.1-post.yaml
vendored
295
dist/dart/paths/v1.1-post.yaml
vendored
|
|
@ -1,295 +0,0 @@
|
||||||
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
|
|
||||||
parameters:
|
|
||||||
- in: header
|
|
||||||
name: user-agent
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: authorization
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
|
||||||
description: It is a constant value and does not need to be changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-active-user
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'yes'
|
|
||||||
description: Unknown what this value means.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-client-language
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: en
|
|
||||||
description: language code.
|
|
||||||
type: string
|
|
||||||
requestBody:
|
|
||||||
content:
|
|
||||||
application/x-www-form-urlencoded:
|
|
||||||
schema:
|
|
||||||
properties:
|
|
||||||
include_blocked_by:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
include_blocking:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
include_can_dm:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
include_can_media_tag:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
include_ext_has_nft_avatar:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
include_ext_is_blue_verified:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
include_ext_profile_image_shape:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
include_ext_verified_type:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
include_followed_by:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
include_mute_edge:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
include_profile_interstitial_type:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
include_want_retweets:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
skip_status:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
user_id:
|
|
||||||
default: '44196397'
|
|
||||||
example: '44196397'
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- include_profile_interstitial_type
|
|
||||||
- include_blocking
|
|
||||||
- include_blocked_by
|
|
||||||
- include_followed_by
|
|
||||||
- include_want_retweets
|
|
||||||
- include_mute_edge
|
|
||||||
- include_can_dm
|
|
||||||
- include_can_media_tag
|
|
||||||
- include_ext_has_nft_avatar
|
|
||||||
- include_ext_is_blue_verified
|
|
||||||
- include_ext_verified_type
|
|
||||||
- include_ext_profile_image_shape
|
|
||||||
- skip_status
|
|
||||||
- user_id
|
|
||||||
description: body
|
|
||||||
required: true
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
status:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-access-level:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-client-event-enabled:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-content-type-options:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-transaction:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- v1.1-post
|
|
||||||
/1.1/friendships/destroy.json:
|
|
||||||
post:
|
|
||||||
description: post destroy friendships
|
|
||||||
operationId: postDestroyFriendships
|
|
||||||
parameters:
|
|
||||||
- in: header
|
|
||||||
name: user-agent
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: authorization
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
|
||||||
description: It is a constant value and does not need to be changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-active-user
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'yes'
|
|
||||||
description: Unknown what this value means.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-client-language
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: en
|
|
||||||
description: language code.
|
|
||||||
type: string
|
|
||||||
requestBody:
|
|
||||||
content:
|
|
||||||
application/x-www-form-urlencoded:
|
|
||||||
schema:
|
|
||||||
properties:
|
|
||||||
include_blocked_by:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
include_blocking:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
include_can_dm:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
include_can_media_tag:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
include_ext_has_nft_avatar:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
include_ext_is_blue_verified:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
include_ext_profile_image_shape:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
include_ext_verified_type:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
include_followed_by:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
include_mute_edge:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
include_profile_interstitial_type:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
include_want_retweets:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
skip_status:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
user_id:
|
|
||||||
default: '44196397'
|
|
||||||
example: '44196397'
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- include_profile_interstitial_type
|
|
||||||
- include_blocking
|
|
||||||
- include_blocked_by
|
|
||||||
- include_followed_by
|
|
||||||
- include_want_retweets
|
|
||||||
- include_mute_edge
|
|
||||||
- include_can_dm
|
|
||||||
- include_can_media_tag
|
|
||||||
- include_ext_has_nft_avatar
|
|
||||||
- include_ext_is_blue_verified
|
|
||||||
- include_ext_verified_type
|
|
||||||
- include_ext_profile_image_shape
|
|
||||||
- skip_status
|
|
||||||
- user_id
|
|
||||||
description: body
|
|
||||||
required: true
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
status:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-access-level:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-client-event-enabled:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-content-type-options:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-transaction:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- v1.1-post
|
|
||||||
331
dist/dart/paths/v2.0-get.yaml
vendored
331
dist/dart/paths/v2.0-get.yaml
vendored
|
|
@ -1,331 +0,0 @@
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths:
|
|
||||||
/2/search/adaptive.json:
|
|
||||||
get:
|
|
||||||
description: get search adaptive
|
|
||||||
operationId: getSearchAdaptive
|
|
||||||
parameters:
|
|
||||||
- in: header
|
|
||||||
name: user-agent
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
|
||||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
|
||||||
description: UserAgent, some APIs may be rejected if changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: authorization
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
|
||||||
description: It is a constant value and does not need to be changed.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-active-user
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'yes'
|
|
||||||
description: Unknown what this value means.
|
|
||||||
type: string
|
|
||||||
- in: header
|
|
||||||
name: x-twitter-client-language
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: en
|
|
||||||
description: language code.
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: include_profile_interstitial_type
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: include_blocking
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: include_blocked_by
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: include_followed_by
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: include_want_retweets
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: include_mute_edge
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: include_can_dm
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: include_can_media_tag
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: include_ext_has_nft_avatar
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: include_ext_is_blue_verified
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: include_ext_verified_type
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: include_ext_profile_image_shape
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: skip_status
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: cards_platform
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: Web-12
|
|
||||||
example: Web-12
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: include_cards
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: include_ext_alt_text
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
- in: query
|
|
||||||
name: include_ext_limited_action_results
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: false
|
|
||||||
example: false
|
|
||||||
type: boolean
|
|
||||||
- in: query
|
|
||||||
name: include_quote_count
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
- in: query
|
|
||||||
name: include_reply_count
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: tweet_mode
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: extended
|
|
||||||
example: extended
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: include_ext_views
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
- in: query
|
|
||||||
name: include_entities
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
- in: query
|
|
||||||
name: include_user_entities
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
- in: query
|
|
||||||
name: include_ext_media_color
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
- in: query
|
|
||||||
name: include_ext_media_availability
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
- in: query
|
|
||||||
name: include_ext_sensitive_media_warning
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
- in: query
|
|
||||||
name: include_ext_trusted_friends_metadata
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
- in: query
|
|
||||||
name: send_error_codes
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
- in: query
|
|
||||||
name: simple_quoted_tweet
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
- in: query
|
|
||||||
name: q
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: elon musk
|
|
||||||
example: elon musk
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: query_source
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: trend_click
|
|
||||||
example: trend_click
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: count
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 20
|
|
||||||
example: 20
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: requestContext
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: launch
|
|
||||||
example: launch
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: pc
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: spelling_corrections
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1
|
|
||||||
example: 1
|
|
||||||
type: integer
|
|
||||||
- in: query
|
|
||||||
name: include_ext_edit_control
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
- in: query
|
|
||||||
name: ext
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: mediaStats,highlightedLabel,hasNftAvatar,voiceInfo,birdwatchPivot,enrichments,superFollowMetadata,unmentionInfo,editControl,vibe
|
|
||||||
example: mediaStats,highlightedLabel,hasNftAvatar,voiceInfo,birdwatchPivot,enrichments,superFollowMetadata,unmentionInfo,editControl,vibe
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
status:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-access-level:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-client-event-enabled:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-content-type-options:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-transaction:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- v2.0-get
|
|
||||||
308
dist/dart/schemas/tweet.yaml
vendored
308
dist/dart/schemas/tweet.yaml
vendored
|
|
@ -1,308 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
Entities:
|
|
||||||
properties:
|
|
||||||
hashtags:
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/Hashtag'
|
|
||||||
type: array
|
|
||||||
media:
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/Media'
|
|
||||||
type: array
|
|
||||||
symbols:
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/Symbol'
|
|
||||||
type: array
|
|
||||||
urls:
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/Url'
|
|
||||||
type: array
|
|
||||||
user_mentions:
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/UserMention'
|
|
||||||
type: array
|
|
||||||
required:
|
|
||||||
- hashtags
|
|
||||||
- symbols
|
|
||||||
- user_mentions
|
|
||||||
- urls
|
|
||||||
ExtendedEntities:
|
|
||||||
properties:
|
|
||||||
media:
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/Media'
|
|
||||||
type: array
|
|
||||||
required:
|
|
||||||
- media
|
|
||||||
Hashtag:
|
|
||||||
type: object
|
|
||||||
Media:
|
|
||||||
properties:
|
|
||||||
display_url:
|
|
||||||
format: uri
|
|
||||||
type: string
|
|
||||||
expanded_url:
|
|
||||||
format: uri
|
|
||||||
type: string
|
|
||||||
ext_media_availability:
|
|
||||||
type: object
|
|
||||||
id_str:
|
|
||||||
pattern: ^[0-9]+$
|
|
||||||
type: string
|
|
||||||
indices:
|
|
||||||
items:
|
|
||||||
type: integer
|
|
||||||
type: array
|
|
||||||
media_key:
|
|
||||||
pattern: ^[0-9]+_[0-9]+$
|
|
||||||
type: string
|
|
||||||
media_url_https:
|
|
||||||
format: uri
|
|
||||||
type: string
|
|
||||||
original_info:
|
|
||||||
properties:
|
|
||||||
focus_rects:
|
|
||||||
items:
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
height:
|
|
||||||
type: integer
|
|
||||||
width:
|
|
||||||
type: integer
|
|
||||||
type: object
|
|
||||||
sizes:
|
|
||||||
type: object
|
|
||||||
type:
|
|
||||||
type: string
|
|
||||||
url:
|
|
||||||
format: uri
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- id_str
|
|
||||||
- indices
|
|
||||||
- media_url_https
|
|
||||||
- url
|
|
||||||
- display_url
|
|
||||||
- expanded_url
|
|
||||||
- type
|
|
||||||
- sizes
|
|
||||||
- original_info
|
|
||||||
Symbol:
|
|
||||||
type: object
|
|
||||||
Tweet:
|
|
||||||
properties:
|
|
||||||
__typename:
|
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
||||||
card:
|
|
||||||
properties:
|
|
||||||
legacy:
|
|
||||||
properties:
|
|
||||||
binding_values:
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
key:
|
|
||||||
type: string
|
|
||||||
value:
|
|
||||||
properties:
|
|
||||||
boolean_value:
|
|
||||||
type: boolean
|
|
||||||
scribe_key:
|
|
||||||
type: string
|
|
||||||
string_value:
|
|
||||||
type: string
|
|
||||||
type:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- type
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- key
|
|
||||||
- value
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
url:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- binding_values
|
|
||||||
- name
|
|
||||||
- url
|
|
||||||
type: object
|
|
||||||
rest_id:
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
core:
|
|
||||||
$ref: ./user.yaml#/components/schemas/UserResultCore
|
|
||||||
edit_control:
|
|
||||||
properties:
|
|
||||||
edit_tweet_ids:
|
|
||||||
items:
|
|
||||||
pattern: ^[0-9]+$
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
editable_until_msecs:
|
|
||||||
pattern: ^[0-9]+$
|
|
||||||
type: string
|
|
||||||
edits_remaining:
|
|
||||||
pattern: ^[0-9]+$
|
|
||||||
type: string
|
|
||||||
is_edit_eligible:
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
edit_prespective:
|
|
||||||
properties:
|
|
||||||
favorited:
|
|
||||||
type: boolean
|
|
||||||
retweeted:
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
is_translatable:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
legacy:
|
|
||||||
$ref: '#/components/schemas/TweetLegacy'
|
|
||||||
quoted_status_result:
|
|
||||||
$ref: ./content.yaml#/components/schemas/ItemResult
|
|
||||||
rest_id:
|
|
||||||
pattern: ^[0-9]+$
|
|
||||||
type: string
|
|
||||||
unmention_data:
|
|
||||||
type: object
|
|
||||||
views:
|
|
||||||
properties:
|
|
||||||
count:
|
|
||||||
pattern: ^[0-9]+$
|
|
||||||
type: string
|
|
||||||
state:
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- rest_id
|
|
||||||
- core
|
|
||||||
- edit_control
|
|
||||||
- edit_prespective
|
|
||||||
- is_translatable
|
|
||||||
- legacy
|
|
||||||
- views
|
|
||||||
TweetLegacy:
|
|
||||||
properties:
|
|
||||||
bookmark_count:
|
|
||||||
type: integer
|
|
||||||
bookmarked:
|
|
||||||
type: boolean
|
|
||||||
conversation_id_str:
|
|
||||||
pattern: ^[0-9]+$
|
|
||||||
type: string
|
|
||||||
created_at:
|
|
||||||
$ref: ./general.yaml#/components/schemas/TwitterTimeFormat
|
|
||||||
display_text_range:
|
|
||||||
items:
|
|
||||||
type: integer
|
|
||||||
type: array
|
|
||||||
entities:
|
|
||||||
$ref: '#/components/schemas/Entities'
|
|
||||||
extended_entities:
|
|
||||||
$ref: '#/components/schemas/ExtendedEntities'
|
|
||||||
favorite_count:
|
|
||||||
type: integer
|
|
||||||
favorited:
|
|
||||||
type: boolean
|
|
||||||
full_text:
|
|
||||||
type: string
|
|
||||||
id_str:
|
|
||||||
pattern: ^[0-9]+$
|
|
||||||
type: string
|
|
||||||
is_quote_status:
|
|
||||||
type: boolean
|
|
||||||
lang:
|
|
||||||
type: string
|
|
||||||
possibly_sensitive:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
possibly_sensitive_editable:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
quote_count:
|
|
||||||
type: integer
|
|
||||||
reply_count:
|
|
||||||
type: integer
|
|
||||||
retweet_count:
|
|
||||||
type: integer
|
|
||||||
retweeted:
|
|
||||||
type: boolean
|
|
||||||
retweeted_status_result:
|
|
||||||
$ref: ./content.yaml#/components/schemas/ItemResult
|
|
||||||
user_id_str:
|
|
||||||
pattern: ^[0-9]+$
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- bookmark_count
|
|
||||||
- bookmarked
|
|
||||||
- conversation_id_str
|
|
||||||
- created_at
|
|
||||||
- display_text_range
|
|
||||||
- entities
|
|
||||||
- favorite_count
|
|
||||||
- favorited
|
|
||||||
- full_text
|
|
||||||
- is_quote_status
|
|
||||||
- lang
|
|
||||||
- quote_count
|
|
||||||
- reply_count
|
|
||||||
- retweet_count
|
|
||||||
- retweeted
|
|
||||||
- user_id_str
|
|
||||||
- id_str
|
|
||||||
TweetTombstone:
|
|
||||||
properties:
|
|
||||||
__typename:
|
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
||||||
TweetUnion:
|
|
||||||
discriminator:
|
|
||||||
mapping":
|
|
||||||
Tweet: '#/components/schemas/Tweet'
|
|
||||||
TweetTombstone: '#/components/schemas/TweetTombstone'
|
|
||||||
TweetWithVisibilityResults: '#/components/schemas/TweetWithVisibilityResults'
|
|
||||||
propertyName: __typename
|
|
||||||
oneOf:
|
|
||||||
- $ref: '#/components/schemas/Tweet'
|
|
||||||
- $ref: '#/components/schemas/TweetWithVisibilityResults'
|
|
||||||
- $ref: '#/components/schemas/TweetTombstone'
|
|
||||||
TweetWithVisibilityResults:
|
|
||||||
properties:
|
|
||||||
__typename:
|
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
||||||
tweet:
|
|
||||||
$ref: '#/components/schemas/Tweet'
|
|
||||||
required:
|
|
||||||
- __typename
|
|
||||||
- tweet
|
|
||||||
Url:
|
|
||||||
properties:
|
|
||||||
display_url:
|
|
||||||
type: string
|
|
||||||
expanded_url:
|
|
||||||
format: uri
|
|
||||||
type: string
|
|
||||||
indices:
|
|
||||||
items:
|
|
||||||
type: integer
|
|
||||||
type: array
|
|
||||||
url:
|
|
||||||
format: uri
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- url
|
|
||||||
- indices
|
|
||||||
- expanded_url
|
|
||||||
- display_url
|
|
||||||
type: object
|
|
||||||
UserMention:
|
|
||||||
type: object
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths: {}
|
|
||||||
56
dist/docs/paths/bookmarks.yaml
vendored
56
dist/docs/paths/bookmarks.yaml
vendored
|
|
@ -37,41 +37,6 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
required:
|
|
||||||
- t
|
|
||||||
- m
|
|
||||||
- d
|
|
||||||
- '4'
|
|
||||||
- i
|
|
||||||
- f
|
|
||||||
- V
|
|
||||||
- '8'
|
|
||||||
- R
|
|
||||||
- H
|
|
||||||
- l
|
|
||||||
- t
|
|
||||||
- z
|
|
||||||
- n
|
|
||||||
- '8'
|
|
||||||
- y
|
|
||||||
- m
|
|
||||||
- G
|
|
||||||
- g
|
|
||||||
- '1'
|
|
||||||
- a
|
|
||||||
- w
|
|
||||||
schema:
|
|
||||||
default: tmd4ifV8RHltzn8ymGg1aw
|
|
||||||
example: tmd4ifV8RHltzn8ymGg1aw
|
|
||||||
type: string
|
|
||||||
in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
- content:
|
|
||||||
application/json:
|
|
||||||
required:
|
|
||||||
- count
|
|
||||||
- includePromotedContent
|
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
count:
|
count:
|
||||||
|
|
@ -91,27 +56,6 @@ paths:
|
||||||
required: true
|
required: true
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
required:
|
|
||||||
- graphql_timeline_v2_bookmark_timeline
|
|
||||||
- blue_business_profile_image_shape_enabled
|
|
||||||
- responsive_web_graphql_exclude_directive_enabled
|
|
||||||
- verified_phone_label_enabled
|
|
||||||
- responsive_web_graphql_timeline_navigation_enabled
|
|
||||||
- responsive_web_graphql_skip_user_profile_image_extensions_enabled
|
|
||||||
- tweetypie_unmention_optimization_enabled
|
|
||||||
- vibe_api_enabled
|
|
||||||
- responsive_web_edit_tweet_api_enabled
|
|
||||||
- graphql_is_translatable_rweb_tweet_is_translatable_enabled
|
|
||||||
- view_counts_everywhere_api_enabled
|
|
||||||
- longform_notetweets_consumption_enabled
|
|
||||||
- tweet_awards_web_tipping_enabled
|
|
||||||
- freedom_of_speech_not_reach_fetch_enabled
|
|
||||||
- standardized_nudges_misinfo
|
|
||||||
- tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled
|
|
||||||
- interactive_text_enabled
|
|
||||||
- responsive_web_text_conversations_enabled
|
|
||||||
- longform_notetweets_rich_text_read_enabled
|
|
||||||
- responsive_web_enhance_cards_enabled
|
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
blue_business_profile_image_shape_enabled:
|
blue_business_profile_image_shape_enabled:
|
||||||
|
|
|
||||||
112
dist/docs/paths/follow.yaml
vendored
112
dist/docs/paths/follow.yaml
vendored
|
|
@ -52,42 +52,6 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
required:
|
|
||||||
- d
|
|
||||||
- j
|
|
||||||
- d
|
|
||||||
- T
|
|
||||||
- X
|
|
||||||
- D
|
|
||||||
- I
|
|
||||||
- k
|
|
||||||
- '2'
|
|
||||||
- q
|
|
||||||
- h
|
|
||||||
- d
|
|
||||||
- '4'
|
|
||||||
- O
|
|
||||||
- S
|
|
||||||
- t
|
|
||||||
- q
|
|
||||||
- l
|
|
||||||
- U
|
|
||||||
- F
|
|
||||||
- e
|
|
||||||
- Q
|
|
||||||
schema:
|
|
||||||
default: djdTXDIk2qhd4OStqlUFeQ
|
|
||||||
example: djdTXDIk2qhd4OStqlUFeQ
|
|
||||||
type: string
|
|
||||||
in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
- content:
|
|
||||||
application/json:
|
|
||||||
required:
|
|
||||||
- userId
|
|
||||||
- count
|
|
||||||
- includePromotedContent
|
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
count:
|
count:
|
||||||
|
|
@ -112,26 +76,6 @@ paths:
|
||||||
required: true
|
required: true
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
required:
|
|
||||||
- blue_business_profile_image_shape_enabled
|
|
||||||
- responsive_web_graphql_exclude_directive_enabled
|
|
||||||
- verified_phone_label_enabled
|
|
||||||
- responsive_web_graphql_timeline_navigation_enabled
|
|
||||||
- responsive_web_graphql_skip_user_profile_image_extensions_enabled
|
|
||||||
- tweetypie_unmention_optimization_enabled
|
|
||||||
- vibe_api_enabled
|
|
||||||
- responsive_web_edit_tweet_api_enabled
|
|
||||||
- graphql_is_translatable_rweb_tweet_is_translatable_enabled
|
|
||||||
- view_counts_everywhere_api_enabled
|
|
||||||
- longform_notetweets_consumption_enabled
|
|
||||||
- tweet_awards_web_tipping_enabled
|
|
||||||
- freedom_of_speech_not_reach_fetch_enabled
|
|
||||||
- standardized_nudges_misinfo
|
|
||||||
- tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled
|
|
||||||
- interactive_text_enabled
|
|
||||||
- responsive_web_text_conversations_enabled
|
|
||||||
- longform_notetweets_rich_text_read_enabled
|
|
||||||
- responsive_web_enhance_cards_enabled
|
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
blue_business_profile_image_shape_enabled:
|
blue_business_profile_image_shape_enabled:
|
||||||
|
|
@ -282,42 +226,6 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
required:
|
|
||||||
- I
|
|
||||||
- W
|
|
||||||
- P
|
|
||||||
- '6'
|
|
||||||
- Z
|
|
||||||
- t
|
|
||||||
- '1'
|
|
||||||
- '4'
|
|
||||||
- s
|
|
||||||
- A
|
|
||||||
- R
|
|
||||||
- O
|
|
||||||
- '2'
|
|
||||||
- '9'
|
|
||||||
- l
|
|
||||||
- J
|
|
||||||
- T
|
|
||||||
- '3'
|
|
||||||
- '5'
|
|
||||||
- b
|
|
||||||
- B
|
|
||||||
- w
|
|
||||||
schema:
|
|
||||||
default: IWP6Zt14sARO29lJT35bBw
|
|
||||||
example: IWP6Zt14sARO29lJT35bBw
|
|
||||||
type: string
|
|
||||||
in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
- content:
|
|
||||||
application/json:
|
|
||||||
required:
|
|
||||||
- userId
|
|
||||||
- count
|
|
||||||
- includePromotedContent
|
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
count:
|
count:
|
||||||
|
|
@ -342,26 +250,6 @@ paths:
|
||||||
required: true
|
required: true
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
required:
|
|
||||||
- blue_business_profile_image_shape_enabled
|
|
||||||
- responsive_web_graphql_exclude_directive_enabled
|
|
||||||
- verified_phone_label_enabled
|
|
||||||
- responsive_web_graphql_timeline_navigation_enabled
|
|
||||||
- responsive_web_graphql_skip_user_profile_image_extensions_enabled
|
|
||||||
- tweetypie_unmention_optimization_enabled
|
|
||||||
- vibe_api_enabled
|
|
||||||
- responsive_web_edit_tweet_api_enabled
|
|
||||||
- graphql_is_translatable_rweb_tweet_is_translatable_enabled
|
|
||||||
- view_counts_everywhere_api_enabled
|
|
||||||
- longform_notetweets_consumption_enabled
|
|
||||||
- tweet_awards_web_tipping_enabled
|
|
||||||
- freedom_of_speech_not_reach_fetch_enabled
|
|
||||||
- standardized_nudges_misinfo
|
|
||||||
- tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled
|
|
||||||
- interactive_text_enabled
|
|
||||||
- responsive_web_text_conversations_enabled
|
|
||||||
- longform_notetweets_rich_text_read_enabled
|
|
||||||
- responsive_web_enhance_cards_enabled
|
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
blue_business_profile_image_shape_enabled:
|
blue_business_profile_image_shape_enabled:
|
||||||
|
|
|
||||||
35
dist/docs/paths/profile.yaml
vendored
35
dist/docs/paths/profile.yaml
vendored
|
|
@ -77,40 +77,6 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
required:
|
|
||||||
- '9'
|
|
||||||
- z
|
|
||||||
- w
|
|
||||||
- V
|
|
||||||
- L
|
|
||||||
- J
|
|
||||||
- '4'
|
|
||||||
- '8'
|
|
||||||
- l
|
|
||||||
- m
|
|
||||||
- V
|
|
||||||
- U
|
|
||||||
- k
|
|
||||||
- '8'
|
|
||||||
- u
|
|
||||||
- _
|
|
||||||
- G
|
|
||||||
- h
|
|
||||||
- '9'
|
|
||||||
- D
|
|
||||||
- m
|
|
||||||
- A
|
|
||||||
schema:
|
|
||||||
default: 9zwVLJ48lmVUk8u_Gh9DmA
|
|
||||||
example: 9zwVLJ48lmVUk8u_Gh9DmA
|
|
||||||
type: string
|
|
||||||
in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
- content:
|
|
||||||
application/json:
|
|
||||||
required:
|
|
||||||
- screen_name
|
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
screen_name:
|
screen_name:
|
||||||
|
|
@ -125,7 +91,6 @@ paths:
|
||||||
required: true
|
required: true
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
required: []
|
|
||||||
schema:
|
schema:
|
||||||
properties: {}
|
properties: {}
|
||||||
type: object
|
type: object
|
||||||
|
|
|
||||||
170
dist/docs/paths/timeline.yaml
vendored
170
dist/docs/paths/timeline.yaml
vendored
|
|
@ -61,43 +61,6 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
required:
|
|
||||||
- z
|
|
||||||
- h
|
|
||||||
- X
|
|
||||||
- '9'
|
|
||||||
- '1'
|
|
||||||
- J
|
|
||||||
- E
|
|
||||||
- '8'
|
|
||||||
- '7'
|
|
||||||
- m
|
|
||||||
- W
|
|
||||||
- v
|
|
||||||
- f
|
|
||||||
- p
|
|
||||||
- r
|
|
||||||
- h
|
|
||||||
- Y
|
|
||||||
- E
|
|
||||||
- '9'
|
|
||||||
- '7'
|
|
||||||
- x
|
|
||||||
- A
|
|
||||||
schema:
|
|
||||||
default: zhX91JE87mWvfprhYE97xA
|
|
||||||
example: zhX91JE87mWvfprhYE97xA
|
|
||||||
type: string
|
|
||||||
in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
- content:
|
|
||||||
application/json:
|
|
||||||
required:
|
|
||||||
- count
|
|
||||||
- includePromotedContent
|
|
||||||
- latestControlAvailable
|
|
||||||
- requestContext
|
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
count:
|
count:
|
||||||
|
|
@ -127,26 +90,6 @@ paths:
|
||||||
required: true
|
required: true
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
required:
|
|
||||||
- blue_business_profile_image_shape_enabled
|
|
||||||
- responsive_web_graphql_exclude_directive_enabled
|
|
||||||
- verified_phone_label_enabled
|
|
||||||
- responsive_web_graphql_timeline_navigation_enabled
|
|
||||||
- responsive_web_graphql_skip_user_profile_image_extensions_enabled
|
|
||||||
- tweetypie_unmention_optimization_enabled
|
|
||||||
- vibe_api_enabled
|
|
||||||
- responsive_web_edit_tweet_api_enabled
|
|
||||||
- graphql_is_translatable_rweb_tweet_is_translatable_enabled
|
|
||||||
- view_counts_everywhere_api_enabled
|
|
||||||
- longform_notetweets_consumption_enabled
|
|
||||||
- tweet_awards_web_tipping_enabled
|
|
||||||
- freedom_of_speech_not_reach_fetch_enabled
|
|
||||||
- standardized_nudges_misinfo
|
|
||||||
- tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled
|
|
||||||
- interactive_text_enabled
|
|
||||||
- responsive_web_text_conversations_enabled
|
|
||||||
- longform_notetweets_rich_text_read_enabled
|
|
||||||
- responsive_web_enhance_cards_enabled
|
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
blue_business_profile_image_shape_enabled:
|
blue_business_profile_image_shape_enabled:
|
||||||
|
|
@ -297,44 +240,6 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
required:
|
|
||||||
- H
|
|
||||||
- C
|
|
||||||
- o
|
|
||||||
- s
|
|
||||||
- K
|
|
||||||
- f
|
|
||||||
- L
|
|
||||||
- N
|
|
||||||
- W
|
|
||||||
- '1'
|
|
||||||
- A
|
|
||||||
- c
|
|
||||||
- O
|
|
||||||
- o
|
|
||||||
- '3'
|
|
||||||
- l
|
|
||||||
- a
|
|
||||||
- '3'
|
|
||||||
- m
|
|
||||||
- M
|
|
||||||
- g
|
|
||||||
- g
|
|
||||||
schema:
|
|
||||||
default: HCosKfLNW1AcOo3la3mMgg
|
|
||||||
example: HCosKfLNW1AcOo3la3mMgg
|
|
||||||
type: string
|
|
||||||
in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
- content:
|
|
||||||
application/json:
|
|
||||||
required:
|
|
||||||
- count
|
|
||||||
- includePromotedContent
|
|
||||||
- latestControlAvailable
|
|
||||||
- requestContext
|
|
||||||
- withCommunity
|
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
count:
|
count:
|
||||||
|
|
@ -369,26 +274,6 @@ paths:
|
||||||
required: true
|
required: true
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
required:
|
|
||||||
- blue_business_profile_image_shape_enabled
|
|
||||||
- responsive_web_graphql_exclude_directive_enabled
|
|
||||||
- verified_phone_label_enabled
|
|
||||||
- responsive_web_graphql_timeline_navigation_enabled
|
|
||||||
- responsive_web_graphql_skip_user_profile_image_extensions_enabled
|
|
||||||
- tweetypie_unmention_optimization_enabled
|
|
||||||
- vibe_api_enabled
|
|
||||||
- responsive_web_edit_tweet_api_enabled
|
|
||||||
- graphql_is_translatable_rweb_tweet_is_translatable_enabled
|
|
||||||
- view_counts_everywhere_api_enabled
|
|
||||||
- longform_notetweets_consumption_enabled
|
|
||||||
- tweet_awards_web_tipping_enabled
|
|
||||||
- freedom_of_speech_not_reach_fetch_enabled
|
|
||||||
- standardized_nudges_misinfo
|
|
||||||
- tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled
|
|
||||||
- interactive_text_enabled
|
|
||||||
- responsive_web_text_conversations_enabled
|
|
||||||
- longform_notetweets_rich_text_read_enabled
|
|
||||||
- responsive_web_enhance_cards_enabled
|
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
blue_business_profile_image_shape_enabled:
|
blue_business_profile_image_shape_enabled:
|
||||||
|
|
@ -539,41 +424,6 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
required:
|
|
||||||
- '2'
|
|
||||||
- T
|
|
||||||
- e
|
|
||||||
- m
|
|
||||||
- L
|
|
||||||
- y
|
|
||||||
- q
|
|
||||||
- r
|
|
||||||
- M
|
|
||||||
- p
|
|
||||||
- T
|
|
||||||
- e
|
|
||||||
- A
|
|
||||||
- m
|
|
||||||
- y
|
|
||||||
- s
|
|
||||||
- d
|
|
||||||
- b
|
|
||||||
- n
|
|
||||||
- V
|
|
||||||
- q
|
|
||||||
- w
|
|
||||||
schema:
|
|
||||||
default: 2TemLyqrMpTeAmysdbnVqw
|
|
||||||
example: 2TemLyqrMpTeAmysdbnVqw
|
|
||||||
type: string
|
|
||||||
in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
- content:
|
|
||||||
application/json:
|
|
||||||
required:
|
|
||||||
- listId
|
|
||||||
- count
|
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
count:
|
count:
|
||||||
|
|
@ -593,26 +443,6 @@ paths:
|
||||||
required: true
|
required: true
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
required:
|
|
||||||
- blue_business_profile_image_shape_enabled
|
|
||||||
- responsive_web_graphql_exclude_directive_enabled
|
|
||||||
- verified_phone_label_enabled
|
|
||||||
- responsive_web_graphql_timeline_navigation_enabled
|
|
||||||
- responsive_web_graphql_skip_user_profile_image_extensions_enabled
|
|
||||||
- tweetypie_unmention_optimization_enabled
|
|
||||||
- vibe_api_enabled
|
|
||||||
- responsive_web_edit_tweet_api_enabled
|
|
||||||
- graphql_is_translatable_rweb_tweet_is_translatable_enabled
|
|
||||||
- view_counts_everywhere_api_enabled
|
|
||||||
- longform_notetweets_consumption_enabled
|
|
||||||
- tweet_awards_web_tipping_enabled
|
|
||||||
- freedom_of_speech_not_reach_fetch_enabled
|
|
||||||
- standardized_nudges_misinfo
|
|
||||||
- tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled
|
|
||||||
- interactive_text_enabled
|
|
||||||
- responsive_web_text_conversations_enabled
|
|
||||||
- longform_notetweets_rich_text_read_enabled
|
|
||||||
- responsive_web_enhance_cards_enabled
|
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
blue_business_profile_image_shape_enabled:
|
blue_business_profile_image_shape_enabled:
|
||||||
|
|
|
||||||
61
dist/docs/paths/tweet.yaml
vendored
61
dist/docs/paths/tweet.yaml
vendored
|
|
@ -31,47 +31,6 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
required:
|
|
||||||
- w
|
|
||||||
- N
|
|
||||||
- N
|
|
||||||
- G
|
|
||||||
- '8'
|
|
||||||
- D
|
|
||||||
- B
|
|
||||||
- B
|
|
||||||
- '8'
|
|
||||||
- E
|
|
||||||
- a
|
|
||||||
- X
|
|
||||||
- w
|
|
||||||
- '1'
|
|
||||||
- l
|
|
||||||
- q
|
|
||||||
- '4'
|
|
||||||
- v
|
|
||||||
- F
|
|
||||||
- W
|
|
||||||
- G
|
|
||||||
- A
|
|
||||||
schema:
|
|
||||||
default: wNNG8DBB8EaXw1lq4vFWGA
|
|
||||||
example: wNNG8DBB8EaXw1lq4vFWGA
|
|
||||||
type: string
|
|
||||||
in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
- content:
|
|
||||||
application/json:
|
|
||||||
required:
|
|
||||||
- focalTweetId
|
|
||||||
- with_rux_injections
|
|
||||||
- includePromotedContent
|
|
||||||
- withCommunity
|
|
||||||
- withQuickPromoteEligibilityTweetFields
|
|
||||||
- withBirdwatchNotes
|
|
||||||
- withVoice
|
|
||||||
- withV2Timeline
|
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
focalTweetId:
|
focalTweetId:
|
||||||
|
|
@ -121,26 +80,6 @@ paths:
|
||||||
required: true
|
required: true
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
required:
|
|
||||||
- blue_business_profile_image_shape_enabled
|
|
||||||
- responsive_web_graphql_exclude_directive_enabled
|
|
||||||
- verified_phone_label_enabled
|
|
||||||
- responsive_web_graphql_timeline_navigation_enabled
|
|
||||||
- responsive_web_graphql_skip_user_profile_image_extensions_enabled
|
|
||||||
- tweetypie_unmention_optimization_enabled
|
|
||||||
- vibe_api_enabled
|
|
||||||
- responsive_web_edit_tweet_api_enabled
|
|
||||||
- graphql_is_translatable_rweb_tweet_is_translatable_enabled
|
|
||||||
- view_counts_everywhere_api_enabled
|
|
||||||
- longform_notetweets_consumption_enabled
|
|
||||||
- tweet_awards_web_tipping_enabled
|
|
||||||
- freedom_of_speech_not_reach_fetch_enabled
|
|
||||||
- standardized_nudges_misinfo
|
|
||||||
- tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled
|
|
||||||
- interactive_text_enabled
|
|
||||||
- responsive_web_text_conversations_enabled
|
|
||||||
- longform_notetweets_rich_text_read_enabled
|
|
||||||
- responsive_web_enhance_cards_enabled
|
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
blue_business_profile_image_shape_enabled:
|
blue_business_profile_image_shape_enabled:
|
||||||
|
|
|
||||||
41
dist/docs/paths/user.yaml
vendored
41
dist/docs/paths/user.yaml
vendored
|
|
@ -31,41 +31,6 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
required:
|
|
||||||
- s
|
|
||||||
- L
|
|
||||||
- V
|
|
||||||
- L
|
|
||||||
- h
|
|
||||||
- k
|
|
||||||
- '0'
|
|
||||||
- b
|
|
||||||
- G
|
|
||||||
- j
|
|
||||||
- '3'
|
|
||||||
- M
|
|
||||||
- V
|
|
||||||
- F
|
|
||||||
- E
|
|
||||||
- K
|
|
||||||
- T
|
|
||||||
- d
|
|
||||||
- a
|
|
||||||
- x
|
|
||||||
- '1'
|
|
||||||
- w
|
|
||||||
schema:
|
|
||||||
default: sLVLhk0bGj3MVFEKTdax1w
|
|
||||||
example: sLVLhk0bGj3MVFEKTdax1w
|
|
||||||
type: string
|
|
||||||
in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
- content:
|
|
||||||
application/json:
|
|
||||||
required:
|
|
||||||
- screen_name
|
|
||||||
- withSafetyModeUserFields
|
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
screen_name:
|
screen_name:
|
||||||
|
|
@ -85,12 +50,6 @@ paths:
|
||||||
required: true
|
required: true
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
required:
|
|
||||||
- blue_business_profile_image_shape_enabled
|
|
||||||
- responsive_web_graphql_exclude_directive_enabled
|
|
||||||
- verified_phone_label_enabled
|
|
||||||
- responsive_web_graphql_skip_user_profile_image_extensions_enabled
|
|
||||||
- responsive_web_graphql_timeline_navigation_enabled
|
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
blue_business_profile_image_shape_enabled:
|
blue_business_profile_image_shape_enabled:
|
||||||
|
|
|
||||||
238
dist/docs/paths/usertweets.yaml
vendored
238
dist/docs/paths/usertweets.yaml
vendored
|
|
@ -46,46 +46,6 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
required:
|
|
||||||
- '5'
|
|
||||||
- f
|
|
||||||
- m
|
|
||||||
- E
|
|
||||||
- k
|
|
||||||
- R
|
|
||||||
- T
|
|
||||||
- '-'
|
|
||||||
- '1'
|
|
||||||
- A
|
|
||||||
- d
|
|
||||||
- H
|
|
||||||
- q
|
|
||||||
- E
|
|
||||||
- s
|
|
||||||
- b
|
|
||||||
- V
|
|
||||||
- g
|
|
||||||
- e
|
|
||||||
- h
|
|
||||||
- M
|
|
||||||
- g
|
|
||||||
schema:
|
|
||||||
default: 5fmEkRT-1AdHqEsbVgehMg
|
|
||||||
example: 5fmEkRT-1AdHqEsbVgehMg
|
|
||||||
type: string
|
|
||||||
in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
- content:
|
|
||||||
application/json:
|
|
||||||
required:
|
|
||||||
- userId
|
|
||||||
- count
|
|
||||||
- includePromotedContent
|
|
||||||
- withClientEventToken
|
|
||||||
- withBirdwatchNotes
|
|
||||||
- withVoice
|
|
||||||
- withV2Timeline
|
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
count:
|
count:
|
||||||
|
|
@ -130,26 +90,6 @@ paths:
|
||||||
required: true
|
required: true
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
required:
|
|
||||||
- blue_business_profile_image_shape_enabled
|
|
||||||
- responsive_web_graphql_exclude_directive_enabled
|
|
||||||
- verified_phone_label_enabled
|
|
||||||
- responsive_web_graphql_timeline_navigation_enabled
|
|
||||||
- responsive_web_graphql_skip_user_profile_image_extensions_enabled
|
|
||||||
- tweetypie_unmention_optimization_enabled
|
|
||||||
- vibe_api_enabled
|
|
||||||
- responsive_web_edit_tweet_api_enabled
|
|
||||||
- graphql_is_translatable_rweb_tweet_is_translatable_enabled
|
|
||||||
- view_counts_everywhere_api_enabled
|
|
||||||
- longform_notetweets_consumption_enabled
|
|
||||||
- tweet_awards_web_tipping_enabled
|
|
||||||
- freedom_of_speech_not_reach_fetch_enabled
|
|
||||||
- standardized_nudges_misinfo
|
|
||||||
- tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled
|
|
||||||
- interactive_text_enabled
|
|
||||||
- responsive_web_text_conversations_enabled
|
|
||||||
- longform_notetweets_rich_text_read_enabled
|
|
||||||
- responsive_web_enhance_cards_enabled
|
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
blue_business_profile_image_shape_enabled:
|
blue_business_profile_image_shape_enabled:
|
||||||
|
|
@ -300,46 +240,6 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
required:
|
|
||||||
- Y
|
|
||||||
- q
|
|
||||||
- i
|
|
||||||
- E
|
|
||||||
- '3'
|
|
||||||
- J
|
|
||||||
- L
|
|
||||||
- '1'
|
|
||||||
- K
|
|
||||||
- N
|
|
||||||
- g
|
|
||||||
- f
|
|
||||||
- '9'
|
|
||||||
- n
|
|
||||||
- S
|
|
||||||
- l
|
|
||||||
- j
|
|
||||||
- Y
|
|
||||||
- d
|
|
||||||
- x
|
|
||||||
- a
|
|
||||||
- A
|
|
||||||
schema:
|
|
||||||
default: YqiE3JL1KNgf9nSljYdxaA
|
|
||||||
example: YqiE3JL1KNgf9nSljYdxaA
|
|
||||||
type: string
|
|
||||||
in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
- content:
|
|
||||||
application/json:
|
|
||||||
required:
|
|
||||||
- userId
|
|
||||||
- count
|
|
||||||
- includePromotedContent
|
|
||||||
- withClientEventToken
|
|
||||||
- withBirdwatchNotes
|
|
||||||
- withVoice
|
|
||||||
- withV2Timeline
|
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
count:
|
count:
|
||||||
|
|
@ -384,26 +284,6 @@ paths:
|
||||||
required: true
|
required: true
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
required:
|
|
||||||
- blue_business_profile_image_shape_enabled
|
|
||||||
- responsive_web_graphql_exclude_directive_enabled
|
|
||||||
- verified_phone_label_enabled
|
|
||||||
- responsive_web_graphql_timeline_navigation_enabled
|
|
||||||
- responsive_web_graphql_skip_user_profile_image_extensions_enabled
|
|
||||||
- tweetypie_unmention_optimization_enabled
|
|
||||||
- vibe_api_enabled
|
|
||||||
- responsive_web_edit_tweet_api_enabled
|
|
||||||
- graphql_is_translatable_rweb_tweet_is_translatable_enabled
|
|
||||||
- view_counts_everywhere_api_enabled
|
|
||||||
- longform_notetweets_consumption_enabled
|
|
||||||
- tweet_awards_web_tipping_enabled
|
|
||||||
- freedom_of_speech_not_reach_fetch_enabled
|
|
||||||
- standardized_nudges_misinfo
|
|
||||||
- tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled
|
|
||||||
- interactive_text_enabled
|
|
||||||
- responsive_web_text_conversations_enabled
|
|
||||||
- longform_notetweets_rich_text_read_enabled
|
|
||||||
- responsive_web_enhance_cards_enabled
|
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
blue_business_profile_image_shape_enabled:
|
blue_business_profile_image_shape_enabled:
|
||||||
|
|
@ -554,45 +434,6 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
required:
|
|
||||||
- H
|
|
||||||
- u
|
|
||||||
- T
|
|
||||||
- x
|
|
||||||
- '7'
|
|
||||||
- '4'
|
|
||||||
- B
|
|
||||||
- x
|
|
||||||
- A
|
|
||||||
- n
|
|
||||||
- e
|
|
||||||
- z
|
|
||||||
- K
|
|
||||||
- '1'
|
|
||||||
- g
|
|
||||||
- W
|
|
||||||
- v
|
|
||||||
- Y
|
|
||||||
- Y
|
|
||||||
- '7'
|
|
||||||
- z
|
|
||||||
- g
|
|
||||||
schema:
|
|
||||||
default: HuTx74BxAnezK1gWvYY7zg
|
|
||||||
example: HuTx74BxAnezK1gWvYY7zg
|
|
||||||
type: string
|
|
||||||
in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
- content:
|
|
||||||
application/json:
|
|
||||||
required:
|
|
||||||
- userId
|
|
||||||
- count
|
|
||||||
- includePromotedContent
|
|
||||||
- withQuickPromoteEligibilityTweetFields
|
|
||||||
- withVoice
|
|
||||||
- withV2Timeline
|
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
count:
|
count:
|
||||||
|
|
@ -632,26 +473,6 @@ paths:
|
||||||
required: true
|
required: true
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
required:
|
|
||||||
- blue_business_profile_image_shape_enabled
|
|
||||||
- responsive_web_graphql_exclude_directive_enabled
|
|
||||||
- verified_phone_label_enabled
|
|
||||||
- responsive_web_graphql_timeline_navigation_enabled
|
|
||||||
- responsive_web_graphql_skip_user_profile_image_extensions_enabled
|
|
||||||
- tweetypie_unmention_optimization_enabled
|
|
||||||
- vibe_api_enabled
|
|
||||||
- responsive_web_edit_tweet_api_enabled
|
|
||||||
- graphql_is_translatable_rweb_tweet_is_translatable_enabled
|
|
||||||
- view_counts_everywhere_api_enabled
|
|
||||||
- longform_notetweets_consumption_enabled
|
|
||||||
- tweet_awards_web_tipping_enabled
|
|
||||||
- freedom_of_speech_not_reach_fetch_enabled
|
|
||||||
- standardized_nudges_misinfo
|
|
||||||
- tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled
|
|
||||||
- interactive_text_enabled
|
|
||||||
- responsive_web_text_conversations_enabled
|
|
||||||
- longform_notetweets_rich_text_read_enabled
|
|
||||||
- responsive_web_enhance_cards_enabled
|
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
blue_business_profile_image_shape_enabled:
|
blue_business_profile_image_shape_enabled:
|
||||||
|
|
@ -802,45 +623,6 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
required:
|
|
||||||
- R
|
|
||||||
- I
|
|
||||||
- W
|
|
||||||
- c
|
|
||||||
- '5'
|
|
||||||
- '5'
|
|
||||||
- Y
|
|
||||||
- C
|
|
||||||
- N
|
|
||||||
- y
|
|
||||||
- U
|
|
||||||
- J
|
|
||||||
- '-'
|
|
||||||
- U
|
|
||||||
- '3'
|
|
||||||
- H
|
|
||||||
- H
|
|
||||||
- G
|
|
||||||
- Y
|
|
||||||
- k
|
|
||||||
- d
|
|
||||||
- g
|
|
||||||
schema:
|
|
||||||
default: RIWc55YCNyUJ-U3HHGYkdg
|
|
||||||
example: RIWc55YCNyUJ-U3HHGYkdg
|
|
||||||
type: string
|
|
||||||
in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
- content:
|
|
||||||
application/json:
|
|
||||||
required:
|
|
||||||
- userId
|
|
||||||
- count
|
|
||||||
- includePromotedContent
|
|
||||||
- withCommunity
|
|
||||||
- withVoice
|
|
||||||
- withV2Timeline
|
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
count:
|
count:
|
||||||
|
|
@ -880,26 +662,6 @@ paths:
|
||||||
required: true
|
required: true
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
required:
|
|
||||||
- blue_business_profile_image_shape_enabled
|
|
||||||
- responsive_web_graphql_exclude_directive_enabled
|
|
||||||
- verified_phone_label_enabled
|
|
||||||
- responsive_web_graphql_timeline_navigation_enabled
|
|
||||||
- responsive_web_graphql_skip_user_profile_image_extensions_enabled
|
|
||||||
- tweetypie_unmention_optimization_enabled
|
|
||||||
- vibe_api_enabled
|
|
||||||
- responsive_web_edit_tweet_api_enabled
|
|
||||||
- graphql_is_translatable_rweb_tweet_is_translatable_enabled
|
|
||||||
- view_counts_everywhere_api_enabled
|
|
||||||
- longform_notetweets_consumption_enabled
|
|
||||||
- tweet_awards_web_tipping_enabled
|
|
||||||
- freedom_of_speech_not_reach_fetch_enabled
|
|
||||||
- standardized_nudges_misinfo
|
|
||||||
- tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled
|
|
||||||
- interactive_text_enabled
|
|
||||||
- responsive_web_text_conversations_enabled
|
|
||||||
- longform_notetweets_rich_text_read_enabled
|
|
||||||
- responsive_web_enhance_cards_enabled
|
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
blue_business_profile_image_shape_enabled:
|
blue_business_profile_image_shape_enabled:
|
||||||
|
|
|
||||||
8
dist/docs/schemas/tweet.yaml
vendored
8
dist/docs/schemas/tweet.yaml
vendored
|
|
@ -234,6 +234,14 @@ components:
|
||||||
type: boolean
|
type: boolean
|
||||||
retweeted_status_result:
|
retweeted_status_result:
|
||||||
$ref: ./content.yaml#/components/schemas/ItemResult
|
$ref: ./content.yaml#/components/schemas/ItemResult
|
||||||
|
self_thread:
|
||||||
|
properties:
|
||||||
|
id_str:
|
||||||
|
pattern: ^[0-9]+$
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- id_str
|
||||||
|
type: object
|
||||||
user_id_str:
|
user_id_str:
|
||||||
pattern: ^[0-9]+$
|
pattern: ^[0-9]+$
|
||||||
type: string
|
type: string
|
||||||
|
|
|
||||||
218
dist/test/paths/follow.yaml
vendored
218
dist/test/paths/follow.yaml
vendored
|
|
@ -1,218 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
FollowResponse:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/FollowResponseData'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
FollowResponseData:
|
|
||||||
properties:
|
|
||||||
user:
|
|
||||||
$ref: '#/components/schemas/FollowResponseUser'
|
|
||||||
required:
|
|
||||||
- user
|
|
||||||
FollowResponseResult:
|
|
||||||
properties:
|
|
||||||
__typename:
|
|
||||||
$ref: ./../schemas/typename.yaml#/components/schemas/TypeName
|
|
||||||
timeline:
|
|
||||||
$ref: '#/components/schemas/FollowTimeline'
|
|
||||||
required:
|
|
||||||
- __typename
|
|
||||||
- timeline
|
|
||||||
FollowResponseUser:
|
|
||||||
properties:
|
|
||||||
result:
|
|
||||||
$ref: '#/components/schemas/FollowResponseResult'
|
|
||||||
required:
|
|
||||||
- result
|
|
||||||
FollowTimeline:
|
|
||||||
properties:
|
|
||||||
timeline:
|
|
||||||
$ref: ./../schemas/timeline.yaml#/components/schemas/Timeline
|
|
||||||
required:
|
|
||||||
- timeline
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths:
|
|
||||||
/graphql/{pathQueryId}/Followers:
|
|
||||||
get:
|
|
||||||
description: get user list of followers
|
|
||||||
operationId: getFollowers
|
|
||||||
parameters:
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: djdTXDIk2qhd4OStqlUFeQ
|
|
||||||
example: djdTXDIk2qhd4OStqlUFeQ
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"djdTXDIk2qhd4OStqlUFeQ"'
|
|
||||||
example: '"djdTXDIk2qhd4OStqlUFeQ"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"userId": "44196397", "count": 20, "includePromotedContent":
|
|
||||||
false}'
|
|
||||||
example: '{"userId": "44196397", "count": 20, "includePromotedContent":
|
|
||||||
false}'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: features
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/FollowResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- user-list
|
|
||||||
/graphql/{pathQueryId}/Following:
|
|
||||||
get:
|
|
||||||
description: get user list of following
|
|
||||||
operationId: getFollowing
|
|
||||||
parameters:
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: IWP6Zt14sARO29lJT35bBw
|
|
||||||
example: IWP6Zt14sARO29lJT35bBw
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"IWP6Zt14sARO29lJT35bBw"'
|
|
||||||
example: '"IWP6Zt14sARO29lJT35bBw"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"userId": "44196397", "count": 20, "includePromotedContent":
|
|
||||||
false}'
|
|
||||||
example: '{"userId": "44196397", "count": 20, "includePromotedContent":
|
|
||||||
false}'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: features
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/FollowResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- user-list
|
|
||||||
96
dist/test/paths/other.yaml
vendored
96
dist/test/paths/other.yaml
vendored
|
|
@ -1,96 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
CommunitiesActions:
|
|
||||||
properties:
|
|
||||||
create:
|
|
||||||
type: boolean
|
|
||||||
required:
|
|
||||||
- create
|
|
||||||
type: object
|
|
||||||
OneFactorLoginEligibility:
|
|
||||||
properties:
|
|
||||||
fetchStatus:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- fetchStatus
|
|
||||||
type: object
|
|
||||||
OtherResponse:
|
|
||||||
properties:
|
|
||||||
Session:
|
|
||||||
$ref: '#/components/schemas/Session'
|
|
||||||
type: object
|
|
||||||
Session:
|
|
||||||
properties:
|
|
||||||
SsoInitTokens:
|
|
||||||
type: object
|
|
||||||
communitiesActions:
|
|
||||||
$ref: '#/components/schemas/CommunitiesActions'
|
|
||||||
country:
|
|
||||||
pattern: ^[A-Z]{2}$
|
|
||||||
type: string
|
|
||||||
guestId:
|
|
||||||
pattern: ^[0-9]+$
|
|
||||||
type: string
|
|
||||||
hasCommunityMemberships:
|
|
||||||
type: boolean
|
|
||||||
isActiveCreator:
|
|
||||||
type: boolean
|
|
||||||
isRestrictedSession:
|
|
||||||
type: boolean
|
|
||||||
isSuperFollowSubscriber:
|
|
||||||
type: boolean
|
|
||||||
language:
|
|
||||||
pattern: ^[a-z]{2}$
|
|
||||||
type: string
|
|
||||||
oneFactorLoginEligibility:
|
|
||||||
$ref: '#/components/schemas/OneFactorLoginEligibility'
|
|
||||||
superFollowersCount:
|
|
||||||
type: integer
|
|
||||||
superFollowsApplicationStatus:
|
|
||||||
type: string
|
|
||||||
userFeatures:
|
|
||||||
$ref: '#/components/schemas/UserFeatures'
|
|
||||||
user_id:
|
|
||||||
pattern: ^[0-9]+$
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- country
|
|
||||||
- communitiesActions
|
|
||||||
- isActiveCreator
|
|
||||||
- isRestrictedSession
|
|
||||||
- guestId
|
|
||||||
- hasCommunityMemberships
|
|
||||||
- language
|
|
||||||
- oneFactorLoginEligibility
|
|
||||||
- ssoInitTokens
|
|
||||||
- superFollowersCount
|
|
||||||
- superFollowsApplicationStatus
|
|
||||||
- user_id
|
|
||||||
- userFeatures
|
|
||||||
- isSuperFollowSubscriber
|
|
||||||
type: object
|
|
||||||
UserFeatures:
|
|
||||||
properties:
|
|
||||||
mediatool_studio_library:
|
|
||||||
type: boolean
|
|
||||||
required:
|
|
||||||
- mediatool_studio_library
|
|
||||||
type: object
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths:
|
|
||||||
/other:
|
|
||||||
get:
|
|
||||||
description: This is not an actual endpoint
|
|
||||||
operationId: other
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/OtherResponse'
|
|
||||||
description: Successful operation
|
|
||||||
tags:
|
|
||||||
- other
|
|
||||||
527
dist/test/paths/post.yaml
vendored
527
dist/test/paths/post.yaml
vendored
|
|
@ -1,527 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
CreateRetweet:
|
|
||||||
properties:
|
|
||||||
result:
|
|
||||||
$ref: '#/components/schemas/Retweet'
|
|
||||||
required:
|
|
||||||
- result
|
|
||||||
CreateRetweetResponse:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/CreateRetweetResponseData'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
CreateRetweetResponseData:
|
|
||||||
properties:
|
|
||||||
create_retweet:
|
|
||||||
$ref: '#/components/schemas/CreateRetweetResponseResult'
|
|
||||||
required:
|
|
||||||
- create_retweet
|
|
||||||
CreateRetweetResponseResult:
|
|
||||||
properties:
|
|
||||||
retweet_results:
|
|
||||||
$ref: '#/components/schemas/CreateRetweet'
|
|
||||||
required:
|
|
||||||
- retweet_results
|
|
||||||
CreateTweet:
|
|
||||||
properties:
|
|
||||||
result:
|
|
||||||
$ref: ./../schemas/tweet.yaml#/components/schemas/Tweet
|
|
||||||
required:
|
|
||||||
- result
|
|
||||||
CreateTweetResponse:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/CreateTweetResponseData'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
CreateTweetResponseData:
|
|
||||||
properties:
|
|
||||||
create_tweet:
|
|
||||||
$ref: '#/components/schemas/CreateTweetResponseResult'
|
|
||||||
required:
|
|
||||||
- create_tweet
|
|
||||||
CreateTweetResponseResult:
|
|
||||||
properties:
|
|
||||||
tweet_results:
|
|
||||||
$ref: '#/components/schemas/CreateTweet'
|
|
||||||
required:
|
|
||||||
- tweet_results
|
|
||||||
DeleteRetweet:
|
|
||||||
properties:
|
|
||||||
result:
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/Retweet'
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- result
|
|
||||||
DeleteRetweetResponse:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/DeleteRetweetResponseData'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
DeleteRetweetResponseData:
|
|
||||||
properties:
|
|
||||||
create_retweet:
|
|
||||||
$ref: '#/components/schemas/CreateRetweetResponseResult'
|
|
||||||
required:
|
|
||||||
- unretweet
|
|
||||||
DeleteRetweetResponseResult:
|
|
||||||
properties:
|
|
||||||
retweet_results:
|
|
||||||
$ref: '#/components/schemas/DeleteRetweet'
|
|
||||||
required:
|
|
||||||
- source_tweet_results
|
|
||||||
DeleteTweetResponse:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/DeleteTweetResponseData'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
DeleteTweetResponseData:
|
|
||||||
properties:
|
|
||||||
delete_retweet:
|
|
||||||
$ref: '#/components/schemas/DeleteTweetResponseResult'
|
|
||||||
required:
|
|
||||||
- delete_tweet
|
|
||||||
DeleteTweetResponseResult:
|
|
||||||
properties:
|
|
||||||
tweet_results:
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- tweet_results
|
|
||||||
FavoriteTweet:
|
|
||||||
properties:
|
|
||||||
favorite_tweet:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- favorite_tweet
|
|
||||||
FavoriteTweetResponseData:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/FavoriteTweet'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
Retweet:
|
|
||||||
properties:
|
|
||||||
legacy:
|
|
||||||
properties:
|
|
||||||
full_text:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- full_text
|
|
||||||
type: object
|
|
||||||
rest_id:
|
|
||||||
pattern: ^[0-9]+$
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- rest_id
|
|
||||||
- legacy
|
|
||||||
UnfavoriteTweet:
|
|
||||||
properties:
|
|
||||||
unfavorite_tweet:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- unfavorite_tweet
|
|
||||||
UnfavoriteTweetResponseData:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/UnfavoriteTweet'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths:
|
|
||||||
/graphql/{pathQueryId}/CreateRetweet:
|
|
||||||
post:
|
|
||||||
description: create Retweet
|
|
||||||
operationId: postCreateRetweet
|
|
||||||
parameters:
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: ojPdsZsimiJrUGLR1sjUtA
|
|
||||||
example: ojPdsZsimiJrUGLR1sjUtA
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"ojPdsZsimiJrUGLR1sjUtA"'
|
|
||||||
example: '"ojPdsZsimiJrUGLR1sjUtA"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"tweet_id": "1349129669258448897", "dark_request": false}'
|
|
||||||
example: '{"tweet_id": "1349129669258448897", "dark_request": false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/CreateRetweetResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- post
|
|
||||||
/graphql/{pathQueryId}/CreateTweet:
|
|
||||||
post:
|
|
||||||
description: create Tweet
|
|
||||||
operationId: postCreateTweet
|
|
||||||
parameters:
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 1RyAhNwby-gzGCRVsMxKbQ
|
|
||||||
example: 1RyAhNwby-gzGCRVsMxKbQ
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
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:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/CreateTweetResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- post
|
|
||||||
/graphql/{pathQueryId}/DeleteRetweet:
|
|
||||||
post:
|
|
||||||
description: delete Retweet
|
|
||||||
operationId: postDeleteRetweet
|
|
||||||
parameters:
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: iQtK4dl5hBmXewYZuEOKVw
|
|
||||||
example: iQtK4dl5hBmXewYZuEOKVw
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"iQtK4dl5hBmXewYZuEOKVw"'
|
|
||||||
example: '"iQtK4dl5hBmXewYZuEOKVw"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"source_tweet_id": "1349129669258448897", "dark_request": false}'
|
|
||||||
example: '{"source_tweet_id": "1349129669258448897", "dark_request": false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/DeleteRetweetResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- post
|
|
||||||
/graphql/{pathQueryId}/DeleteTweet:
|
|
||||||
post:
|
|
||||||
description: delete Retweet
|
|
||||||
operationId: postDeleteTweet
|
|
||||||
parameters:
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: VaenaVgh5q5ih7kvyVjgtg
|
|
||||||
example: VaenaVgh5q5ih7kvyVjgtg
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"VaenaVgh5q5ih7kvyVjgtg"'
|
|
||||||
example: '"VaenaVgh5q5ih7kvyVjgtg"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"tweet_id": "1349129669258448897", "dark_request": false}'
|
|
||||||
example: '{"tweet_id": "1349129669258448897", "dark_request": false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/DeleteTweetResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- post
|
|
||||||
/graphql/{pathQueryId}/FavoriteTweet:
|
|
||||||
post:
|
|
||||||
description: favorite Tweet
|
|
||||||
operationId: postFavoriteTweet
|
|
||||||
parameters:
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: lI07N6Otwv1PhnEgXILM7A
|
|
||||||
example: lI07N6Otwv1PhnEgXILM7A
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"lI07N6Otwv1PhnEgXILM7A"'
|
|
||||||
example: '"lI07N6Otwv1PhnEgXILM7A"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"tweet_id": "1349129669258448897", "dark_request": false}'
|
|
||||||
example: '{"tweet_id": "1349129669258448897", "dark_request": false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/FavoriteTweetResponseData'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- post
|
|
||||||
/graphql/{pathQueryId}/UnfavoriteTweet:
|
|
||||||
post:
|
|
||||||
description: unfavorite Tweet
|
|
||||||
operationId: postUnfavoriteTweet
|
|
||||||
parameters:
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: ZYKSe-w7KEslx3JhSIk5LA
|
|
||||||
example: ZYKSe-w7KEslx3JhSIk5LA
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"ZYKSe-w7KEslx3JhSIk5LA"'
|
|
||||||
example: '"ZYKSe-w7KEslx3JhSIk5LA"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"tweet_id": "1349129669258448897", "dark_request": false}'
|
|
||||||
example: '{"tweet_id": "1349129669258448897", "dark_request": false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/UnfavoriteTweetResponseData'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- post
|
|
||||||
130
dist/test/paths/profile.yaml
vendored
130
dist/test/paths/profile.yaml
vendored
|
|
@ -1,130 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
ProfileResponse:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/ProfileResponseData'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
ProfileResponseData:
|
|
||||||
properties:
|
|
||||||
user_result_by_screen_name:
|
|
||||||
$ref: '#/components/schemas/UserResultByScreenName'
|
|
||||||
required:
|
|
||||||
- user_result_by_screen_name
|
|
||||||
UserResultByScreenName:
|
|
||||||
properties:
|
|
||||||
id:
|
|
||||||
pattern: ^[0-9a-zA-Z]+$
|
|
||||||
type: string
|
|
||||||
result:
|
|
||||||
$ref: '#/components/schemas/UserResultByScreenNameResult'
|
|
||||||
required:
|
|
||||||
- id
|
|
||||||
- result
|
|
||||||
UserResultByScreenNameLegacy:
|
|
||||||
properties:
|
|
||||||
blocked_by:
|
|
||||||
type: boolean
|
|
||||||
blocking:
|
|
||||||
type: boolean
|
|
||||||
followed_by:
|
|
||||||
type: boolean
|
|
||||||
following:
|
|
||||||
type: boolean
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
protected:
|
|
||||||
type: boolean
|
|
||||||
screen_name:
|
|
||||||
type: string
|
|
||||||
UserResultByScreenNameResult:
|
|
||||||
properties:
|
|
||||||
__typename:
|
|
||||||
$ref: ./../schemas/typename.yaml#/components/schemas/TypeName
|
|
||||||
id:
|
|
||||||
pattern: ^[0-9a-zA-Z=]+$
|
|
||||||
type: string
|
|
||||||
legacy:
|
|
||||||
$ref: '#/components/schemas/UserResultByScreenNameLegacy'
|
|
||||||
profilemodules:
|
|
||||||
type: object
|
|
||||||
rest_id:
|
|
||||||
pattern: ^[0-9]+$
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- __typename
|
|
||||||
- id
|
|
||||||
- legacy
|
|
||||||
- profilemodules
|
|
||||||
- rest_id
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths:
|
|
||||||
/graphql/{pathQueryId}/ProfileSpotlightsQuery:
|
|
||||||
get:
|
|
||||||
description: get user by screen name
|
|
||||||
operationId: getProfileSpotlightsQuery
|
|
||||||
parameters:
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 9zwVLJ48lmVUk8u_Gh9DmA
|
|
||||||
example: 9zwVLJ48lmVUk8u_Gh9DmA
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"9zwVLJ48lmVUk8u_Gh9DmA"'
|
|
||||||
example: '"9zwVLJ48lmVUk8u_Gh9DmA"'
|
|
||||||
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
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/ProfileResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
90
dist/test/paths/user.yaml
vendored
90
dist/test/paths/user.yaml
vendored
|
|
@ -1,90 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
UserResponse:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/UserResponseData'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
UserResponseData:
|
|
||||||
properties:
|
|
||||||
user:
|
|
||||||
$ref: ./../schemas/user.yaml#/components/schemas/UserResults
|
|
||||||
required:
|
|
||||||
- user
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths:
|
|
||||||
/graphql/{pathQueryId}/UserByScreenName:
|
|
||||||
get:
|
|
||||||
description: get user by screen name
|
|
||||||
operationId: getUserByScreenName
|
|
||||||
parameters:
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: sLVLhk0bGj3MVFEKTdax1w
|
|
||||||
example: sLVLhk0bGj3MVFEKTdax1w
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"sLVLhk0bGj3MVFEKTdax1w"'
|
|
||||||
example: '"sLVLhk0bGj3MVFEKTdax1w"'
|
|
||||||
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
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/UserResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- user
|
|
||||||
396
dist/test/paths/usertweets.yaml
vendored
396
dist/test/paths/usertweets.yaml
vendored
|
|
@ -1,396 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
UserTweetsData:
|
|
||||||
properties:
|
|
||||||
user:
|
|
||||||
$ref: '#/components/schemas/UserTweetsUser'
|
|
||||||
required:
|
|
||||||
- user
|
|
||||||
UserTweetsResponse:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/UserTweetsData'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
UserTweetsResult:
|
|
||||||
properties:
|
|
||||||
__typename:
|
|
||||||
$ref: ./../schemas/typename.yaml#/components/schemas/TypeName
|
|
||||||
timeline_v2:
|
|
||||||
$ref: ./../schemas/timeline.yaml#/components/schemas/TimelineV2
|
|
||||||
required:
|
|
||||||
- __typename
|
|
||||||
- timeline_v2
|
|
||||||
UserTweetsUser:
|
|
||||||
properties:
|
|
||||||
result:
|
|
||||||
$ref: '#/components/schemas/UserTweetsResult'
|
|
||||||
required:
|
|
||||||
- result
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths:
|
|
||||||
/graphql/{pathQueryId}/Likes:
|
|
||||||
get:
|
|
||||||
description: get user likes tweets
|
|
||||||
operationId: getLikes
|
|
||||||
parameters:
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 5fmEkRT-1AdHqEsbVgehMg
|
|
||||||
example: 5fmEkRT-1AdHqEsbVgehMg
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"5fmEkRT-1AdHqEsbVgehMg"'
|
|
||||||
example: '"5fmEkRT-1AdHqEsbVgehMg"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"userId": "44196397", "count": 20, "includePromotedContent":
|
|
||||||
false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
|
|
||||||
true, "withV2Timeline": true}'
|
|
||||||
example: '{"userId": "44196397", "count": 20, "includePromotedContent":
|
|
||||||
false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
|
|
||||||
true, "withV2Timeline": true}'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: features
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/UserTweetsResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- tweet
|
|
||||||
/graphql/{pathQueryId}/UserMedia:
|
|
||||||
get:
|
|
||||||
description: get user media tweets
|
|
||||||
operationId: getUserMedia
|
|
||||||
parameters:
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: YqiE3JL1KNgf9nSljYdxaA
|
|
||||||
example: YqiE3JL1KNgf9nSljYdxaA
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"YqiE3JL1KNgf9nSljYdxaA"'
|
|
||||||
example: '"YqiE3JL1KNgf9nSljYdxaA"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
||||||
false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
|
|
||||||
true, "withV2Timeline": true}'
|
|
||||||
example: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
||||||
false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
|
|
||||||
true, "withV2Timeline": true}'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: features
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/UserTweetsResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- tweet
|
|
||||||
/graphql/{pathQueryId}/UserTweets:
|
|
||||||
get:
|
|
||||||
description: get user tweets
|
|
||||||
operationId: getUserTweets
|
|
||||||
parameters:
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: HuTx74BxAnezK1gWvYY7zg
|
|
||||||
example: HuTx74BxAnezK1gWvYY7zg
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"HuTx74BxAnezK1gWvYY7zg"'
|
|
||||||
example: '"HuTx74BxAnezK1gWvYY7zg"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
||||||
true, "withQuickPromoteEligibilityTweetFields": true, "withVoice": true,
|
|
||||||
"withV2Timeline": true}'
|
|
||||||
example: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
||||||
true, "withQuickPromoteEligibilityTweetFields": true, "withVoice": true,
|
|
||||||
"withV2Timeline": true}'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: features
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/UserTweetsResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- tweet
|
|
||||||
/graphql/{pathQueryId}/UserTweetsAndReplies:
|
|
||||||
get:
|
|
||||||
description: get user replies tweets
|
|
||||||
operationId: getUserTweetsAndReplies
|
|
||||||
parameters:
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: RIWc55YCNyUJ-U3HHGYkdg
|
|
||||||
example: RIWc55YCNyUJ-U3HHGYkdg
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"RIWc55YCNyUJ-U3HHGYkdg"'
|
|
||||||
example: '"RIWc55YCNyUJ-U3HHGYkdg"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
||||||
true, "withCommunity": true, "withVoice": true, "withV2Timeline": true}'
|
|
||||||
example: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
||||||
true, "withCommunity": true, "withVoice": true, "withV2Timeline": true}'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: features
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/UserTweetsResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- tweet
|
|
||||||
242
dist/test/paths/v1.1-get.yaml
vendored
242
dist/test/paths/v1.1-get.yaml
vendored
|
|
@ -1,242 +0,0 @@
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths:
|
|
||||||
/1.1/friends/following/list.json:
|
|
||||||
get:
|
|
||||||
description: get friends following list
|
|
||||||
operationId: getFriendsFollowingList
|
|
||||||
parameters:
|
|
||||||
- in: query
|
|
||||||
name: include_profile_interstitial_type
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_blocking
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_blocked_by
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_followed_by
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_want_retweets
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_mute_edge
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_can_dm
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_can_media_tag
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_ext_has_nft_avatar
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_ext_is_blue_verified
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_ext_verified_type
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_ext_profile_image_shape
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: skip_status
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: cursor
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '-1'
|
|
||||||
example: '-1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: user_id
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"44196397"'
|
|
||||||
example: '"44196397"'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: count
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '3'
|
|
||||||
example: '3'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: with_total_count
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'true'
|
|
||||||
example: 'true'
|
|
||||||
type: object
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
status:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-access-level:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-client-event-enabled:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-content-type-options:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-transaction:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- v1.1-get
|
|
||||||
/1.1/search/typeahead.json:
|
|
||||||
get:
|
|
||||||
description: get search typeahead
|
|
||||||
operationId: getSearchTypeahead
|
|
||||||
parameters:
|
|
||||||
- in: query
|
|
||||||
name: include_ext_is_blue_verified
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_ext_verified_type
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_ext_profile_image_shape
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: q
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"test"'
|
|
||||||
example: '"test"'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: src
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"search_box"'
|
|
||||||
example: '"search_box"'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: result_type
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"events,users,topics"'
|
|
||||||
example: '"events,users,topics"'
|
|
||||||
type: object
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
status:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-access-level:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-client-event-enabled:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-content-type-options:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-transaction:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- v1.1-get
|
|
||||||
277
dist/test/paths/v1.1-post.yaml
vendored
277
dist/test/paths/v1.1-post.yaml
vendored
|
|
@ -1,277 +0,0 @@
|
||||||
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
|
|
||||||
parameters:
|
|
||||||
- in: query
|
|
||||||
name: include_profile_interstitial_type
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_blocking
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_blocked_by
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_followed_by
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_want_retweets
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_mute_edge
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_can_dm
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_can_media_tag
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_ext_has_nft_avatar
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_ext_is_blue_verified
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_ext_verified_type
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_ext_profile_image_shape
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: skip_status
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: user_id
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"44196397"'
|
|
||||||
example: '"44196397"'
|
|
||||||
type: object
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
status:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-access-level:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-client-event-enabled:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-content-type-options:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-transaction:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- v1.1-post
|
|
||||||
/1.1/friendships/destroy.json:
|
|
||||||
post:
|
|
||||||
description: post destroy friendships
|
|
||||||
operationId: postDestroyFriendships
|
|
||||||
parameters:
|
|
||||||
- in: query
|
|
||||||
name: include_profile_interstitial_type
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_blocking
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_blocked_by
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_followed_by
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_want_retweets
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_mute_edge
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_can_dm
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_can_media_tag
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_ext_has_nft_avatar
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_ext_is_blue_verified
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_ext_verified_type
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_ext_profile_image_shape
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: skip_status
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: user_id
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"44196397"'
|
|
||||||
example: '"44196397"'
|
|
||||||
type: object
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
status:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-access-level:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-client-event-enabled:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-content-type-options:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-transaction:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- v1.1-post
|
|
||||||
302
dist/test/paths/v2.0-get.yaml
vendored
302
dist/test/paths/v2.0-get.yaml
vendored
|
|
@ -1,302 +0,0 @@
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths:
|
|
||||||
/2/search/adaptive.json:
|
|
||||||
get:
|
|
||||||
description: get search adaptive
|
|
||||||
operationId: getSearchAdaptive
|
|
||||||
parameters:
|
|
||||||
- in: query
|
|
||||||
name: include_profile_interstitial_type
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_blocking
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_blocked_by
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_followed_by
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_want_retweets
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_mute_edge
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_can_dm
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_can_media_tag
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_ext_has_nft_avatar
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_ext_is_blue_verified
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_ext_verified_type
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_ext_profile_image_shape
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: skip_status
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: cards_platform
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"Web-12"'
|
|
||||||
example: '"Web-12"'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_cards
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_ext_alt_text
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'true'
|
|
||||||
example: 'true'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_ext_limited_action_results
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'false'
|
|
||||||
example: 'false'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_quote_count
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'true'
|
|
||||||
example: 'true'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_reply_count
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: tweet_mode
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"extended"'
|
|
||||||
example: '"extended"'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_ext_views
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'true'
|
|
||||||
example: 'true'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_entities
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'true'
|
|
||||||
example: 'true'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_user_entities
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'true'
|
|
||||||
example: 'true'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_ext_media_color
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'true'
|
|
||||||
example: 'true'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_ext_media_availability
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'true'
|
|
||||||
example: 'true'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_ext_sensitive_media_warning
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'true'
|
|
||||||
example: 'true'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_ext_trusted_friends_metadata
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'true'
|
|
||||||
example: 'true'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: send_error_codes
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'true'
|
|
||||||
example: 'true'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: simple_quoted_tweet
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'true'
|
|
||||||
example: 'true'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: q
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"elon musk"'
|
|
||||||
example: '"elon musk"'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: query_source
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"trend_click"'
|
|
||||||
example: '"trend_click"'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: count
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '20'
|
|
||||||
example: '20'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: requestContext
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"launch"'
|
|
||||||
example: '"launch"'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: pc
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: spelling_corrections
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: include_ext_edit_control
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 'true'
|
|
||||||
example: 'true'
|
|
||||||
type: object
|
|
||||||
- in: query
|
|
||||||
name: ext
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"mediaStats,highlightedLabel,hasNftAvatar,voiceInfo,birdwatchPivot,enrichments,superFollowMetadata,unmentionInfo,editControl,vibe"'
|
|
||||||
example: '"mediaStats,highlightedLabel,hasNftAvatar,voiceInfo,birdwatchPivot,enrichments,superFollowMetadata,unmentionInfo,editControl,vibe"'
|
|
||||||
type: object
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
status:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-access-level:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-client-event-enabled:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-content-type-options:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-transaction:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- v2.0-get
|
|
||||||
13
dist/test/resources/parameters.yaml
vendored
13
dist/test/resources/parameters.yaml
vendored
|
|
@ -1,13 +0,0 @@
|
||||||
components:
|
|
||||||
parameters:
|
|
||||||
queryId:
|
|
||||||
in: path
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths: {}
|
|
||||||
90
dist/test/response/error.yaml
vendored
90
dist/test/response/error.yaml
vendored
|
|
@ -1,90 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
Error:
|
|
||||||
properties:
|
|
||||||
code:
|
|
||||||
type: integer
|
|
||||||
extensions:
|
|
||||||
$ref: '#/components/schemas/Extensions'
|
|
||||||
kind:
|
|
||||||
type: string
|
|
||||||
locations:
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/Location'
|
|
||||||
type: array
|
|
||||||
message:
|
|
||||||
type: string
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
path:
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
source:
|
|
||||||
type: string
|
|
||||||
tracing:
|
|
||||||
$ref: '#/components/schemas/Tracing'
|
|
||||||
required:
|
|
||||||
- message
|
|
||||||
- locations
|
|
||||||
- path
|
|
||||||
- extensions
|
|
||||||
- code
|
|
||||||
- kind
|
|
||||||
- name
|
|
||||||
- source
|
|
||||||
- tracing
|
|
||||||
type: object
|
|
||||||
ErrorResponse:
|
|
||||||
properties:
|
|
||||||
errors:
|
|
||||||
$ref: '#/components/schemas/Errors'
|
|
||||||
required:
|
|
||||||
- errors
|
|
||||||
- data
|
|
||||||
type: object
|
|
||||||
Errors:
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/Error'
|
|
||||||
type: array
|
|
||||||
Extensions:
|
|
||||||
properties:
|
|
||||||
code:
|
|
||||||
type: integer
|
|
||||||
kind:
|
|
||||||
type: string
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
source:
|
|
||||||
type: string
|
|
||||||
tracing:
|
|
||||||
$ref: '#/components/schemas/Tracing'
|
|
||||||
required:
|
|
||||||
- name
|
|
||||||
- source
|
|
||||||
- code
|
|
||||||
- kind
|
|
||||||
- tracing
|
|
||||||
type: object
|
|
||||||
Location:
|
|
||||||
properties:
|
|
||||||
column:
|
|
||||||
type: integer
|
|
||||||
line:
|
|
||||||
type: integer
|
|
||||||
required:
|
|
||||||
- line
|
|
||||||
- column
|
|
||||||
type: object
|
|
||||||
Tracing:
|
|
||||||
properties:
|
|
||||||
trace_id:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- trace_id
|
|
||||||
type: object
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths: {}
|
|
||||||
181
dist/test/schemas/content.yaml
vendored
181
dist/test/schemas/content.yaml
vendored
|
|
@ -1,181 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
ContentEntryType:
|
|
||||||
enum:
|
|
||||||
- TimelineTimelineItem
|
|
||||||
- TimelineTimelineCursor
|
|
||||||
- TimelineTimelineModule
|
|
||||||
type: string
|
|
||||||
ContentItemType:
|
|
||||||
enum:
|
|
||||||
- TimelineTweet
|
|
||||||
- TimelineTimelineCursor
|
|
||||||
- TimelineUser
|
|
||||||
type: string
|
|
||||||
ContentUnion:
|
|
||||||
discriminator:
|
|
||||||
mapping":
|
|
||||||
TimelineTimelineCursor: '#/components/schemas/TimelineTimelineCursor'
|
|
||||||
TimelineTimelineItem: '#/components/schemas/TimelineTimelineItem'
|
|
||||||
TimelineTimelineModule: '#/components/schemas/TimelineTimelineModule'
|
|
||||||
propertyName: entryType
|
|
||||||
oneOf:
|
|
||||||
- $ref: '#/components/schemas/TimelineTimelineItem'
|
|
||||||
- $ref: '#/components/schemas/TimelineTimelineModule'
|
|
||||||
- $ref: '#/components/schemas/TimelineTimelineCursor'
|
|
||||||
ItemContentUnion:
|
|
||||||
discriminator:
|
|
||||||
mapping":
|
|
||||||
TimelineTimelineCursor: '#/components/schemas/TimelineTimelineCursor'
|
|
||||||
TimelineTweet: '#/components/schemas/TimelineTweet'
|
|
||||||
TimelineUser: '#/components/schemas/TimelineUser'
|
|
||||||
propertyName: itemType
|
|
||||||
oneOf:
|
|
||||||
- $ref: '#/components/schemas/TimelineTweet'
|
|
||||||
- $ref: '#/components/schemas/TimelineTimelineCursor'
|
|
||||||
- $ref: '#/components/schemas/TimelineUser'
|
|
||||||
ItemResult:
|
|
||||||
properties:
|
|
||||||
__typename:
|
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
||||||
result:
|
|
||||||
$ref: ./tweet.yaml#/components/schemas/TweetUnion
|
|
||||||
required:
|
|
||||||
- result
|
|
||||||
ModuleEntry:
|
|
||||||
properties:
|
|
||||||
clientEventInfo:
|
|
||||||
type: object
|
|
||||||
itemContent:
|
|
||||||
$ref: '#/components/schemas/ItemContentUnion'
|
|
||||||
required:
|
|
||||||
- clientEventInfo
|
|
||||||
- itemContent
|
|
||||||
ModuleItem:
|
|
||||||
properties:
|
|
||||||
entryId:
|
|
||||||
pattern: ^[a-z\-]+[0-9]+$
|
|
||||||
type: string
|
|
||||||
item:
|
|
||||||
$ref: '#/components/schemas/ModuleEntry'
|
|
||||||
required:
|
|
||||||
- entryId
|
|
||||||
- item
|
|
||||||
SocialContext:
|
|
||||||
properties:
|
|
||||||
contextType:
|
|
||||||
type: string
|
|
||||||
text:
|
|
||||||
type: string
|
|
||||||
type:
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
TimelineTimelineCursor:
|
|
||||||
properties:
|
|
||||||
__typename:
|
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
||||||
cursorType:
|
|
||||||
enum:
|
|
||||||
- Top
|
|
||||||
- Bottom
|
|
||||||
- ShowMore
|
|
||||||
- ShowMoreThreads
|
|
||||||
- Gap
|
|
||||||
type: string
|
|
||||||
entryType:
|
|
||||||
$ref: '#/components/schemas/ContentEntryType'
|
|
||||||
type: string
|
|
||||||
itemType:
|
|
||||||
$ref: '#/components/schemas/ContentEntryType'
|
|
||||||
type: string
|
|
||||||
value:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- __typename
|
|
||||||
- cursorType
|
|
||||||
- value
|
|
||||||
TimelineTimelineItem:
|
|
||||||
properties:
|
|
||||||
__typename:
|
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
||||||
clientEventInfo:
|
|
||||||
type: object
|
|
||||||
entryType:
|
|
||||||
$ref: '#/components/schemas/ContentEntryType'
|
|
||||||
type: string
|
|
||||||
feedbackInfo:
|
|
||||||
type: object
|
|
||||||
itemContent:
|
|
||||||
$ref: '#/components/schemas/ItemContentUnion'
|
|
||||||
required:
|
|
||||||
- __typename
|
|
||||||
- entryType
|
|
||||||
- itemContent
|
|
||||||
TimelineTimelineModule:
|
|
||||||
properties:
|
|
||||||
__typename:
|
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
||||||
clientEventInfo:
|
|
||||||
type: object
|
|
||||||
displayType:
|
|
||||||
type: string
|
|
||||||
entryType:
|
|
||||||
$ref: '#/components/schemas/ContentEntryType'
|
|
||||||
type: string
|
|
||||||
footer:
|
|
||||||
type: object
|
|
||||||
header:
|
|
||||||
type: object
|
|
||||||
items:
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/ModuleItem'
|
|
||||||
type: array
|
|
||||||
required:
|
|
||||||
- __typename
|
|
||||||
- entryType
|
|
||||||
- displayType
|
|
||||||
- clientEventInfo
|
|
||||||
TimelineTweet:
|
|
||||||
properties:
|
|
||||||
SocialContext:
|
|
||||||
$ref: '#/components/schemas/SocialContext'
|
|
||||||
__typename:
|
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
||||||
itemType:
|
|
||||||
$ref: '#/components/schemas/ContentItemType'
|
|
||||||
type: string
|
|
||||||
promotedMetadata:
|
|
||||||
type: object
|
|
||||||
tweetDisplayType:
|
|
||||||
type: string
|
|
||||||
tweet_results:
|
|
||||||
$ref: '#/components/schemas/ItemResult'
|
|
||||||
required:
|
|
||||||
- __typename
|
|
||||||
- itemType
|
|
||||||
- tweetDisplayType
|
|
||||||
- tweet_results
|
|
||||||
TimelineUser:
|
|
||||||
properties:
|
|
||||||
SocialContext:
|
|
||||||
$ref: '#/components/schemas/SocialContext'
|
|
||||||
__typename:
|
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
||||||
itemType:
|
|
||||||
$ref: '#/components/schemas/ContentItemType'
|
|
||||||
type: string
|
|
||||||
userDisplayType:
|
|
||||||
type: string
|
|
||||||
user_results:
|
|
||||||
$ref: ./user.yaml#/components/schemas/UserResults
|
|
||||||
required:
|
|
||||||
- __typename
|
|
||||||
- itemType
|
|
||||||
- socialContext
|
|
||||||
- userDisplayType
|
|
||||||
- user_results
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths: {}
|
|
||||||
13
dist/test/schemas/general.yaml
vendored
13
dist/test/schemas/general.yaml
vendored
|
|
@ -1,13 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
TwitterTimeFormat:
|
|
||||||
example: Sat Dec 31 23:59:59 +0000 2023
|
|
||||||
pattern: ^(Sun|Mon|Tue|Wed|Thu|Fri|Sat) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)
|
|
||||||
(0[1-9]|[12][0-9]|3[01]) (0[0-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])
|
|
||||||
([+-][0-9]{4}) ([0-9]{4})$
|
|
||||||
type: string
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths: {}
|
|
||||||
83
dist/test/schemas/instruction.yaml
vendored
83
dist/test/schemas/instruction.yaml
vendored
|
|
@ -1,83 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
InstructionType:
|
|
||||||
enum:
|
|
||||||
- TimelineAddEntries
|
|
||||||
- TimelineClearCache
|
|
||||||
- TimelinePinEntry
|
|
||||||
- TimelineTerminateTimeline
|
|
||||||
type: string
|
|
||||||
InstructionUnion:
|
|
||||||
discriminator:
|
|
||||||
mapping":
|
|
||||||
TimelineAddEntries: '#/components/schemas/TimelineAddEntries'
|
|
||||||
TimelineClearCache: '#/components/schemas/TimelineClearCache'
|
|
||||||
TimelinePinEntry: '#/components/schemas/TimelinePinEntry'
|
|
||||||
TimelineTerminateTimeline: '#/components/schemas/TimelineTerminateTimeline'
|
|
||||||
propertyName: type
|
|
||||||
oneOf:
|
|
||||||
- $ref: '#/components/schemas/TimelineAddEntries'
|
|
||||||
- $ref: '#/components/schemas/TimelineClearCache'
|
|
||||||
- $ref: '#/components/schemas/TimelinePinEntry'
|
|
||||||
- $ref: '#/components/schemas/TimelineTerminateTimeline'
|
|
||||||
TimelineAddEntries:
|
|
||||||
properties:
|
|
||||||
entries:
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/TimelineAddEntry'
|
|
||||||
type: array
|
|
||||||
type:
|
|
||||||
$ref: '#/components/schemas/InstructionType'
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- type
|
|
||||||
- entries
|
|
||||||
TimelineAddEntry:
|
|
||||||
properties:
|
|
||||||
content:
|
|
||||||
$ref: ./content.yaml#/components/schemas/ContentUnion
|
|
||||||
entryId:
|
|
||||||
pattern: ^[a-z\-]+[0-9]+$
|
|
||||||
type: string
|
|
||||||
sortIndex:
|
|
||||||
pattern: '[0-9]+$'
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- content
|
|
||||||
- entryId
|
|
||||||
- sortIndex
|
|
||||||
TimelineClearCache:
|
|
||||||
properties:
|
|
||||||
type:
|
|
||||||
$ref: '#/components/schemas/InstructionType'
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- type
|
|
||||||
TimelinePinEntry:
|
|
||||||
properties:
|
|
||||||
entry:
|
|
||||||
$ref: '#/components/schemas/TimelineAddEntry'
|
|
||||||
type:
|
|
||||||
$ref: '#/components/schemas/InstructionType'
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- type
|
|
||||||
- entry
|
|
||||||
TimelineTerminateTimeline:
|
|
||||||
properties:
|
|
||||||
direction:
|
|
||||||
enum:
|
|
||||||
- Top
|
|
||||||
- Bottom
|
|
||||||
type: string
|
|
||||||
type:
|
|
||||||
$ref: '#/components/schemas/InstructionType'
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- type
|
|
||||||
- direction
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths: {}
|
|
||||||
25
dist/test/schemas/timeline.yaml
vendored
25
dist/test/schemas/timeline.yaml
vendored
|
|
@ -1,25 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
Timeline:
|
|
||||||
properties:
|
|
||||||
instructions:
|
|
||||||
items:
|
|
||||||
$ref: ./../schemas/instruction.yaml#/components/schemas/InstructionUnion
|
|
||||||
type: array
|
|
||||||
metadata:
|
|
||||||
type: object
|
|
||||||
responseObjects:
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- instructions
|
|
||||||
TimelineV2:
|
|
||||||
properties:
|
|
||||||
timeline:
|
|
||||||
$ref: '#/components/schemas/Timeline'
|
|
||||||
required:
|
|
||||||
- timeline
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths: {}
|
|
||||||
308
dist/test/schemas/tweet.yaml
vendored
308
dist/test/schemas/tweet.yaml
vendored
|
|
@ -1,308 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
Entities:
|
|
||||||
properties:
|
|
||||||
hashtags:
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/Hashtag'
|
|
||||||
type: array
|
|
||||||
media:
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/Media'
|
|
||||||
type: array
|
|
||||||
symbols:
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/Symbol'
|
|
||||||
type: array
|
|
||||||
urls:
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/Url'
|
|
||||||
type: array
|
|
||||||
user_mentions:
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/UserMention'
|
|
||||||
type: array
|
|
||||||
required:
|
|
||||||
- hashtags
|
|
||||||
- symbols
|
|
||||||
- user_mentions
|
|
||||||
- urls
|
|
||||||
ExtendedEntities:
|
|
||||||
properties:
|
|
||||||
media:
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/Media'
|
|
||||||
type: array
|
|
||||||
required:
|
|
||||||
- media
|
|
||||||
Hashtag:
|
|
||||||
type: object
|
|
||||||
Media:
|
|
||||||
properties:
|
|
||||||
display_url:
|
|
||||||
format: uri
|
|
||||||
type: string
|
|
||||||
expanded_url:
|
|
||||||
format: uri
|
|
||||||
type: string
|
|
||||||
ext_media_availability:
|
|
||||||
type: object
|
|
||||||
id_str:
|
|
||||||
pattern: ^[0-9]+$
|
|
||||||
type: string
|
|
||||||
indices:
|
|
||||||
items:
|
|
||||||
type: integer
|
|
||||||
type: array
|
|
||||||
media_key:
|
|
||||||
pattern: ^[0-9]+_[0-9]+$
|
|
||||||
type: string
|
|
||||||
media_url_https:
|
|
||||||
format: uri
|
|
||||||
type: string
|
|
||||||
original_info:
|
|
||||||
properties:
|
|
||||||
focus_rects:
|
|
||||||
items:
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
height:
|
|
||||||
type: integer
|
|
||||||
width:
|
|
||||||
type: integer
|
|
||||||
type: object
|
|
||||||
sizes:
|
|
||||||
type: object
|
|
||||||
type:
|
|
||||||
type: string
|
|
||||||
url:
|
|
||||||
format: uri
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- id_str
|
|
||||||
- indices
|
|
||||||
- media_url_https
|
|
||||||
- url
|
|
||||||
- display_url
|
|
||||||
- expanded_url
|
|
||||||
- type
|
|
||||||
- sizes
|
|
||||||
- original_info
|
|
||||||
Symbol:
|
|
||||||
type: object
|
|
||||||
Tweet:
|
|
||||||
properties:
|
|
||||||
__typename:
|
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
||||||
card:
|
|
||||||
properties:
|
|
||||||
legacy:
|
|
||||||
properties:
|
|
||||||
binding_values:
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
key:
|
|
||||||
type: string
|
|
||||||
value:
|
|
||||||
properties:
|
|
||||||
boolean_value:
|
|
||||||
type: boolean
|
|
||||||
scribe_key:
|
|
||||||
type: string
|
|
||||||
string_value:
|
|
||||||
type: string
|
|
||||||
type:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- type
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- key
|
|
||||||
- value
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
url:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- binding_values
|
|
||||||
- name
|
|
||||||
- url
|
|
||||||
type: object
|
|
||||||
rest_id:
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
core:
|
|
||||||
$ref: ./user.yaml#/components/schemas/UserResultCore
|
|
||||||
edit_control:
|
|
||||||
properties:
|
|
||||||
edit_tweet_ids:
|
|
||||||
items:
|
|
||||||
pattern: ^[0-9]+$
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
editable_until_msecs:
|
|
||||||
pattern: ^[0-9]+$
|
|
||||||
type: string
|
|
||||||
edits_remaining:
|
|
||||||
pattern: ^[0-9]+$
|
|
||||||
type: string
|
|
||||||
is_edit_eligible:
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
edit_prespective:
|
|
||||||
properties:
|
|
||||||
favorited:
|
|
||||||
type: boolean
|
|
||||||
retweeted:
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
is_translatable:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
legacy:
|
|
||||||
$ref: '#/components/schemas/TweetLegacy'
|
|
||||||
quoted_status_result:
|
|
||||||
$ref: ./content.yaml#/components/schemas/ItemResult
|
|
||||||
rest_id:
|
|
||||||
pattern: ^[0-9]+$
|
|
||||||
type: string
|
|
||||||
unmention_data:
|
|
||||||
type: object
|
|
||||||
views:
|
|
||||||
properties:
|
|
||||||
count:
|
|
||||||
pattern: ^[0-9]+$
|
|
||||||
type: string
|
|
||||||
state:
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- rest_id
|
|
||||||
- core
|
|
||||||
- edit_control
|
|
||||||
- edit_prespective
|
|
||||||
- is_translatable
|
|
||||||
- legacy
|
|
||||||
- views
|
|
||||||
TweetLegacy:
|
|
||||||
properties:
|
|
||||||
bookmark_count:
|
|
||||||
type: integer
|
|
||||||
bookmarked:
|
|
||||||
type: boolean
|
|
||||||
conversation_id_str:
|
|
||||||
pattern: ^[0-9]+$
|
|
||||||
type: string
|
|
||||||
created_at:
|
|
||||||
$ref: ./general.yaml#/components/schemas/TwitterTimeFormat
|
|
||||||
display_text_range:
|
|
||||||
items:
|
|
||||||
type: integer
|
|
||||||
type: array
|
|
||||||
entities:
|
|
||||||
$ref: '#/components/schemas/Entities'
|
|
||||||
extended_entities:
|
|
||||||
$ref: '#/components/schemas/ExtendedEntities'
|
|
||||||
favorite_count:
|
|
||||||
type: integer
|
|
||||||
favorited:
|
|
||||||
type: boolean
|
|
||||||
full_text:
|
|
||||||
type: string
|
|
||||||
id_str:
|
|
||||||
pattern: ^[0-9]+$
|
|
||||||
type: string
|
|
||||||
is_quote_status:
|
|
||||||
type: boolean
|
|
||||||
lang:
|
|
||||||
type: string
|
|
||||||
possibly_sensitive:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
possibly_sensitive_editable:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
quote_count:
|
|
||||||
type: integer
|
|
||||||
reply_count:
|
|
||||||
type: integer
|
|
||||||
retweet_count:
|
|
||||||
type: integer
|
|
||||||
retweeted:
|
|
||||||
type: boolean
|
|
||||||
retweeted_status_result:
|
|
||||||
$ref: ./content.yaml#/components/schemas/ItemResult
|
|
||||||
user_id_str:
|
|
||||||
pattern: ^[0-9]+$
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- bookmark_count
|
|
||||||
- bookmarked
|
|
||||||
- conversation_id_str
|
|
||||||
- created_at
|
|
||||||
- display_text_range
|
|
||||||
- entities
|
|
||||||
- favorite_count
|
|
||||||
- favorited
|
|
||||||
- full_text
|
|
||||||
- is_quote_status
|
|
||||||
- lang
|
|
||||||
- quote_count
|
|
||||||
- reply_count
|
|
||||||
- retweet_count
|
|
||||||
- retweeted
|
|
||||||
- user_id_str
|
|
||||||
- id_str
|
|
||||||
TweetTombstone:
|
|
||||||
properties:
|
|
||||||
__typename:
|
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
||||||
TweetUnion:
|
|
||||||
discriminator:
|
|
||||||
mapping":
|
|
||||||
Tweet: '#/components/schemas/Tweet'
|
|
||||||
TweetTombstone: '#/components/schemas/TweetTombstone'
|
|
||||||
TweetWithVisibilityResults: '#/components/schemas/TweetWithVisibilityResults'
|
|
||||||
propertyName: __typename
|
|
||||||
oneOf:
|
|
||||||
- $ref: '#/components/schemas/Tweet'
|
|
||||||
- $ref: '#/components/schemas/TweetWithVisibilityResults'
|
|
||||||
- $ref: '#/components/schemas/TweetTombstone'
|
|
||||||
TweetWithVisibilityResults:
|
|
||||||
properties:
|
|
||||||
__typename:
|
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
||||||
tweet:
|
|
||||||
$ref: '#/components/schemas/Tweet'
|
|
||||||
required:
|
|
||||||
- __typename
|
|
||||||
- tweet
|
|
||||||
Url:
|
|
||||||
properties:
|
|
||||||
display_url:
|
|
||||||
type: string
|
|
||||||
expanded_url:
|
|
||||||
format: uri
|
|
||||||
type: string
|
|
||||||
indices:
|
|
||||||
items:
|
|
||||||
type: integer
|
|
||||||
type: array
|
|
||||||
url:
|
|
||||||
format: uri
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- url
|
|
||||||
- indices
|
|
||||||
- expanded_url
|
|
||||||
- display_url
|
|
||||||
type: object
|
|
||||||
UserMention:
|
|
||||||
type: object
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths: {}
|
|
||||||
19
dist/test/schemas/typename.yaml
vendored
19
dist/test/schemas/typename.yaml
vendored
|
|
@ -1,19 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
TypeName:
|
|
||||||
enum:
|
|
||||||
- TimelineTweet
|
|
||||||
- TimelineTimelineItem
|
|
||||||
- TimelineUser
|
|
||||||
- TimelineTimelineCursor
|
|
||||||
- TweetWithVisibilityResults
|
|
||||||
- TimelineTimelineModule
|
|
||||||
- TweetTombstone
|
|
||||||
- Tweet
|
|
||||||
- User
|
|
||||||
type: string
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths: {}
|
|
||||||
206
dist/test/schemas/user.yaml
vendored
206
dist/test/schemas/user.yaml
vendored
|
|
@ -1,206 +0,0 @@
|
||||||
components:
|
|
||||||
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:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths: {}
|
|
||||||
141
dist/typescript/openapi-3.0.yaml
vendored
141
dist/typescript/openapi-3.0.yaml
vendored
|
|
@ -1,141 +0,0 @@
|
||||||
components:
|
|
||||||
schemas: {}
|
|
||||||
securitySchemes:
|
|
||||||
ActiveUser:
|
|
||||||
description: 'yes'
|
|
||||||
in: header
|
|
||||||
name: x-twitter-active-user
|
|
||||||
type: apiKey
|
|
||||||
AuthType:
|
|
||||||
description: OAuth2Session if you are logged in
|
|
||||||
in: header
|
|
||||||
name: x-twitter-auth-type
|
|
||||||
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: ''
|
|
||||||
in: header
|
|
||||||
name: x-csrf-token
|
|
||||||
type: apiKey
|
|
||||||
GuestToken:
|
|
||||||
description: document.cookie.split('; ').find(row => row.startsWith('gt='));
|
|
||||||
in: header
|
|
||||||
name: x-guest-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
|
|
||||||
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:
|
|
||||||
/1.1/friends/following/list.json:
|
|
||||||
$ref: ./paths/v1.1-get.yaml#/paths/~11.1~1friends~1following~1list.json
|
|
||||||
/1.1/friendships/create.json:
|
|
||||||
$ref: ./paths/v1.1-post.yaml#/paths/~11.1~1friendships~1create.json
|
|
||||||
/1.1/friendships/destroy.json:
|
|
||||||
$ref: ./paths/v1.1-post.yaml#/paths/~11.1~1friendships~1destroy.json
|
|
||||||
/1.1/search/typeahead.json:
|
|
||||||
$ref: ./paths/v1.1-get.yaml#/paths/~11.1~1search~1typeahead.json
|
|
||||||
/2/search/adaptive.json:
|
|
||||||
$ref: ./paths/v2.0-get.yaml#/paths/~12~1search~1adaptive.json
|
|
||||||
/graphql/{pathQueryId}/Bookmarks:
|
|
||||||
$ref: ./paths/bookmarks.yaml#/paths/~1graphql~1{pathQueryId}~1Bookmarks
|
|
||||||
/graphql/{pathQueryId}/CreateRetweet:
|
|
||||||
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1CreateRetweet
|
|
||||||
/graphql/{pathQueryId}/CreateTweet:
|
|
||||||
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1CreateTweet
|
|
||||||
/graphql/{pathQueryId}/DeleteRetweet:
|
|
||||||
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1DeleteRetweet
|
|
||||||
/graphql/{pathQueryId}/DeleteTweet:
|
|
||||||
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1DeleteTweet
|
|
||||||
/graphql/{pathQueryId}/FavoriteTweet:
|
|
||||||
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1FavoriteTweet
|
|
||||||
/graphql/{pathQueryId}/Followers:
|
|
||||||
$ref: ./paths/follow.yaml#/paths/~1graphql~1{pathQueryId}~1Followers
|
|
||||||
/graphql/{pathQueryId}/Following:
|
|
||||||
$ref: ./paths/follow.yaml#/paths/~1graphql~1{pathQueryId}~1Following
|
|
||||||
/graphql/{pathQueryId}/HomeLatestTimeline:
|
|
||||||
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{pathQueryId}~1HomeLatestTimeline
|
|
||||||
/graphql/{pathQueryId}/HomeTimeline:
|
|
||||||
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{pathQueryId}~1HomeTimeline
|
|
||||||
/graphql/{pathQueryId}/Likes:
|
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{pathQueryId}~1Likes
|
|
||||||
/graphql/{pathQueryId}/ListLatestTweetsTimeline:
|
|
||||||
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{pathQueryId}~1ListLatestTweetsTimeline
|
|
||||||
/graphql/{pathQueryId}/ProfileSpotlightsQuery:
|
|
||||||
$ref: ./paths/profile.yaml#/paths/~1graphql~1{pathQueryId}~1ProfileSpotlightsQuery
|
|
||||||
/graphql/{pathQueryId}/TweetDetail:
|
|
||||||
$ref: ./paths/tweet.yaml#/paths/~1graphql~1{pathQueryId}~1TweetDetail
|
|
||||||
/graphql/{pathQueryId}/UnfavoriteTweet:
|
|
||||||
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1UnfavoriteTweet
|
|
||||||
/graphql/{pathQueryId}/UserByScreenName:
|
|
||||||
$ref: ./paths/user.yaml#/paths/~1graphql~1{pathQueryId}~1UserByScreenName
|
|
||||||
/graphql/{pathQueryId}/UserMedia:
|
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{pathQueryId}~1UserMedia
|
|
||||||
/graphql/{pathQueryId}/UserTweets:
|
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{pathQueryId}~1UserTweets
|
|
||||||
/graphql/{pathQueryId}/UserTweetsAndReplies:
|
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{pathQueryId}~1UserTweetsAndReplies
|
|
||||||
/other:
|
|
||||||
$ref: ./paths/other.yaml#/paths/~1other
|
|
||||||
security:
|
|
||||||
- CsrfToken: []
|
|
||||||
- CookieCt0: []
|
|
||||||
- GuestToken: []
|
|
||||||
- CookieAuthToken: []
|
|
||||||
- AuthType: []
|
|
||||||
- UserAgent: []
|
|
||||||
- BearerAuth: []
|
|
||||||
- ActiveUser: []
|
|
||||||
- ClientLanguage: []
|
|
||||||
servers:
|
|
||||||
- url: https://twitter.com/i/api
|
|
||||||
tags:
|
|
||||||
- description: response User
|
|
||||||
name: user
|
|
||||||
- description: response User list
|
|
||||||
name: user-list
|
|
||||||
- description: response tweet
|
|
||||||
name: tweet
|
|
||||||
- description: post
|
|
||||||
name: post
|
|
||||||
- description: legacy APIs get
|
|
||||||
name: v1.1-get
|
|
||||||
- description: legacy APIs post
|
|
||||||
name: v1.1-post
|
|
||||||
- description: legacy APIs get
|
|
||||||
name: v2.0-get
|
|
||||||
- description: legacy APIs post
|
|
||||||
name: v2.0-post
|
|
||||||
- description: other
|
|
||||||
name: other
|
|
||||||
112
dist/typescript/paths/bookmarks.yaml
vendored
112
dist/typescript/paths/bookmarks.yaml
vendored
|
|
@ -1,112 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
BookmarksResponse:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/BookmarksResponseData'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
BookmarksResponseData:
|
|
||||||
properties:
|
|
||||||
bookmark_timeline_v2:
|
|
||||||
$ref: '#/components/schemas/BookmarksTimeline'
|
|
||||||
required:
|
|
||||||
- bookmark_timeline_v2
|
|
||||||
BookmarksTimeline:
|
|
||||||
properties:
|
|
||||||
timeline:
|
|
||||||
$ref: ./../schemas/timeline.yaml#/components/schemas/Timeline
|
|
||||||
required:
|
|
||||||
- timeline
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths:
|
|
||||||
/graphql/{pathQueryId}/Bookmarks:
|
|
||||||
get:
|
|
||||||
description: get bookmarks
|
|
||||||
operationId: getBookmarks
|
|
||||||
parameters:
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: tmd4ifV8RHltzn8ymGg1aw
|
|
||||||
example: tmd4ifV8RHltzn8ymGg1aw
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"tmd4ifV8RHltzn8ymGg1aw"'
|
|
||||||
example: '"tmd4ifV8RHltzn8ymGg1aw"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"count": 20, "includePromotedContent": true}'
|
|
||||||
example: '{"count": 20, "includePromotedContent": true}'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: features
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"graphql_timeline_v2_bookmark_timeline": true, "blue_business_profile_image_shape_enabled":
|
|
||||||
true, "responsive_web_graphql_exclude_directive_enabled": true, "verified_phone_label_enabled":
|
|
||||||
false, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
example: '{"graphql_timeline_v2_bookmark_timeline": true, "blue_business_profile_image_shape_enabled":
|
|
||||||
true, "responsive_web_graphql_exclude_directive_enabled": true, "verified_phone_label_enabled":
|
|
||||||
false, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/BookmarksResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- tweet
|
|
||||||
96
dist/typescript/paths/other.yaml
vendored
96
dist/typescript/paths/other.yaml
vendored
|
|
@ -1,96 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
CommunitiesActions:
|
|
||||||
properties:
|
|
||||||
create:
|
|
||||||
type: boolean
|
|
||||||
required:
|
|
||||||
- create
|
|
||||||
type: object
|
|
||||||
OneFactorLoginEligibility:
|
|
||||||
properties:
|
|
||||||
fetchStatus:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- fetchStatus
|
|
||||||
type: object
|
|
||||||
OtherResponse:
|
|
||||||
properties:
|
|
||||||
Session:
|
|
||||||
$ref: '#/components/schemas/Session'
|
|
||||||
type: object
|
|
||||||
Session:
|
|
||||||
properties:
|
|
||||||
SsoInitTokens:
|
|
||||||
type: object
|
|
||||||
communitiesActions:
|
|
||||||
$ref: '#/components/schemas/CommunitiesActions'
|
|
||||||
country:
|
|
||||||
pattern: ^[A-Z]{2}$
|
|
||||||
type: string
|
|
||||||
guestId:
|
|
||||||
pattern: ^[0-9]+$
|
|
||||||
type: string
|
|
||||||
hasCommunityMemberships:
|
|
||||||
type: boolean
|
|
||||||
isActiveCreator:
|
|
||||||
type: boolean
|
|
||||||
isRestrictedSession:
|
|
||||||
type: boolean
|
|
||||||
isSuperFollowSubscriber:
|
|
||||||
type: boolean
|
|
||||||
language:
|
|
||||||
pattern: ^[a-z]{2}$
|
|
||||||
type: string
|
|
||||||
oneFactorLoginEligibility:
|
|
||||||
$ref: '#/components/schemas/OneFactorLoginEligibility'
|
|
||||||
superFollowersCount:
|
|
||||||
type: integer
|
|
||||||
superFollowsApplicationStatus:
|
|
||||||
type: string
|
|
||||||
userFeatures:
|
|
||||||
$ref: '#/components/schemas/UserFeatures'
|
|
||||||
user_id:
|
|
||||||
pattern: ^[0-9]+$
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- country
|
|
||||||
- communitiesActions
|
|
||||||
- isActiveCreator
|
|
||||||
- isRestrictedSession
|
|
||||||
- guestId
|
|
||||||
- hasCommunityMemberships
|
|
||||||
- language
|
|
||||||
- oneFactorLoginEligibility
|
|
||||||
- ssoInitTokens
|
|
||||||
- superFollowersCount
|
|
||||||
- superFollowsApplicationStatus
|
|
||||||
- user_id
|
|
||||||
- userFeatures
|
|
||||||
- isSuperFollowSubscriber
|
|
||||||
type: object
|
|
||||||
UserFeatures:
|
|
||||||
properties:
|
|
||||||
mediatool_studio_library:
|
|
||||||
type: boolean
|
|
||||||
required:
|
|
||||||
- mediatool_studio_library
|
|
||||||
type: object
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths:
|
|
||||||
/other:
|
|
||||||
get:
|
|
||||||
description: This is not an actual endpoint
|
|
||||||
operationId: other
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/OtherResponse'
|
|
||||||
description: Successful operation
|
|
||||||
tags:
|
|
||||||
- other
|
|
||||||
314
dist/typescript/paths/timeline.yaml
vendored
314
dist/typescript/paths/timeline.yaml
vendored
|
|
@ -1,314 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
HomeTimelineHome:
|
|
||||||
properties:
|
|
||||||
home_timeline_urt:
|
|
||||||
$ref: ./../schemas/timeline.yaml#/components/schemas/Timeline
|
|
||||||
required:
|
|
||||||
- home_timeline_urt
|
|
||||||
HomeTimelineResponseData:
|
|
||||||
properties:
|
|
||||||
home:
|
|
||||||
$ref: '#/components/schemas/HomeTimelineHome'
|
|
||||||
required:
|
|
||||||
- home
|
|
||||||
ListTweetsTimeline:
|
|
||||||
properties:
|
|
||||||
timeline:
|
|
||||||
$ref: ./../schemas/timeline.yaml#/components/schemas/Timeline
|
|
||||||
required:
|
|
||||||
- timeline
|
|
||||||
ListTweetsTimelineData:
|
|
||||||
properties:
|
|
||||||
list:
|
|
||||||
$ref: '#/components/schemas/ListTweetsTimelineList'
|
|
||||||
required:
|
|
||||||
- list
|
|
||||||
ListTweetsTimelineList:
|
|
||||||
properties:
|
|
||||||
tweets_timeline:
|
|
||||||
$ref: '#/components/schemas/ListTweetsTimeline'
|
|
||||||
required:
|
|
||||||
- tweets_timeline
|
|
||||||
ListTweetsTimelineResponse:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/ListTweetsTimelineData'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
TimelineResponse:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/HomeTimelineResponseData'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths:
|
|
||||||
/graphql/{pathQueryId}/HomeLatestTimeline:
|
|
||||||
get:
|
|
||||||
description: get tweet list of timeline
|
|
||||||
operationId: getHomeLatestTimeline
|
|
||||||
parameters:
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: zhX91JE87mWvfprhYE97xA
|
|
||||||
example: zhX91JE87mWvfprhYE97xA
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"zhX91JE87mWvfprhYE97xA"'
|
|
||||||
example: '"zhX91JE87mWvfprhYE97xA"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
|
||||||
true, "requestContext": "launch"}'
|
|
||||||
example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
|
||||||
true, "requestContext": "launch"}'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: features
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/TimelineResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- tweet
|
|
||||||
/graphql/{pathQueryId}/HomeTimeline:
|
|
||||||
get:
|
|
||||||
description: get tweet list of timeline
|
|
||||||
operationId: getHomeTimeline
|
|
||||||
parameters:
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: HCosKfLNW1AcOo3la3mMgg
|
|
||||||
example: HCosKfLNW1AcOo3la3mMgg
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"HCosKfLNW1AcOo3la3mMgg"'
|
|
||||||
example: '"HCosKfLNW1AcOo3la3mMgg"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
|
||||||
true, "requestContext": "launch", "withCommunity": true}'
|
|
||||||
example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
|
||||||
true, "requestContext": "launch", "withCommunity": true}'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: features
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/TimelineResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- tweet
|
|
||||||
/graphql/{pathQueryId}/ListLatestTweetsTimeline:
|
|
||||||
get:
|
|
||||||
description: get tweet list of timeline
|
|
||||||
operationId: getListLatestTweetsTimeline
|
|
||||||
parameters:
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: 2TemLyqrMpTeAmysdbnVqw
|
|
||||||
example: 2TemLyqrMpTeAmysdbnVqw
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"2TemLyqrMpTeAmysdbnVqw"'
|
|
||||||
example: '"2TemLyqrMpTeAmysdbnVqw"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"listId": "53044119", "count": 20}'
|
|
||||||
example: '{"listId": "53044119", "count": 20}'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: features
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/ListTweetsTimelineResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- tweet
|
|
||||||
112
dist/typescript/paths/tweet.yaml
vendored
112
dist/typescript/paths/tweet.yaml
vendored
|
|
@ -1,112 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
TweetDetailResponse:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/TweetDetailResponseData'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
TweetDetailResponseData:
|
|
||||||
properties:
|
|
||||||
threaded_conversation_with_injections_v2:
|
|
||||||
$ref: ./../schemas/timeline.yaml#/components/schemas/Timeline
|
|
||||||
required:
|
|
||||||
- threaded_conversation_with_injections_v2
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths:
|
|
||||||
/graphql/{pathQueryId}/TweetDetail:
|
|
||||||
get:
|
|
||||||
description: get TweetDetail
|
|
||||||
operationId: getTweetDetail
|
|
||||||
parameters:
|
|
||||||
- in: path
|
|
||||||
name: pathQueryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: wNNG8DBB8EaXw1lq4vFWGA
|
|
||||||
example: wNNG8DBB8EaXw1lq4vFWGA
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '"wNNG8DBB8EaXw1lq4vFWGA"'
|
|
||||||
example: '"wNNG8DBB8EaXw1lq4vFWGA"'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: variables
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"focalTweetId": "1349129669258448897", "with_rux_injections":
|
|
||||||
false, "includePromotedContent": true, "withCommunity": true, "withQuickPromoteEligibilityTweetFields":
|
|
||||||
true, "withBirdwatchNotes": true, "withVoice": true, "withV2Timeline":
|
|
||||||
true}'
|
|
||||||
example: '{"focalTweetId": "1349129669258448897", "with_rux_injections":
|
|
||||||
false, "includePromotedContent": true, "withCommunity": true, "withQuickPromoteEligibilityTweetFields":
|
|
||||||
true, "withBirdwatchNotes": true, "withVoice": true, "withV2Timeline":
|
|
||||||
true}'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: features
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
||||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
||||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
||||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
||||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
||||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
||||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
||||||
false}'
|
|
||||||
type: string
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/TweetDetailResponse'
|
|
||||||
description: Successful operation
|
|
||||||
headers:
|
|
||||||
x-connection-hash:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-rate-limit-limit:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-remaining:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-rate-limit-reset:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-response-time:
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
x-tfe-preserve-body:
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
x-transaction-id:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
x-twitter-response-tags:
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
tags:
|
|
||||||
- tweet
|
|
||||||
13
dist/typescript/resources/parameters.yaml
vendored
13
dist/typescript/resources/parameters.yaml
vendored
|
|
@ -1,13 +0,0 @@
|
||||||
components:
|
|
||||||
parameters:
|
|
||||||
queryId:
|
|
||||||
in: path
|
|
||||||
name: queryId
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths: {}
|
|
||||||
90
dist/typescript/response/error.yaml
vendored
90
dist/typescript/response/error.yaml
vendored
|
|
@ -1,90 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
Error:
|
|
||||||
properties:
|
|
||||||
code:
|
|
||||||
type: integer
|
|
||||||
extensions:
|
|
||||||
$ref: '#/components/schemas/Extensions'
|
|
||||||
kind:
|
|
||||||
type: string
|
|
||||||
locations:
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/Location'
|
|
||||||
type: array
|
|
||||||
message:
|
|
||||||
type: string
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
path:
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
source:
|
|
||||||
type: string
|
|
||||||
tracing:
|
|
||||||
$ref: '#/components/schemas/Tracing'
|
|
||||||
required:
|
|
||||||
- message
|
|
||||||
- locations
|
|
||||||
- path
|
|
||||||
- extensions
|
|
||||||
- code
|
|
||||||
- kind
|
|
||||||
- name
|
|
||||||
- source
|
|
||||||
- tracing
|
|
||||||
type: object
|
|
||||||
ErrorResponse:
|
|
||||||
properties:
|
|
||||||
errors:
|
|
||||||
$ref: '#/components/schemas/Errors'
|
|
||||||
required:
|
|
||||||
- errors
|
|
||||||
- data
|
|
||||||
type: object
|
|
||||||
Errors:
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/Error'
|
|
||||||
type: array
|
|
||||||
Extensions:
|
|
||||||
properties:
|
|
||||||
code:
|
|
||||||
type: integer
|
|
||||||
kind:
|
|
||||||
type: string
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
source:
|
|
||||||
type: string
|
|
||||||
tracing:
|
|
||||||
$ref: '#/components/schemas/Tracing'
|
|
||||||
required:
|
|
||||||
- name
|
|
||||||
- source
|
|
||||||
- code
|
|
||||||
- kind
|
|
||||||
- tracing
|
|
||||||
type: object
|
|
||||||
Location:
|
|
||||||
properties:
|
|
||||||
column:
|
|
||||||
type: integer
|
|
||||||
line:
|
|
||||||
type: integer
|
|
||||||
required:
|
|
||||||
- line
|
|
||||||
- column
|
|
||||||
type: object
|
|
||||||
Tracing:
|
|
||||||
properties:
|
|
||||||
trace_id:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- trace_id
|
|
||||||
type: object
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths: {}
|
|
||||||
181
dist/typescript/schemas/content.yaml
vendored
181
dist/typescript/schemas/content.yaml
vendored
|
|
@ -1,181 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
ContentEntryType:
|
|
||||||
enum:
|
|
||||||
- TimelineTimelineItem
|
|
||||||
- TimelineTimelineCursor
|
|
||||||
- TimelineTimelineModule
|
|
||||||
type: string
|
|
||||||
ContentItemType:
|
|
||||||
enum:
|
|
||||||
- TimelineTweet
|
|
||||||
- TimelineTimelineCursor
|
|
||||||
- TimelineUser
|
|
||||||
type: string
|
|
||||||
ContentUnion:
|
|
||||||
discriminator:
|
|
||||||
mapping":
|
|
||||||
TimelineTimelineCursor: '#/components/schemas/TimelineTimelineCursor'
|
|
||||||
TimelineTimelineItem: '#/components/schemas/TimelineTimelineItem'
|
|
||||||
TimelineTimelineModule: '#/components/schemas/TimelineTimelineModule'
|
|
||||||
propertyName: entryType
|
|
||||||
oneOf:
|
|
||||||
- $ref: '#/components/schemas/TimelineTimelineItem'
|
|
||||||
- $ref: '#/components/schemas/TimelineTimelineModule'
|
|
||||||
- $ref: '#/components/schemas/TimelineTimelineCursor'
|
|
||||||
ItemContentUnion:
|
|
||||||
discriminator:
|
|
||||||
mapping":
|
|
||||||
TimelineTimelineCursor: '#/components/schemas/TimelineTimelineCursor'
|
|
||||||
TimelineTweet: '#/components/schemas/TimelineTweet'
|
|
||||||
TimelineUser: '#/components/schemas/TimelineUser'
|
|
||||||
propertyName: itemType
|
|
||||||
oneOf:
|
|
||||||
- $ref: '#/components/schemas/TimelineTweet'
|
|
||||||
- $ref: '#/components/schemas/TimelineTimelineCursor'
|
|
||||||
- $ref: '#/components/schemas/TimelineUser'
|
|
||||||
ItemResult:
|
|
||||||
properties:
|
|
||||||
__typename:
|
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
||||||
result:
|
|
||||||
$ref: ./tweet.yaml#/components/schemas/TweetUnion
|
|
||||||
required:
|
|
||||||
- result
|
|
||||||
ModuleEntry:
|
|
||||||
properties:
|
|
||||||
clientEventInfo:
|
|
||||||
type: object
|
|
||||||
itemContent:
|
|
||||||
$ref: '#/components/schemas/ItemContentUnion'
|
|
||||||
required:
|
|
||||||
- clientEventInfo
|
|
||||||
- itemContent
|
|
||||||
ModuleItem:
|
|
||||||
properties:
|
|
||||||
entryId:
|
|
||||||
pattern: ^[a-z\-]+[0-9]+$
|
|
||||||
type: string
|
|
||||||
item:
|
|
||||||
$ref: '#/components/schemas/ModuleEntry'
|
|
||||||
required:
|
|
||||||
- entryId
|
|
||||||
- item
|
|
||||||
SocialContext:
|
|
||||||
properties:
|
|
||||||
contextType:
|
|
||||||
type: string
|
|
||||||
text:
|
|
||||||
type: string
|
|
||||||
type:
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
TimelineTimelineCursor:
|
|
||||||
properties:
|
|
||||||
__typename:
|
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
||||||
cursorType:
|
|
||||||
enum:
|
|
||||||
- Top
|
|
||||||
- Bottom
|
|
||||||
- ShowMore
|
|
||||||
- ShowMoreThreads
|
|
||||||
- Gap
|
|
||||||
type: string
|
|
||||||
entryType:
|
|
||||||
$ref: '#/components/schemas/ContentEntryType'
|
|
||||||
type: string
|
|
||||||
itemType:
|
|
||||||
$ref: '#/components/schemas/ContentEntryType'
|
|
||||||
type: string
|
|
||||||
value:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- __typename
|
|
||||||
- cursorType
|
|
||||||
- value
|
|
||||||
TimelineTimelineItem:
|
|
||||||
properties:
|
|
||||||
__typename:
|
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
||||||
clientEventInfo:
|
|
||||||
type: object
|
|
||||||
entryType:
|
|
||||||
$ref: '#/components/schemas/ContentEntryType'
|
|
||||||
type: string
|
|
||||||
feedbackInfo:
|
|
||||||
type: object
|
|
||||||
itemContent:
|
|
||||||
$ref: '#/components/schemas/ItemContentUnion'
|
|
||||||
required:
|
|
||||||
- __typename
|
|
||||||
- entryType
|
|
||||||
- itemContent
|
|
||||||
TimelineTimelineModule:
|
|
||||||
properties:
|
|
||||||
__typename:
|
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
||||||
clientEventInfo:
|
|
||||||
type: object
|
|
||||||
displayType:
|
|
||||||
type: string
|
|
||||||
entryType:
|
|
||||||
$ref: '#/components/schemas/ContentEntryType'
|
|
||||||
type: string
|
|
||||||
footer:
|
|
||||||
type: object
|
|
||||||
header:
|
|
||||||
type: object
|
|
||||||
items:
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/ModuleItem'
|
|
||||||
type: array
|
|
||||||
required:
|
|
||||||
- __typename
|
|
||||||
- entryType
|
|
||||||
- displayType
|
|
||||||
- clientEventInfo
|
|
||||||
TimelineTweet:
|
|
||||||
properties:
|
|
||||||
SocialContext:
|
|
||||||
$ref: '#/components/schemas/SocialContext'
|
|
||||||
__typename:
|
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
||||||
itemType:
|
|
||||||
$ref: '#/components/schemas/ContentItemType'
|
|
||||||
type: string
|
|
||||||
promotedMetadata:
|
|
||||||
type: object
|
|
||||||
tweetDisplayType:
|
|
||||||
type: string
|
|
||||||
tweet_results:
|
|
||||||
$ref: '#/components/schemas/ItemResult'
|
|
||||||
required:
|
|
||||||
- __typename
|
|
||||||
- itemType
|
|
||||||
- tweetDisplayType
|
|
||||||
- tweet_results
|
|
||||||
TimelineUser:
|
|
||||||
properties:
|
|
||||||
SocialContext:
|
|
||||||
$ref: '#/components/schemas/SocialContext'
|
|
||||||
__typename:
|
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
||||||
itemType:
|
|
||||||
$ref: '#/components/schemas/ContentItemType'
|
|
||||||
type: string
|
|
||||||
userDisplayType:
|
|
||||||
type: string
|
|
||||||
user_results:
|
|
||||||
$ref: ./user.yaml#/components/schemas/UserResults
|
|
||||||
required:
|
|
||||||
- __typename
|
|
||||||
- itemType
|
|
||||||
- socialContext
|
|
||||||
- userDisplayType
|
|
||||||
- user_results
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths: {}
|
|
||||||
13
dist/typescript/schemas/general.yaml
vendored
13
dist/typescript/schemas/general.yaml
vendored
|
|
@ -1,13 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
TwitterTimeFormat:
|
|
||||||
example: Sat Dec 31 23:59:59 +0000 2023
|
|
||||||
pattern: ^(Sun|Mon|Tue|Wed|Thu|Fri|Sat) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)
|
|
||||||
(0[1-9]|[12][0-9]|3[01]) (0[0-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])
|
|
||||||
([+-][0-9]{4}) ([0-9]{4})$
|
|
||||||
type: string
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths: {}
|
|
||||||
83
dist/typescript/schemas/instruction.yaml
vendored
83
dist/typescript/schemas/instruction.yaml
vendored
|
|
@ -1,83 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
InstructionType:
|
|
||||||
enum:
|
|
||||||
- TimelineAddEntries
|
|
||||||
- TimelineClearCache
|
|
||||||
- TimelinePinEntry
|
|
||||||
- TimelineTerminateTimeline
|
|
||||||
type: string
|
|
||||||
InstructionUnion:
|
|
||||||
discriminator:
|
|
||||||
mapping":
|
|
||||||
TimelineAddEntries: '#/components/schemas/TimelineAddEntries'
|
|
||||||
TimelineClearCache: '#/components/schemas/TimelineClearCache'
|
|
||||||
TimelinePinEntry: '#/components/schemas/TimelinePinEntry'
|
|
||||||
TimelineTerminateTimeline: '#/components/schemas/TimelineTerminateTimeline'
|
|
||||||
propertyName: type
|
|
||||||
oneOf:
|
|
||||||
- $ref: '#/components/schemas/TimelineAddEntries'
|
|
||||||
- $ref: '#/components/schemas/TimelineClearCache'
|
|
||||||
- $ref: '#/components/schemas/TimelinePinEntry'
|
|
||||||
- $ref: '#/components/schemas/TimelineTerminateTimeline'
|
|
||||||
TimelineAddEntries:
|
|
||||||
properties:
|
|
||||||
entries:
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/TimelineAddEntry'
|
|
||||||
type: array
|
|
||||||
type:
|
|
||||||
$ref: '#/components/schemas/InstructionType'
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- type
|
|
||||||
- entries
|
|
||||||
TimelineAddEntry:
|
|
||||||
properties:
|
|
||||||
content:
|
|
||||||
$ref: ./content.yaml#/components/schemas/ContentUnion
|
|
||||||
entryId:
|
|
||||||
pattern: ^[a-z\-]+[0-9]+$
|
|
||||||
type: string
|
|
||||||
sortIndex:
|
|
||||||
pattern: '[0-9]+$'
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- content
|
|
||||||
- entryId
|
|
||||||
- sortIndex
|
|
||||||
TimelineClearCache:
|
|
||||||
properties:
|
|
||||||
type:
|
|
||||||
$ref: '#/components/schemas/InstructionType'
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- type
|
|
||||||
TimelinePinEntry:
|
|
||||||
properties:
|
|
||||||
entry:
|
|
||||||
$ref: '#/components/schemas/TimelineAddEntry'
|
|
||||||
type:
|
|
||||||
$ref: '#/components/schemas/InstructionType'
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- type
|
|
||||||
- entry
|
|
||||||
TimelineTerminateTimeline:
|
|
||||||
properties:
|
|
||||||
direction:
|
|
||||||
enum:
|
|
||||||
- Top
|
|
||||||
- Bottom
|
|
||||||
type: string
|
|
||||||
type:
|
|
||||||
$ref: '#/components/schemas/InstructionType'
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- type
|
|
||||||
- direction
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths: {}
|
|
||||||
25
dist/typescript/schemas/timeline.yaml
vendored
25
dist/typescript/schemas/timeline.yaml
vendored
|
|
@ -1,25 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
Timeline:
|
|
||||||
properties:
|
|
||||||
instructions:
|
|
||||||
items:
|
|
||||||
$ref: ./../schemas/instruction.yaml#/components/schemas/InstructionUnion
|
|
||||||
type: array
|
|
||||||
metadata:
|
|
||||||
type: object
|
|
||||||
responseObjects:
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- instructions
|
|
||||||
TimelineV2:
|
|
||||||
properties:
|
|
||||||
timeline:
|
|
||||||
$ref: '#/components/schemas/Timeline'
|
|
||||||
required:
|
|
||||||
- timeline
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths: {}
|
|
||||||
19
dist/typescript/schemas/typename.yaml
vendored
19
dist/typescript/schemas/typename.yaml
vendored
|
|
@ -1,19 +0,0 @@
|
||||||
components:
|
|
||||||
schemas:
|
|
||||||
TypeName:
|
|
||||||
enum:
|
|
||||||
- TimelineTweet
|
|
||||||
- TimelineTimelineItem
|
|
||||||
- TimelineUser
|
|
||||||
- TimelineTimelineCursor
|
|
||||||
- TweetWithVisibilityResults
|
|
||||||
- TimelineTimelineModule
|
|
||||||
- TweetTombstone
|
|
||||||
- Tweet
|
|
||||||
- User
|
|
||||||
type: string
|
|
||||||
info:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths: {}
|
|
||||||
206
dist/typescript/schemas/user.yaml
vendored
206
dist/typescript/schemas/user.yaml
vendored
|
|
@ -1,206 +0,0 @@
|
||||||
components:
|
|
||||||
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:
|
|
||||||
title: Twitter OpenAPI
|
|
||||||
version: 0.0.1
|
|
||||||
openapi: 3.0.3
|
|
||||||
paths: {}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue