twitter-openapi-typescript-generated 0.0.5 → 0.0.6

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 (158) hide show
  1. package/.openapi-generator/FILES +6 -1
  2. package/README.md +2 -2
  3. package/dist/apis/DefaultApi.d.ts +1 -0
  4. package/dist/apis/DefaultApi.d.ts.map +1 -1
  5. package/dist/apis/DefaultApi.js +4 -1
  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 -0
  12. package/dist/apis/TweetApi.d.ts.map +1 -1
  13. package/dist/apis/TweetApi.js +36 -9
  14. package/dist/apis/TweetApi.js.map +1 -1
  15. package/dist/apis/UserApi.d.ts +1 -0
  16. package/dist/apis/UserApi.d.ts.map +1 -1
  17. package/dist/apis/UserApi.js +4 -1
  18. package/dist/apis/UserApi.js.map +1 -1
  19. package/dist/apis/UserListApi.d.ts +2 -0
  20. package/dist/apis/UserListApi.d.ts.map +1 -1
  21. package/dist/apis/UserListApi.js +8 -2
  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/Url.d.ts +50 -0
  68. package/dist/models/Url.d.ts.map +1 -0
  69. package/dist/models/Url.js +60 -0
  70. package/dist/models/Url.js.map +1 -0
  71. package/dist/models/index.d.ts +6 -1
  72. package/dist/models/index.d.ts.map +1 -1
  73. package/dist/models/index.js +6 -1
  74. package/dist/models/index.js.map +1 -1
  75. package/package.json +1 -1
  76. package/src/apis/DefaultApi.ts +6 -1
  77. package/src/apis/PostApi.ts +36 -6
  78. package/src/apis/TweetApi.ts +54 -9
  79. package/src/apis/UserApi.ts +6 -1
  80. package/src/apis/UserListApi.ts +12 -2
  81. package/src/models/Entities.ts +10 -4
  82. package/src/models/PostCreateRetweetRequest.ts +9 -9
  83. package/src/models/{PostDeleteTweetRequestVariables.ts → PostCreateRetweetRequestVariables.ts} +10 -10
  84. package/src/models/PostDeleteTweetRequest.ts +9 -9
  85. package/src/models/PostFavoriteTweetRequest.ts +9 -9
  86. package/src/models/PostUnfavoriteTweetRequest.ts +9 -9
  87. package/src/models/Tweet.ts +14 -0
  88. package/src/models/TweetCard.ts +80 -0
  89. package/src/models/TweetCardLegacy.ts +91 -0
  90. package/src/models/TweetCardLegacyBindingValuesInner.ts +82 -0
  91. package/src/models/TweetCardLegacyBindingValuesInnerValue.ts +90 -0
  92. package/src/models/Url.ts +93 -0
  93. package/src/models/index.ts +6 -1
  94. package/tools/openapi-generator-config.yaml +1 -1
  95. package/tools/win/replace.py +20 -20
  96. package/twitter-openapi/README.md +4 -6
  97. package/twitter-openapi/dist/dart/openapi-3.0.yaml +38 -38
  98. package/twitter-openapi/dist/dart/paths/bookmarks.yaml +8 -1
  99. package/twitter-openapi/dist/dart/paths/follow.yaml +24 -10
  100. package/twitter-openapi/dist/dart/paths/post.yaml +157 -115
  101. package/twitter-openapi/dist/dart/paths/profile.yaml +8 -1
  102. package/twitter-openapi/dist/dart/paths/timeline.yaml +38 -17
  103. package/twitter-openapi/dist/dart/paths/tweet.yaml +8 -1
  104. package/twitter-openapi/dist/dart/paths/user.yaml +8 -1
  105. package/twitter-openapi/dist/dart/paths/usertweets.yaml +54 -26
  106. package/twitter-openapi/dist/dart/resources/parameters.yaml +13 -0
  107. package/twitter-openapi/dist/dart/schemas/tweet.yaml +57 -0
  108. package/twitter-openapi/dist/docs/openapi-3.0.yaml +38 -38
  109. package/twitter-openapi/dist/docs/paths/bookmarks.yaml +8 -1
  110. package/twitter-openapi/dist/docs/paths/follow.yaml +60 -46
  111. package/twitter-openapi/dist/docs/paths/post.yaml +124 -82
  112. package/twitter-openapi/dist/docs/paths/profile.yaml +8 -1
  113. package/twitter-openapi/dist/docs/paths/timeline.yaml +92 -71
  114. package/twitter-openapi/dist/docs/paths/tweet.yaml +8 -1
  115. package/twitter-openapi/dist/docs/paths/user.yaml +8 -1
  116. package/twitter-openapi/dist/docs/paths/usertweets.yaml +122 -94
  117. package/twitter-openapi/dist/docs/resources/parameters.yaml +13 -0
  118. package/twitter-openapi/dist/docs/schemas/tweet.yaml +57 -0
  119. package/twitter-openapi/dist/test/openapi-3.0.yaml +38 -38
  120. package/twitter-openapi/dist/test/paths/bookmarks.yaml +8 -1
  121. package/twitter-openapi/dist/test/paths/follow.yaml +24 -10
  122. package/twitter-openapi/dist/test/paths/post.yaml +108 -66
  123. package/twitter-openapi/dist/test/paths/profile.yaml +8 -1
  124. package/twitter-openapi/dist/test/paths/timeline.yaml +38 -17
  125. package/twitter-openapi/dist/test/paths/tweet.yaml +8 -1
  126. package/twitter-openapi/dist/test/paths/user.yaml +8 -1
  127. package/twitter-openapi/dist/test/paths/usertweets.yaml +54 -26
  128. package/twitter-openapi/dist/test/resources/parameters.yaml +13 -0
  129. package/twitter-openapi/dist/test/schemas/tweet.yaml +57 -0
  130. package/twitter-openapi/dist/typescript/openapi-3.0.yaml +38 -38
  131. package/twitter-openapi/dist/typescript/paths/bookmarks.yaml +8 -1
  132. package/twitter-openapi/dist/typescript/paths/follow.yaml +24 -10
  133. package/twitter-openapi/dist/typescript/paths/post.yaml +135 -93
  134. package/twitter-openapi/dist/typescript/paths/profile.yaml +8 -1
  135. package/twitter-openapi/dist/typescript/paths/timeline.yaml +38 -17
  136. package/twitter-openapi/dist/typescript/paths/tweet.yaml +8 -1
  137. package/twitter-openapi/dist/typescript/paths/user.yaml +8 -1
  138. package/twitter-openapi/dist/typescript/paths/usertweets.yaml +54 -26
  139. package/twitter-openapi/dist/typescript/resources/parameters.yaml +13 -0
  140. package/twitter-openapi/dist/typescript/schemas/tweet.yaml +57 -0
  141. package/twitter-openapi/src/openapi/paths/bookmarks.yaml +1 -1
  142. package/twitter-openapi/src/openapi/paths/follow.yaml +2 -2
  143. package/twitter-openapi/src/openapi/paths/post.yaml +6 -6
  144. package/twitter-openapi/src/openapi/paths/profile.yaml +1 -1
  145. package/twitter-openapi/src/openapi/paths/timeline.yaml +3 -3
  146. package/twitter-openapi/src/openapi/paths/tweet.yaml +1 -1
  147. package/twitter-openapi/src/openapi/paths/user.yaml +1 -1
  148. package/twitter-openapi/src/openapi/paths/usertweets.yaml +4 -4
  149. package/twitter-openapi/src/openapi/resources/parameters.yaml +15 -0
  150. package/twitter-openapi/src/openapi/schemas/tweet.yaml +58 -1
  151. package/twitter-openapi/tools/__pycache__/build_config.cpython-310.pyc +0 -0
  152. package/twitter-openapi/tools/__pycache__/hooks.cpython-310.pyc +0 -0
  153. package/twitter-openapi/tools/build_config.py +12 -12
  154. package/twitter-openapi/tools/hooks.py +30 -6
  155. package/dist/models/PostDeleteTweetRequestVariables.d.ts +0 -38
  156. package/dist/models/PostDeleteTweetRequestVariables.d.ts.map +0 -1
  157. package/dist/models/PostDeleteTweetRequestVariables.js +0 -54
  158. package/dist/models/PostDeleteTweetRequestVariables.js.map +0 -1
@@ -136,60 +136,38 @@ info:
136
136
  version: 0.0.1
137
137
  openapi: 3.0.3
138
138
  paths:
139
- /graphql/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
139
+ /graphql/{pathQueryId}/CreateRetweet:
140
140
  post:
141
- description: create Tweet
142
- operationId: postCreateTweet
141
+ description: create Retweet
142
+ operationId: postCreateRetweet
143
143
  parameters:
144
- - in: query
145
- name: queryId
144
+ - in: path
145
+ name: pathQueryId
146
146
  required: true
147
147
  schema:
148
- default: '"1RyAhNwby-gzGCRVsMxKbQ"'
149
- example: '"1RyAhNwby-gzGCRVsMxKbQ"'
148
+ default: ojPdsZsimiJrUGLR1sjUtA
149
+ example: ojPdsZsimiJrUGLR1sjUtA
150
150
  type: string
151
151
  - in: query
152
- name: variables
152
+ name: queryId
153
153
  required: true
154
154
  schema:
155
- default: '{"tweet_text": "test", "media": {"media_entities": [], "possibly_sensitive":
156
- false}, "semantic_annotation_ids": [], "dark_request": false}'
157
- example: '{"tweet_text": "test", "media": {"media_entities": [], "possibly_sensitive":
158
- false}, "semantic_annotation_ids": [], "dark_request": false}'
155
+ default: '"ojPdsZsimiJrUGLR1sjUtA"'
156
+ example: '"ojPdsZsimiJrUGLR1sjUtA"'
159
157
  type: string
160
158
  - in: query
161
- name: features
159
+ name: variables
162
160
  required: true
163
161
  schema:
164
- default: '{"tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
165
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
166
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
167
- true, "tweet_awards_web_tipping_enabled": false, "interactive_text_enabled":
168
- true, "responsive_web_text_conversations_enabled": false, "longform_notetweets_rich_text_read_enabled":
169
- true, "blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
170
- true, "verified_phone_label_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
171
- true, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
172
- false, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
173
- false, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_enhance_cards_enabled":
174
- false}'
175
- example: '{"tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
176
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
177
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
178
- true, "tweet_awards_web_tipping_enabled": false, "interactive_text_enabled":
179
- true, "responsive_web_text_conversations_enabled": false, "longform_notetweets_rich_text_read_enabled":
180
- true, "blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
181
- true, "verified_phone_label_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
182
- true, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
183
- false, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
184
- false, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_enhance_cards_enabled":
185
- false}'
162
+ default: '{"tweet_id": "1349129669258448897", "dark_request": false}'
163
+ example: '{"tweet_id": "1349129669258448897", "dark_request": false}'
186
164
  type: string
187
165
  responses:
188
166
  '200':
189
167
  content:
190
168
  application/json:
191
169
  schema:
192
- $ref: '#/components/schemas/CreateTweetResponse'
170
+ $ref: '#/components/schemas/CreateRetweetResponse'
193
171
  description: Successful operation
194
172
  headers:
195
173
  x-connection-hash:
@@ -218,31 +196,67 @@ paths:
218
196
  type: string
219
197
  tags:
220
198
  - post
221
- /graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
199
+ /graphql/{pathQueryId}/CreateTweet:
222
200
  post:
223
- description: delete Retweet
224
- operationId: postDeleteTweet
201
+ description: create Tweet
202
+ operationId: postCreateTweet
225
203
  parameters:
204
+ - in: path
205
+ name: pathQueryId
206
+ required: true
207
+ schema:
208
+ default: 1RyAhNwby-gzGCRVsMxKbQ
209
+ example: 1RyAhNwby-gzGCRVsMxKbQ
210
+ type: string
226
211
  - in: query
227
212
  name: queryId
228
213
  required: true
229
214
  schema:
230
- default: '"VaenaVgh5q5ih7kvyVjgtg"'
231
- example: '"VaenaVgh5q5ih7kvyVjgtg"'
215
+ default: '"1RyAhNwby-gzGCRVsMxKbQ"'
216
+ example: '"1RyAhNwby-gzGCRVsMxKbQ"'
232
217
  type: string
233
218
  - in: query
234
219
  name: variables
235
220
  required: true
236
221
  schema:
237
- default: '{"tweet_id": "1349129669258448897", "dark_request": false}'
238
- example: '{"tweet_id": "1349129669258448897", "dark_request": false}'
222
+ default: '{"tweet_text": "test", "media": {"media_entities": [], "possibly_sensitive":
223
+ false}, "semantic_annotation_ids": [], "dark_request": false}'
224
+ example: '{"tweet_text": "test", "media": {"media_entities": [], "possibly_sensitive":
225
+ false}, "semantic_annotation_ids": [], "dark_request": false}'
226
+ type: string
227
+ - in: query
228
+ name: features
229
+ required: true
230
+ schema:
231
+ default: '{"tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
232
+ true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
233
+ true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
234
+ true, "tweet_awards_web_tipping_enabled": false, "interactive_text_enabled":
235
+ true, "responsive_web_text_conversations_enabled": false, "longform_notetweets_rich_text_read_enabled":
236
+ true, "blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
237
+ true, "verified_phone_label_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
238
+ true, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
239
+ false, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
240
+ false, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_enhance_cards_enabled":
241
+ false}'
242
+ example: '{"tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
243
+ true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
244
+ true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
245
+ true, "tweet_awards_web_tipping_enabled": false, "interactive_text_enabled":
246
+ true, "responsive_web_text_conversations_enabled": false, "longform_notetweets_rich_text_read_enabled":
247
+ true, "blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
248
+ true, "verified_phone_label_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
249
+ true, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
250
+ false, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
251
+ false, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_enhance_cards_enabled":
252
+ false}'
239
253
  type: string
240
254
  responses:
241
255
  '200':
242
256
  content:
243
257
  application/json:
244
258
  schema:
245
- $ref: '#/components/schemas/DeleteTweetResponse'
259
+ $ref: '#/components/schemas/CreateTweetResponse'
246
260
  description: Successful operation
247
261
  headers:
248
262
  x-connection-hash:
@@ -271,31 +285,38 @@ paths:
271
285
  type: string
272
286
  tags:
273
287
  - post
274
- /graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
288
+ /graphql/{pathQueryId}/DeleteRetweet:
275
289
  post:
276
- description: unfavorite Tweet
277
- operationId: postUnfavoriteTweet
290
+ description: delete Retweet
291
+ operationId: postDeleteRetweet
278
292
  parameters:
293
+ - in: path
294
+ name: pathQueryId
295
+ required: true
296
+ schema:
297
+ default: iQtK4dl5hBmXewYZuEOKVw
298
+ example: iQtK4dl5hBmXewYZuEOKVw
299
+ type: string
279
300
  - in: query
280
301
  name: queryId
281
302
  required: true
282
303
  schema:
283
- default: '"ZYKSe-w7KEslx3JhSIk5LA"'
284
- example: '"ZYKSe-w7KEslx3JhSIk5LA"'
304
+ default: '"iQtK4dl5hBmXewYZuEOKVw"'
305
+ example: '"iQtK4dl5hBmXewYZuEOKVw"'
285
306
  type: string
286
307
  - in: query
287
308
  name: variables
288
309
  required: true
289
310
  schema:
290
- default: '{"tweet_id": "1349129669258448897", "dark_request": false}'
291
- example: '{"tweet_id": "1349129669258448897", "dark_request": false}'
311
+ default: '{"source_tweet_id": "1349129669258448897", "dark_request": false}'
312
+ example: '{"source_tweet_id": "1349129669258448897", "dark_request": false}'
292
313
  type: string
293
314
  responses:
294
315
  '200':
295
316
  content:
296
317
  application/json:
297
318
  schema:
298
- $ref: '#/components/schemas/UnfavoriteTweetResponseData'
319
+ $ref: '#/components/schemas/DeleteRetweetResponse'
299
320
  description: Successful operation
300
321
  headers:
301
322
  x-connection-hash:
@@ -324,31 +345,38 @@ paths:
324
345
  type: string
325
346
  tags:
326
347
  - post
327
- /graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
348
+ /graphql/{pathQueryId}/DeleteTweet:
328
349
  post:
329
350
  description: delete Retweet
330
- operationId: postDeleteRetweet
351
+ operationId: postDeleteTweet
331
352
  parameters:
353
+ - in: path
354
+ name: pathQueryId
355
+ required: true
356
+ schema:
357
+ default: VaenaVgh5q5ih7kvyVjgtg
358
+ example: VaenaVgh5q5ih7kvyVjgtg
359
+ type: string
332
360
  - in: query
333
361
  name: queryId
334
362
  required: true
335
363
  schema:
336
- default: '"iQtK4dl5hBmXewYZuEOKVw"'
337
- example: '"iQtK4dl5hBmXewYZuEOKVw"'
364
+ default: '"VaenaVgh5q5ih7kvyVjgtg"'
365
+ example: '"VaenaVgh5q5ih7kvyVjgtg"'
338
366
  type: string
339
367
  - in: query
340
368
  name: variables
341
369
  required: true
342
370
  schema:
343
- default: '{"source_tweet_id": "1349129669258448897", "dark_request": false}'
344
- example: '{"source_tweet_id": "1349129669258448897", "dark_request": false}'
371
+ default: '{"tweet_id": "1349129669258448897", "dark_request": false}'
372
+ example: '{"tweet_id": "1349129669258448897", "dark_request": false}'
345
373
  type: string
346
374
  responses:
347
375
  '200':
348
376
  content:
349
377
  application/json:
350
378
  schema:
351
- $ref: '#/components/schemas/DeleteRetweetResponse'
379
+ $ref: '#/components/schemas/DeleteTweetResponse'
352
380
  description: Successful operation
353
381
  headers:
354
382
  x-connection-hash:
@@ -377,11 +405,18 @@ paths:
377
405
  type: string
378
406
  tags:
379
407
  - post
380
- /graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
408
+ /graphql/{pathQueryId}/FavoriteTweet:
381
409
  post:
382
410
  description: favorite Tweet
383
411
  operationId: postFavoriteTweet
384
412
  parameters:
413
+ - in: path
414
+ name: pathQueryId
415
+ required: true
416
+ schema:
417
+ default: lI07N6Otwv1PhnEgXILM7A
418
+ example: lI07N6Otwv1PhnEgXILM7A
419
+ type: string
385
420
  - in: query
386
421
  name: queryId
387
422
  required: true
@@ -430,17 +465,24 @@ paths:
430
465
  type: string
431
466
  tags:
432
467
  - post
433
- /graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
468
+ /graphql/{pathQueryId}/UnfavoriteTweet:
434
469
  post:
435
- description: create Retweet
436
- operationId: postCreateRetweet
470
+ description: unfavorite Tweet
471
+ operationId: postUnfavoriteTweet
437
472
  parameters:
473
+ - in: path
474
+ name: pathQueryId
475
+ required: true
476
+ schema:
477
+ default: ZYKSe-w7KEslx3JhSIk5LA
478
+ example: ZYKSe-w7KEslx3JhSIk5LA
479
+ type: string
438
480
  - in: query
439
481
  name: queryId
440
482
  required: true
441
483
  schema:
442
- default: '"ojPdsZsimiJrUGLR1sjUtA"'
443
- example: '"ojPdsZsimiJrUGLR1sjUtA"'
484
+ default: '"ZYKSe-w7KEslx3JhSIk5LA"'
485
+ example: '"ZYKSe-w7KEslx3JhSIk5LA"'
444
486
  type: string
445
487
  - in: query
446
488
  name: variables
@@ -454,7 +496,7 @@ paths:
454
496
  content:
455
497
  application/json:
456
498
  schema:
457
- $ref: '#/components/schemas/CreateRetweetResponse'
499
+ $ref: '#/components/schemas/UnfavoriteTweetResponseData'
458
500
  description: Successful operation
459
501
  headers:
460
502
  x-connection-hash:
@@ -63,11 +63,18 @@ info:
63
63
  version: 0.0.1
64
64
  openapi: 3.0.3
65
65
  paths:
66
- /graphql/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
66
+ /graphql/{pathQueryId}/ProfileSpotlightsQuery:
67
67
  get:
68
68
  description: get user by screen name
69
69
  operationId: getProfileSpotlightsQuery
70
70
  parameters:
71
+ - in: path
72
+ name: pathQueryId
73
+ required: true
74
+ schema:
75
+ default: 9zwVLJ48lmVUk8u_Gh9DmA
76
+ example: 9zwVLJ48lmVUk8u_Gh9DmA
77
+ type: string
71
78
  - in: query
72
79
  name: queryId
73
80
  required: true
@@ -47,24 +47,33 @@ info:
47
47
  version: 0.0.1
48
48
  openapi: 3.0.3
49
49
  paths:
50
- /graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
50
+ /graphql/{pathQueryId}/HomeLatestTimeline:
51
51
  get:
52
52
  description: get tweet list of timeline
53
- operationId: getListLatestTweetsTimeline
53
+ operationId: getHomeLatestTimeline
54
54
  parameters:
55
+ - in: path
56
+ name: pathQueryId
57
+ required: true
58
+ schema:
59
+ default: zhX91JE87mWvfprhYE97xA
60
+ example: zhX91JE87mWvfprhYE97xA
61
+ type: string
55
62
  - in: query
56
63
  name: queryId
57
64
  required: true
58
65
  schema:
59
- default: '"2TemLyqrMpTeAmysdbnVqw"'
60
- example: '"2TemLyqrMpTeAmysdbnVqw"'
66
+ default: '"zhX91JE87mWvfprhYE97xA"'
67
+ example: '"zhX91JE87mWvfprhYE97xA"'
61
68
  type: string
62
69
  - in: query
63
70
  name: variables
64
71
  required: true
65
72
  schema:
66
- default: '{"listId": "53044119", "count": 20}'
67
- example: '{"listId": "53044119", "count": 20}'
73
+ default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
74
+ true, "requestContext": "launch"}'
75
+ example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
76
+ true, "requestContext": "launch"}'
68
77
  type: string
69
78
  - in: query
70
79
  name: features
@@ -98,7 +107,7 @@ paths:
98
107
  content:
99
108
  application/json:
100
109
  schema:
101
- $ref: '#/components/schemas/ListTweetsTimelineResponse'
110
+ $ref: '#/components/schemas/TimelineResponse'
102
111
  description: Successful operation
103
112
  headers:
104
113
  x-connection-hash:
@@ -127,11 +136,18 @@ paths:
127
136
  type: string
128
137
  tags:
129
138
  - tweet
130
- /graphql/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
139
+ /graphql/{pathQueryId}/HomeTimeline:
131
140
  get:
132
141
  description: get tweet list of timeline
133
142
  operationId: getHomeTimeline
134
143
  parameters:
144
+ - in: path
145
+ name: pathQueryId
146
+ required: true
147
+ schema:
148
+ default: HCosKfLNW1AcOo3la3mMgg
149
+ example: HCosKfLNW1AcOo3la3mMgg
150
+ type: string
135
151
  - in: query
136
152
  name: queryId
137
153
  required: true
@@ -209,26 +225,31 @@ paths:
209
225
  type: string
210
226
  tags:
211
227
  - tweet
212
- /graphql/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
228
+ /graphql/{pathQueryId}/ListLatestTweetsTimeline:
213
229
  get:
214
230
  description: get tweet list of timeline
215
- operationId: getHomeLatestTimeline
231
+ operationId: getListLatestTweetsTimeline
216
232
  parameters:
233
+ - in: path
234
+ name: pathQueryId
235
+ required: true
236
+ schema:
237
+ default: 2TemLyqrMpTeAmysdbnVqw
238
+ example: 2TemLyqrMpTeAmysdbnVqw
239
+ type: string
217
240
  - in: query
218
241
  name: queryId
219
242
  required: true
220
243
  schema:
221
- default: '"zhX91JE87mWvfprhYE97xA"'
222
- example: '"zhX91JE87mWvfprhYE97xA"'
244
+ default: '"2TemLyqrMpTeAmysdbnVqw"'
245
+ example: '"2TemLyqrMpTeAmysdbnVqw"'
223
246
  type: string
224
247
  - in: query
225
248
  name: variables
226
249
  required: true
227
250
  schema:
228
- default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
229
- true, "requestContext": "launch"}'
230
- example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
231
- true, "requestContext": "launch"}'
251
+ default: '{"listId": "53044119", "count": 20}'
252
+ example: '{"listId": "53044119", "count": 20}'
232
253
  type: string
233
254
  - in: query
234
255
  name: features
@@ -262,7 +283,7 @@ paths:
262
283
  content:
263
284
  application/json:
264
285
  schema:
265
- $ref: '#/components/schemas/TimelineResponse'
286
+ $ref: '#/components/schemas/ListTweetsTimelineResponse'
266
287
  description: Successful operation
267
288
  headers:
268
289
  x-connection-hash:
@@ -17,11 +17,18 @@ info:
17
17
  version: 0.0.1
18
18
  openapi: 3.0.3
19
19
  paths:
20
- /graphql/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
20
+ /graphql/{pathQueryId}/TweetDetail:
21
21
  get:
22
22
  description: get TweetDetail
23
23
  operationId: getTweetDetail
24
24
  parameters:
25
+ - in: path
26
+ name: pathQueryId
27
+ required: true
28
+ schema:
29
+ default: wNNG8DBB8EaXw1lq4vFWGA
30
+ example: wNNG8DBB8EaXw1lq4vFWGA
31
+ type: string
25
32
  - in: query
26
33
  name: queryId
27
34
  required: true
@@ -17,11 +17,18 @@ info:
17
17
  version: 0.0.1
18
18
  openapi: 3.0.3
19
19
  paths:
20
- /graphql/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
20
+ /graphql/{pathQueryId}/UserByScreenName:
21
21
  get:
22
22
  description: get user by screen name
23
23
  operationId: getUserByScreenName
24
24
  parameters:
25
+ - in: path
26
+ name: pathQueryId
27
+ required: true
28
+ schema:
29
+ default: sLVLhk0bGj3MVFEKTdax1w
30
+ example: sLVLhk0bGj3MVFEKTdax1w
31
+ type: string
25
32
  - in: query
26
33
  name: queryId
27
34
  required: true
@@ -32,11 +32,18 @@ info:
32
32
  version: 0.0.1
33
33
  openapi: 3.0.3
34
34
  paths:
35
- /graphql/5fmEkRT-1AdHqEsbVgehMg/Likes:
35
+ /graphql/{pathQueryId}/Likes:
36
36
  get:
37
37
  description: get user likes tweets
38
38
  operationId: getLikes
39
39
  parameters:
40
+ - in: path
41
+ name: pathQueryId
42
+ required: true
43
+ schema:
44
+ default: 5fmEkRT-1AdHqEsbVgehMg
45
+ example: 5fmEkRT-1AdHqEsbVgehMg
46
+ type: string
40
47
  - in: query
41
48
  name: queryId
42
49
  required: true
@@ -116,28 +123,35 @@ paths:
116
123
  type: string
117
124
  tags:
118
125
  - tweet
119
- /graphql/HuTx74BxAnezK1gWvYY7zg/UserTweets:
126
+ /graphql/{pathQueryId}/UserMedia:
120
127
  get:
121
- description: get user tweets
122
- operationId: getUserTweets
128
+ description: get user media tweets
129
+ operationId: getUserMedia
123
130
  parameters:
131
+ - in: path
132
+ name: pathQueryId
133
+ required: true
134
+ schema:
135
+ default: YqiE3JL1KNgf9nSljYdxaA
136
+ example: YqiE3JL1KNgf9nSljYdxaA
137
+ type: string
124
138
  - in: query
125
139
  name: queryId
126
140
  required: true
127
141
  schema:
128
- default: '"HuTx74BxAnezK1gWvYY7zg"'
129
- example: '"HuTx74BxAnezK1gWvYY7zg"'
142
+ default: '"YqiE3JL1KNgf9nSljYdxaA"'
143
+ example: '"YqiE3JL1KNgf9nSljYdxaA"'
130
144
  type: string
131
145
  - in: query
132
146
  name: variables
133
147
  required: true
134
148
  schema:
135
149
  default: '{"userId": "44196397", "count": 40, "includePromotedContent":
136
- true, "withQuickPromoteEligibilityTweetFields": true, "withVoice": true,
137
- "withV2Timeline": true}'
150
+ false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
151
+ true, "withV2Timeline": true}'
138
152
  example: '{"userId": "44196397", "count": 40, "includePromotedContent":
139
- true, "withQuickPromoteEligibilityTweetFields": true, "withVoice": true,
140
- "withV2Timeline": true}'
153
+ false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
154
+ true, "withV2Timeline": true}'
141
155
  type: string
142
156
  - in: query
143
157
  name: features
@@ -200,26 +214,35 @@ paths:
200
214
  type: string
201
215
  tags:
202
216
  - tweet
203
- /graphql/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
217
+ /graphql/{pathQueryId}/UserTweets:
204
218
  get:
205
- description: get user replies tweets
206
- operationId: getUserTweetsAndReplies
219
+ description: get user tweets
220
+ operationId: getUserTweets
207
221
  parameters:
222
+ - in: path
223
+ name: pathQueryId
224
+ required: true
225
+ schema:
226
+ default: HuTx74BxAnezK1gWvYY7zg
227
+ example: HuTx74BxAnezK1gWvYY7zg
228
+ type: string
208
229
  - in: query
209
230
  name: queryId
210
231
  required: true
211
232
  schema:
212
- default: '"RIWc55YCNyUJ-U3HHGYkdg"'
213
- example: '"RIWc55YCNyUJ-U3HHGYkdg"'
233
+ default: '"HuTx74BxAnezK1gWvYY7zg"'
234
+ example: '"HuTx74BxAnezK1gWvYY7zg"'
214
235
  type: string
215
236
  - in: query
216
237
  name: variables
217
238
  required: true
218
239
  schema:
219
240
  default: '{"userId": "44196397", "count": 40, "includePromotedContent":
220
- true, "withCommunity": true, "withVoice": true, "withV2Timeline": true}'
241
+ true, "withQuickPromoteEligibilityTweetFields": true, "withVoice": true,
242
+ "withV2Timeline": true}'
221
243
  example: '{"userId": "44196397", "count": 40, "includePromotedContent":
222
- true, "withCommunity": true, "withVoice": true, "withV2Timeline": true}'
244
+ true, "withQuickPromoteEligibilityTweetFields": true, "withVoice": true,
245
+ "withV2Timeline": true}'
223
246
  type: string
224
247
  - in: query
225
248
  name: features
@@ -282,28 +305,33 @@ paths:
282
305
  type: string
283
306
  tags:
284
307
  - tweet
285
- /graphql/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
308
+ /graphql/{pathQueryId}/UserTweetsAndReplies:
286
309
  get:
287
- description: get user media tweets
288
- operationId: getUserMedia
310
+ description: get user replies tweets
311
+ operationId: getUserTweetsAndReplies
289
312
  parameters:
313
+ - in: path
314
+ name: pathQueryId
315
+ required: true
316
+ schema:
317
+ default: RIWc55YCNyUJ-U3HHGYkdg
318
+ example: RIWc55YCNyUJ-U3HHGYkdg
319
+ type: string
290
320
  - in: query
291
321
  name: queryId
292
322
  required: true
293
323
  schema:
294
- default: '"YqiE3JL1KNgf9nSljYdxaA"'
295
- example: '"YqiE3JL1KNgf9nSljYdxaA"'
324
+ default: '"RIWc55YCNyUJ-U3HHGYkdg"'
325
+ example: '"RIWc55YCNyUJ-U3HHGYkdg"'
296
326
  type: string
297
327
  - in: query
298
328
  name: variables
299
329
  required: true
300
330
  schema:
301
331
  default: '{"userId": "44196397", "count": 40, "includePromotedContent":
302
- false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
303
- true, "withV2Timeline": true}'
332
+ true, "withCommunity": true, "withVoice": true, "withV2Timeline": true}'
304
333
  example: '{"userId": "44196397", "count": 40, "includePromotedContent":
305
- false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
306
- true, "withV2Timeline": true}'
334
+ true, "withCommunity": true, "withVoice": true, "withV2Timeline": true}'
307
335
  type: string
308
336
  - in: query
309
337
  name: features
@@ -0,0 +1,13 @@
1
+ components:
2
+ parameters:
3
+ queryId:
4
+ in: path
5
+ name: queryId
6
+ required: true
7
+ schema:
8
+ type: string
9
+ info:
10
+ title: Twitter OpenAPI
11
+ version: 0.0.1
12
+ openapi: 3.0.3
13
+ paths: {}