1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 07:30:37 +01:00
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2024-02-13 12:05:44 +09:00
parent 3a8c8650fa
commit 428137d978
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
4 changed files with 19 additions and 8 deletions

View file

@ -1511,6 +1511,7 @@ components:
- Like
- Location
- Sparkle
- Conversation
type: string
landingUrl:
$ref: '#/components/schemas/SocialContextLandingUrl'
@ -2273,6 +2274,7 @@ components:
type: string
state:
enum:
- Enabled
- EnabledWithCount
type: string
required:

View file

@ -1511,6 +1511,7 @@ components:
- Like
- Location
- Sparkle
- Conversation
type: string
landingUrl:
$ref: '#/components/schemas/SocialContextLandingUrl'
@ -2273,6 +2274,7 @@ components:
type: string
state:
enum:
- Enabled
- EnabledWithCount
type: string
required:

View file

@ -59,7 +59,7 @@ components:
entryType:
$ref: "#/components/schemas/ContentEntryType" # TimelineTimelineCursor
displayType:
$ref: "#/components/schemas/DisplayType"
$ref: "#/components/schemas/DisplayType"
items:
type: array
items:
@ -240,14 +240,13 @@ components:
mapping": # deprecated
TimelineGeneralContext: "#/components/schemas/TimelineGeneralContext"
TimelineTopicContext: "#/components/schemas/TimelineTopicContext"
SocialContextUnionType:
type: string
enum:
enum:
- TimelineGeneralContext
- TimelineTopicContext
TimelineGeneralContext:
type: object
properties:
@ -255,7 +254,13 @@ components:
$ref: "#/components/schemas/SocialContextUnionType"
contextType:
type: string # enum
enum: ["Follow", "Pin", "Like", "Location", "Sparkle"]
enum:
- "Follow"
- "Pin"
- "Like"
- "Location"
- "Sparkle"
- "Conversation"
text:
type: string
landingUrl:
@ -271,7 +276,7 @@ components:
functionalityType:
type: string
enum: ["Basic"]
TopicContext:
type: object
properties:
@ -290,7 +295,7 @@ components:
type: boolean
not_interested:
type: boolean
SocialContextLandingUrl:
type: object
properties:

View file

@ -231,7 +231,9 @@ components:
pattern: "^[0-9]+$"
state:
type: string
enum: [EnabledWithCount]
enum:
- Enabled
- EnabledWithCount
NoteTweet:
required: