1
Fork 0
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:
Abdullah Atta 2023-06-12 22:51:55 +05:00
parent f9abea2fd3
commit bffb6eaa2f

View file

@ -53,6 +53,44 @@ components:
pattern: "^[0-9]+$"
core:
$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:
type: object # todo
edit_control: