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 15:17:46 +09:00
parent 7f3270cf8a
commit 8917dcf30d
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
4 changed files with 58 additions and 0 deletions

View file

@ -191,6 +191,7 @@ components:
enum:
- User
- UserDetailed
- SubscribableUser
type: string
user_results:
$ref: ./user.yaml#/components/schemas/UserResults

View file

@ -260,6 +260,8 @@ components:
rest_id:
pattern: ^[0-9]+$
type: string
source:
type: string
unmention_data:
additionalProperties: true
type: object
@ -270,6 +272,7 @@ components:
- core
- edit_control
- is_translatable
- source
- legacy
- views
TweetCard:
@ -314,6 +317,26 @@ components:
required:
- type
TweetEditControl:
properties:
edit_control_initial:
$ref: '#/components/schemas/TweetEditControlInitial'
edit_tweet_ids:
items:
pattern: ^[0-9]+$
type: string
type: array
editable_until_msecs:
pattern: ^[0-9]+$
type: string
edits_remaining:
pattern: ^[0-9]+$
type: string
initial_tweet_id:
pattern: ^[0-9]+$
type: string
is_edit_eligible:
type: boolean
TweetEditControlInitial:
properties:
edit_tweet_ids:
items:
@ -328,6 +351,11 @@ components:
type: string
is_edit_eligible:
type: boolean
required:
- edit_tweet_ids
- editable_until_msecs
- is_edit_eligible
- edits_remaining
TweetEditPrespective:
properties:
favorited: