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
cce687ba15
commit
92b54baa58
23 changed files with 2962 additions and 192 deletions
22
dist/dart/openapi-3.0.yaml
vendored
22
dist/dart/openapi-3.0.yaml
vendored
|
|
@ -33,8 +33,16 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
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:
|
/1.1/friendships/create.json:
|
||||||
$ref: ./paths/v1.1.yaml#/paths/~11.1~1friendships~1create.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/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
|
/graphql/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
|
||||||
$ref: ./paths/post.yaml#/paths/~1graphql~11RyAhNwby-gzGCRVsMxKbQ~1CreateTweet
|
$ref: ./paths/post.yaml#/paths/~1graphql~11RyAhNwby-gzGCRVsMxKbQ~1CreateTweet
|
||||||
/graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
/graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
||||||
|
|
@ -87,10 +95,16 @@ tags:
|
||||||
- description: response User
|
- description: response User
|
||||||
name: user
|
name: user
|
||||||
- description: response User list
|
- description: response User list
|
||||||
name: userList
|
name: user-list
|
||||||
- description: response tweet
|
- description: response tweet
|
||||||
name: tweet
|
name: tweet
|
||||||
- description: post
|
- description: post
|
||||||
name: post
|
name: post
|
||||||
- description: legacy APIs
|
- description: legacy APIs get
|
||||||
name: v1.1
|
name: v1.1-get
|
||||||
|
- description: legacy APIs post
|
||||||
|
name: v1.1-post
|
||||||
|
- description: legacy APIs get
|
||||||
|
name: v2-get
|
||||||
|
- description: legacy APIs post
|
||||||
|
name: v2-post
|
||||||
|
|
|
||||||
4
dist/dart/paths/follow.yaml
vendored
4
dist/dart/paths/follow.yaml
vendored
|
|
@ -148,7 +148,7 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
tags:
|
tags:
|
||||||
- userList
|
- user-list
|
||||||
/graphql/djdTXDIk2qhd4OStqlUFeQ/Followers:
|
/graphql/djdTXDIk2qhd4OStqlUFeQ/Followers:
|
||||||
get:
|
get:
|
||||||
description: get user list of followers
|
description: get user list of followers
|
||||||
|
|
@ -259,4 +259,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
tags:
|
tags:
|
||||||
- userList
|
- user-list
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,10 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/1.1/friendships/create.json:
|
/1.1/friends/following/list.json:
|
||||||
post:
|
get:
|
||||||
description: post create friendships
|
description: get friends following list
|
||||||
operationId: postCreateFriendships
|
operationId: getFriendsFollowingList
|
||||||
parameters:
|
parameters:
|
||||||
- in: query
|
- in: query
|
||||||
name: include_profile_interstitial_type
|
name: include_profile_interstitial_type
|
||||||
|
|
@ -99,12 +99,33 @@ paths:
|
||||||
default: '1'
|
default: '1'
|
||||||
example: '1'
|
example: '1'
|
||||||
type: object
|
type: object
|
||||||
|
- in: query
|
||||||
|
name: cursor
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '-1'
|
||||||
|
example: '-1'
|
||||||
|
type: object
|
||||||
- in: query
|
- in: query
|
||||||
name: user_id
|
name: user_id
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: '1180389371481976833'
|
default: '17152334'
|
||||||
example: '1180389371481976833'
|
example: '17152334'
|
||||||
|
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
|
type: object
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
|
@ -138,4 +159,84 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
tags:
|
tags:
|
||||||
- v1.1
|
- 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: '"aaa"'
|
||||||
|
example: '"aaa"'
|
||||||
|
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/dart/paths/v1.1-post.yaml
vendored
Normal file
277
dist/dart/paths/v1.1-post.yaml
vendored
Normal file
|
|
@ -0,0 +1,277 @@
|
||||||
|
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/dart/paths/v2.0-get.yaml
vendored
Normal file
302
dist/dart/paths/v2.0-get.yaml
vendored
Normal file
|
|
@ -0,0 +1,302 @@
|
||||||
|
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
|
||||||
22
dist/docs/openapi-3.0.yaml
vendored
22
dist/docs/openapi-3.0.yaml
vendored
|
|
@ -33,8 +33,16 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
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:
|
/1.1/friendships/create.json:
|
||||||
$ref: ./paths/v1.1.yaml#/paths/~11.1~1friendships~1create.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/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
|
/graphql/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
|
||||||
$ref: ./paths/post.yaml#/paths/~1graphql~11RyAhNwby-gzGCRVsMxKbQ~1CreateTweet
|
$ref: ./paths/post.yaml#/paths/~1graphql~11RyAhNwby-gzGCRVsMxKbQ~1CreateTweet
|
||||||
/graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
/graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
||||||
|
|
@ -87,10 +95,16 @@ tags:
|
||||||
- description: response User
|
- description: response User
|
||||||
name: user
|
name: user
|
||||||
- description: response User list
|
- description: response User list
|
||||||
name: userList
|
name: user-list
|
||||||
- description: response tweet
|
- description: response tweet
|
||||||
name: tweet
|
name: tweet
|
||||||
- description: post
|
- description: post
|
||||||
name: post
|
name: post
|
||||||
- description: legacy APIs
|
- description: legacy APIs get
|
||||||
name: v1.1
|
name: v1.1-get
|
||||||
|
- description: legacy APIs post
|
||||||
|
name: v1.1-post
|
||||||
|
- description: legacy APIs get
|
||||||
|
name: v2-get
|
||||||
|
- description: legacy APIs post
|
||||||
|
name: v2-post
|
||||||
|
|
|
||||||
4
dist/docs/paths/follow.yaml
vendored
4
dist/docs/paths/follow.yaml
vendored
|
|
@ -213,7 +213,7 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
tags:
|
tags:
|
||||||
- userList
|
- user-list
|
||||||
/graphql/djdTXDIk2qhd4OStqlUFeQ/Followers:
|
/graphql/djdTXDIk2qhd4OStqlUFeQ/Followers:
|
||||||
get:
|
get:
|
||||||
description: get user list of followers
|
description: get user list of followers
|
||||||
|
|
@ -389,4 +389,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
tags:
|
tags:
|
||||||
- userList
|
- user-list
|
||||||
|
|
|
||||||
5
dist/docs/paths/post.yaml
vendored
5
dist/docs/paths/post.yaml
vendored
|
|
@ -350,7 +350,6 @@ paths:
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
properties: {}
|
properties: {}
|
||||||
required: []
|
|
||||||
type: object
|
type: object
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
|
@ -405,7 +404,6 @@ paths:
|
||||||
properties:
|
properties:
|
||||||
features:
|
features:
|
||||||
properties: {}
|
properties: {}
|
||||||
required: []
|
|
||||||
type: object
|
type: object
|
||||||
variables:
|
variables:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -473,7 +471,6 @@ paths:
|
||||||
properties:
|
properties:
|
||||||
features:
|
features:
|
||||||
properties: {}
|
properties: {}
|
||||||
required: []
|
|
||||||
type: object
|
type: object
|
||||||
variables:
|
variables:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -541,7 +538,6 @@ paths:
|
||||||
properties:
|
properties:
|
||||||
features:
|
features:
|
||||||
properties: {}
|
properties: {}
|
||||||
required: []
|
|
||||||
type: object
|
type: object
|
||||||
variables:
|
variables:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -609,7 +605,6 @@ paths:
|
||||||
properties:
|
properties:
|
||||||
features:
|
features:
|
||||||
properties: {}
|
properties: {}
|
||||||
required: []
|
|
||||||
type: object
|
type: object
|
||||||
variables:
|
variables:
|
||||||
properties:
|
properties:
|
||||||
|
|
|
||||||
1
dist/docs/paths/profile.yaml
vendored
1
dist/docs/paths/profile.yaml
vendored
|
|
@ -95,7 +95,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
properties: {}
|
properties: {}
|
||||||
required: []
|
|
||||||
type: object
|
type: object
|
||||||
in: query
|
in: query
|
||||||
name: features
|
name: features
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,10 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/1.1/friendships/create.json:
|
/1.1/friends/following/list.json:
|
||||||
post:
|
get:
|
||||||
description: post create friendships
|
description: get friends following list
|
||||||
operationId: postCreateFriendships
|
operationId: getFriendsFollowingList
|
||||||
parameters:
|
parameters:
|
||||||
- in: query
|
- in: query
|
||||||
name: include_profile_interstitial_type
|
name: include_profile_interstitial_type
|
||||||
|
|
@ -99,13 +99,34 @@ paths:
|
||||||
default: 1
|
default: 1
|
||||||
example: 1
|
example: 1
|
||||||
type: integer
|
type: integer
|
||||||
|
- in: query
|
||||||
|
name: cursor
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: -1
|
||||||
|
example: -1
|
||||||
|
type: integer
|
||||||
- in: query
|
- in: query
|
||||||
name: user_id
|
name: user_id
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: 1180389371481976833
|
default: 17152334
|
||||||
example: 1180389371481976833
|
example: 17152334
|
||||||
type: integer
|
type: integer
|
||||||
|
- 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:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
description: Successful operation
|
description: Successful operation
|
||||||
|
|
@ -138,4 +159,84 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
tags:
|
tags:
|
||||||
- v1.1
|
- 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: 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: aaa
|
||||||
|
example: aaa
|
||||||
|
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
|
||||||
277
dist/docs/paths/v1.1-post.yaml
vendored
Normal file
277
dist/docs/paths/v1.1-post.yaml
vendored
Normal file
|
|
@ -0,0 +1,277 @@
|
||||||
|
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: 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: user_id
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: 44196397
|
||||||
|
example: 44196397
|
||||||
|
type: integer
|
||||||
|
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: 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: user_id
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: 44196397
|
||||||
|
example: 44196397
|
||||||
|
type: integer
|
||||||
|
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/docs/paths/v2.0-get.yaml
vendored
Normal file
302
dist/docs/paths/v2.0-get.yaml
vendored
Normal file
|
|
@ -0,0 +1,302 @@
|
||||||
|
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: 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
|
||||||
22
dist/test/openapi-3.0.yaml
vendored
22
dist/test/openapi-3.0.yaml
vendored
|
|
@ -33,8 +33,16 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
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:
|
/1.1/friendships/create.json:
|
||||||
$ref: ./paths/v1.1.yaml#/paths/~11.1~1friendships~1create.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/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
|
/graphql/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
|
||||||
$ref: ./paths/post.yaml#/paths/~1graphql~11RyAhNwby-gzGCRVsMxKbQ~1CreateTweet
|
$ref: ./paths/post.yaml#/paths/~1graphql~11RyAhNwby-gzGCRVsMxKbQ~1CreateTweet
|
||||||
/graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
/graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
||||||
|
|
@ -87,10 +95,16 @@ tags:
|
||||||
- description: response User
|
- description: response User
|
||||||
name: user
|
name: user
|
||||||
- description: response User list
|
- description: response User list
|
||||||
name: userList
|
name: user-list
|
||||||
- description: response tweet
|
- description: response tweet
|
||||||
name: tweet
|
name: tweet
|
||||||
- description: post
|
- description: post
|
||||||
name: post
|
name: post
|
||||||
- description: legacy APIs
|
- description: legacy APIs get
|
||||||
name: v1.1
|
name: v1.1-get
|
||||||
|
- description: legacy APIs post
|
||||||
|
name: v1.1-post
|
||||||
|
- description: legacy APIs get
|
||||||
|
name: v2-get
|
||||||
|
- description: legacy APIs post
|
||||||
|
name: v2-post
|
||||||
|
|
|
||||||
4
dist/test/paths/follow.yaml
vendored
4
dist/test/paths/follow.yaml
vendored
|
|
@ -119,7 +119,7 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
tags:
|
tags:
|
||||||
- userList
|
- user-list
|
||||||
/graphql/djdTXDIk2qhd4OStqlUFeQ/Followers:
|
/graphql/djdTXDIk2qhd4OStqlUFeQ/Followers:
|
||||||
get:
|
get:
|
||||||
description: get user list of followers
|
description: get user list of followers
|
||||||
|
|
@ -201,4 +201,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
tags:
|
tags:
|
||||||
- userList
|
- user-list
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,10 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/1.1/friendships/create.json:
|
/1.1/friends/following/list.json:
|
||||||
post:
|
get:
|
||||||
description: post create friendships
|
description: get friends following list
|
||||||
operationId: postCreateFriendships
|
operationId: getFriendsFollowingList
|
||||||
parameters:
|
parameters:
|
||||||
- in: query
|
- in: query
|
||||||
name: include_profile_interstitial_type
|
name: include_profile_interstitial_type
|
||||||
|
|
@ -99,12 +99,33 @@ paths:
|
||||||
default: '1'
|
default: '1'
|
||||||
example: '1'
|
example: '1'
|
||||||
type: object
|
type: object
|
||||||
|
- in: query
|
||||||
|
name: cursor
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '-1'
|
||||||
|
example: '-1'
|
||||||
|
type: object
|
||||||
- in: query
|
- in: query
|
||||||
name: user_id
|
name: user_id
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: '1180389371481976833'
|
default: '17152334'
|
||||||
example: '1180389371481976833'
|
example: '17152334'
|
||||||
|
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
|
type: object
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
|
@ -138,4 +159,84 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
tags:
|
tags:
|
||||||
- v1.1
|
- 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: '"aaa"'
|
||||||
|
example: '"aaa"'
|
||||||
|
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
Normal file
277
dist/test/paths/v1.1-post.yaml
vendored
Normal file
|
|
@ -0,0 +1,277 @@
|
||||||
|
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
|
||||||
141
dist/test/paths/v1.1.yaml
vendored
141
dist/test/paths/v1.1.yaml
vendored
|
|
@ -1,141 +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: string
|
|
||||||
- in: query
|
|
||||||
name: include_blocking
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: include_blocked_by
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: include_followed_by
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: include_want_retweets
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: include_mute_edge
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: include_can_dm
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: include_can_media_tag
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: include_ext_has_nft_avatar
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: include_ext_is_blue_verified
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: include_ext_verified_type
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: include_ext_profile_image_shape
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: skip_status
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1'
|
|
||||||
example: '1'
|
|
||||||
type: string
|
|
||||||
- in: query
|
|
||||||
name: user_id
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
default: '1180389371481976833'
|
|
||||||
example: '1180389371481976833'
|
|
||||||
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
|
|
||||||
302
dist/test/paths/v2.0-get.yaml
vendored
Normal file
302
dist/test/paths/v2.0-get.yaml
vendored
Normal file
|
|
@ -0,0 +1,302 @@
|
||||||
|
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
|
||||||
22
dist/typescript/openapi-3.0.yaml
vendored
22
dist/typescript/openapi-3.0.yaml
vendored
|
|
@ -33,8 +33,16 @@ info:
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
paths:
|
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:
|
/1.1/friendships/create.json:
|
||||||
$ref: ./paths/v1.1.yaml#/paths/~11.1~1friendships~1create.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/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
|
/graphql/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
|
||||||
$ref: ./paths/post.yaml#/paths/~1graphql~11RyAhNwby-gzGCRVsMxKbQ~1CreateTweet
|
$ref: ./paths/post.yaml#/paths/~1graphql~11RyAhNwby-gzGCRVsMxKbQ~1CreateTweet
|
||||||
/graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
/graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
|
||||||
|
|
@ -87,10 +95,16 @@ tags:
|
||||||
- description: response User
|
- description: response User
|
||||||
name: user
|
name: user
|
||||||
- description: response User list
|
- description: response User list
|
||||||
name: userList
|
name: user-list
|
||||||
- description: response tweet
|
- description: response tweet
|
||||||
name: tweet
|
name: tweet
|
||||||
- description: post
|
- description: post
|
||||||
name: post
|
name: post
|
||||||
- description: legacy APIs
|
- description: legacy APIs get
|
||||||
name: v1.1
|
name: v1.1-get
|
||||||
|
- description: legacy APIs post
|
||||||
|
name: v1.1-post
|
||||||
|
- description: legacy APIs get
|
||||||
|
name: v2-get
|
||||||
|
- description: legacy APIs post
|
||||||
|
name: v2-post
|
||||||
|
|
|
||||||
4
dist/typescript/paths/follow.yaml
vendored
4
dist/typescript/paths/follow.yaml
vendored
|
|
@ -119,7 +119,7 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
tags:
|
tags:
|
||||||
- userList
|
- user-list
|
||||||
/graphql/djdTXDIk2qhd4OStqlUFeQ/Followers:
|
/graphql/djdTXDIk2qhd4OStqlUFeQ/Followers:
|
||||||
get:
|
get:
|
||||||
description: get user list of followers
|
description: get user list of followers
|
||||||
|
|
@ -201,4 +201,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
tags:
|
tags:
|
||||||
- userList
|
- user-list
|
||||||
|
|
|
||||||
242
dist/typescript/paths/v1.1-get.yaml
vendored
Normal file
242
dist/typescript/paths/v1.1-get.yaml
vendored
Normal file
|
|
@ -0,0 +1,242 @@
|
||||||
|
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: '17152334'
|
||||||
|
example: '17152334'
|
||||||
|
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: '"aaa"'
|
||||||
|
example: '"aaa"'
|
||||||
|
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/typescript/paths/v1.1-post.yaml
vendored
Normal file
277
dist/typescript/paths/v1.1-post.yaml
vendored
Normal file
|
|
@ -0,0 +1,277 @@
|
||||||
|
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/typescript/paths/v2.0-get.yaml
vendored
Normal file
302
dist/typescript/paths/v2.0-get.yaml
vendored
Normal file
|
|
@ -0,0 +1,302 @@
|
||||||
|
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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue