mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 15:40:26 +01:00
add card to tweet
This commit is contained in:
parent
f9abea2fd3
commit
bffb6eaa2f
1 changed files with 38 additions and 0 deletions
|
|
@ -53,6 +53,44 @@ components:
|
||||||
pattern: "^[0-9]+$"
|
pattern: "^[0-9]+$"
|
||||||
core:
|
core:
|
||||||
$ref: "./user.yaml#/components/schemas/UserResultCore"
|
$ref: "./user.yaml#/components/schemas/UserResultCore"
|
||||||
|
card:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
rest_id: string
|
||||||
|
legacy:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- "binding_values"
|
||||||
|
- "name"
|
||||||
|
- "url"
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
url:
|
||||||
|
type: string
|
||||||
|
binding_values:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- "key"
|
||||||
|
- "value"
|
||||||
|
properties:
|
||||||
|
key:
|
||||||
|
type: string
|
||||||
|
value:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- "type"
|
||||||
|
properties:
|
||||||
|
string_value:
|
||||||
|
type: string
|
||||||
|
boolean_value:
|
||||||
|
type: boolean
|
||||||
|
scribe_key:
|
||||||
|
type: string
|
||||||
|
type:
|
||||||
|
type: string
|
||||||
unmention_data:
|
unmention_data:
|
||||||
type: object # todo
|
type: object # todo
|
||||||
edit_control:
|
edit_control:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue