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
c19d43c42a
commit
95ef71b398
2 changed files with 310 additions and 44 deletions
177
dist/compatible/openapi-3.0.yaml
vendored
177
dist/compatible/openapi-3.0.yaml
vendored
|
|
@ -395,6 +395,15 @@ components:
|
||||||
required:
|
required:
|
||||||
- errors
|
- errors
|
||||||
type: object
|
type: object
|
||||||
|
ExtMediaAvailability:
|
||||||
|
properties:
|
||||||
|
reason:
|
||||||
|
type: string
|
||||||
|
status:
|
||||||
|
enum:
|
||||||
|
- Available
|
||||||
|
- Unavailable
|
||||||
|
type: string
|
||||||
ExtendedEntities:
|
ExtendedEntities:
|
||||||
properties:
|
properties:
|
||||||
media:
|
media:
|
||||||
|
|
@ -571,12 +580,17 @@ components:
|
||||||
type: object
|
type: object
|
||||||
Media:
|
Media:
|
||||||
properties:
|
properties:
|
||||||
|
additional_media_info:
|
||||||
|
additionalProperties: true
|
||||||
|
type: object
|
||||||
display_url:
|
display_url:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
expanded_url:
|
expanded_url:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
|
ext_media_availability:
|
||||||
|
$ref: '#/components/schemas/ExtMediaAvailability'
|
||||||
features:
|
features:
|
||||||
type: object
|
type: object
|
||||||
id_str:
|
id_str:
|
||||||
|
|
@ -586,6 +600,8 @@ components:
|
||||||
items:
|
items:
|
||||||
type: integer
|
type: integer
|
||||||
type: array
|
type: array
|
||||||
|
media_key:
|
||||||
|
type: string
|
||||||
media_url_https:
|
media_url_https:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -602,6 +618,9 @@ components:
|
||||||
url:
|
url:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
|
video_info:
|
||||||
|
additionalProperties: true
|
||||||
|
type: object
|
||||||
required:
|
required:
|
||||||
- display_url
|
- display_url
|
||||||
- expanded_url
|
- expanded_url
|
||||||
|
|
@ -612,6 +631,8 @@ components:
|
||||||
- url
|
- url
|
||||||
- sizes
|
- sizes
|
||||||
- original_info
|
- original_info
|
||||||
|
- media_key
|
||||||
|
- ext_media_availability
|
||||||
MediaExtended:
|
MediaExtended:
|
||||||
properties:
|
properties:
|
||||||
additional_media_info:
|
additional_media_info:
|
||||||
|
|
@ -623,7 +644,7 @@ components:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
ext_media_availability:
|
ext_media_availability:
|
||||||
$ref: '#/components/schemas/extMediaAvailability'
|
$ref: '#/components/schemas/ExtMediaAvailability'
|
||||||
features:
|
features:
|
||||||
type: object
|
type: object
|
||||||
id_str:
|
id_str:
|
||||||
|
|
@ -634,7 +655,7 @@ components:
|
||||||
type: integer
|
type: integer
|
||||||
type: array
|
type: array
|
||||||
mediaStats:
|
mediaStats:
|
||||||
$ref: '#/components/schemas/mediaStats'
|
$ref: '#/components/schemas/MediaStats'
|
||||||
media_key:
|
media_key:
|
||||||
type: string
|
type: string
|
||||||
media_url_https:
|
media_url_https:
|
||||||
|
|
@ -725,6 +746,12 @@ components:
|
||||||
- medium
|
- medium
|
||||||
- small
|
- small
|
||||||
- thumb
|
- thumb
|
||||||
|
MediaStats:
|
||||||
|
properties:
|
||||||
|
viewCount:
|
||||||
|
type: integer
|
||||||
|
required:
|
||||||
|
- viewCount
|
||||||
MediaVideoInfo:
|
MediaVideoInfo:
|
||||||
properties:
|
properties:
|
||||||
aspect_ratio:
|
aspect_ratio:
|
||||||
|
|
@ -970,10 +997,26 @@ components:
|
||||||
SocialContext:
|
SocialContext:
|
||||||
properties:
|
properties:
|
||||||
contextType:
|
contextType:
|
||||||
|
enum:
|
||||||
|
- Follow
|
||||||
type: string
|
type: string
|
||||||
|
landingUrl:
|
||||||
|
$ref: '#/components/schemas/SocialContextLandingUrl'
|
||||||
text:
|
text:
|
||||||
type: string
|
type: string
|
||||||
type:
|
type:
|
||||||
|
enum:
|
||||||
|
- TimelineGeneralContext
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
SocialContextLandingUrl:
|
||||||
|
properties:
|
||||||
|
Url:
|
||||||
|
format: uri
|
||||||
|
type: string
|
||||||
|
urlType:
|
||||||
|
enum:
|
||||||
|
- DeepLink
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
Symbol:
|
Symbol:
|
||||||
|
|
@ -1234,12 +1277,16 @@ components:
|
||||||
$ref: '#/components/schemas/ContentEntryType'
|
$ref: '#/components/schemas/ContentEntryType'
|
||||||
itemType:
|
itemType:
|
||||||
$ref: '#/components/schemas/ContentEntryType'
|
$ref: '#/components/schemas/ContentEntryType'
|
||||||
|
stopOnEmptyResponse:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
value:
|
value:
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- __typename
|
- __typename
|
||||||
- cursorType
|
- cursorType
|
||||||
- value
|
- value
|
||||||
|
- stopOnEmptyResponse
|
||||||
TimelineTimelineItem:
|
TimelineTimelineItem:
|
||||||
properties:
|
properties:
|
||||||
__typename:
|
__typename:
|
||||||
|
|
@ -1291,8 +1338,6 @@ components:
|
||||||
- clientEventInfo
|
- clientEventInfo
|
||||||
TimelineTweet:
|
TimelineTweet:
|
||||||
properties:
|
properties:
|
||||||
SocialContext:
|
|
||||||
$ref: '#/components/schemas/SocialContext'
|
|
||||||
__typename:
|
__typename:
|
||||||
$ref: '#/components/schemas/TypeName'
|
$ref: '#/components/schemas/TypeName'
|
||||||
itemType:
|
itemType:
|
||||||
|
|
@ -1300,6 +1345,8 @@ components:
|
||||||
promotedMetadata:
|
promotedMetadata:
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
|
socialContext:
|
||||||
|
$ref: '#/components/schemas/SocialContext'
|
||||||
tweetDisplayType:
|
tweetDisplayType:
|
||||||
type: string
|
type: string
|
||||||
tweet_results:
|
tweet_results:
|
||||||
|
|
@ -1311,12 +1358,12 @@ components:
|
||||||
- tweet_results
|
- tweet_results
|
||||||
TimelineUser:
|
TimelineUser:
|
||||||
properties:
|
properties:
|
||||||
SocialContext:
|
|
||||||
$ref: '#/components/schemas/SocialContext'
|
|
||||||
__typename:
|
__typename:
|
||||||
$ref: '#/components/schemas/TypeName'
|
$ref: '#/components/schemas/TypeName'
|
||||||
itemType:
|
itemType:
|
||||||
$ref: '#/components/schemas/ContentItemType'
|
$ref: '#/components/schemas/ContentItemType'
|
||||||
|
socialContext:
|
||||||
|
$ref: '#/components/schemas/SocialContext'
|
||||||
userDisplayType:
|
userDisplayType:
|
||||||
enum:
|
enum:
|
||||||
- User
|
- User
|
||||||
|
|
@ -1328,7 +1375,6 @@ components:
|
||||||
required:
|
required:
|
||||||
- __typename
|
- __typename
|
||||||
- itemType
|
- itemType
|
||||||
- socialContext
|
|
||||||
- userDisplayType
|
- userDisplayType
|
||||||
- user_results
|
- user_results
|
||||||
TimelineV2:
|
TimelineV2:
|
||||||
|
|
@ -1375,6 +1421,8 @@ components:
|
||||||
type: string
|
type: string
|
||||||
source:
|
source:
|
||||||
type: string
|
type: string
|
||||||
|
unified_card:
|
||||||
|
$ref: '#/components/schemas/UnifiedCard'
|
||||||
unmention_data:
|
unmention_data:
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
|
|
@ -1397,6 +1445,8 @@ components:
|
||||||
items:
|
items:
|
||||||
$ref: '#/components/schemas/TweetCardLegacyBindingValue'
|
$ref: '#/components/schemas/TweetCardLegacyBindingValue'
|
||||||
type: array
|
type: array
|
||||||
|
card_platform:
|
||||||
|
$ref: '#/components/schemas/TweetCardPlatformData'
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
url:
|
url:
|
||||||
|
|
@ -1426,6 +1476,39 @@ components:
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- type
|
- type
|
||||||
|
TweetCardPlatform:
|
||||||
|
properties:
|
||||||
|
audience:
|
||||||
|
$ref: '#/components/schemas/TweetCardPlatformAudience'
|
||||||
|
device:
|
||||||
|
$ref: '#/components/schemas/TweetCardPlatformDevice'
|
||||||
|
required:
|
||||||
|
- audience
|
||||||
|
- device
|
||||||
|
TweetCardPlatformAudience:
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
enum:
|
||||||
|
- production
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- name
|
||||||
|
TweetCardPlatformData:
|
||||||
|
properties:
|
||||||
|
platform:
|
||||||
|
$ref: '#/components/schemas/TweetCardPlatform'
|
||||||
|
required:
|
||||||
|
- platform
|
||||||
|
TweetCardPlatformDevice:
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
version:
|
||||||
|
pattern: ^[0-9]+$
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- name
|
||||||
|
- version
|
||||||
TweetDetailResponse:
|
TweetDetailResponse:
|
||||||
properties:
|
properties:
|
||||||
data:
|
data:
|
||||||
|
|
@ -1524,6 +1607,14 @@ components:
|
||||||
id_str:
|
id_str:
|
||||||
pattern: ^[0-9]+$
|
pattern: ^[0-9]+$
|
||||||
type: string
|
type: string
|
||||||
|
in_reply_to_screen_name:
|
||||||
|
type: string
|
||||||
|
in_reply_to_status_id_str:
|
||||||
|
pattern: ^[0-9]+$
|
||||||
|
type: string
|
||||||
|
in_reply_to_user_id_str:
|
||||||
|
pattern: ^[0-9]+$
|
||||||
|
type: string
|
||||||
is_quote_status:
|
is_quote_status:
|
||||||
type: boolean
|
type: boolean
|
||||||
lang:
|
lang:
|
||||||
|
|
@ -1544,6 +1635,8 @@ components:
|
||||||
type: boolean
|
type: boolean
|
||||||
retweeted_status_result:
|
retweeted_status_result:
|
||||||
$ref: '#/components/schemas/ItemResult'
|
$ref: '#/components/schemas/ItemResult'
|
||||||
|
scopes:
|
||||||
|
$ref: '#/components/schemas/TweetLegacyScopes'
|
||||||
self_thread:
|
self_thread:
|
||||||
$ref: '#/components/schemas/SelfThread'
|
$ref: '#/components/schemas/SelfThread'
|
||||||
user_id_str:
|
user_id_str:
|
||||||
|
|
@ -1567,6 +1660,12 @@ components:
|
||||||
- retweeted
|
- retweeted
|
||||||
- user_id_str
|
- user_id_str
|
||||||
- id_str
|
- id_str
|
||||||
|
TweetLegacyScopes:
|
||||||
|
properties:
|
||||||
|
followers:
|
||||||
|
type: boolean
|
||||||
|
required:
|
||||||
|
- followers
|
||||||
TweetResultByRestIdData:
|
TweetResultByRestIdData:
|
||||||
properties:
|
properties:
|
||||||
tweetResult:
|
tweetResult:
|
||||||
|
|
@ -1662,6 +1761,14 @@ components:
|
||||||
$ref: '#/components/schemas/UnfavoriteTweet'
|
$ref: '#/components/schemas/UnfavoriteTweet'
|
||||||
required:
|
required:
|
||||||
- data
|
- data
|
||||||
|
UnifiedCard:
|
||||||
|
properties:
|
||||||
|
card_fetch_state:
|
||||||
|
enum:
|
||||||
|
- NoCard
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- card_fetch_state
|
||||||
Url:
|
Url:
|
||||||
properties:
|
properties:
|
||||||
display_url:
|
display_url:
|
||||||
|
|
@ -1705,6 +1812,13 @@ components:
|
||||||
type: boolean
|
type: boolean
|
||||||
legacy:
|
legacy:
|
||||||
$ref: '#/components/schemas/UserLegacy'
|
$ref: '#/components/schemas/UserLegacy'
|
||||||
|
professional:
|
||||||
|
$ref: '#/components/schemas/UserProfessional'
|
||||||
|
profile_image_shape:
|
||||||
|
enum:
|
||||||
|
- Circle
|
||||||
|
- Square
|
||||||
|
type: string
|
||||||
rest_id:
|
rest_id:
|
||||||
pattern: ^[0-9]+$
|
pattern: ^[0-9]+$
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -1727,6 +1841,7 @@ components:
|
||||||
- super_follow_eligible
|
- super_follow_eligible
|
||||||
- super_followed_by
|
- super_followed_by
|
||||||
- super_following
|
- super_following
|
||||||
|
- profile_image_shape
|
||||||
UserFeatures:
|
UserFeatures:
|
||||||
properties:
|
properties:
|
||||||
mediatool_studio_library:
|
mediatool_studio_library:
|
||||||
|
|
@ -1872,6 +1987,10 @@ components:
|
||||||
type: string
|
type: string
|
||||||
verified:
|
verified:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
verified_type:
|
||||||
|
enum:
|
||||||
|
- Business
|
||||||
|
type: string
|
||||||
want_retweets:
|
want_retweets:
|
||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
|
|
@ -1910,6 +2029,35 @@ components:
|
||||||
UserMention:
|
UserMention:
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
|
UserProfessional:
|
||||||
|
properties:
|
||||||
|
category:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/UserProfessionalCategory'
|
||||||
|
type: array
|
||||||
|
professional_type:
|
||||||
|
enum:
|
||||||
|
- Business
|
||||||
|
type: string
|
||||||
|
rest_id:
|
||||||
|
pattern: ^[0-9]+$
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- rest_id
|
||||||
|
- professional_type
|
||||||
|
- category
|
||||||
|
UserProfessionalCategory:
|
||||||
|
properties:
|
||||||
|
icon_name:
|
||||||
|
type: string
|
||||||
|
id:
|
||||||
|
type: integer
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- id
|
||||||
|
- name
|
||||||
|
- icon_name
|
||||||
UserResponse:
|
UserResponse:
|
||||||
properties:
|
properties:
|
||||||
data:
|
data:
|
||||||
|
|
@ -2038,21 +2186,6 @@ components:
|
||||||
type: array
|
type: array
|
||||||
required:
|
required:
|
||||||
- users
|
- users
|
||||||
extMediaAvailability:
|
|
||||||
properties:
|
|
||||||
reason:
|
|
||||||
type: string
|
|
||||||
status:
|
|
||||||
enum:
|
|
||||||
- Available
|
|
||||||
- Unavailable
|
|
||||||
type: string
|
|
||||||
mediaStats:
|
|
||||||
properties:
|
|
||||||
viewCount:
|
|
||||||
type: integer
|
|
||||||
required:
|
|
||||||
- viewCount
|
|
||||||
securitySchemes:
|
securitySchemes:
|
||||||
Accept:
|
Accept:
|
||||||
description: '*/*'
|
description: '*/*'
|
||||||
|
|
|
||||||
177
dist/docs/openapi-3.0.yaml
vendored
177
dist/docs/openapi-3.0.yaml
vendored
|
|
@ -395,6 +395,15 @@ components:
|
||||||
required:
|
required:
|
||||||
- errors
|
- errors
|
||||||
type: object
|
type: object
|
||||||
|
ExtMediaAvailability:
|
||||||
|
properties:
|
||||||
|
reason:
|
||||||
|
type: string
|
||||||
|
status:
|
||||||
|
enum:
|
||||||
|
- Available
|
||||||
|
- Unavailable
|
||||||
|
type: string
|
||||||
ExtendedEntities:
|
ExtendedEntities:
|
||||||
properties:
|
properties:
|
||||||
media:
|
media:
|
||||||
|
|
@ -571,12 +580,17 @@ components:
|
||||||
type: object
|
type: object
|
||||||
Media:
|
Media:
|
||||||
properties:
|
properties:
|
||||||
|
additional_media_info:
|
||||||
|
additionalProperties: true
|
||||||
|
type: object
|
||||||
display_url:
|
display_url:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
expanded_url:
|
expanded_url:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
|
ext_media_availability:
|
||||||
|
$ref: '#/components/schemas/ExtMediaAvailability'
|
||||||
features:
|
features:
|
||||||
type: object
|
type: object
|
||||||
id_str:
|
id_str:
|
||||||
|
|
@ -586,6 +600,8 @@ components:
|
||||||
items:
|
items:
|
||||||
type: integer
|
type: integer
|
||||||
type: array
|
type: array
|
||||||
|
media_key:
|
||||||
|
type: string
|
||||||
media_url_https:
|
media_url_https:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -602,6 +618,9 @@ components:
|
||||||
url:
|
url:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
|
video_info:
|
||||||
|
additionalProperties: true
|
||||||
|
type: object
|
||||||
required:
|
required:
|
||||||
- display_url
|
- display_url
|
||||||
- expanded_url
|
- expanded_url
|
||||||
|
|
@ -612,6 +631,8 @@ components:
|
||||||
- url
|
- url
|
||||||
- sizes
|
- sizes
|
||||||
- original_info
|
- original_info
|
||||||
|
- media_key
|
||||||
|
- ext_media_availability
|
||||||
MediaExtended:
|
MediaExtended:
|
||||||
properties:
|
properties:
|
||||||
additional_media_info:
|
additional_media_info:
|
||||||
|
|
@ -623,7 +644,7 @@ components:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
ext_media_availability:
|
ext_media_availability:
|
||||||
$ref: '#/components/schemas/extMediaAvailability'
|
$ref: '#/components/schemas/ExtMediaAvailability'
|
||||||
features:
|
features:
|
||||||
type: object
|
type: object
|
||||||
id_str:
|
id_str:
|
||||||
|
|
@ -634,7 +655,7 @@ components:
|
||||||
type: integer
|
type: integer
|
||||||
type: array
|
type: array
|
||||||
mediaStats:
|
mediaStats:
|
||||||
$ref: '#/components/schemas/mediaStats'
|
$ref: '#/components/schemas/MediaStats'
|
||||||
media_key:
|
media_key:
|
||||||
type: string
|
type: string
|
||||||
media_url_https:
|
media_url_https:
|
||||||
|
|
@ -725,6 +746,12 @@ components:
|
||||||
- medium
|
- medium
|
||||||
- small
|
- small
|
||||||
- thumb
|
- thumb
|
||||||
|
MediaStats:
|
||||||
|
properties:
|
||||||
|
viewCount:
|
||||||
|
type: integer
|
||||||
|
required:
|
||||||
|
- viewCount
|
||||||
MediaVideoInfo:
|
MediaVideoInfo:
|
||||||
properties:
|
properties:
|
||||||
aspect_ratio:
|
aspect_ratio:
|
||||||
|
|
@ -970,10 +997,26 @@ components:
|
||||||
SocialContext:
|
SocialContext:
|
||||||
properties:
|
properties:
|
||||||
contextType:
|
contextType:
|
||||||
|
enum:
|
||||||
|
- Follow
|
||||||
type: string
|
type: string
|
||||||
|
landingUrl:
|
||||||
|
$ref: '#/components/schemas/SocialContextLandingUrl'
|
||||||
text:
|
text:
|
||||||
type: string
|
type: string
|
||||||
type:
|
type:
|
||||||
|
enum:
|
||||||
|
- TimelineGeneralContext
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
SocialContextLandingUrl:
|
||||||
|
properties:
|
||||||
|
Url:
|
||||||
|
format: uri
|
||||||
|
type: string
|
||||||
|
urlType:
|
||||||
|
enum:
|
||||||
|
- DeepLink
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
Symbol:
|
Symbol:
|
||||||
|
|
@ -1234,12 +1277,16 @@ components:
|
||||||
$ref: '#/components/schemas/ContentEntryType'
|
$ref: '#/components/schemas/ContentEntryType'
|
||||||
itemType:
|
itemType:
|
||||||
$ref: '#/components/schemas/ContentEntryType'
|
$ref: '#/components/schemas/ContentEntryType'
|
||||||
|
stopOnEmptyResponse:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
value:
|
value:
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- __typename
|
- __typename
|
||||||
- cursorType
|
- cursorType
|
||||||
- value
|
- value
|
||||||
|
- stopOnEmptyResponse
|
||||||
TimelineTimelineItem:
|
TimelineTimelineItem:
|
||||||
properties:
|
properties:
|
||||||
__typename:
|
__typename:
|
||||||
|
|
@ -1291,8 +1338,6 @@ components:
|
||||||
- clientEventInfo
|
- clientEventInfo
|
||||||
TimelineTweet:
|
TimelineTweet:
|
||||||
properties:
|
properties:
|
||||||
SocialContext:
|
|
||||||
$ref: '#/components/schemas/SocialContext'
|
|
||||||
__typename:
|
__typename:
|
||||||
$ref: '#/components/schemas/TypeName'
|
$ref: '#/components/schemas/TypeName'
|
||||||
itemType:
|
itemType:
|
||||||
|
|
@ -1300,6 +1345,8 @@ components:
|
||||||
promotedMetadata:
|
promotedMetadata:
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
|
socialContext:
|
||||||
|
$ref: '#/components/schemas/SocialContext'
|
||||||
tweetDisplayType:
|
tweetDisplayType:
|
||||||
type: string
|
type: string
|
||||||
tweet_results:
|
tweet_results:
|
||||||
|
|
@ -1311,12 +1358,12 @@ components:
|
||||||
- tweet_results
|
- tweet_results
|
||||||
TimelineUser:
|
TimelineUser:
|
||||||
properties:
|
properties:
|
||||||
SocialContext:
|
|
||||||
$ref: '#/components/schemas/SocialContext'
|
|
||||||
__typename:
|
__typename:
|
||||||
$ref: '#/components/schemas/TypeName'
|
$ref: '#/components/schemas/TypeName'
|
||||||
itemType:
|
itemType:
|
||||||
$ref: '#/components/schemas/ContentItemType'
|
$ref: '#/components/schemas/ContentItemType'
|
||||||
|
socialContext:
|
||||||
|
$ref: '#/components/schemas/SocialContext'
|
||||||
userDisplayType:
|
userDisplayType:
|
||||||
enum:
|
enum:
|
||||||
- User
|
- User
|
||||||
|
|
@ -1328,7 +1375,6 @@ components:
|
||||||
required:
|
required:
|
||||||
- __typename
|
- __typename
|
||||||
- itemType
|
- itemType
|
||||||
- socialContext
|
|
||||||
- userDisplayType
|
- userDisplayType
|
||||||
- user_results
|
- user_results
|
||||||
TimelineV2:
|
TimelineV2:
|
||||||
|
|
@ -1375,6 +1421,8 @@ components:
|
||||||
type: string
|
type: string
|
||||||
source:
|
source:
|
||||||
type: string
|
type: string
|
||||||
|
unified_card:
|
||||||
|
$ref: '#/components/schemas/UnifiedCard'
|
||||||
unmention_data:
|
unmention_data:
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
|
|
@ -1397,6 +1445,8 @@ components:
|
||||||
items:
|
items:
|
||||||
$ref: '#/components/schemas/TweetCardLegacyBindingValue'
|
$ref: '#/components/schemas/TweetCardLegacyBindingValue'
|
||||||
type: array
|
type: array
|
||||||
|
card_platform:
|
||||||
|
$ref: '#/components/schemas/TweetCardPlatformData'
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
url:
|
url:
|
||||||
|
|
@ -1426,6 +1476,39 @@ components:
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- type
|
- type
|
||||||
|
TweetCardPlatform:
|
||||||
|
properties:
|
||||||
|
audience:
|
||||||
|
$ref: '#/components/schemas/TweetCardPlatformAudience'
|
||||||
|
device:
|
||||||
|
$ref: '#/components/schemas/TweetCardPlatformDevice'
|
||||||
|
required:
|
||||||
|
- audience
|
||||||
|
- device
|
||||||
|
TweetCardPlatformAudience:
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
enum:
|
||||||
|
- production
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- name
|
||||||
|
TweetCardPlatformData:
|
||||||
|
properties:
|
||||||
|
platform:
|
||||||
|
$ref: '#/components/schemas/TweetCardPlatform'
|
||||||
|
required:
|
||||||
|
- platform
|
||||||
|
TweetCardPlatformDevice:
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
version:
|
||||||
|
pattern: ^[0-9]+$
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- name
|
||||||
|
- version
|
||||||
TweetDetailResponse:
|
TweetDetailResponse:
|
||||||
properties:
|
properties:
|
||||||
data:
|
data:
|
||||||
|
|
@ -1524,6 +1607,14 @@ components:
|
||||||
id_str:
|
id_str:
|
||||||
pattern: ^[0-9]+$
|
pattern: ^[0-9]+$
|
||||||
type: string
|
type: string
|
||||||
|
in_reply_to_screen_name:
|
||||||
|
type: string
|
||||||
|
in_reply_to_status_id_str:
|
||||||
|
pattern: ^[0-9]+$
|
||||||
|
type: string
|
||||||
|
in_reply_to_user_id_str:
|
||||||
|
pattern: ^[0-9]+$
|
||||||
|
type: string
|
||||||
is_quote_status:
|
is_quote_status:
|
||||||
type: boolean
|
type: boolean
|
||||||
lang:
|
lang:
|
||||||
|
|
@ -1544,6 +1635,8 @@ components:
|
||||||
type: boolean
|
type: boolean
|
||||||
retweeted_status_result:
|
retweeted_status_result:
|
||||||
$ref: '#/components/schemas/ItemResult'
|
$ref: '#/components/schemas/ItemResult'
|
||||||
|
scopes:
|
||||||
|
$ref: '#/components/schemas/TweetLegacyScopes'
|
||||||
self_thread:
|
self_thread:
|
||||||
$ref: '#/components/schemas/SelfThread'
|
$ref: '#/components/schemas/SelfThread'
|
||||||
user_id_str:
|
user_id_str:
|
||||||
|
|
@ -1567,6 +1660,12 @@ components:
|
||||||
- retweeted
|
- retweeted
|
||||||
- user_id_str
|
- user_id_str
|
||||||
- id_str
|
- id_str
|
||||||
|
TweetLegacyScopes:
|
||||||
|
properties:
|
||||||
|
followers:
|
||||||
|
type: boolean
|
||||||
|
required:
|
||||||
|
- followers
|
||||||
TweetResultByRestIdData:
|
TweetResultByRestIdData:
|
||||||
properties:
|
properties:
|
||||||
tweetResult:
|
tweetResult:
|
||||||
|
|
@ -1662,6 +1761,14 @@ components:
|
||||||
$ref: '#/components/schemas/UnfavoriteTweet'
|
$ref: '#/components/schemas/UnfavoriteTweet'
|
||||||
required:
|
required:
|
||||||
- data
|
- data
|
||||||
|
UnifiedCard:
|
||||||
|
properties:
|
||||||
|
card_fetch_state:
|
||||||
|
enum:
|
||||||
|
- NoCard
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- card_fetch_state
|
||||||
Url:
|
Url:
|
||||||
properties:
|
properties:
|
||||||
display_url:
|
display_url:
|
||||||
|
|
@ -1705,6 +1812,13 @@ components:
|
||||||
type: boolean
|
type: boolean
|
||||||
legacy:
|
legacy:
|
||||||
$ref: '#/components/schemas/UserLegacy'
|
$ref: '#/components/schemas/UserLegacy'
|
||||||
|
professional:
|
||||||
|
$ref: '#/components/schemas/UserProfessional'
|
||||||
|
profile_image_shape:
|
||||||
|
enum:
|
||||||
|
- Circle
|
||||||
|
- Square
|
||||||
|
type: string
|
||||||
rest_id:
|
rest_id:
|
||||||
pattern: ^[0-9]+$
|
pattern: ^[0-9]+$
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -1727,6 +1841,7 @@ components:
|
||||||
- super_follow_eligible
|
- super_follow_eligible
|
||||||
- super_followed_by
|
- super_followed_by
|
||||||
- super_following
|
- super_following
|
||||||
|
- profile_image_shape
|
||||||
UserFeatures:
|
UserFeatures:
|
||||||
properties:
|
properties:
|
||||||
mediatool_studio_library:
|
mediatool_studio_library:
|
||||||
|
|
@ -1872,6 +1987,10 @@ components:
|
||||||
type: string
|
type: string
|
||||||
verified:
|
verified:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
verified_type:
|
||||||
|
enum:
|
||||||
|
- Business
|
||||||
|
type: string
|
||||||
want_retweets:
|
want_retweets:
|
||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
|
|
@ -1910,6 +2029,35 @@ components:
|
||||||
UserMention:
|
UserMention:
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
|
UserProfessional:
|
||||||
|
properties:
|
||||||
|
category:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/UserProfessionalCategory'
|
||||||
|
type: array
|
||||||
|
professional_type:
|
||||||
|
enum:
|
||||||
|
- Business
|
||||||
|
type: string
|
||||||
|
rest_id:
|
||||||
|
pattern: ^[0-9]+$
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- rest_id
|
||||||
|
- professional_type
|
||||||
|
- category
|
||||||
|
UserProfessionalCategory:
|
||||||
|
properties:
|
||||||
|
icon_name:
|
||||||
|
type: string
|
||||||
|
id:
|
||||||
|
type: integer
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- id
|
||||||
|
- name
|
||||||
|
- icon_name
|
||||||
UserResponse:
|
UserResponse:
|
||||||
properties:
|
properties:
|
||||||
data:
|
data:
|
||||||
|
|
@ -2038,21 +2186,6 @@ components:
|
||||||
type: array
|
type: array
|
||||||
required:
|
required:
|
||||||
- users
|
- users
|
||||||
extMediaAvailability:
|
|
||||||
properties:
|
|
||||||
reason:
|
|
||||||
type: string
|
|
||||||
status:
|
|
||||||
enum:
|
|
||||||
- Available
|
|
||||||
- Unavailable
|
|
||||||
type: string
|
|
||||||
mediaStats:
|
|
||||||
properties:
|
|
||||||
viewCount:
|
|
||||||
type: integer
|
|
||||||
required:
|
|
||||||
- viewCount
|
|
||||||
securitySchemes:
|
securitySchemes:
|
||||||
Accept:
|
Accept:
|
||||||
description: '*/*'
|
description: '*/*'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue