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
@@ -136,11 +136,88 @@ 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
+ post:
141
+ description: create Retweet
142
+ operationId: postCreateRetweet
143
+ parameters:
144
+ - in: path
145
+ name: pathQueryId
146
+ required: true
147
+ schema:
148
+ default: ojPdsZsimiJrUGLR1sjUtA
149
+ example: ojPdsZsimiJrUGLR1sjUtA
150
+ type: string
151
+ - in: query
152
+ name: queryId
153
+ required: true
154
+ schema:
155
+ default: ojPdsZsimiJrUGLR1sjUtA
156
+ example: ojPdsZsimiJrUGLR1sjUtA
157
+ type: string
158
+ - in: query
159
+ name: variables
160
+ required: true
161
+ schema:
162
+ properties:
163
+ dark_request:
164
+ default: false
165
+ example: false
166
+ type: boolean
167
+ tweet_id:
168
+ default: '1349129669258448897'
169
+ example: '1349129669258448897'
170
+ type: string
171
+ required:
172
+ - tweet_id
173
+ - dark_request
174
+ type: object
175
+ responses:
176
+ '200':
177
+ content:
178
+ application/json:
179
+ schema:
180
+ $ref: '#/components/schemas/CreateRetweetResponse'
181
+ description: Successful operation
182
+ headers:
183
+ x-connection-hash:
184
+ schema:
185
+ type: string
186
+ x-rate-limit-limit:
187
+ schema:
188
+ type: integer
189
+ x-rate-limit-remaining:
190
+ schema:
191
+ type: integer
192
+ x-rate-limit-reset:
193
+ schema:
194
+ type: integer
195
+ x-response-time:
196
+ schema:
197
+ type: integer
198
+ x-tfe-preserve-body:
199
+ schema:
200
+ type: boolean
201
+ x-transaction-id:
202
+ schema:
203
+ type: string
204
+ x-twitter-response-tags:
205
+ schema:
206
+ type: string
207
+ tags:
208
+ - post
209
+ /graphql/{pathQueryId}/CreateTweet:
140
210
  post:
141
211
  description: create Tweet
142
212
  operationId: postCreateTweet
143
213
  parameters:
214
+ - in: path
215
+ name: pathQueryId
216
+ required: true
217
+ schema:
218
+ default: 1RyAhNwby-gzGCRVsMxKbQ
219
+ example: 1RyAhNwby-gzGCRVsMxKbQ
220
+ type: string
144
221
  - in: query
145
222
  name: queryId
146
223
  required: true
@@ -321,80 +398,24 @@ paths:
321
398
  type: string
322
399
  tags:
323
400
  - post
324
- /graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
401
+ /graphql/{pathQueryId}/DeleteRetweet:
325
402
  post:
326
403
  description: delete Retweet
327
- operationId: postDeleteTweet
404
+ operationId: postDeleteRetweet
328
405
  parameters:
329
- - in: query
330
- name: queryId
406
+ - in: path
407
+ name: pathQueryId
331
408
  required: true
332
409
  schema:
333
- default: VaenaVgh5q5ih7kvyVjgtg
334
- example: VaenaVgh5q5ih7kvyVjgtg
410
+ default: iQtK4dl5hBmXewYZuEOKVw
411
+ example: iQtK4dl5hBmXewYZuEOKVw
335
412
  type: string
336
- - in: query
337
- name: variables
338
- required: true
339
- schema:
340
- properties:
341
- dark_request:
342
- default: false
343
- example: false
344
- type: boolean
345
- tweet_id:
346
- default: '1349129669258448897'
347
- example: '1349129669258448897'
348
- type: string
349
- required:
350
- - tweet_id
351
- - dark_request
352
- type: object
353
- responses:
354
- '200':
355
- content:
356
- application/json:
357
- schema:
358
- $ref: '#/components/schemas/DeleteTweetResponse'
359
- description: Successful operation
360
- headers:
361
- x-connection-hash:
362
- schema:
363
- type: string
364
- x-rate-limit-limit:
365
- schema:
366
- type: integer
367
- x-rate-limit-remaining:
368
- schema:
369
- type: integer
370
- x-rate-limit-reset:
371
- schema:
372
- type: integer
373
- x-response-time:
374
- schema:
375
- type: integer
376
- x-tfe-preserve-body:
377
- schema:
378
- type: boolean
379
- x-transaction-id:
380
- schema:
381
- type: string
382
- x-twitter-response-tags:
383
- schema:
384
- type: string
385
- tags:
386
- - post
387
- /graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
388
- post:
389
- description: unfavorite Tweet
390
- operationId: postUnfavoriteTweet
391
- parameters:
392
413
  - in: query
393
414
  name: queryId
394
415
  required: true
395
416
  schema:
396
- default: ZYKSe-w7KEslx3JhSIk5LA
397
- example: ZYKSe-w7KEslx3JhSIk5LA
417
+ default: iQtK4dl5hBmXewYZuEOKVw
418
+ example: iQtK4dl5hBmXewYZuEOKVw
398
419
  type: string
399
420
  - in: query
400
421
  name: variables
@@ -405,12 +426,12 @@ paths:
405
426
  default: false
406
427
  example: false
407
428
  type: boolean
408
- tweet_id:
429
+ source_tweet_id:
409
430
  default: '1349129669258448897'
410
431
  example: '1349129669258448897'
411
432
  type: string
412
433
  required:
413
- - tweet_id
434
+ - source_tweet_id
414
435
  - dark_request
415
436
  type: object
416
437
  responses:
@@ -418,7 +439,7 @@ paths:
418
439
  content:
419
440
  application/json:
420
441
  schema:
421
- $ref: '#/components/schemas/UnfavoriteTweetResponseData'
442
+ $ref: '#/components/schemas/DeleteRetweetResponse'
422
443
  description: Successful operation
423
444
  headers:
424
445
  x-connection-hash:
@@ -447,17 +468,24 @@ paths:
447
468
  type: string
448
469
  tags:
449
470
  - post
450
- /graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
471
+ /graphql/{pathQueryId}/DeleteTweet:
451
472
  post:
452
473
  description: delete Retweet
453
- operationId: postDeleteRetweet
474
+ operationId: postDeleteTweet
454
475
  parameters:
476
+ - in: path
477
+ name: pathQueryId
478
+ required: true
479
+ schema:
480
+ default: VaenaVgh5q5ih7kvyVjgtg
481
+ example: VaenaVgh5q5ih7kvyVjgtg
482
+ type: string
455
483
  - in: query
456
484
  name: queryId
457
485
  required: true
458
486
  schema:
459
- default: iQtK4dl5hBmXewYZuEOKVw
460
- example: iQtK4dl5hBmXewYZuEOKVw
487
+ default: VaenaVgh5q5ih7kvyVjgtg
488
+ example: VaenaVgh5q5ih7kvyVjgtg
461
489
  type: string
462
490
  - in: query
463
491
  name: variables
@@ -468,12 +496,12 @@ paths:
468
496
  default: false
469
497
  example: false
470
498
  type: boolean
471
- source_tweet_id:
499
+ tweet_id:
472
500
  default: '1349129669258448897'
473
501
  example: '1349129669258448897'
474
502
  type: string
475
503
  required:
476
- - source_tweet_id
504
+ - tweet_id
477
505
  - dark_request
478
506
  type: object
479
507
  responses:
@@ -481,7 +509,7 @@ paths:
481
509
  content:
482
510
  application/json:
483
511
  schema:
484
- $ref: '#/components/schemas/DeleteRetweetResponse'
512
+ $ref: '#/components/schemas/DeleteTweetResponse'
485
513
  description: Successful operation
486
514
  headers:
487
515
  x-connection-hash:
@@ -510,11 +538,18 @@ paths:
510
538
  type: string
511
539
  tags:
512
540
  - post
513
- /graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
541
+ /graphql/{pathQueryId}/FavoriteTweet:
514
542
  post:
515
543
  description: favorite Tweet
516
544
  operationId: postFavoriteTweet
517
545
  parameters:
546
+ - in: path
547
+ name: pathQueryId
548
+ required: true
549
+ schema:
550
+ default: lI07N6Otwv1PhnEgXILM7A
551
+ example: lI07N6Otwv1PhnEgXILM7A
552
+ type: string
518
553
  - in: query
519
554
  name: queryId
520
555
  required: true
@@ -573,17 +608,24 @@ paths:
573
608
  type: string
574
609
  tags:
575
610
  - post
576
- /graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
611
+ /graphql/{pathQueryId}/UnfavoriteTweet:
577
612
  post:
578
- description: create Retweet
579
- operationId: postCreateRetweet
613
+ description: unfavorite Tweet
614
+ operationId: postUnfavoriteTweet
580
615
  parameters:
616
+ - in: path
617
+ name: pathQueryId
618
+ required: true
619
+ schema:
620
+ default: ZYKSe-w7KEslx3JhSIk5LA
621
+ example: ZYKSe-w7KEslx3JhSIk5LA
622
+ type: string
581
623
  - in: query
582
624
  name: queryId
583
625
  required: true
584
626
  schema:
585
- default: ojPdsZsimiJrUGLR1sjUtA
586
- example: ojPdsZsimiJrUGLR1sjUtA
627
+ default: ZYKSe-w7KEslx3JhSIk5LA
628
+ example: ZYKSe-w7KEslx3JhSIk5LA
587
629
  type: string
588
630
  - in: query
589
631
  name: variables
@@ -607,7 +649,7 @@ paths:
607
649
  content:
608
650
  application/json:
609
651
  schema:
610
- $ref: '#/components/schemas/CreateRetweetResponse'
652
+ $ref: '#/components/schemas/UnfavoriteTweetResponseData'
611
653
  description: Successful operation
612
654
  headers:
613
655
  x-connection-hash:
@@ -63,47 +63,20 @@ 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
- - content:
72
- application/json:
73
- required:
74
- - '9'
75
- - z
76
- - w
77
- - V
78
- - L
79
- - J
80
- - '4'
81
- - '8'
82
- - l
83
- - m
84
- - V
85
- - U
86
- - k
87
- - '8'
88
- - u
89
- - _
90
- - G
91
- - h
92
- - '9'
93
- - D
94
- - m
95
- - A
96
- schema:
97
- default: 9zwVLJ48lmVUk8u_Gh9DmA
98
- example: 9zwVLJ48lmVUk8u_Gh9DmA
99
- type: string
100
- in: query
101
- name: queryId
71
+ - in: path
72
+ name: pathQueryId
102
73
  required: true
74
+ schema:
75
+ default: 9zwVLJ48lmVUk8u_Gh9DmA
76
+ example: 9zwVLJ48lmVUk8u_Gh9DmA
77
+ type: string
103
78
  - content:
104
79
  application/json:
105
- required:
106
- - screen_name
107
80
  schema:
108
81
  properties:
109
82
  screen_name:
@@ -118,7 +91,6 @@ paths:
118
91
  required: true
119
92
  - content:
120
93
  application/json:
121
- required: []
122
94
  schema:
123
95
  properties: {}
124
96
  type: object
@@ -47,87 +47,49 @@ 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
- - content:
56
- application/json:
57
- required:
58
- - '2'
59
- - T
60
- - e
61
- - m
62
- - L
63
- - y
64
- - q
65
- - r
66
- - M
67
- - p
68
- - T
69
- - e
70
- - A
71
- - m
72
- - y
73
- - s
74
- - d
75
- - b
76
- - n
77
- - V
78
- - q
79
- - w
80
- schema:
81
- default: 2TemLyqrMpTeAmysdbnVqw
82
- example: 2TemLyqrMpTeAmysdbnVqw
83
- type: string
84
- in: query
85
- name: queryId
55
+ - in: path
56
+ name: pathQueryId
86
57
  required: true
58
+ schema:
59
+ default: zhX91JE87mWvfprhYE97xA
60
+ example: zhX91JE87mWvfprhYE97xA
61
+ type: string
87
62
  - content:
88
63
  application/json:
89
- required:
90
- - listId
91
- - count
92
64
  schema:
93
65
  properties:
94
66
  count:
95
67
  default: 20
96
68
  example: 20
97
69
  type: integer
98
- listId:
99
- default: '53044119'
100
- example: '53044119'
70
+ includePromotedContent:
71
+ default: true
72
+ example: true
73
+ type: boolean
74
+ latestControlAvailable:
75
+ default: true
76
+ example: true
77
+ type: boolean
78
+ requestContext:
79
+ default: launch
80
+ example: launch
101
81
  type: string
102
82
  required:
103
- - listId
104
83
  - count
84
+ - includePromotedContent
85
+ - latestControlAvailable
86
+ - requestContext
105
87
  type: object
106
88
  in: query
107
89
  name: variables
108
90
  required: true
109
91
  - content:
110
92
  application/json:
111
- required:
112
- - blue_business_profile_image_shape_enabled
113
- - responsive_web_graphql_exclude_directive_enabled
114
- - verified_phone_label_enabled
115
- - responsive_web_graphql_timeline_navigation_enabled
116
- - responsive_web_graphql_skip_user_profile_image_extensions_enabled
117
- - tweetypie_unmention_optimization_enabled
118
- - vibe_api_enabled
119
- - responsive_web_edit_tweet_api_enabled
120
- - graphql_is_translatable_rweb_tweet_is_translatable_enabled
121
- - view_counts_everywhere_api_enabled
122
- - longform_notetweets_consumption_enabled
123
- - tweet_awards_web_tipping_enabled
124
- - freedom_of_speech_not_reach_fetch_enabled
125
- - standardized_nudges_misinfo
126
- - tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled
127
- - interactive_text_enabled
128
- - responsive_web_text_conversations_enabled
129
- - longform_notetweets_rich_text_read_enabled
130
- - responsive_web_enhance_cards_enabled
131
93
  schema:
132
94
  properties:
133
95
  blue_business_profile_image_shape_enabled:
@@ -235,7 +197,7 @@ paths:
235
197
  content:
236
198
  application/json:
237
199
  schema:
238
- $ref: '#/components/schemas/ListTweetsTimelineResponse'
200
+ $ref: '#/components/schemas/TimelineResponse'
239
201
  description: Successful operation
240
202
  headers:
241
203
  x-connection-hash:
@@ -264,51 +226,20 @@ paths:
264
226
  type: string
265
227
  tags:
266
228
  - tweet
267
- /graphql/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
229
+ /graphql/{pathQueryId}/HomeTimeline:
268
230
  get:
269
231
  description: get tweet list of timeline
270
232
  operationId: getHomeTimeline
271
233
  parameters:
272
- - content:
273
- application/json:
274
- required:
275
- - H
276
- - C
277
- - o
278
- - s
279
- - K
280
- - f
281
- - L
282
- - N
283
- - W
284
- - '1'
285
- - A
286
- - c
287
- - O
288
- - o
289
- - '3'
290
- - l
291
- - a
292
- - '3'
293
- - m
294
- - M
295
- - g
296
- - g
297
- schema:
298
- default: HCosKfLNW1AcOo3la3mMgg
299
- example: HCosKfLNW1AcOo3la3mMgg
300
- type: string
301
- in: query
302
- name: queryId
234
+ - in: path
235
+ name: pathQueryId
303
236
  required: true
237
+ schema:
238
+ default: HCosKfLNW1AcOo3la3mMgg
239
+ example: HCosKfLNW1AcOo3la3mMgg
240
+ type: string
304
241
  - content:
305
242
  application/json:
306
- required:
307
- - count
308
- - includePromotedContent
309
- - latestControlAvailable
310
- - requestContext
311
- - withCommunity
312
243
  schema:
313
244
  properties:
314
245
  count:
@@ -343,26 +274,6 @@ paths:
343
274
  required: true
344
275
  - content:
345
276
  application/json:
346
- required:
347
- - blue_business_profile_image_shape_enabled
348
- - responsive_web_graphql_exclude_directive_enabled
349
- - verified_phone_label_enabled
350
- - responsive_web_graphql_timeline_navigation_enabled
351
- - responsive_web_graphql_skip_user_profile_image_extensions_enabled
352
- - tweetypie_unmention_optimization_enabled
353
- - vibe_api_enabled
354
- - responsive_web_edit_tweet_api_enabled
355
- - graphql_is_translatable_rweb_tweet_is_translatable_enabled
356
- - view_counts_everywhere_api_enabled
357
- - longform_notetweets_consumption_enabled
358
- - tweet_awards_web_tipping_enabled
359
- - freedom_of_speech_not_reach_fetch_enabled
360
- - standardized_nudges_misinfo
361
- - tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled
362
- - interactive_text_enabled
363
- - responsive_web_text_conversations_enabled
364
- - longform_notetweets_rich_text_read_enabled
365
- - responsive_web_enhance_cards_enabled
366
277
  schema:
367
278
  properties:
368
279
  blue_business_profile_image_shape_enabled:
@@ -499,99 +410,39 @@ paths:
499
410
  type: string
500
411
  tags:
501
412
  - tweet
502
- /graphql/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
413
+ /graphql/{pathQueryId}/ListLatestTweetsTimeline:
503
414
  get:
504
415
  description: get tweet list of timeline
505
- operationId: getHomeLatestTimeline
416
+ operationId: getListLatestTweetsTimeline
506
417
  parameters:
507
- - content:
508
- application/json:
509
- required:
510
- - z
511
- - h
512
- - X
513
- - '9'
514
- - '1'
515
- - J
516
- - E
517
- - '8'
518
- - '7'
519
- - m
520
- - W
521
- - v
522
- - f
523
- - p
524
- - r
525
- - h
526
- - Y
527
- - E
528
- - '9'
529
- - '7'
530
- - x
531
- - A
532
- schema:
533
- default: zhX91JE87mWvfprhYE97xA
534
- example: zhX91JE87mWvfprhYE97xA
535
- type: string
536
- in: query
537
- name: queryId
418
+ - in: path
419
+ name: pathQueryId
538
420
  required: true
421
+ schema:
422
+ default: 2TemLyqrMpTeAmysdbnVqw
423
+ example: 2TemLyqrMpTeAmysdbnVqw
424
+ type: string
539
425
  - content:
540
426
  application/json:
541
- required:
542
- - count
543
- - includePromotedContent
544
- - latestControlAvailable
545
- - requestContext
546
427
  schema:
547
428
  properties:
548
429
  count:
549
430
  default: 20
550
431
  example: 20
551
432
  type: integer
552
- includePromotedContent:
553
- default: true
554
- example: true
555
- type: boolean
556
- latestControlAvailable:
557
- default: true
558
- example: true
559
- type: boolean
560
- requestContext:
561
- default: launch
562
- example: launch
433
+ listId:
434
+ default: '53044119'
435
+ example: '53044119'
563
436
  type: string
564
437
  required:
438
+ - listId
565
439
  - count
566
- - includePromotedContent
567
- - latestControlAvailable
568
- - requestContext
569
440
  type: object
570
441
  in: query
571
442
  name: variables
572
443
  required: true
573
444
  - content:
574
445
  application/json:
575
- required:
576
- - blue_business_profile_image_shape_enabled
577
- - responsive_web_graphql_exclude_directive_enabled
578
- - verified_phone_label_enabled
579
- - responsive_web_graphql_timeline_navigation_enabled
580
- - responsive_web_graphql_skip_user_profile_image_extensions_enabled
581
- - tweetypie_unmention_optimization_enabled
582
- - vibe_api_enabled
583
- - responsive_web_edit_tweet_api_enabled
584
- - graphql_is_translatable_rweb_tweet_is_translatable_enabled
585
- - view_counts_everywhere_api_enabled
586
- - longform_notetweets_consumption_enabled
587
- - tweet_awards_web_tipping_enabled
588
- - freedom_of_speech_not_reach_fetch_enabled
589
- - standardized_nudges_misinfo
590
- - tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled
591
- - interactive_text_enabled
592
- - responsive_web_text_conversations_enabled
593
- - longform_notetweets_rich_text_read_enabled
594
- - responsive_web_enhance_cards_enabled
595
446
  schema:
596
447
  properties:
597
448
  blue_business_profile_image_shape_enabled:
@@ -699,7 +550,7 @@ paths:
699
550
  content:
700
551
  application/json:
701
552
  schema:
702
- $ref: '#/components/schemas/TimelineResponse'
553
+ $ref: '#/components/schemas/ListTweetsTimelineResponse'
703
554
  description: Successful operation
704
555
  headers:
705
556
  x-connection-hash: