mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 15:40:26 +01:00
update model
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
138c983060
commit
f0e37687a4
5 changed files with 289 additions and 40 deletions
81
dist/compatible/openapi-3.0.yaml
vendored
81
dist/compatible/openapi-3.0.yaml
vendored
|
|
@ -29,6 +29,12 @@ components:
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- url
|
- url
|
||||||
|
AllowDownloadStatus:
|
||||||
|
properties:
|
||||||
|
allow_download:
|
||||||
|
type: boolean
|
||||||
|
required:
|
||||||
|
- allow_download
|
||||||
Article:
|
Article:
|
||||||
properties:
|
properties:
|
||||||
article_results:
|
article_results:
|
||||||
|
|
@ -98,12 +104,28 @@ components:
|
||||||
- original_img_width
|
- original_img_width
|
||||||
- original_img_url
|
- original_img_url
|
||||||
- color_info
|
- color_info
|
||||||
|
ArticleLifecycleState:
|
||||||
|
properties:
|
||||||
|
modified_at_secs:
|
||||||
|
type: integer
|
||||||
|
required:
|
||||||
|
- modified_at_secs
|
||||||
|
ArticleMetadata:
|
||||||
|
properties:
|
||||||
|
first_published_at_secs:
|
||||||
|
type: integer
|
||||||
|
required:
|
||||||
|
- first_published_at_secs
|
||||||
ArticleResult:
|
ArticleResult:
|
||||||
properties:
|
properties:
|
||||||
cover_media:
|
cover_media:
|
||||||
$ref: '#/components/schemas/ArticleCoverMedia'
|
$ref: '#/components/schemas/ArticleCoverMedia'
|
||||||
id:
|
id:
|
||||||
type: string
|
type: string
|
||||||
|
lifecycle_state:
|
||||||
|
$ref: '#/components/schemas/ArticleLifecycleState'
|
||||||
|
metadata:
|
||||||
|
$ref: '#/components/schemas/ArticleMetadata'
|
||||||
preview_text:
|
preview_text:
|
||||||
type: string
|
type: string
|
||||||
rest_id:
|
rest_id:
|
||||||
|
|
@ -117,6 +139,8 @@ components:
|
||||||
- title
|
- title
|
||||||
- preview_text
|
- preview_text
|
||||||
- cover_media
|
- cover_media
|
||||||
|
- metadata
|
||||||
|
- lifecycle_state
|
||||||
ArticleResults:
|
ArticleResults:
|
||||||
properties:
|
properties:
|
||||||
result:
|
result:
|
||||||
|
|
@ -955,8 +979,9 @@ components:
|
||||||
Media:
|
Media:
|
||||||
properties:
|
properties:
|
||||||
additional_media_info:
|
additional_media_info:
|
||||||
additionalProperties: true
|
$ref: '#/components/schemas/AdditionalMediaInfo'
|
||||||
type: object
|
allow_download_status:
|
||||||
|
$ref: '#/components/schemas/AllowDownloadStatus'
|
||||||
display_url:
|
display_url:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -978,6 +1003,8 @@ components:
|
||||||
type: array
|
type: array
|
||||||
media_key:
|
media_key:
|
||||||
type: string
|
type: string
|
||||||
|
media_results:
|
||||||
|
$ref: '#/components/schemas/MediaResults'
|
||||||
media_url_https:
|
media_url_https:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -1003,8 +1030,7 @@ components:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
video_info:
|
video_info:
|
||||||
additionalProperties: true
|
$ref: '#/components/schemas/MediaVideoInfo'
|
||||||
type: object
|
|
||||||
required:
|
required:
|
||||||
- display_url
|
- display_url
|
||||||
- expanded_url
|
- expanded_url
|
||||||
|
|
@ -1017,10 +1043,13 @@ 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:
|
||||||
$ref: '#/components/schemas/AdditionalMediaInfo'
|
$ref: '#/components/schemas/AdditionalMediaInfo'
|
||||||
|
allow_download_status:
|
||||||
|
$ref: '#/components/schemas/AllowDownloadStatus'
|
||||||
display_url:
|
display_url:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -1044,6 +1073,8 @@ components:
|
||||||
$ref: '#/components/schemas/MediaStats'
|
$ref: '#/components/schemas/MediaStats'
|
||||||
media_key:
|
media_key:
|
||||||
type: string
|
type: string
|
||||||
|
media_results:
|
||||||
|
$ref: '#/components/schemas/MediaResults'
|
||||||
media_url_https:
|
media_url_https:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -1081,6 +1112,7 @@ components:
|
||||||
- url
|
- url
|
||||||
- sizes
|
- sizes
|
||||||
- original_info
|
- original_info
|
||||||
|
- media_results
|
||||||
MediaOriginalInfo:
|
MediaOriginalInfo:
|
||||||
properties:
|
properties:
|
||||||
focus_rects:
|
focus_rects:
|
||||||
|
|
@ -1110,6 +1142,18 @@ components:
|
||||||
- w
|
- w
|
||||||
- h
|
- h
|
||||||
type: object
|
type: object
|
||||||
|
MediaResult:
|
||||||
|
properties:
|
||||||
|
media_key:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- media_key
|
||||||
|
MediaResults:
|
||||||
|
properties:
|
||||||
|
result:
|
||||||
|
$ref: '#/components/schemas/MediaResult'
|
||||||
|
required:
|
||||||
|
- result
|
||||||
MediaSize:
|
MediaSize:
|
||||||
properties:
|
properties:
|
||||||
h:
|
h:
|
||||||
|
|
@ -2566,6 +2610,8 @@ components:
|
||||||
super_following:
|
super_following:
|
||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
|
tipjar_settings:
|
||||||
|
$ref: '#/components/schemas/UserTipJarSettings'
|
||||||
user_seed_tweet_count:
|
user_seed_tweet_count:
|
||||||
type: integer
|
type: integer
|
||||||
verification_info:
|
verification_info:
|
||||||
|
|
@ -2581,6 +2627,7 @@ 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:
|
||||||
|
|
@ -2881,6 +2928,22 @@ components:
|
||||||
properties:
|
properties:
|
||||||
result:
|
result:
|
||||||
$ref: '#/components/schemas/UserUnion'
|
$ref: '#/components/schemas/UserUnion'
|
||||||
|
UserTipJarSettings:
|
||||||
|
properties:
|
||||||
|
bitcoin_handle:
|
||||||
|
type: string
|
||||||
|
cash_app_handle:
|
||||||
|
type: string
|
||||||
|
ethereum_handle:
|
||||||
|
type: string
|
||||||
|
gofundme_handle:
|
||||||
|
type: string
|
||||||
|
is_enabled:
|
||||||
|
type: boolean
|
||||||
|
patreon_handle:
|
||||||
|
type: string
|
||||||
|
venmo_handle:
|
||||||
|
type: string
|
||||||
UserTweetsData:
|
UserTweetsData:
|
||||||
properties:
|
properties:
|
||||||
user:
|
user:
|
||||||
|
|
@ -5127,17 +5190,15 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: eL8vHLgEw2ZL9X9dKdakLQ
|
default: GX5ovLTwyoN1Td13GHvhIg
|
||||||
example: eL8vHLgEw2ZL9X9dKdakLQ
|
example: GX5ovLTwyoN1Td13GHvhIg
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
default: '{"listId": "1539453138322673664", "count": 20}'
|
||||||
true}'
|
example: '{"listId": "1539453138322673664", "count": 20}'
|
||||||
example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
|
||||||
true}'
|
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: features
|
name: features
|
||||||
|
|
|
||||||
81
dist/compatible_discriminator/openapi-3.0.yaml
vendored
81
dist/compatible_discriminator/openapi-3.0.yaml
vendored
|
|
@ -29,6 +29,12 @@ components:
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- url
|
- url
|
||||||
|
AllowDownloadStatus:
|
||||||
|
properties:
|
||||||
|
allow_download:
|
||||||
|
type: boolean
|
||||||
|
required:
|
||||||
|
- allow_download
|
||||||
Article:
|
Article:
|
||||||
properties:
|
properties:
|
||||||
article_results:
|
article_results:
|
||||||
|
|
@ -98,12 +104,28 @@ components:
|
||||||
- original_img_width
|
- original_img_width
|
||||||
- original_img_url
|
- original_img_url
|
||||||
- color_info
|
- color_info
|
||||||
|
ArticleLifecycleState:
|
||||||
|
properties:
|
||||||
|
modified_at_secs:
|
||||||
|
type: integer
|
||||||
|
required:
|
||||||
|
- modified_at_secs
|
||||||
|
ArticleMetadata:
|
||||||
|
properties:
|
||||||
|
first_published_at_secs:
|
||||||
|
type: integer
|
||||||
|
required:
|
||||||
|
- first_published_at_secs
|
||||||
ArticleResult:
|
ArticleResult:
|
||||||
properties:
|
properties:
|
||||||
cover_media:
|
cover_media:
|
||||||
$ref: '#/components/schemas/ArticleCoverMedia'
|
$ref: '#/components/schemas/ArticleCoverMedia'
|
||||||
id:
|
id:
|
||||||
type: string
|
type: string
|
||||||
|
lifecycle_state:
|
||||||
|
$ref: '#/components/schemas/ArticleLifecycleState'
|
||||||
|
metadata:
|
||||||
|
$ref: '#/components/schemas/ArticleMetadata'
|
||||||
preview_text:
|
preview_text:
|
||||||
type: string
|
type: string
|
||||||
rest_id:
|
rest_id:
|
||||||
|
|
@ -117,6 +139,8 @@ components:
|
||||||
- title
|
- title
|
||||||
- preview_text
|
- preview_text
|
||||||
- cover_media
|
- cover_media
|
||||||
|
- metadata
|
||||||
|
- lifecycle_state
|
||||||
ArticleResults:
|
ArticleResults:
|
||||||
properties:
|
properties:
|
||||||
result:
|
result:
|
||||||
|
|
@ -955,8 +979,9 @@ components:
|
||||||
Media:
|
Media:
|
||||||
properties:
|
properties:
|
||||||
additional_media_info:
|
additional_media_info:
|
||||||
additionalProperties: true
|
$ref: '#/components/schemas/AdditionalMediaInfo'
|
||||||
type: object
|
allow_download_status:
|
||||||
|
$ref: '#/components/schemas/AllowDownloadStatus'
|
||||||
display_url:
|
display_url:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -978,6 +1003,8 @@ components:
|
||||||
type: array
|
type: array
|
||||||
media_key:
|
media_key:
|
||||||
type: string
|
type: string
|
||||||
|
media_results:
|
||||||
|
$ref: '#/components/schemas/MediaResults'
|
||||||
media_url_https:
|
media_url_https:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -1003,8 +1030,7 @@ components:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
video_info:
|
video_info:
|
||||||
additionalProperties: true
|
$ref: '#/components/schemas/MediaVideoInfo'
|
||||||
type: object
|
|
||||||
required:
|
required:
|
||||||
- display_url
|
- display_url
|
||||||
- expanded_url
|
- expanded_url
|
||||||
|
|
@ -1017,10 +1043,13 @@ 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:
|
||||||
$ref: '#/components/schemas/AdditionalMediaInfo'
|
$ref: '#/components/schemas/AdditionalMediaInfo'
|
||||||
|
allow_download_status:
|
||||||
|
$ref: '#/components/schemas/AllowDownloadStatus'
|
||||||
display_url:
|
display_url:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -1044,6 +1073,8 @@ components:
|
||||||
$ref: '#/components/schemas/MediaStats'
|
$ref: '#/components/schemas/MediaStats'
|
||||||
media_key:
|
media_key:
|
||||||
type: string
|
type: string
|
||||||
|
media_results:
|
||||||
|
$ref: '#/components/schemas/MediaResults'
|
||||||
media_url_https:
|
media_url_https:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -1081,6 +1112,7 @@ components:
|
||||||
- url
|
- url
|
||||||
- sizes
|
- sizes
|
||||||
- original_info
|
- original_info
|
||||||
|
- media_results
|
||||||
MediaOriginalInfo:
|
MediaOriginalInfo:
|
||||||
properties:
|
properties:
|
||||||
focus_rects:
|
focus_rects:
|
||||||
|
|
@ -1110,6 +1142,18 @@ components:
|
||||||
- w
|
- w
|
||||||
- h
|
- h
|
||||||
type: object
|
type: object
|
||||||
|
MediaResult:
|
||||||
|
properties:
|
||||||
|
media_key:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- media_key
|
||||||
|
MediaResults:
|
||||||
|
properties:
|
||||||
|
result:
|
||||||
|
$ref: '#/components/schemas/MediaResult'
|
||||||
|
required:
|
||||||
|
- result
|
||||||
MediaSize:
|
MediaSize:
|
||||||
properties:
|
properties:
|
||||||
h:
|
h:
|
||||||
|
|
@ -2566,6 +2610,8 @@ components:
|
||||||
super_following:
|
super_following:
|
||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
|
tipjar_settings:
|
||||||
|
$ref: '#/components/schemas/UserTipJarSettings'
|
||||||
user_seed_tweet_count:
|
user_seed_tweet_count:
|
||||||
type: integer
|
type: integer
|
||||||
verification_info:
|
verification_info:
|
||||||
|
|
@ -2581,6 +2627,7 @@ 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:
|
||||||
|
|
@ -2881,6 +2928,22 @@ components:
|
||||||
properties:
|
properties:
|
||||||
result:
|
result:
|
||||||
$ref: '#/components/schemas/UserUnion'
|
$ref: '#/components/schemas/UserUnion'
|
||||||
|
UserTipJarSettings:
|
||||||
|
properties:
|
||||||
|
bitcoin_handle:
|
||||||
|
type: string
|
||||||
|
cash_app_handle:
|
||||||
|
type: string
|
||||||
|
ethereum_handle:
|
||||||
|
type: string
|
||||||
|
gofundme_handle:
|
||||||
|
type: string
|
||||||
|
is_enabled:
|
||||||
|
type: boolean
|
||||||
|
patreon_handle:
|
||||||
|
type: string
|
||||||
|
venmo_handle:
|
||||||
|
type: string
|
||||||
UserTweetsData:
|
UserTweetsData:
|
||||||
properties:
|
properties:
|
||||||
user:
|
user:
|
||||||
|
|
@ -5101,17 +5164,15 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: eL8vHLgEw2ZL9X9dKdakLQ
|
default: GX5ovLTwyoN1Td13GHvhIg
|
||||||
example: eL8vHLgEw2ZL9X9dKdakLQ
|
example: GX5ovLTwyoN1Td13GHvhIg
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
default: '{"listId": "1539453138322673664", "count": 20}'
|
||||||
true}'
|
example: '{"listId": "1539453138322673664", "count": 20}'
|
||||||
example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
|
||||||
true}'
|
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: features
|
name: features
|
||||||
|
|
|
||||||
90
dist/docs/openapi-3.0.yaml
vendored
90
dist/docs/openapi-3.0.yaml
vendored
|
|
@ -29,6 +29,12 @@ components:
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- url
|
- url
|
||||||
|
AllowDownloadStatus:
|
||||||
|
properties:
|
||||||
|
allow_download:
|
||||||
|
type: boolean
|
||||||
|
required:
|
||||||
|
- allow_download
|
||||||
Article:
|
Article:
|
||||||
properties:
|
properties:
|
||||||
article_results:
|
article_results:
|
||||||
|
|
@ -98,12 +104,28 @@ components:
|
||||||
- original_img_width
|
- original_img_width
|
||||||
- original_img_url
|
- original_img_url
|
||||||
- color_info
|
- color_info
|
||||||
|
ArticleLifecycleState:
|
||||||
|
properties:
|
||||||
|
modified_at_secs:
|
||||||
|
type: integer
|
||||||
|
required:
|
||||||
|
- modified_at_secs
|
||||||
|
ArticleMetadata:
|
||||||
|
properties:
|
||||||
|
first_published_at_secs:
|
||||||
|
type: integer
|
||||||
|
required:
|
||||||
|
- first_published_at_secs
|
||||||
ArticleResult:
|
ArticleResult:
|
||||||
properties:
|
properties:
|
||||||
cover_media:
|
cover_media:
|
||||||
$ref: '#/components/schemas/ArticleCoverMedia'
|
$ref: '#/components/schemas/ArticleCoverMedia'
|
||||||
id:
|
id:
|
||||||
type: string
|
type: string
|
||||||
|
lifecycle_state:
|
||||||
|
$ref: '#/components/schemas/ArticleLifecycleState'
|
||||||
|
metadata:
|
||||||
|
$ref: '#/components/schemas/ArticleMetadata'
|
||||||
preview_text:
|
preview_text:
|
||||||
type: string
|
type: string
|
||||||
rest_id:
|
rest_id:
|
||||||
|
|
@ -117,6 +139,8 @@ components:
|
||||||
- title
|
- title
|
||||||
- preview_text
|
- preview_text
|
||||||
- cover_media
|
- cover_media
|
||||||
|
- metadata
|
||||||
|
- lifecycle_state
|
||||||
ArticleResults:
|
ArticleResults:
|
||||||
properties:
|
properties:
|
||||||
result:
|
result:
|
||||||
|
|
@ -955,8 +979,9 @@ components:
|
||||||
Media:
|
Media:
|
||||||
properties:
|
properties:
|
||||||
additional_media_info:
|
additional_media_info:
|
||||||
additionalProperties: true
|
$ref: '#/components/schemas/AdditionalMediaInfo'
|
||||||
type: object
|
allow_download_status:
|
||||||
|
$ref: '#/components/schemas/AllowDownloadStatus'
|
||||||
display_url:
|
display_url:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -978,6 +1003,8 @@ components:
|
||||||
type: array
|
type: array
|
||||||
media_key:
|
media_key:
|
||||||
type: string
|
type: string
|
||||||
|
media_results:
|
||||||
|
$ref: '#/components/schemas/MediaResults'
|
||||||
media_url_https:
|
media_url_https:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -1003,8 +1030,7 @@ components:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
video_info:
|
video_info:
|
||||||
additionalProperties: true
|
$ref: '#/components/schemas/MediaVideoInfo'
|
||||||
type: object
|
|
||||||
required:
|
required:
|
||||||
- display_url
|
- display_url
|
||||||
- expanded_url
|
- expanded_url
|
||||||
|
|
@ -1017,10 +1043,13 @@ 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:
|
||||||
$ref: '#/components/schemas/AdditionalMediaInfo'
|
$ref: '#/components/schemas/AdditionalMediaInfo'
|
||||||
|
allow_download_status:
|
||||||
|
$ref: '#/components/schemas/AllowDownloadStatus'
|
||||||
display_url:
|
display_url:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -1044,6 +1073,8 @@ components:
|
||||||
$ref: '#/components/schemas/MediaStats'
|
$ref: '#/components/schemas/MediaStats'
|
||||||
media_key:
|
media_key:
|
||||||
type: string
|
type: string
|
||||||
|
media_results:
|
||||||
|
$ref: '#/components/schemas/MediaResults'
|
||||||
media_url_https:
|
media_url_https:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -1081,6 +1112,7 @@ components:
|
||||||
- url
|
- url
|
||||||
- sizes
|
- sizes
|
||||||
- original_info
|
- original_info
|
||||||
|
- media_results
|
||||||
MediaOriginalInfo:
|
MediaOriginalInfo:
|
||||||
properties:
|
properties:
|
||||||
focus_rects:
|
focus_rects:
|
||||||
|
|
@ -1110,6 +1142,18 @@ components:
|
||||||
- w
|
- w
|
||||||
- h
|
- h
|
||||||
type: object
|
type: object
|
||||||
|
MediaResult:
|
||||||
|
properties:
|
||||||
|
media_key:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- media_key
|
||||||
|
MediaResults:
|
||||||
|
properties:
|
||||||
|
result:
|
||||||
|
$ref: '#/components/schemas/MediaResult'
|
||||||
|
required:
|
||||||
|
- result
|
||||||
MediaSize:
|
MediaSize:
|
||||||
properties:
|
properties:
|
||||||
h:
|
h:
|
||||||
|
|
@ -2566,6 +2610,8 @@ components:
|
||||||
super_following:
|
super_following:
|
||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
|
tipjar_settings:
|
||||||
|
$ref: '#/components/schemas/UserTipJarSettings'
|
||||||
user_seed_tweet_count:
|
user_seed_tweet_count:
|
||||||
type: integer
|
type: integer
|
||||||
verification_info:
|
verification_info:
|
||||||
|
|
@ -2581,6 +2627,7 @@ 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:
|
||||||
|
|
@ -2881,6 +2928,22 @@ components:
|
||||||
properties:
|
properties:
|
||||||
result:
|
result:
|
||||||
$ref: '#/components/schemas/UserUnion'
|
$ref: '#/components/schemas/UserUnion'
|
||||||
|
UserTipJarSettings:
|
||||||
|
properties:
|
||||||
|
bitcoin_handle:
|
||||||
|
type: string
|
||||||
|
cash_app_handle:
|
||||||
|
type: string
|
||||||
|
ethereum_handle:
|
||||||
|
type: string
|
||||||
|
gofundme_handle:
|
||||||
|
type: string
|
||||||
|
is_enabled:
|
||||||
|
type: boolean
|
||||||
|
patreon_handle:
|
||||||
|
type: string
|
||||||
|
venmo_handle:
|
||||||
|
type: string
|
||||||
UserTweetsData:
|
UserTweetsData:
|
||||||
properties:
|
properties:
|
||||||
user:
|
user:
|
||||||
|
|
@ -6002,8 +6065,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: eL8vHLgEw2ZL9X9dKdakLQ
|
default: GX5ovLTwyoN1Td13GHvhIg
|
||||||
example: eL8vHLgEw2ZL9X9dKdakLQ
|
example: GX5ovLTwyoN1Td13GHvhIg
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
|
|
@ -6013,18 +6076,13 @@ paths:
|
||||||
default: 20
|
default: 20
|
||||||
example: 20
|
example: 20
|
||||||
type: integer
|
type: integer
|
||||||
includePromotedContent:
|
listId:
|
||||||
default: true
|
default: '1539453138322673664'
|
||||||
example: true
|
example: '1539453138322673664'
|
||||||
type: boolean
|
type: string
|
||||||
latestControlAvailable:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
required:
|
required:
|
||||||
|
- listId
|
||||||
- count
|
- count
|
||||||
- includePromotedContent
|
|
||||||
- latestControlAvailable
|
|
||||||
type: object
|
type: object
|
||||||
in: query
|
in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
|
||||||
|
|
@ -999,6 +999,7 @@ components:
|
||||||
- "original_info"
|
- "original_info"
|
||||||
- "media_key"
|
- "media_key"
|
||||||
- "ext_media_availability"
|
- "ext_media_availability"
|
||||||
|
- "media_results"
|
||||||
properties:
|
properties:
|
||||||
display_url:
|
display_url:
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -1033,11 +1034,9 @@ components:
|
||||||
ext_media_availability:
|
ext_media_availability:
|
||||||
$ref: "#/components/schemas/ExtMediaAvailability"
|
$ref: "#/components/schemas/ExtMediaAvailability"
|
||||||
video_info:
|
video_info:
|
||||||
type: object
|
$ref: "#/components/schemas/MediaVideoInfo"
|
||||||
additionalProperties: true # todo
|
|
||||||
additional_media_info:
|
additional_media_info:
|
||||||
type: object
|
$ref: "#/components/schemas/AdditionalMediaInfo"
|
||||||
additionalProperties: true # todo
|
|
||||||
source_user_id_str:
|
source_user_id_str:
|
||||||
type: string
|
type: string
|
||||||
pattern: "^[0-9]+$"
|
pattern: "^[0-9]+$"
|
||||||
|
|
@ -1048,6 +1047,10 @@ components:
|
||||||
type: string
|
type: string
|
||||||
sensitive_media_warning:
|
sensitive_media_warning:
|
||||||
$ref: "#/components/schemas/SensitiveMediaWarning"
|
$ref: "#/components/schemas/SensitiveMediaWarning"
|
||||||
|
allow_download_status:
|
||||||
|
$ref: "#/components/schemas/AllowDownloadStatus"
|
||||||
|
media_results:
|
||||||
|
$ref: "#/components/schemas/MediaResults"
|
||||||
|
|
||||||
TweetLegacyScopes:
|
TweetLegacyScopes:
|
||||||
required:
|
required:
|
||||||
|
|
@ -1095,6 +1098,7 @@ components:
|
||||||
# - "features"
|
# - "features"
|
||||||
- "sizes"
|
- "sizes"
|
||||||
- "original_info"
|
- "original_info"
|
||||||
|
- "media_results"
|
||||||
properties:
|
properties:
|
||||||
display_url:
|
display_url:
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -1144,6 +1148,10 @@ components:
|
||||||
type: string
|
type: string
|
||||||
sensitive_media_warning:
|
sensitive_media_warning:
|
||||||
$ref: "#/components/schemas/SensitiveMediaWarning"
|
$ref: "#/components/schemas/SensitiveMediaWarning"
|
||||||
|
allow_download_status:
|
||||||
|
$ref: "#/components/schemas/AllowDownloadStatus"
|
||||||
|
media_results:
|
||||||
|
$ref: "#/components/schemas/MediaResults"
|
||||||
|
|
||||||
MediaOriginalInfo:
|
MediaOriginalInfo:
|
||||||
required:
|
required:
|
||||||
|
|
@ -1336,6 +1344,8 @@ components:
|
||||||
- "title"
|
- "title"
|
||||||
- "preview_text"
|
- "preview_text"
|
||||||
- "cover_media"
|
- "cover_media"
|
||||||
|
- "metadata"
|
||||||
|
- "lifecycle_state"
|
||||||
properties:
|
properties:
|
||||||
rest_id:
|
rest_id:
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -1348,6 +1358,10 @@ components:
|
||||||
type: string
|
type: string
|
||||||
cover_media:
|
cover_media:
|
||||||
$ref: "#/components/schemas/ArticleCoverMedia"
|
$ref: "#/components/schemas/ArticleCoverMedia"
|
||||||
|
metadata:
|
||||||
|
$ref: "#/components/schemas/ArticleMetadata"
|
||||||
|
lifecycle_state:
|
||||||
|
$ref: "#/components/schemas/ArticleLifecycleState"
|
||||||
|
|
||||||
ArticleCoverMedia:
|
ArticleCoverMedia:
|
||||||
required:
|
required:
|
||||||
|
|
@ -1416,3 +1430,38 @@ components:
|
||||||
type: integer
|
type: integer
|
||||||
red:
|
red:
|
||||||
type: integer
|
type: integer
|
||||||
|
|
||||||
|
ArticleMetadata:
|
||||||
|
required:
|
||||||
|
- "first_published_at_secs"
|
||||||
|
properties:
|
||||||
|
first_published_at_secs:
|
||||||
|
type: integer
|
||||||
|
|
||||||
|
ArticleLifecycleState:
|
||||||
|
required:
|
||||||
|
- "modified_at_secs"
|
||||||
|
properties:
|
||||||
|
modified_at_secs:
|
||||||
|
type: integer
|
||||||
|
|
||||||
|
AllowDownloadStatus:
|
||||||
|
required:
|
||||||
|
- "allow_download"
|
||||||
|
properties:
|
||||||
|
allow_download:
|
||||||
|
type: boolean
|
||||||
|
|
||||||
|
MediaResults:
|
||||||
|
required:
|
||||||
|
- "result"
|
||||||
|
properties:
|
||||||
|
result:
|
||||||
|
$ref: "#/components/schemas/MediaResult"
|
||||||
|
|
||||||
|
MediaResult:
|
||||||
|
required:
|
||||||
|
- "media_key"
|
||||||
|
properties:
|
||||||
|
media_key:
|
||||||
|
type: string
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,7 @@ components:
|
||||||
- "super_followed_by"
|
- "super_followed_by"
|
||||||
- "super_following"
|
- "super_following"
|
||||||
- "profile_image_shape"
|
- "profile_image_shape"
|
||||||
|
- "tipjar_settings"
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
__typename:
|
__typename:
|
||||||
|
|
@ -92,6 +93,8 @@ components:
|
||||||
$ref: "#/components/schemas/UserVerificationInfo"
|
$ref: "#/components/schemas/UserVerificationInfo"
|
||||||
is_profile_translatable:
|
is_profile_translatable:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
tipjar_settings:
|
||||||
|
$ref: "#/components/schemas/UserTipJarSettings"
|
||||||
|
|
||||||
UserProfessional:
|
UserProfessional:
|
||||||
required:
|
required:
|
||||||
|
|
@ -194,6 +197,23 @@ components:
|
||||||
type: string
|
type: string
|
||||||
enum: ["ExternalUrl"]
|
enum: ["ExternalUrl"]
|
||||||
|
|
||||||
|
UserTipJarSettings:
|
||||||
|
properties:
|
||||||
|
is_enabled:
|
||||||
|
type: boolean
|
||||||
|
patreon_handle:
|
||||||
|
type: string
|
||||||
|
bitcoin_handle:
|
||||||
|
type: string
|
||||||
|
ethereum_handle:
|
||||||
|
type: string
|
||||||
|
cash_app_handle:
|
||||||
|
type: string
|
||||||
|
venmo_handle:
|
||||||
|
type: string
|
||||||
|
gofundme_handle:
|
||||||
|
type: string # uri
|
||||||
|
|
||||||
UserLegacy:
|
UserLegacy:
|
||||||
required:
|
required:
|
||||||
- "blocked_by"
|
- "blocked_by"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue