twitter-openapi-typescript-generated 0.0.11 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +18 -0
- package/LICENSE +31 -31
- package/LICENSE.AGPL +660 -660
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts.map +1 -1
- package/dist/apis/DefaultApi.js +86 -18
- package/dist/apis/DefaultApi.js.map +1 -1
- package/dist/apis/OtherApi.d.ts.map +1 -1
- package/dist/apis/OtherApi.js +43 -9
- package/dist/apis/OtherApi.js.map +1 -1
- package/dist/apis/PostApi.d.ts.map +1 -1
- package/dist/apis/PostApi.js +264 -60
- package/dist/apis/PostApi.js.map +1 -1
- package/dist/apis/TweetApi.d.ts +1 -2
- package/dist/apis/TweetApi.d.ts.map +1 -1
- package/dist/apis/TweetApi.js +479 -111
- package/dist/apis/TweetApi.js.map +1 -1
- package/dist/apis/UserApi.d.ts +1 -0
- package/dist/apis/UserApi.d.ts.map +1 -1
- package/dist/apis/UserApi.js +92 -18
- package/dist/apis/UserApi.js.map +1 -1
- package/dist/apis/UserListApi.d.ts +0 -1
- package/dist/apis/UserListApi.d.ts.map +1 -1
- package/dist/apis/UserListApi.js +215 -51
- package/dist/apis/UserListApi.js.map +1 -1
- package/dist/apis/UsersApi.d.ts.map +1 -1
- package/dist/apis/UsersApi.js +43 -9
- package/dist/apis/UsersApi.js.map +1 -1
- package/dist/apis/V11GetApi.d.ts.map +1 -1
- package/dist/apis/V11GetApi.js +86 -18
- package/dist/apis/V11GetApi.js.map +1 -1
- package/dist/apis/V11PostApi.d.ts.map +1 -1
- package/dist/apis/V11PostApi.js +72 -6
- package/dist/apis/V11PostApi.js.map +1 -1
- package/dist/apis/V20GetApi.d.ts.map +1 -1
- package/dist/apis/V20GetApi.js +43 -9
- package/dist/apis/V20GetApi.js.map +1 -1
- package/dist/models/BirdwatchEntity.d.ts +45 -0
- package/dist/models/BirdwatchEntity.d.ts.map +1 -0
- package/dist/models/BirdwatchEntity.js +58 -0
- package/dist/models/BirdwatchEntity.js.map +1 -0
- package/dist/models/BirdwatchEntityRef.d.ts +58 -0
- package/dist/models/BirdwatchEntityRef.d.ts.map +1 -0
- package/dist/models/BirdwatchEntityRef.js +69 -0
- package/dist/models/BirdwatchEntityRef.js.map +1 -0
- package/dist/models/BirdwatchPivot.d.ts +91 -0
- package/dist/models/BirdwatchPivot.d.ts.map +1 -0
- package/dist/models/BirdwatchPivot.js +87 -0
- package/dist/models/BirdwatchPivot.js.map +1 -0
- package/dist/models/BirdwatchPivotFooter.d.ts +39 -0
- package/dist/models/BirdwatchPivotFooter.d.ts.map +1 -0
- package/dist/models/BirdwatchPivotFooter.js +55 -0
- package/dist/models/BirdwatchPivotFooter.js.map +1 -0
- package/dist/models/BirdwatchPivotNote.d.ts +32 -0
- package/dist/models/BirdwatchPivotNote.d.ts.map +1 -0
- package/dist/models/BirdwatchPivotNote.js +51 -0
- package/dist/models/BirdwatchPivotNote.js.map +1 -0
- package/dist/models/BirdwatchPivotSubtitle.d.ts +39 -0
- package/dist/models/BirdwatchPivotSubtitle.d.ts.map +1 -0
- package/dist/models/BirdwatchPivotSubtitle.js +55 -0
- package/dist/models/BirdwatchPivotSubtitle.js.map +1 -0
- package/dist/models/ContentItemType.d.ts +1 -0
- package/dist/models/ContentItemType.d.ts.map +1 -1
- package/dist/models/ContentItemType.js +2 -1
- package/dist/models/ContentItemType.js.map +1 -1
- package/dist/models/CoverCta.d.ts +1 -1
- package/dist/models/CoverCta.d.ts.map +1 -1
- package/dist/models/CoverCta.js +1 -2
- package/dist/models/CoverCta.js.map +1 -1
- package/dist/models/DeleteRetweet.d.ts +33 -0
- package/dist/models/DeleteRetweet.d.ts.map +1 -0
- package/dist/models/DeleteRetweet.js +52 -0
- package/dist/models/DeleteRetweet.js.map +1 -0
- package/dist/models/DeleteRetweetResponseResult.d.ts +33 -0
- package/dist/models/DeleteRetweetResponseResult.d.ts.map +1 -0
- package/dist/models/DeleteRetweetResponseResult.js +52 -0
- package/dist/models/DeleteRetweetResponseResult.js.map +1 -0
- package/dist/models/ErrorResponse.d.ts +33 -0
- package/dist/models/ErrorResponse.d.ts.map +1 -0
- package/dist/models/ErrorResponse.js +52 -0
- package/dist/models/ErrorResponse.js.map +1 -0
- package/dist/models/ExtMediaAvailability.d.ts +7 -0
- package/dist/models/ExtMediaAvailability.d.ts.map +1 -1
- package/dist/models/ExtMediaAvailability.js +4 -1
- package/dist/models/ExtMediaAvailability.js.map +1 -1
- package/dist/models/Extensions.d.ts +57 -0
- package/dist/models/Extensions.d.ts.map +1 -0
- package/dist/models/Extensions.js +64 -0
- package/dist/models/Extensions.js.map +1 -0
- package/dist/models/ItemContentUnion.d.ts +3 -0
- package/dist/models/ItemContentUnion.d.ts.map +1 -1
- package/dist/models/ItemContentUnion.js +5 -0
- package/dist/models/ItemContentUnion.js.map +1 -1
- package/dist/models/ListTweetsTimeline.d.ts +1 -1
- package/dist/models/ListTweetsTimeline.d.ts.map +1 -1
- package/dist/models/ListTweetsTimeline.js +2 -2
- package/dist/models/ListTweetsTimeline.js.map +1 -1
- package/dist/models/MediaExtended.d.ts +1 -1
- package/dist/models/MediaExtended.d.ts.map +1 -1
- package/dist/models/MediaExtended.js +1 -2
- package/dist/models/MediaExtended.js.map +1 -1
- package/dist/models/NoteTweet.d.ts +39 -0
- package/dist/models/NoteTweet.d.ts.map +1 -0
- package/dist/models/NoteTweet.js +55 -0
- package/dist/models/NoteTweet.js.map +1 -0
- package/dist/models/NoteTweetResult.d.ts +33 -0
- package/dist/models/NoteTweetResult.d.ts.map +1 -0
- package/dist/models/NoteTweetResult.js +52 -0
- package/dist/models/NoteTweetResult.js.map +1 -0
- package/dist/models/NoteTweetResultData.d.ts +59 -0
- package/dist/models/NoteTweetResultData.d.ts.map +1 -0
- package/dist/models/NoteTweetResultData.js +65 -0
- package/dist/models/NoteTweetResultData.js.map +1 -0
- package/dist/models/NoteTweetResultMedia.d.ts +32 -0
- package/dist/models/NoteTweetResultMedia.d.ts.map +1 -0
- package/dist/models/NoteTweetResultMedia.js +51 -0
- package/dist/models/NoteTweetResultMedia.js.map +1 -0
- package/dist/models/NoteTweetResultRichText.d.ts +33 -0
- package/dist/models/NoteTweetResultRichText.d.ts.map +1 -0
- package/dist/models/NoteTweetResultRichText.js +52 -0
- package/dist/models/NoteTweetResultRichText.js.map +1 -0
- package/dist/models/NoteTweetResultRichTextTag.d.ts +52 -0
- package/dist/models/NoteTweetResultRichTextTag.d.ts.map +1 -0
- package/dist/models/NoteTweetResultRichTextTag.js +64 -0
- package/dist/models/NoteTweetResultRichTextTag.js.map +1 -0
- package/dist/models/PostCreateTweetRequestFeatures.d.ts +9 -15
- package/dist/models/PostCreateTweetRequestFeatures.d.ts.map +1 -1
- package/dist/models/PostCreateTweetRequestFeatures.js +9 -12
- package/dist/models/PostCreateTweetRequestFeatures.js.map +1 -1
- package/dist/models/PostCreateTweetRequestVariablesMedia.d.ts +3 -2
- package/dist/models/PostCreateTweetRequestVariablesMedia.d.ts.map +1 -1
- package/dist/models/PostCreateTweetRequestVariablesMedia.js +3 -2
- package/dist/models/PostCreateTweetRequestVariablesMedia.js.map +1 -1
- package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.d.ts +38 -0
- package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.d.ts.map +1 -0
- package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.js +54 -0
- package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.js.map +1 -0
- package/dist/models/TimelineCommunity.d.ts +34 -0
- package/dist/models/TimelineCommunity.d.ts.map +1 -0
- package/dist/models/TimelineCommunity.js +59 -0
- package/dist/models/TimelineCommunity.js.map +1 -0
- package/dist/models/Tweet.d.ts +20 -0
- package/dist/models/Tweet.d.ts.map +1 -1
- package/dist/models/Tweet.js +8 -0
- package/dist/models/Tweet.js.map +1 -1
- package/dist/models/TypeName.d.ts +1 -0
- package/dist/models/TypeName.d.ts.map +1 -1
- package/dist/models/TypeName.js +1 -0
- package/dist/models/TypeName.js.map +1 -1
- package/dist/models/UserResults.d.ts +1 -1
- package/dist/models/UserResults.d.ts.map +1 -1
- package/dist/models/UserResults.js +2 -2
- package/dist/models/UserResults.js.map +1 -1
- package/dist/models/index.d.ts +18 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +18 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +2 -3
- package/src/apis/DefaultApi.ts +94 -6
- package/src/apis/OtherApi.ts +47 -3
- package/src/apis/PostApi.ts +282 -18
- package/src/apis/TweetApi.ts +526 -51
- package/src/apis/UserApi.ts +103 -6
- package/src/apis/UserListApi.ts +235 -24
- package/src/apis/UsersApi.ts +47 -3
- package/src/apis/V11GetApi.ts +94 -6
- package/src/apis/V11PostApi.ts +94 -6
- package/src/apis/V20GetApi.ts +47 -3
- package/src/models/BirdwatchEntity.ts +91 -0
- package/src/models/BirdwatchEntityRef.ts +102 -0
- package/src/models/BirdwatchPivot.ts +165 -0
- package/src/models/BirdwatchPivotFooter.ts +82 -0
- package/src/models/BirdwatchPivotNote.ts +66 -0
- package/src/models/BirdwatchPivotSubtitle.ts +82 -0
- package/src/models/ContentItemType.ts +2 -1
- package/src/models/CoverCta.ts +2 -3
- package/src/models/DeleteRetweet.ts +73 -0
- package/src/models/DeleteRetweetResponseResult.ts +72 -0
- package/src/models/ErrorResponse.ts +73 -0
- package/src/models/ExtMediaAvailability.ts +10 -1
- package/src/models/Extensions.ts +109 -0
- package/src/models/ItemContentUnion.ts +12 -1
- package/src/models/ListTweetsTimeline.ts +2 -3
- package/src/models/MediaExtended.ts +2 -3
- package/src/models/NoteTweet.ts +82 -0
- package/src/models/NoteTweetResult.ts +73 -0
- package/src/models/NoteTweetResultData.ts +119 -0
- package/src/models/NoteTweetResultMedia.ts +66 -0
- package/src/models/NoteTweetResultRichText.ts +73 -0
- package/src/models/NoteTweetResultRichTextTag.ts +95 -0
- package/src/models/PostCreateTweetRequestFeatures.ts +18 -27
- package/src/models/PostCreateTweetRequestVariablesMedia.ts +11 -4
- package/src/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.ts +75 -0
- package/src/models/TimelineCommunity.ts +75 -0
- package/src/models/Tweet.ts +36 -0
- package/src/models/TypeName.ts +1 -0
- package/src/models/UserResults.ts +2 -3
- package/src/models/index.ts +18 -0
- package/tools/openapi-generator-config.yaml +1 -1
- package/twitter-openapi/.vscode/launch.json +8 -0
- package/twitter-openapi/README.md +2 -0
- package/twitter-openapi/dist/compatible/openapi-3.0.yaml +5189 -34
- package/twitter-openapi/dist/docs/openapi-3.0.yaml +6987 -34
- package/twitter-openapi/src/config/component/security_schemes.yaml +148 -0
- package/twitter-openapi/src/config/placeholder.json +145 -112
- package/twitter-openapi/src/openapi/paths/timeline.yaml +0 -2
- package/twitter-openapi/src/openapi/schemas/content.yaml +9 -1
- package/twitter-openapi/src/openapi/schemas/general.yaml +2 -2
- package/twitter-openapi/src/openapi/schemas/instruction.yaml +0 -1
- package/twitter-openapi/src/openapi/schemas/tweet.yaml +169 -2
- package/twitter-openapi/src/openapi/schemas/typename.yaml +1 -0
- package/twitter-openapi/src/openapi/schemas/user.yaml +0 -2
- package/twitter-openapi/test/python/test_serialize.py +24 -0
- package/twitter-openapi/tools/__pycache__/build_config.cpython-310.pyc +0 -0
- package/twitter-openapi/tools/__pycache__/hooks.cpython-310.pyc +0 -0
- package/twitter-openapi/tools/build.py +35 -31
- package/twitter-openapi/tools/build_config.py +7 -10
- package/twitter-openapi/dist/compatible/paths/bookmarks.yaml +0 -107
- package/twitter-openapi/dist/compatible/paths/follow.yaml +0 -301
- package/twitter-openapi/dist/compatible/paths/other.yaml +0 -99
- package/twitter-openapi/dist/compatible/paths/post.yaml +0 -714
- package/twitter-openapi/dist/compatible/paths/profile.yaml +0 -126
- package/twitter-openapi/dist/compatible/paths/timeline.yaml +0 -416
- package/twitter-openapi/dist/compatible/paths/tweet.yaml +0 -397
- package/twitter-openapi/dist/compatible/paths/user.yaml +0 -233
- package/twitter-openapi/dist/compatible/paths/usertweets.yaml +0 -504
- package/twitter-openapi/dist/compatible/paths/v1.1-get.yaml +0 -242
- package/twitter-openapi/dist/compatible/paths/v1.1-post.yaml +0 -237
- package/twitter-openapi/dist/compatible/paths/v2.0-get.yaml +0 -302
- package/twitter-openapi/dist/compatible/resources/parameters.yaml +0 -13
- package/twitter-openapi/dist/compatible/response/error.yaml +0 -90
- package/twitter-openapi/dist/compatible/schemas/content.yaml +0 -214
- package/twitter-openapi/dist/compatible/schemas/error.yaml +0 -94
- package/twitter-openapi/dist/compatible/schemas/general.yaml +0 -13
- package/twitter-openapi/dist/compatible/schemas/instruction.yaml +0 -286
- package/twitter-openapi/dist/compatible/schemas/timeline.yaml +0 -27
- package/twitter-openapi/dist/compatible/schemas/tweet.yaml +0 -508
- package/twitter-openapi/dist/compatible/schemas/typename.yaml +0 -23
- package/twitter-openapi/dist/compatible/schemas/user.yaml +0 -222
- package/twitter-openapi/dist/docs/paths/bookmarks.yaml +0 -201
- package/twitter-openapi/dist/docs/paths/follow.yaml +0 -587
- package/twitter-openapi/dist/docs/paths/other.yaml +0 -99
- package/twitter-openapi/dist/docs/paths/post.yaml +0 -692
- package/twitter-openapi/dist/docs/paths/profile.yaml +0 -134
- package/twitter-openapi/dist/docs/paths/timeline.yaml +0 -811
- package/twitter-openapi/dist/docs/paths/tweet.yaml +0 -797
- package/twitter-openapi/dist/docs/paths/user.yaml +0 -338
- package/twitter-openapi/dist/docs/paths/usertweets.yaml +0 -1046
- package/twitter-openapi/dist/docs/paths/v1.1-get.yaml +0 -242
- package/twitter-openapi/dist/docs/paths/v1.1-post.yaml +0 -237
- package/twitter-openapi/dist/docs/paths/v2.0-get.yaml +0 -302
- package/twitter-openapi/dist/docs/resources/parameters.yaml +0 -13
- package/twitter-openapi/dist/docs/response/error.yaml +0 -90
- package/twitter-openapi/dist/docs/schemas/content.yaml +0 -214
- package/twitter-openapi/dist/docs/schemas/error.yaml +0 -94
- package/twitter-openapi/dist/docs/schemas/general.yaml +0 -13
- package/twitter-openapi/dist/docs/schemas/instruction.yaml +0 -286
- package/twitter-openapi/dist/docs/schemas/timeline.yaml +0 -27
- package/twitter-openapi/dist/docs/schemas/tweet.yaml +0 -508
- package/twitter-openapi/dist/docs/schemas/typename.yaml +0 -23
- package/twitter-openapi/dist/docs/schemas/user.yaml +0 -222
|
@@ -1,508 +0,0 @@
|
|
|
1
|
-
components:
|
|
2
|
-
schemas:
|
|
3
|
-
AdditionalMediaInfo:
|
|
4
|
-
properties:
|
|
5
|
-
monetizable:
|
|
6
|
-
type: boolean
|
|
7
|
-
required:
|
|
8
|
-
- monetizable
|
|
9
|
-
Entities:
|
|
10
|
-
properties:
|
|
11
|
-
hashtags:
|
|
12
|
-
items:
|
|
13
|
-
$ref: '#/components/schemas/Hashtag'
|
|
14
|
-
type: array
|
|
15
|
-
media:
|
|
16
|
-
items:
|
|
17
|
-
$ref: '#/components/schemas/Media'
|
|
18
|
-
type: array
|
|
19
|
-
symbols:
|
|
20
|
-
items:
|
|
21
|
-
$ref: '#/components/schemas/Symbol'
|
|
22
|
-
type: array
|
|
23
|
-
urls:
|
|
24
|
-
items:
|
|
25
|
-
$ref: '#/components/schemas/Url'
|
|
26
|
-
type: array
|
|
27
|
-
user_mentions:
|
|
28
|
-
items:
|
|
29
|
-
$ref: '#/components/schemas/UserMention'
|
|
30
|
-
type: array
|
|
31
|
-
required:
|
|
32
|
-
- hashtags
|
|
33
|
-
- symbols
|
|
34
|
-
- user_mentions
|
|
35
|
-
- urls
|
|
36
|
-
ExtendedEntities:
|
|
37
|
-
properties:
|
|
38
|
-
media:
|
|
39
|
-
items:
|
|
40
|
-
$ref: '#/components/schemas/MediaExtended'
|
|
41
|
-
type: array
|
|
42
|
-
required:
|
|
43
|
-
- media
|
|
44
|
-
Hashtag:
|
|
45
|
-
additionalProperties: true
|
|
46
|
-
type: object
|
|
47
|
-
Media:
|
|
48
|
-
properties:
|
|
49
|
-
display_url:
|
|
50
|
-
format: uri
|
|
51
|
-
type: string
|
|
52
|
-
expanded_url:
|
|
53
|
-
format: uri
|
|
54
|
-
type: string
|
|
55
|
-
features:
|
|
56
|
-
type: object
|
|
57
|
-
id_str:
|
|
58
|
-
pattern: ^[0-9]+$
|
|
59
|
-
type: string
|
|
60
|
-
indices:
|
|
61
|
-
items:
|
|
62
|
-
type: integer
|
|
63
|
-
type: array
|
|
64
|
-
media_url_https:
|
|
65
|
-
format: uri
|
|
66
|
-
type: string
|
|
67
|
-
original_info:
|
|
68
|
-
$ref: '#/components/schemas/MediaOriginalInfo'
|
|
69
|
-
sizes:
|
|
70
|
-
$ref: '#/components/schemas/MediaSizes'
|
|
71
|
-
type:
|
|
72
|
-
enum:
|
|
73
|
-
- photo
|
|
74
|
-
- video
|
|
75
|
-
- animated_gif
|
|
76
|
-
type: string
|
|
77
|
-
url:
|
|
78
|
-
format: uri
|
|
79
|
-
type: string
|
|
80
|
-
required:
|
|
81
|
-
- display_url
|
|
82
|
-
- expanded_url
|
|
83
|
-
- id_str
|
|
84
|
-
- indices
|
|
85
|
-
- media_url_https
|
|
86
|
-
- type
|
|
87
|
-
- url
|
|
88
|
-
- sizes
|
|
89
|
-
- original_info
|
|
90
|
-
MediaExtended:
|
|
91
|
-
properties:
|
|
92
|
-
additional_media_info:
|
|
93
|
-
$ref: '#/components/schemas/AdditionalMediaInfo'
|
|
94
|
-
display_url:
|
|
95
|
-
format: uri
|
|
96
|
-
type: string
|
|
97
|
-
expanded_url:
|
|
98
|
-
format: uri
|
|
99
|
-
type: string
|
|
100
|
-
ext_media_availability:
|
|
101
|
-
$ref: '#/components/schemas/extMediaAvailability'
|
|
102
|
-
features:
|
|
103
|
-
type: object
|
|
104
|
-
id_str:
|
|
105
|
-
pattern: ^[0-9]+$
|
|
106
|
-
type: string
|
|
107
|
-
indices:
|
|
108
|
-
items:
|
|
109
|
-
type: integer
|
|
110
|
-
type: array
|
|
111
|
-
mediaStats:
|
|
112
|
-
$ref: '#/components/schemas/mediaStats'
|
|
113
|
-
media_key:
|
|
114
|
-
type: string
|
|
115
|
-
media_url_https:
|
|
116
|
-
format: uri
|
|
117
|
-
type: string
|
|
118
|
-
original_info:
|
|
119
|
-
$ref: '#/components/schemas/MediaOriginalInfo'
|
|
120
|
-
sizes:
|
|
121
|
-
$ref: '#/components/schemas/MediaSizes'
|
|
122
|
-
type:
|
|
123
|
-
enum:
|
|
124
|
-
- photo
|
|
125
|
-
- video
|
|
126
|
-
- animated_gif
|
|
127
|
-
type: string
|
|
128
|
-
url:
|
|
129
|
-
format: uri
|
|
130
|
-
type: string
|
|
131
|
-
video_info:
|
|
132
|
-
$ref: '#/components/schemas/MediaVideoInfo'
|
|
133
|
-
required:
|
|
134
|
-
- display_url
|
|
135
|
-
- expanded_url
|
|
136
|
-
- id_str
|
|
137
|
-
- indices
|
|
138
|
-
- media_key
|
|
139
|
-
- media_url_https
|
|
140
|
-
- type
|
|
141
|
-
- url
|
|
142
|
-
- ext_media_availability
|
|
143
|
-
- sizes
|
|
144
|
-
- original_info
|
|
145
|
-
MediaOriginalInfo:
|
|
146
|
-
properties:
|
|
147
|
-
focus_rects:
|
|
148
|
-
items:
|
|
149
|
-
$ref: '#/components/schemas/MediaOriginalInfoFocusRect'
|
|
150
|
-
type: array
|
|
151
|
-
height:
|
|
152
|
-
type: integer
|
|
153
|
-
width:
|
|
154
|
-
type: integer
|
|
155
|
-
required:
|
|
156
|
-
- height
|
|
157
|
-
- width
|
|
158
|
-
MediaOriginalInfoFocusRect:
|
|
159
|
-
properties:
|
|
160
|
-
h:
|
|
161
|
-
type: integer
|
|
162
|
-
w:
|
|
163
|
-
type: integer
|
|
164
|
-
x:
|
|
165
|
-
type: integer
|
|
166
|
-
y:
|
|
167
|
-
type: integer
|
|
168
|
-
required:
|
|
169
|
-
- x
|
|
170
|
-
- y
|
|
171
|
-
- w
|
|
172
|
-
- h
|
|
173
|
-
type: object
|
|
174
|
-
MediaSize:
|
|
175
|
-
properties:
|
|
176
|
-
h:
|
|
177
|
-
type: integer
|
|
178
|
-
resize:
|
|
179
|
-
enum:
|
|
180
|
-
- crop
|
|
181
|
-
- fit
|
|
182
|
-
type: string
|
|
183
|
-
w:
|
|
184
|
-
type: integer
|
|
185
|
-
required:
|
|
186
|
-
- w
|
|
187
|
-
- h
|
|
188
|
-
- resize
|
|
189
|
-
MediaSizes:
|
|
190
|
-
properties:
|
|
191
|
-
large:
|
|
192
|
-
$ref: '#/components/schemas/MediaSize'
|
|
193
|
-
medium:
|
|
194
|
-
$ref: '#/components/schemas/MediaSize'
|
|
195
|
-
small:
|
|
196
|
-
$ref: '#/components/schemas/MediaSize'
|
|
197
|
-
thumb:
|
|
198
|
-
$ref: '#/components/schemas/MediaSize'
|
|
199
|
-
required:
|
|
200
|
-
- large
|
|
201
|
-
- medium
|
|
202
|
-
- small
|
|
203
|
-
- thumb
|
|
204
|
-
MediaVideoInfo:
|
|
205
|
-
properties:
|
|
206
|
-
aspect_ratio:
|
|
207
|
-
items:
|
|
208
|
-
type: integer
|
|
209
|
-
type: array
|
|
210
|
-
duration_millis:
|
|
211
|
-
type: integer
|
|
212
|
-
variants:
|
|
213
|
-
items:
|
|
214
|
-
$ref: '#/components/schemas/MediaVideoInfoVariant'
|
|
215
|
-
type: array
|
|
216
|
-
required:
|
|
217
|
-
- aspect_ratio
|
|
218
|
-
- variants
|
|
219
|
-
MediaVideoInfoVariant:
|
|
220
|
-
properties:
|
|
221
|
-
bitrate:
|
|
222
|
-
type: integer
|
|
223
|
-
content_type:
|
|
224
|
-
type: string
|
|
225
|
-
url:
|
|
226
|
-
format: uri
|
|
227
|
-
type: string
|
|
228
|
-
required:
|
|
229
|
-
- content_type
|
|
230
|
-
- url
|
|
231
|
-
SelfThread:
|
|
232
|
-
properties:
|
|
233
|
-
id_str:
|
|
234
|
-
pattern: ^[0-9]+$
|
|
235
|
-
type: string
|
|
236
|
-
required:
|
|
237
|
-
- id_str
|
|
238
|
-
Symbol:
|
|
239
|
-
additionalProperties: true
|
|
240
|
-
type: object
|
|
241
|
-
Tweet:
|
|
242
|
-
properties:
|
|
243
|
-
__typename:
|
|
244
|
-
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
245
|
-
card:
|
|
246
|
-
$ref: '#/components/schemas/TweetCard'
|
|
247
|
-
core:
|
|
248
|
-
$ref: ./user.yaml#/components/schemas/UserResultCore
|
|
249
|
-
edit_control:
|
|
250
|
-
$ref: '#/components/schemas/TweetEditControl'
|
|
251
|
-
edit_prespective:
|
|
252
|
-
$ref: '#/components/schemas/TweetEditPrespective'
|
|
253
|
-
is_translatable:
|
|
254
|
-
default: false
|
|
255
|
-
type: boolean
|
|
256
|
-
legacy:
|
|
257
|
-
$ref: '#/components/schemas/TweetLegacy'
|
|
258
|
-
quoted_status_result:
|
|
259
|
-
$ref: ./content.yaml#/components/schemas/ItemResult
|
|
260
|
-
rest_id:
|
|
261
|
-
pattern: ^[0-9]+$
|
|
262
|
-
type: string
|
|
263
|
-
source:
|
|
264
|
-
type: string
|
|
265
|
-
unmention_data:
|
|
266
|
-
additionalProperties: true
|
|
267
|
-
type: object
|
|
268
|
-
views:
|
|
269
|
-
$ref: '#/components/schemas/TweetView'
|
|
270
|
-
required:
|
|
271
|
-
- rest_id
|
|
272
|
-
- edit_control
|
|
273
|
-
- is_translatable
|
|
274
|
-
- views
|
|
275
|
-
TweetCard:
|
|
276
|
-
properties:
|
|
277
|
-
legacy:
|
|
278
|
-
$ref: '#/components/schemas/TweetCardLegacy'
|
|
279
|
-
rest_id:
|
|
280
|
-
type: string
|
|
281
|
-
TweetCardLegacy:
|
|
282
|
-
properties:
|
|
283
|
-
binding_values:
|
|
284
|
-
items:
|
|
285
|
-
$ref: '#/components/schemas/TweetCardLegacyBindingValue'
|
|
286
|
-
type: array
|
|
287
|
-
name:
|
|
288
|
-
type: string
|
|
289
|
-
url:
|
|
290
|
-
type: string
|
|
291
|
-
required:
|
|
292
|
-
- binding_values
|
|
293
|
-
- name
|
|
294
|
-
- url
|
|
295
|
-
TweetCardLegacyBindingValue:
|
|
296
|
-
properties:
|
|
297
|
-
key:
|
|
298
|
-
type: string
|
|
299
|
-
value:
|
|
300
|
-
$ref: '#/components/schemas/TweetCardLegacyBindingValueData'
|
|
301
|
-
required:
|
|
302
|
-
- key
|
|
303
|
-
- value
|
|
304
|
-
TweetCardLegacyBindingValueData:
|
|
305
|
-
properties:
|
|
306
|
-
boolean_value:
|
|
307
|
-
type: boolean
|
|
308
|
-
scribe_key:
|
|
309
|
-
type: string
|
|
310
|
-
string_value:
|
|
311
|
-
type: string
|
|
312
|
-
type:
|
|
313
|
-
type: string
|
|
314
|
-
required:
|
|
315
|
-
- type
|
|
316
|
-
TweetEditControl:
|
|
317
|
-
properties:
|
|
318
|
-
edit_control_initial:
|
|
319
|
-
$ref: '#/components/schemas/TweetEditControlInitial'
|
|
320
|
-
edit_tweet_ids:
|
|
321
|
-
items:
|
|
322
|
-
pattern: ^[0-9]+$
|
|
323
|
-
type: string
|
|
324
|
-
type: array
|
|
325
|
-
editable_until_msecs:
|
|
326
|
-
pattern: ^[0-9]+$
|
|
327
|
-
type: string
|
|
328
|
-
edits_remaining:
|
|
329
|
-
pattern: ^[0-9]+$
|
|
330
|
-
type: string
|
|
331
|
-
initial_tweet_id:
|
|
332
|
-
pattern: ^[0-9]+$
|
|
333
|
-
type: string
|
|
334
|
-
is_edit_eligible:
|
|
335
|
-
type: boolean
|
|
336
|
-
TweetEditControlInitial:
|
|
337
|
-
properties:
|
|
338
|
-
edit_tweet_ids:
|
|
339
|
-
items:
|
|
340
|
-
pattern: ^[0-9]+$
|
|
341
|
-
type: string
|
|
342
|
-
type: array
|
|
343
|
-
editable_until_msecs:
|
|
344
|
-
pattern: ^[0-9]+$
|
|
345
|
-
type: string
|
|
346
|
-
edits_remaining:
|
|
347
|
-
pattern: ^[0-9]+$
|
|
348
|
-
type: string
|
|
349
|
-
is_edit_eligible:
|
|
350
|
-
type: boolean
|
|
351
|
-
required:
|
|
352
|
-
- edit_tweet_ids
|
|
353
|
-
- editable_until_msecs
|
|
354
|
-
- is_edit_eligible
|
|
355
|
-
- edits_remaining
|
|
356
|
-
TweetEditPrespective:
|
|
357
|
-
properties:
|
|
358
|
-
favorited:
|
|
359
|
-
type: boolean
|
|
360
|
-
retweeted:
|
|
361
|
-
type: boolean
|
|
362
|
-
TweetLegacy:
|
|
363
|
-
properties:
|
|
364
|
-
bookmark_count:
|
|
365
|
-
type: integer
|
|
366
|
-
bookmarked:
|
|
367
|
-
type: boolean
|
|
368
|
-
conversation_id_str:
|
|
369
|
-
pattern: ^[0-9]+$
|
|
370
|
-
type: string
|
|
371
|
-
created_at:
|
|
372
|
-
$ref: ./general.yaml#/components/schemas/TwitterTimeFormat
|
|
373
|
-
display_text_range:
|
|
374
|
-
items:
|
|
375
|
-
type: integer
|
|
376
|
-
type: array
|
|
377
|
-
entities:
|
|
378
|
-
$ref: '#/components/schemas/Entities'
|
|
379
|
-
extended_entities:
|
|
380
|
-
$ref: '#/components/schemas/ExtendedEntities'
|
|
381
|
-
favorite_count:
|
|
382
|
-
type: integer
|
|
383
|
-
favorited:
|
|
384
|
-
type: boolean
|
|
385
|
-
full_text:
|
|
386
|
-
type: string
|
|
387
|
-
id_str:
|
|
388
|
-
pattern: ^[0-9]+$
|
|
389
|
-
type: string
|
|
390
|
-
is_quote_status:
|
|
391
|
-
type: boolean
|
|
392
|
-
lang:
|
|
393
|
-
type: string
|
|
394
|
-
possibly_sensitive:
|
|
395
|
-
default: false
|
|
396
|
-
type: boolean
|
|
397
|
-
possibly_sensitive_editable:
|
|
398
|
-
default: false
|
|
399
|
-
type: boolean
|
|
400
|
-
quote_count:
|
|
401
|
-
type: integer
|
|
402
|
-
reply_count:
|
|
403
|
-
type: integer
|
|
404
|
-
retweet_count:
|
|
405
|
-
type: integer
|
|
406
|
-
retweeted:
|
|
407
|
-
type: boolean
|
|
408
|
-
retweeted_status_result:
|
|
409
|
-
$ref: ./content.yaml#/components/schemas/ItemResult
|
|
410
|
-
self_thread:
|
|
411
|
-
$ref: '#/components/schemas/SelfThread'
|
|
412
|
-
user_id_str:
|
|
413
|
-
pattern: ^[0-9]+$
|
|
414
|
-
type: string
|
|
415
|
-
required:
|
|
416
|
-
- bookmark_count
|
|
417
|
-
- bookmarked
|
|
418
|
-
- conversation_id_str
|
|
419
|
-
- created_at
|
|
420
|
-
- display_text_range
|
|
421
|
-
- entities
|
|
422
|
-
- favorite_count
|
|
423
|
-
- favorited
|
|
424
|
-
- full_text
|
|
425
|
-
- is_quote_status
|
|
426
|
-
- lang
|
|
427
|
-
- quote_count
|
|
428
|
-
- reply_count
|
|
429
|
-
- retweet_count
|
|
430
|
-
- retweeted
|
|
431
|
-
- user_id_str
|
|
432
|
-
- id_str
|
|
433
|
-
TweetTombstone:
|
|
434
|
-
additionalProperties: true
|
|
435
|
-
properties:
|
|
436
|
-
__typename:
|
|
437
|
-
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
438
|
-
TweetUnion:
|
|
439
|
-
discriminator:
|
|
440
|
-
mapping":
|
|
441
|
-
Tweet: '#/components/schemas/Tweet'
|
|
442
|
-
TweetTombstone: '#/components/schemas/TweetTombstone'
|
|
443
|
-
TweetWithVisibilityResults: '#/components/schemas/TweetWithVisibilityResults'
|
|
444
|
-
propertyName: __typename
|
|
445
|
-
oneOf:
|
|
446
|
-
- $ref: '#/components/schemas/Tweet'
|
|
447
|
-
- $ref: '#/components/schemas/TweetWithVisibilityResults'
|
|
448
|
-
- $ref: '#/components/schemas/TweetTombstone'
|
|
449
|
-
TweetView:
|
|
450
|
-
properties:
|
|
451
|
-
count:
|
|
452
|
-
pattern: ^[0-9]+$
|
|
453
|
-
type: string
|
|
454
|
-
state:
|
|
455
|
-
enum:
|
|
456
|
-
- EnabledWithCount
|
|
457
|
-
type: string
|
|
458
|
-
required:
|
|
459
|
-
- state
|
|
460
|
-
TweetWithVisibilityResults:
|
|
461
|
-
properties:
|
|
462
|
-
__typename:
|
|
463
|
-
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
464
|
-
tweet:
|
|
465
|
-
$ref: '#/components/schemas/Tweet'
|
|
466
|
-
required:
|
|
467
|
-
- __typename
|
|
468
|
-
- tweet
|
|
469
|
-
Url:
|
|
470
|
-
properties:
|
|
471
|
-
display_url:
|
|
472
|
-
type: string
|
|
473
|
-
expanded_url:
|
|
474
|
-
format: uri
|
|
475
|
-
type: string
|
|
476
|
-
indices:
|
|
477
|
-
items:
|
|
478
|
-
type: integer
|
|
479
|
-
type: array
|
|
480
|
-
url:
|
|
481
|
-
format: uri
|
|
482
|
-
type: string
|
|
483
|
-
required:
|
|
484
|
-
- url
|
|
485
|
-
- indices
|
|
486
|
-
- expanded_url
|
|
487
|
-
- display_url
|
|
488
|
-
type: object
|
|
489
|
-
UserMention:
|
|
490
|
-
additionalProperties: true
|
|
491
|
-
type: object
|
|
492
|
-
extMediaAvailability:
|
|
493
|
-
properties:
|
|
494
|
-
status:
|
|
495
|
-
enum:
|
|
496
|
-
- Available
|
|
497
|
-
type: string
|
|
498
|
-
mediaStats:
|
|
499
|
-
properties:
|
|
500
|
-
viewCount:
|
|
501
|
-
type: integer
|
|
502
|
-
required:
|
|
503
|
-
- viewCount
|
|
504
|
-
info:
|
|
505
|
-
title: Twitter OpenAPI
|
|
506
|
-
version: 0.0.1
|
|
507
|
-
openapi: 3.0.3
|
|
508
|
-
paths: {}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
components:
|
|
2
|
-
schemas:
|
|
3
|
-
TypeName:
|
|
4
|
-
enum:
|
|
5
|
-
- TimelineTweet
|
|
6
|
-
- TimelineTimelineItem
|
|
7
|
-
- TimelineUser
|
|
8
|
-
- TimelineTimelineCursor
|
|
9
|
-
- TweetWithVisibilityResults
|
|
10
|
-
- TimelineTimelineModule
|
|
11
|
-
- TweetTombstone
|
|
12
|
-
- TimelinePrompt
|
|
13
|
-
- TimelineMessagePrompt
|
|
14
|
-
- TweetUnavailable
|
|
15
|
-
- Tweet
|
|
16
|
-
- User
|
|
17
|
-
- UserUnavailable
|
|
18
|
-
type: string
|
|
19
|
-
info:
|
|
20
|
-
title: Twitter OpenAPI
|
|
21
|
-
version: 0.0.1
|
|
22
|
-
openapi: 3.0.3
|
|
23
|
-
paths: {}
|