twitter-openapi-typescript-generated 0.0.5 → 0.0.7

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.
Files changed (199) hide show
  1. package/.openapi-generator/FILES +7 -1
  2. package/README.md +2 -2
  3. package/dist/apis/DefaultApi.d.ts +1 -1
  4. package/dist/apis/DefaultApi.d.ts.map +1 -1
  5. package/dist/apis/DefaultApi.js +3 -6
  6. package/dist/apis/DefaultApi.js.map +1 -1
  7. package/dist/apis/PostApi.d.ts +6 -0
  8. package/dist/apis/PostApi.d.ts.map +1 -1
  9. package/dist/apis/PostApi.js +24 -6
  10. package/dist/apis/PostApi.js.map +1 -1
  11. package/dist/apis/TweetApi.d.ts +9 -9
  12. package/dist/apis/TweetApi.d.ts.map +1 -1
  13. package/dist/apis/TweetApi.js +27 -54
  14. package/dist/apis/TweetApi.js.map +1 -1
  15. package/dist/apis/UserApi.d.ts +1 -1
  16. package/dist/apis/UserApi.d.ts.map +1 -1
  17. package/dist/apis/UserApi.js +3 -6
  18. package/dist/apis/UserApi.js.map +1 -1
  19. package/dist/apis/UserListApi.d.ts +2 -2
  20. package/dist/apis/UserListApi.d.ts.map +1 -1
  21. package/dist/apis/UserListApi.js +6 -12
  22. package/dist/apis/UserListApi.js.map +1 -1
  23. package/dist/models/Entities.d.ts +3 -2
  24. package/dist/models/Entities.d.ts.map +1 -1
  25. package/dist/models/Entities.js +3 -2
  26. package/dist/models/Entities.js.map +1 -1
  27. package/dist/models/PostCreateRetweetRequest.d.ts +3 -3
  28. package/dist/models/PostCreateRetweetRequest.d.ts.map +1 -1
  29. package/dist/models/PostCreateRetweetRequest.js +3 -3
  30. package/dist/models/PostCreateRetweetRequest.js.map +1 -1
  31. package/dist/models/PostCreateRetweetRequestVariables.d.ts +38 -0
  32. package/dist/models/PostCreateRetweetRequestVariables.d.ts.map +1 -0
  33. package/dist/models/PostCreateRetweetRequestVariables.js +54 -0
  34. package/dist/models/PostCreateRetweetRequestVariables.js.map +1 -0
  35. package/dist/models/PostDeleteTweetRequest.d.ts +3 -3
  36. package/dist/models/PostDeleteTweetRequest.d.ts.map +1 -1
  37. package/dist/models/PostDeleteTweetRequest.js +3 -3
  38. package/dist/models/PostDeleteTweetRequest.js.map +1 -1
  39. package/dist/models/PostFavoriteTweetRequest.d.ts +3 -3
  40. package/dist/models/PostFavoriteTweetRequest.d.ts.map +1 -1
  41. package/dist/models/PostFavoriteTweetRequest.js +3 -3
  42. package/dist/models/PostFavoriteTweetRequest.js.map +1 -1
  43. package/dist/models/PostUnfavoriteTweetRequest.d.ts +3 -3
  44. package/dist/models/PostUnfavoriteTweetRequest.d.ts.map +1 -1
  45. package/dist/models/PostUnfavoriteTweetRequest.js +3 -3
  46. package/dist/models/PostUnfavoriteTweetRequest.js.map +1 -1
  47. package/dist/models/Tweet.d.ts +7 -0
  48. package/dist/models/Tweet.d.ts.map +1 -1
  49. package/dist/models/Tweet.js +3 -0
  50. package/dist/models/Tweet.js.map +1 -1
  51. package/dist/models/TweetCard.d.ts +39 -0
  52. package/dist/models/TweetCard.d.ts.map +1 -0
  53. package/dist/models/TweetCard.js +54 -0
  54. package/dist/models/TweetCard.js.map +1 -0
  55. package/dist/models/TweetCardLegacy.d.ts +45 -0
  56. package/dist/models/TweetCardLegacy.d.ts.map +1 -0
  57. package/dist/models/TweetCardLegacy.js +58 -0
  58. package/dist/models/TweetCardLegacy.js.map +1 -0
  59. package/dist/models/TweetCardLegacyBindingValuesInner.d.ts +39 -0
  60. package/dist/models/TweetCardLegacyBindingValuesInner.d.ts.map +1 -0
  61. package/dist/models/TweetCardLegacyBindingValuesInner.js +55 -0
  62. package/dist/models/TweetCardLegacyBindingValuesInner.js.map +1 -0
  63. package/dist/models/TweetCardLegacyBindingValuesInnerValue.d.ts +50 -0
  64. package/dist/models/TweetCardLegacyBindingValuesInnerValue.d.ts.map +1 -0
  65. package/dist/models/TweetCardLegacyBindingValuesInnerValue.js +58 -0
  66. package/dist/models/TweetCardLegacyBindingValuesInnerValue.js.map +1 -0
  67. package/dist/models/TweetLegacy.d.ts +7 -0
  68. package/dist/models/TweetLegacy.d.ts.map +1 -1
  69. package/dist/models/TweetLegacy.js +3 -0
  70. package/dist/models/TweetLegacy.js.map +1 -1
  71. package/dist/models/TweetLegacySelfThread.d.ts +32 -0
  72. package/dist/models/TweetLegacySelfThread.d.ts.map +1 -0
  73. package/dist/models/TweetLegacySelfThread.js +51 -0
  74. package/dist/models/TweetLegacySelfThread.js.map +1 -0
  75. package/dist/models/Url.d.ts +50 -0
  76. package/dist/models/Url.d.ts.map +1 -0
  77. package/dist/models/Url.js +60 -0
  78. package/dist/models/Url.js.map +1 -0
  79. package/dist/models/index.d.ts +7 -1
  80. package/dist/models/index.d.ts.map +1 -1
  81. package/dist/models/index.js +7 -1
  82. package/dist/models/index.js.map +1 -1
  83. package/package.json +1 -1
  84. package/src/apis/DefaultApi.ts +4 -8
  85. package/src/apis/PostApi.ts +36 -6
  86. package/src/apis/TweetApi.ts +36 -72
  87. package/src/apis/UserApi.ts +4 -8
  88. package/src/apis/UserListApi.ts +8 -16
  89. package/src/models/Entities.ts +10 -4
  90. package/src/models/PostCreateRetweetRequest.ts +9 -9
  91. package/src/models/{PostDeleteTweetRequestVariables.ts → PostCreateRetweetRequestVariables.ts} +10 -10
  92. package/src/models/PostDeleteTweetRequest.ts +9 -9
  93. package/src/models/PostFavoriteTweetRequest.ts +9 -9
  94. package/src/models/PostUnfavoriteTweetRequest.ts +9 -9
  95. package/src/models/Tweet.ts +14 -0
  96. package/src/models/TweetCard.ts +80 -0
  97. package/src/models/TweetCardLegacy.ts +91 -0
  98. package/src/models/TweetCardLegacyBindingValuesInner.ts +82 -0
  99. package/src/models/TweetCardLegacyBindingValuesInnerValue.ts +90 -0
  100. package/src/models/TweetLegacy.ts +14 -0
  101. package/src/models/TweetLegacySelfThread.ts +66 -0
  102. package/src/models/Url.ts +93 -0
  103. package/src/models/index.ts +7 -1
  104. package/tools/openapi-generator-config.yaml +2 -2
  105. package/tools/win/replace.py +20 -20
  106. package/twitter-openapi/README.md +4 -6
  107. package/twitter-openapi/dist/{test → compatible}/openapi-3.0.yaml +38 -38
  108. package/twitter-openapi/dist/{typescript → compatible}/paths/bookmarks.yaml +5 -5
  109. package/twitter-openapi/dist/{test → compatible}/paths/follow.yaml +14 -14
  110. package/twitter-openapi/dist/{typescript → compatible}/paths/post.yaml +135 -93
  111. package/twitter-openapi/dist/{test → compatible}/paths/profile.yaml +5 -5
  112. package/twitter-openapi/dist/{typescript → compatible}/paths/timeline.yaml +25 -25
  113. package/twitter-openapi/dist/{test → compatible}/paths/tweet.yaml +5 -5
  114. package/twitter-openapi/dist/{test → compatible}/paths/user.yaml +5 -5
  115. package/twitter-openapi/dist/{test → compatible}/paths/usertweets.yaml +36 -36
  116. package/twitter-openapi/dist/compatible/resources/parameters.yaml +13 -0
  117. package/twitter-openapi/dist/{dart → compatible}/schemas/tweet.yaml +65 -0
  118. package/twitter-openapi/dist/docs/openapi-3.0.yaml +38 -38
  119. package/twitter-openapi/dist/docs/paths/bookmarks.yaml +7 -56
  120. package/twitter-openapi/dist/docs/paths/follow.yaml +18 -116
  121. package/twitter-openapi/dist/docs/paths/post.yaml +124 -82
  122. package/twitter-openapi/dist/docs/paths/profile.yaml +7 -35
  123. package/twitter-openapi/dist/docs/paths/timeline.yaml +43 -192
  124. package/twitter-openapi/dist/docs/paths/tweet.yaml +7 -61
  125. package/twitter-openapi/dist/docs/paths/user.yaml +7 -41
  126. package/twitter-openapi/dist/docs/paths/usertweets.yaml +53 -263
  127. package/twitter-openapi/dist/docs/resources/parameters.yaml +13 -0
  128. package/twitter-openapi/dist/docs/schemas/tweet.yaml +65 -0
  129. package/twitter-openapi/src/openapi/paths/bookmarks.yaml +1 -1
  130. package/twitter-openapi/src/openapi/paths/follow.yaml +2 -2
  131. package/twitter-openapi/src/openapi/paths/post.yaml +6 -6
  132. package/twitter-openapi/src/openapi/paths/profile.yaml +1 -1
  133. package/twitter-openapi/src/openapi/paths/timeline.yaml +3 -3
  134. package/twitter-openapi/src/openapi/paths/tweet.yaml +1 -1
  135. package/twitter-openapi/src/openapi/paths/user.yaml +1 -1
  136. package/twitter-openapi/src/openapi/paths/usertweets.yaml +4 -4
  137. package/twitter-openapi/src/openapi/resources/parameters.yaml +15 -0
  138. package/twitter-openapi/src/openapi/schemas/tweet.yaml +66 -1
  139. package/twitter-openapi/tools/__pycache__/build_config.cpython-310.pyc +0 -0
  140. package/twitter-openapi/tools/__pycache__/hooks.cpython-310.pyc +0 -0
  141. package/twitter-openapi/tools/build_config.py +67 -190
  142. package/twitter-openapi/tools/hooks.py +58 -13
  143. package/dist/models/PostDeleteTweetRequestVariables.d.ts +0 -38
  144. package/dist/models/PostDeleteTweetRequestVariables.d.ts.map +0 -1
  145. package/dist/models/PostDeleteTweetRequestVariables.js +0 -54
  146. package/dist/models/PostDeleteTweetRequestVariables.js.map +0 -1
  147. package/twitter-openapi/dist/dart/openapi-3.0.yaml +0 -117
  148. package/twitter-openapi/dist/dart/paths/bookmarks.yaml +0 -134
  149. package/twitter-openapi/dist/dart/paths/follow.yaml +0 -262
  150. package/twitter-openapi/dist/dart/paths/post.yaml +0 -834
  151. package/twitter-openapi/dist/dart/paths/profile.yaml +0 -152
  152. package/twitter-openapi/dist/dart/paths/timeline.yaml +0 -380
  153. package/twitter-openapi/dist/dart/paths/tweet.yaml +0 -134
  154. package/twitter-openapi/dist/dart/paths/user.yaml +0 -112
  155. package/twitter-openapi/dist/dart/paths/usertweets.yaml +0 -484
  156. package/twitter-openapi/dist/dart/paths/v1.1-get.yaml +0 -300
  157. package/twitter-openapi/dist/dart/paths/v1.1-post.yaml +0 -295
  158. package/twitter-openapi/dist/dart/paths/v2.0-get.yaml +0 -331
  159. package/twitter-openapi/dist/test/paths/bookmarks.yaml +0 -105
  160. package/twitter-openapi/dist/test/paths/other.yaml +0 -96
  161. package/twitter-openapi/dist/test/paths/post.yaml +0 -485
  162. package/twitter-openapi/dist/test/paths/timeline.yaml +0 -293
  163. package/twitter-openapi/dist/test/paths/v1.1-get.yaml +0 -242
  164. package/twitter-openapi/dist/test/paths/v1.1-post.yaml +0 -277
  165. package/twitter-openapi/dist/test/paths/v2.0-get.yaml +0 -302
  166. package/twitter-openapi/dist/test/response/error.yaml +0 -90
  167. package/twitter-openapi/dist/test/schemas/content.yaml +0 -181
  168. package/twitter-openapi/dist/test/schemas/general.yaml +0 -13
  169. package/twitter-openapi/dist/test/schemas/instruction.yaml +0 -83
  170. package/twitter-openapi/dist/test/schemas/timeline.yaml +0 -25
  171. package/twitter-openapi/dist/test/schemas/tweet.yaml +0 -251
  172. package/twitter-openapi/dist/test/schemas/typename.yaml +0 -19
  173. package/twitter-openapi/dist/test/schemas/user.yaml +0 -206
  174. package/twitter-openapi/dist/typescript/openapi-3.0.yaml +0 -141
  175. package/twitter-openapi/dist/typescript/paths/follow.yaml +0 -204
  176. package/twitter-openapi/dist/typescript/paths/other.yaml +0 -96
  177. package/twitter-openapi/dist/typescript/paths/profile.yaml +0 -123
  178. package/twitter-openapi/dist/typescript/paths/tweet.yaml +0 -105
  179. package/twitter-openapi/dist/typescript/paths/user.yaml +0 -83
  180. package/twitter-openapi/dist/typescript/paths/usertweets.yaml +0 -368
  181. package/twitter-openapi/dist/typescript/response/error.yaml +0 -90
  182. package/twitter-openapi/dist/typescript/schemas/content.yaml +0 -181
  183. package/twitter-openapi/dist/typescript/schemas/general.yaml +0 -13
  184. package/twitter-openapi/dist/typescript/schemas/instruction.yaml +0 -83
  185. package/twitter-openapi/dist/typescript/schemas/timeline.yaml +0 -25
  186. package/twitter-openapi/dist/typescript/schemas/tweet.yaml +0 -251
  187. package/twitter-openapi/dist/typescript/schemas/typename.yaml +0 -19
  188. package/twitter-openapi/dist/typescript/schemas/user.yaml +0 -206
  189. /package/twitter-openapi/dist/{dart → compatible}/paths/other.yaml +0 -0
  190. /package/twitter-openapi/dist/{typescript → compatible}/paths/v1.1-get.yaml +0 -0
  191. /package/twitter-openapi/dist/{typescript → compatible}/paths/v1.1-post.yaml +0 -0
  192. /package/twitter-openapi/dist/{typescript → compatible}/paths/v2.0-get.yaml +0 -0
  193. /package/twitter-openapi/dist/{dart → compatible}/response/error.yaml +0 -0
  194. /package/twitter-openapi/dist/{dart → compatible}/schemas/content.yaml +0 -0
  195. /package/twitter-openapi/dist/{dart → compatible}/schemas/general.yaml +0 -0
  196. /package/twitter-openapi/dist/{dart → compatible}/schemas/instruction.yaml +0 -0
  197. /package/twitter-openapi/dist/{dart → compatible}/schemas/timeline.yaml +0 -0
  198. /package/twitter-openapi/dist/{dart → compatible}/schemas/typename.yaml +0 -0
  199. /package/twitter-openapi/dist/{dart → compatible}/schemas/user.yaml +0 -0
@@ -1,277 +0,0 @@
1
- info:
2
- title: Twitter OpenAPI
3
- version: 0.0.1
4
- openapi: 3.0.3
5
- paths:
6
- /1.1/friendships/create.json:
7
- post:
8
- description: post create friendships
9
- operationId: postCreateFriendships
10
- parameters:
11
- - in: query
12
- name: include_profile_interstitial_type
13
- required: true
14
- schema:
15
- default: '1'
16
- example: '1'
17
- type: object
18
- - in: query
19
- name: include_blocking
20
- required: true
21
- schema:
22
- default: '1'
23
- example: '1'
24
- type: object
25
- - in: query
26
- name: include_blocked_by
27
- required: true
28
- schema:
29
- default: '1'
30
- example: '1'
31
- type: object
32
- - in: query
33
- name: include_followed_by
34
- required: true
35
- schema:
36
- default: '1'
37
- example: '1'
38
- type: object
39
- - in: query
40
- name: include_want_retweets
41
- required: true
42
- schema:
43
- default: '1'
44
- example: '1'
45
- type: object
46
- - in: query
47
- name: include_mute_edge
48
- required: true
49
- schema:
50
- default: '1'
51
- example: '1'
52
- type: object
53
- - in: query
54
- name: include_can_dm
55
- required: true
56
- schema:
57
- default: '1'
58
- example: '1'
59
- type: object
60
- - in: query
61
- name: include_can_media_tag
62
- required: true
63
- schema:
64
- default: '1'
65
- example: '1'
66
- type: object
67
- - in: query
68
- name: include_ext_has_nft_avatar
69
- required: true
70
- schema:
71
- default: '1'
72
- example: '1'
73
- type: object
74
- - in: query
75
- name: include_ext_is_blue_verified
76
- required: true
77
- schema:
78
- default: '1'
79
- example: '1'
80
- type: object
81
- - in: query
82
- name: include_ext_verified_type
83
- required: true
84
- schema:
85
- default: '1'
86
- example: '1'
87
- type: object
88
- - in: query
89
- name: include_ext_profile_image_shape
90
- required: true
91
- schema:
92
- default: '1'
93
- example: '1'
94
- type: object
95
- - in: query
96
- name: skip_status
97
- required: true
98
- schema:
99
- default: '1'
100
- example: '1'
101
- type: object
102
- - in: query
103
- name: user_id
104
- required: true
105
- schema:
106
- default: '"44196397"'
107
- example: '"44196397"'
108
- type: object
109
- responses:
110
- '200':
111
- description: Successful operation
112
- headers:
113
- status:
114
- schema:
115
- type: string
116
- x-access-level:
117
- schema:
118
- type: string
119
- x-client-event-enabled:
120
- schema:
121
- type: boolean
122
- x-connection-hash:
123
- schema:
124
- type: string
125
- x-content-type-options:
126
- schema:
127
- type: string
128
- x-response-time:
129
- schema:
130
- type: integer
131
- x-transaction:
132
- schema:
133
- type: string
134
- x-transaction-id:
135
- schema:
136
- type: string
137
- x-twitter-response-tags:
138
- schema:
139
- type: string
140
- tags:
141
- - v1.1-post
142
- /1.1/friendships/destroy.json:
143
- post:
144
- description: post destroy friendships
145
- operationId: postDestroyFriendships
146
- parameters:
147
- - in: query
148
- name: include_profile_interstitial_type
149
- required: true
150
- schema:
151
- default: '1'
152
- example: '1'
153
- type: object
154
- - in: query
155
- name: include_blocking
156
- required: true
157
- schema:
158
- default: '1'
159
- example: '1'
160
- type: object
161
- - in: query
162
- name: include_blocked_by
163
- required: true
164
- schema:
165
- default: '1'
166
- example: '1'
167
- type: object
168
- - in: query
169
- name: include_followed_by
170
- required: true
171
- schema:
172
- default: '1'
173
- example: '1'
174
- type: object
175
- - in: query
176
- name: include_want_retweets
177
- required: true
178
- schema:
179
- default: '1'
180
- example: '1'
181
- type: object
182
- - in: query
183
- name: include_mute_edge
184
- required: true
185
- schema:
186
- default: '1'
187
- example: '1'
188
- type: object
189
- - in: query
190
- name: include_can_dm
191
- required: true
192
- schema:
193
- default: '1'
194
- example: '1'
195
- type: object
196
- - in: query
197
- name: include_can_media_tag
198
- required: true
199
- schema:
200
- default: '1'
201
- example: '1'
202
- type: object
203
- - in: query
204
- name: include_ext_has_nft_avatar
205
- required: true
206
- schema:
207
- default: '1'
208
- example: '1'
209
- type: object
210
- - in: query
211
- name: include_ext_is_blue_verified
212
- required: true
213
- schema:
214
- default: '1'
215
- example: '1'
216
- type: object
217
- - in: query
218
- name: include_ext_verified_type
219
- required: true
220
- schema:
221
- default: '1'
222
- example: '1'
223
- type: object
224
- - in: query
225
- name: include_ext_profile_image_shape
226
- required: true
227
- schema:
228
- default: '1'
229
- example: '1'
230
- type: object
231
- - in: query
232
- name: skip_status
233
- required: true
234
- schema:
235
- default: '1'
236
- example: '1'
237
- type: object
238
- - in: query
239
- name: user_id
240
- required: true
241
- schema:
242
- default: '"44196397"'
243
- example: '"44196397"'
244
- type: object
245
- responses:
246
- '200':
247
- description: Successful operation
248
- headers:
249
- status:
250
- schema:
251
- type: string
252
- x-access-level:
253
- schema:
254
- type: string
255
- x-client-event-enabled:
256
- schema:
257
- type: boolean
258
- x-connection-hash:
259
- schema:
260
- type: string
261
- x-content-type-options:
262
- schema:
263
- type: string
264
- x-response-time:
265
- schema:
266
- type: integer
267
- x-transaction:
268
- schema:
269
- type: string
270
- x-transaction-id:
271
- schema:
272
- type: string
273
- x-twitter-response-tags:
274
- schema:
275
- type: string
276
- tags:
277
- - v1.1-post
@@ -1,302 +0,0 @@
1
- info:
2
- title: Twitter OpenAPI
3
- version: 0.0.1
4
- openapi: 3.0.3
5
- paths:
6
- /2/search/adaptive.json:
7
- get:
8
- description: get search adaptive
9
- operationId: getSearchAdaptive
10
- parameters:
11
- - in: query
12
- name: include_profile_interstitial_type
13
- required: true
14
- schema:
15
- default: '1'
16
- example: '1'
17
- type: object
18
- - in: query
19
- name: include_blocking
20
- required: true
21
- schema:
22
- default: '1'
23
- example: '1'
24
- type: object
25
- - in: query
26
- name: include_blocked_by
27
- required: true
28
- schema:
29
- default: '1'
30
- example: '1'
31
- type: object
32
- - in: query
33
- name: include_followed_by
34
- required: true
35
- schema:
36
- default: '1'
37
- example: '1'
38
- type: object
39
- - in: query
40
- name: include_want_retweets
41
- required: true
42
- schema:
43
- default: '1'
44
- example: '1'
45
- type: object
46
- - in: query
47
- name: include_mute_edge
48
- required: true
49
- schema:
50
- default: '1'
51
- example: '1'
52
- type: object
53
- - in: query
54
- name: include_can_dm
55
- required: true
56
- schema:
57
- default: '1'
58
- example: '1'
59
- type: object
60
- - in: query
61
- name: include_can_media_tag
62
- required: true
63
- schema:
64
- default: '1'
65
- example: '1'
66
- type: object
67
- - in: query
68
- name: include_ext_has_nft_avatar
69
- required: true
70
- schema:
71
- default: '1'
72
- example: '1'
73
- type: object
74
- - in: query
75
- name: include_ext_is_blue_verified
76
- required: true
77
- schema:
78
- default: '1'
79
- example: '1'
80
- type: object
81
- - in: query
82
- name: include_ext_verified_type
83
- required: true
84
- schema:
85
- default: '1'
86
- example: '1'
87
- type: object
88
- - in: query
89
- name: include_ext_profile_image_shape
90
- required: true
91
- schema:
92
- default: '1'
93
- example: '1'
94
- type: object
95
- - in: query
96
- name: skip_status
97
- required: true
98
- schema:
99
- default: '1'
100
- example: '1'
101
- type: object
102
- - in: query
103
- name: cards_platform
104
- required: true
105
- schema:
106
- default: '"Web-12"'
107
- example: '"Web-12"'
108
- type: object
109
- - in: query
110
- name: include_cards
111
- required: true
112
- schema:
113
- default: '1'
114
- example: '1'
115
- type: object
116
- - in: query
117
- name: include_ext_alt_text
118
- required: true
119
- schema:
120
- default: 'true'
121
- example: 'true'
122
- type: object
123
- - in: query
124
- name: include_ext_limited_action_results
125
- required: true
126
- schema:
127
- default: 'false'
128
- example: 'false'
129
- type: object
130
- - in: query
131
- name: include_quote_count
132
- required: true
133
- schema:
134
- default: 'true'
135
- example: 'true'
136
- type: object
137
- - in: query
138
- name: include_reply_count
139
- required: true
140
- schema:
141
- default: '1'
142
- example: '1'
143
- type: object
144
- - in: query
145
- name: tweet_mode
146
- required: true
147
- schema:
148
- default: '"extended"'
149
- example: '"extended"'
150
- type: object
151
- - in: query
152
- name: include_ext_views
153
- required: true
154
- schema:
155
- default: 'true'
156
- example: 'true'
157
- type: object
158
- - in: query
159
- name: include_entities
160
- required: true
161
- schema:
162
- default: 'true'
163
- example: 'true'
164
- type: object
165
- - in: query
166
- name: include_user_entities
167
- required: true
168
- schema:
169
- default: 'true'
170
- example: 'true'
171
- type: object
172
- - in: query
173
- name: include_ext_media_color
174
- required: true
175
- schema:
176
- default: 'true'
177
- example: 'true'
178
- type: object
179
- - in: query
180
- name: include_ext_media_availability
181
- required: true
182
- schema:
183
- default: 'true'
184
- example: 'true'
185
- type: object
186
- - in: query
187
- name: include_ext_sensitive_media_warning
188
- required: true
189
- schema:
190
- default: 'true'
191
- example: 'true'
192
- type: object
193
- - in: query
194
- name: include_ext_trusted_friends_metadata
195
- required: true
196
- schema:
197
- default: 'true'
198
- example: 'true'
199
- type: object
200
- - in: query
201
- name: send_error_codes
202
- required: true
203
- schema:
204
- default: 'true'
205
- example: 'true'
206
- type: object
207
- - in: query
208
- name: simple_quoted_tweet
209
- required: true
210
- schema:
211
- default: 'true'
212
- example: 'true'
213
- type: object
214
- - in: query
215
- name: q
216
- required: true
217
- schema:
218
- default: '"elon musk"'
219
- example: '"elon musk"'
220
- type: object
221
- - in: query
222
- name: query_source
223
- required: true
224
- schema:
225
- default: '"trend_click"'
226
- example: '"trend_click"'
227
- type: object
228
- - in: query
229
- name: count
230
- required: true
231
- schema:
232
- default: '20'
233
- example: '20'
234
- type: object
235
- - in: query
236
- name: requestContext
237
- required: true
238
- schema:
239
- default: '"launch"'
240
- example: '"launch"'
241
- type: object
242
- - in: query
243
- name: pc
244
- required: true
245
- schema:
246
- default: '1'
247
- example: '1'
248
- type: object
249
- - in: query
250
- name: spelling_corrections
251
- required: true
252
- schema:
253
- default: '1'
254
- example: '1'
255
- type: object
256
- - in: query
257
- name: include_ext_edit_control
258
- required: true
259
- schema:
260
- default: 'true'
261
- example: 'true'
262
- type: object
263
- - in: query
264
- name: ext
265
- required: true
266
- schema:
267
- default: '"mediaStats,highlightedLabel,hasNftAvatar,voiceInfo,birdwatchPivot,enrichments,superFollowMetadata,unmentionInfo,editControl,vibe"'
268
- example: '"mediaStats,highlightedLabel,hasNftAvatar,voiceInfo,birdwatchPivot,enrichments,superFollowMetadata,unmentionInfo,editControl,vibe"'
269
- type: object
270
- responses:
271
- '200':
272
- description: Successful operation
273
- headers:
274
- status:
275
- schema:
276
- type: string
277
- x-access-level:
278
- schema:
279
- type: string
280
- x-client-event-enabled:
281
- schema:
282
- type: boolean
283
- x-connection-hash:
284
- schema:
285
- type: string
286
- x-content-type-options:
287
- schema:
288
- type: string
289
- x-response-time:
290
- schema:
291
- type: integer
292
- x-transaction:
293
- schema:
294
- type: string
295
- x-transaction-id:
296
- schema:
297
- type: string
298
- x-twitter-response-tags:
299
- schema:
300
- type: string
301
- tags:
302
- - v2.0-get
@@ -1,90 +0,0 @@
1
- components:
2
- schemas:
3
- Error:
4
- properties:
5
- code:
6
- type: integer
7
- extensions:
8
- $ref: '#/components/schemas/Extensions'
9
- kind:
10
- type: string
11
- locations:
12
- items:
13
- $ref: '#/components/schemas/Location'
14
- type: array
15
- message:
16
- type: string
17
- name:
18
- type: string
19
- path:
20
- items:
21
- type: string
22
- type: array
23
- source:
24
- type: string
25
- tracing:
26
- $ref: '#/components/schemas/Tracing'
27
- required:
28
- - message
29
- - locations
30
- - path
31
- - extensions
32
- - code
33
- - kind
34
- - name
35
- - source
36
- - tracing
37
- type: object
38
- ErrorResponse:
39
- properties:
40
- errors:
41
- $ref: '#/components/schemas/Errors'
42
- required:
43
- - errors
44
- - data
45
- type: object
46
- Errors:
47
- items:
48
- $ref: '#/components/schemas/Error'
49
- type: array
50
- Extensions:
51
- properties:
52
- code:
53
- type: integer
54
- kind:
55
- type: string
56
- name:
57
- type: string
58
- source:
59
- type: string
60
- tracing:
61
- $ref: '#/components/schemas/Tracing'
62
- required:
63
- - name
64
- - source
65
- - code
66
- - kind
67
- - tracing
68
- type: object
69
- Location:
70
- properties:
71
- column:
72
- type: integer
73
- line:
74
- type: integer
75
- required:
76
- - line
77
- - column
78
- type: object
79
- Tracing:
80
- properties:
81
- trace_id:
82
- type: string
83
- required:
84
- - trace_id
85
- type: object
86
- info:
87
- title: Twitter OpenAPI
88
- version: 0.0.1
89
- openapi: 3.0.3
90
- paths: {}