mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 15:40:26 +01:00
build
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
8653d2a289
commit
5af7f4827b
3 changed files with 662 additions and 12 deletions
226
dist/compatible/openapi-3.0.yaml
vendored
226
dist/compatible/openapi-3.0.yaml
vendored
|
|
@ -140,7 +140,6 @@ components:
|
||||||
- preview_text
|
- preview_text
|
||||||
- cover_media
|
- cover_media
|
||||||
- metadata
|
- metadata
|
||||||
- lifecycle_state
|
|
||||||
ArticleResults:
|
ArticleResults:
|
||||||
properties:
|
properties:
|
||||||
result:
|
result:
|
||||||
|
|
@ -546,6 +545,18 @@ components:
|
||||||
- ctaBehavior
|
- ctaBehavior
|
||||||
- callbacks
|
- callbacks
|
||||||
- clientEventInfo
|
- clientEventInfo
|
||||||
|
CreateBookmarkResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
$ref: '#/components/schemas/CreateBookmarkResponseData'
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
CreateBookmarkResponseData:
|
||||||
|
properties:
|
||||||
|
tweet_bookmark_put:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- tweet_bookmark_put
|
||||||
CreateRetweet:
|
CreateRetweet:
|
||||||
properties:
|
properties:
|
||||||
result:
|
result:
|
||||||
|
|
@ -610,6 +621,18 @@ components:
|
||||||
- ShowMoreThreads
|
- ShowMoreThreads
|
||||||
- Gap
|
- Gap
|
||||||
type: string
|
type: string
|
||||||
|
DeleteBookmarkResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
$ref: '#/components/schemas/DeleteBookmarkResponseData'
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
DeleteBookmarkResponseData:
|
||||||
|
properties:
|
||||||
|
tweet_bookmark_delete:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- tweet_bookmark_delete
|
||||||
DeleteRetweet:
|
DeleteRetweet:
|
||||||
properties:
|
properties:
|
||||||
result:
|
result:
|
||||||
|
|
@ -1043,7 +1066,6 @@ components:
|
||||||
- original_info
|
- original_info
|
||||||
- media_key
|
- media_key
|
||||||
- ext_media_availability
|
- ext_media_availability
|
||||||
- media_results
|
|
||||||
MediaExtended:
|
MediaExtended:
|
||||||
properties:
|
properties:
|
||||||
additional_media_info:
|
additional_media_info:
|
||||||
|
|
@ -1112,7 +1134,6 @@ components:
|
||||||
- url
|
- url
|
||||||
- sizes
|
- sizes
|
||||||
- original_info
|
- original_info
|
||||||
- media_results
|
|
||||||
MediaOriginalInfo:
|
MediaOriginalInfo:
|
||||||
properties:
|
properties:
|
||||||
focus_rects:
|
focus_rects:
|
||||||
|
|
@ -1217,6 +1238,24 @@ components:
|
||||||
required:
|
required:
|
||||||
- content_type
|
- content_type
|
||||||
- url
|
- url
|
||||||
|
MediaVisibilityResults:
|
||||||
|
properties:
|
||||||
|
blurred_image_interstitial:
|
||||||
|
$ref: '#/components/schemas/MediaVisibilityResultsBlurredImageInterstitial'
|
||||||
|
required:
|
||||||
|
- blurred_image_interstitial
|
||||||
|
MediaVisibilityResultsBlurredImageInterstitial:
|
||||||
|
properties:
|
||||||
|
opacity:
|
||||||
|
type: number
|
||||||
|
text:
|
||||||
|
$ref: '#/components/schemas/TweetInterstitialText'
|
||||||
|
title:
|
||||||
|
$ref: '#/components/schemas/TweetInterstitialText'
|
||||||
|
required:
|
||||||
|
- opacity
|
||||||
|
- text
|
||||||
|
- title
|
||||||
ModuleEntry:
|
ModuleEntry:
|
||||||
properties:
|
properties:
|
||||||
clientEventInfo:
|
clientEventInfo:
|
||||||
|
|
@ -2460,6 +2499,8 @@ components:
|
||||||
limitedActionResults:
|
limitedActionResults:
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
|
mediaVisibilityResults:
|
||||||
|
$ref: '#/components/schemas/MediaVisibilityResults'
|
||||||
tweet:
|
tweet:
|
||||||
$ref: '#/components/schemas/Tweet'
|
$ref: '#/components/schemas/Tweet'
|
||||||
tweetInterstitial:
|
tweetInterstitial:
|
||||||
|
|
@ -2590,6 +2631,8 @@ components:
|
||||||
type: boolean
|
type: boolean
|
||||||
legacy:
|
legacy:
|
||||||
$ref: '#/components/schemas/UserLegacy'
|
$ref: '#/components/schemas/UserLegacy'
|
||||||
|
legacy_extended_profile:
|
||||||
|
$ref: '#/components/schemas/UserLegacyExtendedProfile'
|
||||||
professional:
|
professional:
|
||||||
$ref: '#/components/schemas/UserProfessional'
|
$ref: '#/components/schemas/UserProfessional'
|
||||||
profile_image_shape:
|
profile_image_shape:
|
||||||
|
|
@ -2627,7 +2670,6 @@ components:
|
||||||
- super_followed_by
|
- super_followed_by
|
||||||
- super_following
|
- super_following
|
||||||
- profile_image_shape
|
- profile_image_shape
|
||||||
- tipjar_settings
|
|
||||||
UserFeatures:
|
UserFeatures:
|
||||||
properties:
|
properties:
|
||||||
mediatool_studio_library:
|
mediatool_studio_library:
|
||||||
|
|
@ -2826,6 +2868,40 @@ components:
|
||||||
- translator_type
|
- translator_type
|
||||||
- verified
|
- verified
|
||||||
- want_retweets
|
- want_retweets
|
||||||
|
UserLegacyExtendedProfile:
|
||||||
|
properties:
|
||||||
|
birthdate:
|
||||||
|
$ref: '#/components/schemas/UserLegacyExtendedProfileBirthdate'
|
||||||
|
UserLegacyExtendedProfileBirthdate:
|
||||||
|
properties:
|
||||||
|
day:
|
||||||
|
type: integer
|
||||||
|
month:
|
||||||
|
type: integer
|
||||||
|
visibility:
|
||||||
|
enum:
|
||||||
|
- Self
|
||||||
|
- Public
|
||||||
|
- MutualFollow
|
||||||
|
- Followers
|
||||||
|
- Following
|
||||||
|
type: string
|
||||||
|
year:
|
||||||
|
type: integer
|
||||||
|
year_visibility:
|
||||||
|
enum:
|
||||||
|
- Self
|
||||||
|
- Public
|
||||||
|
- MutualFollow
|
||||||
|
- Followers
|
||||||
|
- Following
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- day
|
||||||
|
- month
|
||||||
|
- year
|
||||||
|
- visibility
|
||||||
|
- year_visibility
|
||||||
UserMention:
|
UserMention:
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
|
|
@ -4032,6 +4108,77 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
tags:
|
tags:
|
||||||
- tweet
|
- tweet
|
||||||
|
/graphql/{pathQueryId}/CreateBookmark:
|
||||||
|
post:
|
||||||
|
description: create Bookmark
|
||||||
|
operationId: postCreateBookmark
|
||||||
|
parameters:
|
||||||
|
- in: path
|
||||||
|
name: pathQueryId
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: aoDbu3RHznuiSkQ9aNM67Q
|
||||||
|
example: aoDbu3RHznuiSkQ9aNM67Q
|
||||||
|
type: string
|
||||||
|
requestBody:
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
properties:
|
||||||
|
queryId:
|
||||||
|
default: aoDbu3RHznuiSkQ9aNM67Q
|
||||||
|
example: aoDbu3RHznuiSkQ9aNM67Q
|
||||||
|
type: string
|
||||||
|
variables:
|
||||||
|
properties:
|
||||||
|
tweet_id:
|
||||||
|
default: '1349129669258448897'
|
||||||
|
example: '1349129669258448897'
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- tweet_id
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- queryId
|
||||||
|
- variables
|
||||||
|
description: body
|
||||||
|
required: true
|
||||||
|
responses:
|
||||||
|
'200':
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
oneOf:
|
||||||
|
- $ref: '#/components/schemas/CreateBookmarkResponse'
|
||||||
|
- $ref: '#/components/schemas/Errors'
|
||||||
|
description: Successful operation
|
||||||
|
headers:
|
||||||
|
x-connection-hash:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
x-rate-limit-limit:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
x-rate-limit-remaining:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
x-rate-limit-reset:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
x-response-time:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
x-tfe-preserve-body:
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
x-transaction-id:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
x-twitter-response-tags:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
tags:
|
||||||
|
- post
|
||||||
/graphql/{pathQueryId}/CreateRetweet:
|
/graphql/{pathQueryId}/CreateRetweet:
|
||||||
post:
|
post:
|
||||||
description: create Retweet
|
description: create Retweet
|
||||||
|
|
@ -4335,6 +4482,77 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
tags:
|
tags:
|
||||||
- post
|
- post
|
||||||
|
/graphql/{pathQueryId}/DeleteBookmark:
|
||||||
|
post:
|
||||||
|
description: delete Bookmark
|
||||||
|
operationId: postDeleteBookmark
|
||||||
|
parameters:
|
||||||
|
- in: path
|
||||||
|
name: pathQueryId
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: Wlmlj2-xzyS1GN3a6cj-mQ
|
||||||
|
example: Wlmlj2-xzyS1GN3a6cj-mQ
|
||||||
|
type: string
|
||||||
|
requestBody:
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
properties:
|
||||||
|
queryId:
|
||||||
|
default: Wlmlj2-xzyS1GN3a6cj-mQ
|
||||||
|
example: Wlmlj2-xzyS1GN3a6cj-mQ
|
||||||
|
type: string
|
||||||
|
variables:
|
||||||
|
properties:
|
||||||
|
tweet_id:
|
||||||
|
default: '1349129669258448897'
|
||||||
|
example: '1349129669258448897'
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- tweet_id
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- queryId
|
||||||
|
- variables
|
||||||
|
description: body
|
||||||
|
required: true
|
||||||
|
responses:
|
||||||
|
'200':
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
oneOf:
|
||||||
|
- $ref: '#/components/schemas/DeleteBookmarkResponse'
|
||||||
|
- $ref: '#/components/schemas/Errors'
|
||||||
|
description: Successful operation
|
||||||
|
headers:
|
||||||
|
x-connection-hash:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
x-rate-limit-limit:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
x-rate-limit-remaining:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
x-rate-limit-reset:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
x-response-time:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
x-tfe-preserve-body:
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
x-transaction-id:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
x-twitter-response-tags:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
tags:
|
||||||
|
- post
|
||||||
/graphql/{pathQueryId}/DeleteRetweet:
|
/graphql/{pathQueryId}/DeleteRetweet:
|
||||||
post:
|
post:
|
||||||
description: delete Retweet
|
description: delete Retweet
|
||||||
|
|
|
||||||
222
dist/compatible_discriminator/openapi-3.0.yaml
vendored
222
dist/compatible_discriminator/openapi-3.0.yaml
vendored
|
|
@ -140,7 +140,6 @@ components:
|
||||||
- preview_text
|
- preview_text
|
||||||
- cover_media
|
- cover_media
|
||||||
- metadata
|
- metadata
|
||||||
- lifecycle_state
|
|
||||||
ArticleResults:
|
ArticleResults:
|
||||||
properties:
|
properties:
|
||||||
result:
|
result:
|
||||||
|
|
@ -546,6 +545,18 @@ components:
|
||||||
- ctaBehavior
|
- ctaBehavior
|
||||||
- callbacks
|
- callbacks
|
||||||
- clientEventInfo
|
- clientEventInfo
|
||||||
|
CreateBookmarkResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
$ref: '#/components/schemas/CreateBookmarkResponseData'
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
CreateBookmarkResponseData:
|
||||||
|
properties:
|
||||||
|
tweet_bookmark_put:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- tweet_bookmark_put
|
||||||
CreateRetweet:
|
CreateRetweet:
|
||||||
properties:
|
properties:
|
||||||
result:
|
result:
|
||||||
|
|
@ -610,6 +621,18 @@ components:
|
||||||
- ShowMoreThreads
|
- ShowMoreThreads
|
||||||
- Gap
|
- Gap
|
||||||
type: string
|
type: string
|
||||||
|
DeleteBookmarkResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
$ref: '#/components/schemas/DeleteBookmarkResponseData'
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
DeleteBookmarkResponseData:
|
||||||
|
properties:
|
||||||
|
tweet_bookmark_delete:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- tweet_bookmark_delete
|
||||||
DeleteRetweet:
|
DeleteRetweet:
|
||||||
properties:
|
properties:
|
||||||
result:
|
result:
|
||||||
|
|
@ -1043,7 +1066,6 @@ components:
|
||||||
- original_info
|
- original_info
|
||||||
- media_key
|
- media_key
|
||||||
- ext_media_availability
|
- ext_media_availability
|
||||||
- media_results
|
|
||||||
MediaExtended:
|
MediaExtended:
|
||||||
properties:
|
properties:
|
||||||
additional_media_info:
|
additional_media_info:
|
||||||
|
|
@ -1112,7 +1134,6 @@ components:
|
||||||
- url
|
- url
|
||||||
- sizes
|
- sizes
|
||||||
- original_info
|
- original_info
|
||||||
- media_results
|
|
||||||
MediaOriginalInfo:
|
MediaOriginalInfo:
|
||||||
properties:
|
properties:
|
||||||
focus_rects:
|
focus_rects:
|
||||||
|
|
@ -1217,6 +1238,24 @@ components:
|
||||||
required:
|
required:
|
||||||
- content_type
|
- content_type
|
||||||
- url
|
- url
|
||||||
|
MediaVisibilityResults:
|
||||||
|
properties:
|
||||||
|
blurred_image_interstitial:
|
||||||
|
$ref: '#/components/schemas/MediaVisibilityResultsBlurredImageInterstitial'
|
||||||
|
required:
|
||||||
|
- blurred_image_interstitial
|
||||||
|
MediaVisibilityResultsBlurredImageInterstitial:
|
||||||
|
properties:
|
||||||
|
opacity:
|
||||||
|
type: number
|
||||||
|
text:
|
||||||
|
$ref: '#/components/schemas/TweetInterstitialText'
|
||||||
|
title:
|
||||||
|
$ref: '#/components/schemas/TweetInterstitialText'
|
||||||
|
required:
|
||||||
|
- opacity
|
||||||
|
- text
|
||||||
|
- title
|
||||||
ModuleEntry:
|
ModuleEntry:
|
||||||
properties:
|
properties:
|
||||||
clientEventInfo:
|
clientEventInfo:
|
||||||
|
|
@ -2460,6 +2499,8 @@ components:
|
||||||
limitedActionResults:
|
limitedActionResults:
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
|
mediaVisibilityResults:
|
||||||
|
$ref: '#/components/schemas/MediaVisibilityResults'
|
||||||
tweet:
|
tweet:
|
||||||
$ref: '#/components/schemas/Tweet'
|
$ref: '#/components/schemas/Tweet'
|
||||||
tweetInterstitial:
|
tweetInterstitial:
|
||||||
|
|
@ -2590,6 +2631,8 @@ components:
|
||||||
type: boolean
|
type: boolean
|
||||||
legacy:
|
legacy:
|
||||||
$ref: '#/components/schemas/UserLegacy'
|
$ref: '#/components/schemas/UserLegacy'
|
||||||
|
legacy_extended_profile:
|
||||||
|
$ref: '#/components/schemas/UserLegacyExtendedProfile'
|
||||||
professional:
|
professional:
|
||||||
$ref: '#/components/schemas/UserProfessional'
|
$ref: '#/components/schemas/UserProfessional'
|
||||||
profile_image_shape:
|
profile_image_shape:
|
||||||
|
|
@ -2627,7 +2670,6 @@ components:
|
||||||
- super_followed_by
|
- super_followed_by
|
||||||
- super_following
|
- super_following
|
||||||
- profile_image_shape
|
- profile_image_shape
|
||||||
- tipjar_settings
|
|
||||||
UserFeatures:
|
UserFeatures:
|
||||||
properties:
|
properties:
|
||||||
mediatool_studio_library:
|
mediatool_studio_library:
|
||||||
|
|
@ -2826,6 +2868,40 @@ components:
|
||||||
- translator_type
|
- translator_type
|
||||||
- verified
|
- verified
|
||||||
- want_retweets
|
- want_retweets
|
||||||
|
UserLegacyExtendedProfile:
|
||||||
|
properties:
|
||||||
|
birthdate:
|
||||||
|
$ref: '#/components/schemas/UserLegacyExtendedProfileBirthdate'
|
||||||
|
UserLegacyExtendedProfileBirthdate:
|
||||||
|
properties:
|
||||||
|
day:
|
||||||
|
type: integer
|
||||||
|
month:
|
||||||
|
type: integer
|
||||||
|
visibility:
|
||||||
|
enum:
|
||||||
|
- Self
|
||||||
|
- Public
|
||||||
|
- MutualFollow
|
||||||
|
- Followers
|
||||||
|
- Following
|
||||||
|
type: string
|
||||||
|
year:
|
||||||
|
type: integer
|
||||||
|
year_visibility:
|
||||||
|
enum:
|
||||||
|
- Self
|
||||||
|
- Public
|
||||||
|
- MutualFollow
|
||||||
|
- Followers
|
||||||
|
- Following
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- day
|
||||||
|
- month
|
||||||
|
- year
|
||||||
|
- visibility
|
||||||
|
- year_visibility
|
||||||
UserMention:
|
UserMention:
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
|
|
@ -4030,6 +4106,75 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
tags:
|
tags:
|
||||||
- tweet
|
- tweet
|
||||||
|
/graphql/{pathQueryId}/CreateBookmark:
|
||||||
|
post:
|
||||||
|
description: create Bookmark
|
||||||
|
operationId: postCreateBookmark
|
||||||
|
parameters:
|
||||||
|
- in: path
|
||||||
|
name: pathQueryId
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: aoDbu3RHznuiSkQ9aNM67Q
|
||||||
|
example: aoDbu3RHznuiSkQ9aNM67Q
|
||||||
|
type: string
|
||||||
|
requestBody:
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
properties:
|
||||||
|
queryId:
|
||||||
|
default: aoDbu3RHznuiSkQ9aNM67Q
|
||||||
|
example: aoDbu3RHznuiSkQ9aNM67Q
|
||||||
|
type: string
|
||||||
|
variables:
|
||||||
|
properties:
|
||||||
|
tweet_id:
|
||||||
|
default: '1349129669258448897'
|
||||||
|
example: '1349129669258448897'
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- tweet_id
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- queryId
|
||||||
|
- variables
|
||||||
|
description: body
|
||||||
|
required: true
|
||||||
|
responses:
|
||||||
|
'200':
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: '#/components/schemas/CreateBookmarkResponse'
|
||||||
|
description: Successful operation
|
||||||
|
headers:
|
||||||
|
x-connection-hash:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
x-rate-limit-limit:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
x-rate-limit-remaining:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
x-rate-limit-reset:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
x-response-time:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
x-tfe-preserve-body:
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
x-transaction-id:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
x-twitter-response-tags:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
tags:
|
||||||
|
- post
|
||||||
/graphql/{pathQueryId}/CreateRetweet:
|
/graphql/{pathQueryId}/CreateRetweet:
|
||||||
post:
|
post:
|
||||||
description: create Retweet
|
description: create Retweet
|
||||||
|
|
@ -4329,6 +4474,75 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
tags:
|
tags:
|
||||||
- post
|
- post
|
||||||
|
/graphql/{pathQueryId}/DeleteBookmark:
|
||||||
|
post:
|
||||||
|
description: delete Bookmark
|
||||||
|
operationId: postDeleteBookmark
|
||||||
|
parameters:
|
||||||
|
- in: path
|
||||||
|
name: pathQueryId
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: Wlmlj2-xzyS1GN3a6cj-mQ
|
||||||
|
example: Wlmlj2-xzyS1GN3a6cj-mQ
|
||||||
|
type: string
|
||||||
|
requestBody:
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
properties:
|
||||||
|
queryId:
|
||||||
|
default: Wlmlj2-xzyS1GN3a6cj-mQ
|
||||||
|
example: Wlmlj2-xzyS1GN3a6cj-mQ
|
||||||
|
type: string
|
||||||
|
variables:
|
||||||
|
properties:
|
||||||
|
tweet_id:
|
||||||
|
default: '1349129669258448897'
|
||||||
|
example: '1349129669258448897'
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- tweet_id
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- queryId
|
||||||
|
- variables
|
||||||
|
description: body
|
||||||
|
required: true
|
||||||
|
responses:
|
||||||
|
'200':
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: '#/components/schemas/DeleteBookmarkResponse'
|
||||||
|
description: Successful operation
|
||||||
|
headers:
|
||||||
|
x-connection-hash:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
x-rate-limit-limit:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
x-rate-limit-remaining:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
x-rate-limit-reset:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
x-response-time:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
x-tfe-preserve-body:
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
x-transaction-id:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
x-twitter-response-tags:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
tags:
|
||||||
|
- post
|
||||||
/graphql/{pathQueryId}/DeleteRetweet:
|
/graphql/{pathQueryId}/DeleteRetweet:
|
||||||
post:
|
post:
|
||||||
description: delete Retweet
|
description: delete Retweet
|
||||||
|
|
|
||||||
226
dist/docs/openapi-3.0.yaml
vendored
226
dist/docs/openapi-3.0.yaml
vendored
|
|
@ -140,7 +140,6 @@ components:
|
||||||
- preview_text
|
- preview_text
|
||||||
- cover_media
|
- cover_media
|
||||||
- metadata
|
- metadata
|
||||||
- lifecycle_state
|
|
||||||
ArticleResults:
|
ArticleResults:
|
||||||
properties:
|
properties:
|
||||||
result:
|
result:
|
||||||
|
|
@ -546,6 +545,18 @@ components:
|
||||||
- ctaBehavior
|
- ctaBehavior
|
||||||
- callbacks
|
- callbacks
|
||||||
- clientEventInfo
|
- clientEventInfo
|
||||||
|
CreateBookmarkResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
$ref: '#/components/schemas/CreateBookmarkResponseData'
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
CreateBookmarkResponseData:
|
||||||
|
properties:
|
||||||
|
tweet_bookmark_put:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- tweet_bookmark_put
|
||||||
CreateRetweet:
|
CreateRetweet:
|
||||||
properties:
|
properties:
|
||||||
result:
|
result:
|
||||||
|
|
@ -610,6 +621,18 @@ components:
|
||||||
- ShowMoreThreads
|
- ShowMoreThreads
|
||||||
- Gap
|
- Gap
|
||||||
type: string
|
type: string
|
||||||
|
DeleteBookmarkResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
$ref: '#/components/schemas/DeleteBookmarkResponseData'
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
DeleteBookmarkResponseData:
|
||||||
|
properties:
|
||||||
|
tweet_bookmark_delete:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- tweet_bookmark_delete
|
||||||
DeleteRetweet:
|
DeleteRetweet:
|
||||||
properties:
|
properties:
|
||||||
result:
|
result:
|
||||||
|
|
@ -1043,7 +1066,6 @@ components:
|
||||||
- original_info
|
- original_info
|
||||||
- media_key
|
- media_key
|
||||||
- ext_media_availability
|
- ext_media_availability
|
||||||
- media_results
|
|
||||||
MediaExtended:
|
MediaExtended:
|
||||||
properties:
|
properties:
|
||||||
additional_media_info:
|
additional_media_info:
|
||||||
|
|
@ -1112,7 +1134,6 @@ components:
|
||||||
- url
|
- url
|
||||||
- sizes
|
- sizes
|
||||||
- original_info
|
- original_info
|
||||||
- media_results
|
|
||||||
MediaOriginalInfo:
|
MediaOriginalInfo:
|
||||||
properties:
|
properties:
|
||||||
focus_rects:
|
focus_rects:
|
||||||
|
|
@ -1217,6 +1238,24 @@ components:
|
||||||
required:
|
required:
|
||||||
- content_type
|
- content_type
|
||||||
- url
|
- url
|
||||||
|
MediaVisibilityResults:
|
||||||
|
properties:
|
||||||
|
blurred_image_interstitial:
|
||||||
|
$ref: '#/components/schemas/MediaVisibilityResultsBlurredImageInterstitial'
|
||||||
|
required:
|
||||||
|
- blurred_image_interstitial
|
||||||
|
MediaVisibilityResultsBlurredImageInterstitial:
|
||||||
|
properties:
|
||||||
|
opacity:
|
||||||
|
type: number
|
||||||
|
text:
|
||||||
|
$ref: '#/components/schemas/TweetInterstitialText'
|
||||||
|
title:
|
||||||
|
$ref: '#/components/schemas/TweetInterstitialText'
|
||||||
|
required:
|
||||||
|
- opacity
|
||||||
|
- text
|
||||||
|
- title
|
||||||
ModuleEntry:
|
ModuleEntry:
|
||||||
properties:
|
properties:
|
||||||
clientEventInfo:
|
clientEventInfo:
|
||||||
|
|
@ -2460,6 +2499,8 @@ components:
|
||||||
limitedActionResults:
|
limitedActionResults:
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
|
mediaVisibilityResults:
|
||||||
|
$ref: '#/components/schemas/MediaVisibilityResults'
|
||||||
tweet:
|
tweet:
|
||||||
$ref: '#/components/schemas/Tweet'
|
$ref: '#/components/schemas/Tweet'
|
||||||
tweetInterstitial:
|
tweetInterstitial:
|
||||||
|
|
@ -2590,6 +2631,8 @@ components:
|
||||||
type: boolean
|
type: boolean
|
||||||
legacy:
|
legacy:
|
||||||
$ref: '#/components/schemas/UserLegacy'
|
$ref: '#/components/schemas/UserLegacy'
|
||||||
|
legacy_extended_profile:
|
||||||
|
$ref: '#/components/schemas/UserLegacyExtendedProfile'
|
||||||
professional:
|
professional:
|
||||||
$ref: '#/components/schemas/UserProfessional'
|
$ref: '#/components/schemas/UserProfessional'
|
||||||
profile_image_shape:
|
profile_image_shape:
|
||||||
|
|
@ -2627,7 +2670,6 @@ components:
|
||||||
- super_followed_by
|
- super_followed_by
|
||||||
- super_following
|
- super_following
|
||||||
- profile_image_shape
|
- profile_image_shape
|
||||||
- tipjar_settings
|
|
||||||
UserFeatures:
|
UserFeatures:
|
||||||
properties:
|
properties:
|
||||||
mediatool_studio_library:
|
mediatool_studio_library:
|
||||||
|
|
@ -2826,6 +2868,40 @@ components:
|
||||||
- translator_type
|
- translator_type
|
||||||
- verified
|
- verified
|
||||||
- want_retweets
|
- want_retweets
|
||||||
|
UserLegacyExtendedProfile:
|
||||||
|
properties:
|
||||||
|
birthdate:
|
||||||
|
$ref: '#/components/schemas/UserLegacyExtendedProfileBirthdate'
|
||||||
|
UserLegacyExtendedProfileBirthdate:
|
||||||
|
properties:
|
||||||
|
day:
|
||||||
|
type: integer
|
||||||
|
month:
|
||||||
|
type: integer
|
||||||
|
visibility:
|
||||||
|
enum:
|
||||||
|
- Self
|
||||||
|
- Public
|
||||||
|
- MutualFollow
|
||||||
|
- Followers
|
||||||
|
- Following
|
||||||
|
type: string
|
||||||
|
year:
|
||||||
|
type: integer
|
||||||
|
year_visibility:
|
||||||
|
enum:
|
||||||
|
- Self
|
||||||
|
- Public
|
||||||
|
- MutualFollow
|
||||||
|
- Followers
|
||||||
|
- Following
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- day
|
||||||
|
- month
|
||||||
|
- year
|
||||||
|
- visibility
|
||||||
|
- year_visibility
|
||||||
UserMention:
|
UserMention:
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
|
|
@ -4134,6 +4210,77 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
tags:
|
tags:
|
||||||
- tweet
|
- tweet
|
||||||
|
/graphql/{pathQueryId}/CreateBookmark:
|
||||||
|
post:
|
||||||
|
description: create Bookmark
|
||||||
|
operationId: postCreateBookmark
|
||||||
|
parameters:
|
||||||
|
- in: path
|
||||||
|
name: pathQueryId
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: aoDbu3RHznuiSkQ9aNM67Q
|
||||||
|
example: aoDbu3RHznuiSkQ9aNM67Q
|
||||||
|
type: string
|
||||||
|
requestBody:
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
properties:
|
||||||
|
queryId:
|
||||||
|
default: aoDbu3RHznuiSkQ9aNM67Q
|
||||||
|
example: aoDbu3RHznuiSkQ9aNM67Q
|
||||||
|
type: string
|
||||||
|
variables:
|
||||||
|
properties:
|
||||||
|
tweet_id:
|
||||||
|
default: '1349129669258448897'
|
||||||
|
example: '1349129669258448897'
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- tweet_id
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- queryId
|
||||||
|
- variables
|
||||||
|
description: body
|
||||||
|
required: true
|
||||||
|
responses:
|
||||||
|
'200':
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
oneOf:
|
||||||
|
- $ref: '#/components/schemas/CreateBookmarkResponse'
|
||||||
|
- $ref: '#/components/schemas/Errors'
|
||||||
|
description: Successful operation
|
||||||
|
headers:
|
||||||
|
x-connection-hash:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
x-rate-limit-limit:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
x-rate-limit-remaining:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
x-rate-limit-reset:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
x-response-time:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
x-tfe-preserve-body:
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
x-transaction-id:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
x-twitter-response-tags:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
tags:
|
||||||
|
- post
|
||||||
/graphql/{pathQueryId}/CreateRetweet:
|
/graphql/{pathQueryId}/CreateRetweet:
|
||||||
post:
|
post:
|
||||||
description: create Retweet
|
description: create Retweet
|
||||||
|
|
@ -4437,6 +4584,77 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
tags:
|
tags:
|
||||||
- post
|
- post
|
||||||
|
/graphql/{pathQueryId}/DeleteBookmark:
|
||||||
|
post:
|
||||||
|
description: delete Bookmark
|
||||||
|
operationId: postDeleteBookmark
|
||||||
|
parameters:
|
||||||
|
- in: path
|
||||||
|
name: pathQueryId
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: Wlmlj2-xzyS1GN3a6cj-mQ
|
||||||
|
example: Wlmlj2-xzyS1GN3a6cj-mQ
|
||||||
|
type: string
|
||||||
|
requestBody:
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
properties:
|
||||||
|
queryId:
|
||||||
|
default: Wlmlj2-xzyS1GN3a6cj-mQ
|
||||||
|
example: Wlmlj2-xzyS1GN3a6cj-mQ
|
||||||
|
type: string
|
||||||
|
variables:
|
||||||
|
properties:
|
||||||
|
tweet_id:
|
||||||
|
default: '1349129669258448897'
|
||||||
|
example: '1349129669258448897'
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- tweet_id
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- queryId
|
||||||
|
- variables
|
||||||
|
description: body
|
||||||
|
required: true
|
||||||
|
responses:
|
||||||
|
'200':
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
oneOf:
|
||||||
|
- $ref: '#/components/schemas/DeleteBookmarkResponse'
|
||||||
|
- $ref: '#/components/schemas/Errors'
|
||||||
|
description: Successful operation
|
||||||
|
headers:
|
||||||
|
x-connection-hash:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
x-rate-limit-limit:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
x-rate-limit-remaining:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
x-rate-limit-reset:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
x-response-time:
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
x-tfe-preserve-body:
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
x-transaction-id:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
x-twitter-response-tags:
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
tags:
|
||||||
|
- post
|
||||||
/graphql/{pathQueryId}/DeleteRetweet:
|
/graphql/{pathQueryId}/DeleteRetweet:
|
||||||
post:
|
post:
|
||||||
description: delete Retweet
|
description: delete Retweet
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue