1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 15:40:26 +01:00
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2024-02-11 20:38:25 +09:00
parent 755990f3d0
commit d103390271
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
2 changed files with 212 additions and 2 deletions

View file

@ -72,6 +72,8 @@ components:
- urlType - urlType
BirdwatchPivot: BirdwatchPivot:
properties: properties:
callToAction:
$ref: '#/components/schemas/BirdwatchPivotCallToAction'
destinationUrl: destinationUrl:
format: uri format: uri
type: string type: string
@ -101,6 +103,19 @@ components:
- title - title
- shorttitle - shorttitle
- iconType - iconType
BirdwatchPivotCallToAction:
properties:
destinationUrl:
format: uri
type: string
prompt:
type: string
title:
type: string
required:
- prompt
- title
- destinationUrl
BirdwatchPivotFooter: BirdwatchPivotFooter:
properties: properties:
entities: entities:
@ -680,6 +695,14 @@ components:
$ref: '#/components/schemas/FavoriteTweet' $ref: '#/components/schemas/FavoriteTweet'
required: required:
- data - data
FeedbackInfo:
properties:
feedbackKeys:
items:
type: string
type: array
required:
- feedbackType
FollowResponse: FollowResponse:
properties: properties:
data: data:
@ -1302,6 +1325,7 @@ components:
contextType: contextType:
enum: enum:
- Follow - Follow
- Pin
type: string type: string
landingUrl: landingUrl:
$ref: '#/components/schemas/SocialContextLandingUrl' $ref: '#/components/schemas/SocialContextLandingUrl'
@ -1660,6 +1684,8 @@ components:
type: string type: string
entryType: entryType:
$ref: '#/components/schemas/ContentEntryType' $ref: '#/components/schemas/ContentEntryType'
feedbackInfo:
$ref: '#/components/schemas/FeedbackInfo'
footer: footer:
additionalProperties: true additionalProperties: true
type: object type: object
@ -1959,6 +1985,80 @@ components:
$ref: '#/components/schemas/TimelineV2' $ref: '#/components/schemas/TimelineV2'
required: required:
- favoriters_timeline - favoriters_timeline
TweetInterstitial:
properties:
__typename:
$ref: '#/components/schemas/TypeName'
displayType:
enum:
- NonCompliant
type: string
revealText:
$ref: '#/components/schemas/TweetInterstitialRevealText'
text:
$ref: '#/components/schemas/TweetInterstitialText'
required:
- __typename
- displayType
- text
- revealText
TweetInterstitialRevealText:
properties:
entities:
items:
$ref: '#/components/schemas/TweetInterstitialTextEntity'
type: array
rtl:
type: boolean
text:
type: string
required:
- rtl
- text
- entities
TweetInterstitialText:
properties:
entities:
items:
$ref: '#/components/schemas/TweetInterstitialTextEntity'
type: array
rtl:
type: boolean
text:
type: string
required:
- rtl
- text
- entities
TweetInterstitialTextEntity:
properties:
fromIndex:
type: integer
ref:
$ref: '#/components/schemas/TweetInterstitialTextEntityRef'
toIndex:
type: integer
required:
- fromIndex
- toIndex
- ref
TweetInterstitialTextEntityRef:
properties:
type:
enum:
- TimelineUrl
type: string
url:
format: uri
type: string
urlType:
enum:
- ExternalUrl
type: string
required:
- type
- url
- urlType
TweetLegacy: TweetLegacy:
properties: properties:
bookmark_count: bookmark_count:
@ -2006,6 +2106,7 @@ components:
- limited_replies - limited_replies
- community_tweet_non_member_public_community - community_tweet_non_member_public_community
- non_compliant - non_compliant
- dynamic_product_ad
type: string type: string
place: place:
additionalProperties: true additionalProperties: true
@ -2139,6 +2240,8 @@ components:
type: object type: object
tweet: tweet:
$ref: '#/components/schemas/Tweet' $ref: '#/components/schemas/Tweet'
tweetInterstitial:
$ref: '#/components/schemas/TweetInterstitial'
required: required:
- __typename - __typename
- tweet - tweet
@ -2156,6 +2259,7 @@ components:
- TimelineUser - TimelineUser
- TimelineTimelineCursor - TimelineTimelineCursor
- TweetWithVisibilityResults - TweetWithVisibilityResults
- ContextualTweetInterstitial
- TimelineTimelineModule - TimelineTimelineModule
- TweetTombstone - TweetTombstone
- TimelinePrompt - TimelinePrompt
@ -2260,6 +2364,8 @@ components:
is_blue_verified: is_blue_verified:
default: false default: false
type: boolean type: boolean
is_profile_translatable:
type: boolean
legacy: legacy:
$ref: '#/components/schemas/UserLegacy' $ref: '#/components/schemas/UserLegacy'
professional: professional:
@ -2657,7 +2763,6 @@ components:
$ref: '#/components/schemas/UserVerificationInfoReason' $ref: '#/components/schemas/UserVerificationInfoReason'
required: required:
- is_identity_verified - is_identity_verified
- reason
UserVerificationInfoReason: UserVerificationInfoReason:
properties: properties:
description: description:

View file

@ -72,6 +72,8 @@ components:
- urlType - urlType
BirdwatchPivot: BirdwatchPivot:
properties: properties:
callToAction:
$ref: '#/components/schemas/BirdwatchPivotCallToAction'
destinationUrl: destinationUrl:
format: uri format: uri
type: string type: string
@ -101,6 +103,19 @@ components:
- title - title
- shorttitle - shorttitle
- iconType - iconType
BirdwatchPivotCallToAction:
properties:
destinationUrl:
format: uri
type: string
prompt:
type: string
title:
type: string
required:
- prompt
- title
- destinationUrl
BirdwatchPivotFooter: BirdwatchPivotFooter:
properties: properties:
entities: entities:
@ -680,6 +695,14 @@ components:
$ref: '#/components/schemas/FavoriteTweet' $ref: '#/components/schemas/FavoriteTweet'
required: required:
- data - data
FeedbackInfo:
properties:
feedbackKeys:
items:
type: string
type: array
required:
- feedbackType
FollowResponse: FollowResponse:
properties: properties:
data: data:
@ -1302,6 +1325,7 @@ components:
contextType: contextType:
enum: enum:
- Follow - Follow
- Pin
type: string type: string
landingUrl: landingUrl:
$ref: '#/components/schemas/SocialContextLandingUrl' $ref: '#/components/schemas/SocialContextLandingUrl'
@ -1660,6 +1684,8 @@ components:
type: string type: string
entryType: entryType:
$ref: '#/components/schemas/ContentEntryType' $ref: '#/components/schemas/ContentEntryType'
feedbackInfo:
$ref: '#/components/schemas/FeedbackInfo'
footer: footer:
additionalProperties: true additionalProperties: true
type: object type: object
@ -1959,6 +1985,80 @@ components:
$ref: '#/components/schemas/TimelineV2' $ref: '#/components/schemas/TimelineV2'
required: required:
- favoriters_timeline - favoriters_timeline
TweetInterstitial:
properties:
__typename:
$ref: '#/components/schemas/TypeName'
displayType:
enum:
- NonCompliant
type: string
revealText:
$ref: '#/components/schemas/TweetInterstitialRevealText'
text:
$ref: '#/components/schemas/TweetInterstitialText'
required:
- __typename
- displayType
- text
- revealText
TweetInterstitialRevealText:
properties:
entities:
items:
$ref: '#/components/schemas/TweetInterstitialTextEntity'
type: array
rtl:
type: boolean
text:
type: string
required:
- rtl
- text
- entities
TweetInterstitialText:
properties:
entities:
items:
$ref: '#/components/schemas/TweetInterstitialTextEntity'
type: array
rtl:
type: boolean
text:
type: string
required:
- rtl
- text
- entities
TweetInterstitialTextEntity:
properties:
fromIndex:
type: integer
ref:
$ref: '#/components/schemas/TweetInterstitialTextEntityRef'
toIndex:
type: integer
required:
- fromIndex
- toIndex
- ref
TweetInterstitialTextEntityRef:
properties:
type:
enum:
- TimelineUrl
type: string
url:
format: uri
type: string
urlType:
enum:
- ExternalUrl
type: string
required:
- type
- url
- urlType
TweetLegacy: TweetLegacy:
properties: properties:
bookmark_count: bookmark_count:
@ -2006,6 +2106,7 @@ components:
- limited_replies - limited_replies
- community_tweet_non_member_public_community - community_tweet_non_member_public_community
- non_compliant - non_compliant
- dynamic_product_ad
type: string type: string
place: place:
additionalProperties: true additionalProperties: true
@ -2139,6 +2240,8 @@ components:
type: object type: object
tweet: tweet:
$ref: '#/components/schemas/Tweet' $ref: '#/components/schemas/Tweet'
tweetInterstitial:
$ref: '#/components/schemas/TweetInterstitial'
required: required:
- __typename - __typename
- tweet - tweet
@ -2156,6 +2259,7 @@ components:
- TimelineUser - TimelineUser
- TimelineTimelineCursor - TimelineTimelineCursor
- TweetWithVisibilityResults - TweetWithVisibilityResults
- ContextualTweetInterstitial
- TimelineTimelineModule - TimelineTimelineModule
- TweetTombstone - TweetTombstone
- TimelinePrompt - TimelinePrompt
@ -2260,6 +2364,8 @@ components:
is_blue_verified: is_blue_verified:
default: false default: false
type: boolean type: boolean
is_profile_translatable:
type: boolean
legacy: legacy:
$ref: '#/components/schemas/UserLegacy' $ref: '#/components/schemas/UserLegacy'
professional: professional:
@ -2657,7 +2763,6 @@ components:
$ref: '#/components/schemas/UserVerificationInfoReason' $ref: '#/components/schemas/UserVerificationInfoReason'
required: required:
- is_identity_verified - is_identity_verified
- reason
UserVerificationInfoReason: UserVerificationInfoReason:
properties: properties:
description: description: