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:
ふぁ 2023-09-01 13:58:21 +09:00
parent 8a7eba499f
commit 214392ec9b
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
6 changed files with 42 additions and 0 deletions

View file

@ -47,6 +47,8 @@ components:
superFollowersCount:
type: integer
superFollowsApplicationStatus:
enum:
- NotStarted
type: string
userFeatures:
$ref: '#/components/schemas/UserFeatures'

View file

@ -138,6 +138,9 @@ components:
additionalProperties: true
type: object
displayType:
enum:
- Vertical
- VerticalConversation
type: string
entryType:
$ref: '#/components/schemas/ContentEntryType'
@ -185,6 +188,9 @@ components:
itemType:
$ref: '#/components/schemas/ContentItemType'
userDisplayType:
enum:
- User
- UserDetailed
type: string
user_results:
$ref: ./user.yaml#/components/schemas/UserResults

View file

@ -69,6 +69,8 @@ components:
sizes:
$ref: '#/components/schemas/MediaSizes'
type:
enum:
- photo
type: string
url:
format: uri
@ -117,6 +119,10 @@ components:
sizes:
$ref: '#/components/schemas/MediaSizes'
type:
enum:
- photo
- video
- animated_gif
type: string
url:
format: uri
@ -170,6 +176,9 @@ components:
h:
type: integer
resize:
enum:
- crop
- fit
type: string
w:
type: integer
@ -418,6 +427,8 @@ components:
pattern: ^[0-9]+$
type: string
state:
enum:
- EnabledWithCount
type: string
required:
- state
@ -456,6 +467,8 @@ components:
extMediaAvailability:
properties:
status:
enum:
- Available
type: string
required:
- status