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,7 +136,110 @@ 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: header
145
+ name: user-agent
146
+ required: true
147
+ schema:
148
+ default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
149
+ like Gecko) Chrome/112.0.0.0 Safari/537.36
150
+ description: UserAgent, some APIs may be rejected if changed.
151
+ type: string
152
+ - in: header
153
+ name: authorization
154
+ required: true
155
+ schema:
156
+ default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
157
+ description: It is a constant value and does not need to be changed.
158
+ type: string
159
+ - in: header
160
+ name: x-twitter-active-user
161
+ required: true
162
+ schema:
163
+ default: 'yes'
164
+ description: Unknown what this value means.
165
+ type: string
166
+ - in: header
167
+ name: x-twitter-client-language
168
+ required: true
169
+ schema:
170
+ default: en
171
+ description: language code.
172
+ type: string
173
+ - in: path
174
+ name: pathQueryId
175
+ required: true
176
+ schema:
177
+ default: ojPdsZsimiJrUGLR1sjUtA
178
+ example: ojPdsZsimiJrUGLR1sjUtA
179
+ type: string
180
+ requestBody:
181
+ content:
182
+ application/json:
183
+ schema:
184
+ properties:
185
+ queryId:
186
+ default: ojPdsZsimiJrUGLR1sjUtA
187
+ example: ojPdsZsimiJrUGLR1sjUtA
188
+ type: string
189
+ variables:
190
+ properties:
191
+ dark_request:
192
+ default: false
193
+ example: false
194
+ type: boolean
195
+ tweet_id:
196
+ default: '1349129669258448897'
197
+ example: '1349129669258448897'
198
+ type: string
199
+ required:
200
+ - tweet_id
201
+ - dark_request
202
+ type: object
203
+ required:
204
+ - queryId
205
+ - variables
206
+ description: body
207
+ required: true
208
+ responses:
209
+ '200':
210
+ content:
211
+ application/json:
212
+ schema:
213
+ $ref: '#/components/schemas/CreateRetweetResponse'
214
+ description: Successful operation
215
+ headers:
216
+ x-connection-hash:
217
+ schema:
218
+ type: string
219
+ x-rate-limit-limit:
220
+ schema:
221
+ type: integer
222
+ x-rate-limit-remaining:
223
+ schema:
224
+ type: integer
225
+ x-rate-limit-reset:
226
+ schema:
227
+ type: integer
228
+ x-response-time:
229
+ schema:
230
+ type: integer
231
+ x-tfe-preserve-body:
232
+ schema:
233
+ type: boolean
234
+ x-transaction-id:
235
+ schema:
236
+ type: string
237
+ x-twitter-response-tags:
238
+ schema:
239
+ type: string
240
+ tags:
241
+ - post
242
+ /graphql/{pathQueryId}/CreateTweet:
140
243
  post:
141
244
  description: create Tweet
142
245
  operationId: postCreateTweet
@@ -170,6 +273,13 @@ paths:
170
273
  default: en
171
274
  description: language code.
172
275
  type: string
276
+ - in: path
277
+ name: pathQueryId
278
+ required: true
279
+ schema:
280
+ default: 1RyAhNwby-gzGCRVsMxKbQ
281
+ example: 1RyAhNwby-gzGCRVsMxKbQ
282
+ type: string
173
283
  requestBody:
174
284
  content:
175
285
  application/json:
@@ -352,10 +462,10 @@ paths:
352
462
  type: string
353
463
  tags:
354
464
  - post
355
- /graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
465
+ /graphql/{pathQueryId}/DeleteRetweet:
356
466
  post:
357
467
  description: delete Retweet
358
- operationId: postDeleteTweet
468
+ operationId: postDeleteRetweet
359
469
  parameters:
360
470
  - in: header
361
471
  name: user-agent
@@ -386,101 +496,12 @@ paths:
386
496
  default: en
387
497
  description: language code.
388
498
  type: string
389
- requestBody:
390
- content:
391
- application/json:
392
- schema:
393
- properties:
394
- queryId:
395
- default: VaenaVgh5q5ih7kvyVjgtg
396
- example: VaenaVgh5q5ih7kvyVjgtg
397
- type: string
398
- variables:
399
- properties:
400
- dark_request:
401
- default: false
402
- example: false
403
- type: boolean
404
- tweet_id:
405
- default: '1349129669258448897'
406
- example: '1349129669258448897'
407
- type: string
408
- required:
409
- - tweet_id
410
- - dark_request
411
- type: object
412
- required:
413
- - queryId
414
- - variables
415
- description: body
416
- required: true
417
- responses:
418
- '200':
419
- content:
420
- application/json:
421
- schema:
422
- $ref: '#/components/schemas/DeleteTweetResponse'
423
- description: Successful operation
424
- headers:
425
- x-connection-hash:
426
- schema:
427
- type: string
428
- x-rate-limit-limit:
429
- schema:
430
- type: integer
431
- x-rate-limit-remaining:
432
- schema:
433
- type: integer
434
- x-rate-limit-reset:
435
- schema:
436
- type: integer
437
- x-response-time:
438
- schema:
439
- type: integer
440
- x-tfe-preserve-body:
441
- schema:
442
- type: boolean
443
- x-transaction-id:
444
- schema:
445
- type: string
446
- x-twitter-response-tags:
447
- schema:
448
- type: string
449
- tags:
450
- - post
451
- /graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
452
- post:
453
- description: unfavorite Tweet
454
- operationId: postUnfavoriteTweet
455
- parameters:
456
- - in: header
457
- name: user-agent
458
- required: true
459
- schema:
460
- default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
461
- like Gecko) Chrome/112.0.0.0 Safari/537.36
462
- description: UserAgent, some APIs may be rejected if changed.
463
- type: string
464
- - in: header
465
- name: authorization
466
- required: true
467
- schema:
468
- default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
469
- description: It is a constant value and does not need to be changed.
470
- type: string
471
- - in: header
472
- name: x-twitter-active-user
473
- required: true
474
- schema:
475
- default: 'yes'
476
- description: Unknown what this value means.
477
- type: string
478
- - in: header
479
- name: x-twitter-client-language
499
+ - in: path
500
+ name: pathQueryId
480
501
  required: true
481
502
  schema:
482
- default: en
483
- description: language code.
503
+ default: iQtK4dl5hBmXewYZuEOKVw
504
+ example: iQtK4dl5hBmXewYZuEOKVw
484
505
  type: string
485
506
  requestBody:
486
507
  content:
@@ -488,8 +509,8 @@ paths:
488
509
  schema:
489
510
  properties:
490
511
  queryId:
491
- default: ZYKSe-w7KEslx3JhSIk5LA
492
- example: ZYKSe-w7KEslx3JhSIk5LA
512
+ default: iQtK4dl5hBmXewYZuEOKVw
513
+ example: iQtK4dl5hBmXewYZuEOKVw
493
514
  type: string
494
515
  variables:
495
516
  properties:
@@ -497,12 +518,12 @@ paths:
497
518
  default: false
498
519
  example: false
499
520
  type: boolean
500
- tweet_id:
521
+ source_tweet_id:
501
522
  default: '1349129669258448897'
502
523
  example: '1349129669258448897'
503
524
  type: string
504
525
  required:
505
- - tweet_id
526
+ - source_tweet_id
506
527
  - dark_request
507
528
  type: object
508
529
  required:
@@ -515,7 +536,7 @@ paths:
515
536
  content:
516
537
  application/json:
517
538
  schema:
518
- $ref: '#/components/schemas/UnfavoriteTweetResponseData'
539
+ $ref: '#/components/schemas/DeleteRetweetResponse'
519
540
  description: Successful operation
520
541
  headers:
521
542
  x-connection-hash:
@@ -544,10 +565,10 @@ paths:
544
565
  type: string
545
566
  tags:
546
567
  - post
547
- /graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
568
+ /graphql/{pathQueryId}/DeleteTweet:
548
569
  post:
549
570
  description: delete Retweet
550
- operationId: postDeleteRetweet
571
+ operationId: postDeleteTweet
551
572
  parameters:
552
573
  - in: header
553
574
  name: user-agent
@@ -578,14 +599,21 @@ paths:
578
599
  default: en
579
600
  description: language code.
580
601
  type: string
602
+ - in: path
603
+ name: pathQueryId
604
+ required: true
605
+ schema:
606
+ default: VaenaVgh5q5ih7kvyVjgtg
607
+ example: VaenaVgh5q5ih7kvyVjgtg
608
+ type: string
581
609
  requestBody:
582
610
  content:
583
611
  application/json:
584
612
  schema:
585
613
  properties:
586
614
  queryId:
587
- default: iQtK4dl5hBmXewYZuEOKVw
588
- example: iQtK4dl5hBmXewYZuEOKVw
615
+ default: VaenaVgh5q5ih7kvyVjgtg
616
+ example: VaenaVgh5q5ih7kvyVjgtg
589
617
  type: string
590
618
  variables:
591
619
  properties:
@@ -593,12 +621,12 @@ paths:
593
621
  default: false
594
622
  example: false
595
623
  type: boolean
596
- source_tweet_id:
624
+ tweet_id:
597
625
  default: '1349129669258448897'
598
626
  example: '1349129669258448897'
599
627
  type: string
600
628
  required:
601
- - source_tweet_id
629
+ - tweet_id
602
630
  - dark_request
603
631
  type: object
604
632
  required:
@@ -611,7 +639,7 @@ paths:
611
639
  content:
612
640
  application/json:
613
641
  schema:
614
- $ref: '#/components/schemas/DeleteRetweetResponse'
642
+ $ref: '#/components/schemas/DeleteTweetResponse'
615
643
  description: Successful operation
616
644
  headers:
617
645
  x-connection-hash:
@@ -640,7 +668,7 @@ paths:
640
668
  type: string
641
669
  tags:
642
670
  - post
643
- /graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
671
+ /graphql/{pathQueryId}/FavoriteTweet:
644
672
  post:
645
673
  description: favorite Tweet
646
674
  operationId: postFavoriteTweet
@@ -674,6 +702,13 @@ paths:
674
702
  default: en
675
703
  description: language code.
676
704
  type: string
705
+ - in: path
706
+ name: pathQueryId
707
+ required: true
708
+ schema:
709
+ default: lI07N6Otwv1PhnEgXILM7A
710
+ example: lI07N6Otwv1PhnEgXILM7A
711
+ type: string
677
712
  requestBody:
678
713
  content:
679
714
  application/json:
@@ -736,10 +771,10 @@ paths:
736
771
  type: string
737
772
  tags:
738
773
  - post
739
- /graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
774
+ /graphql/{pathQueryId}/UnfavoriteTweet:
740
775
  post:
741
- description: create Retweet
742
- operationId: postCreateRetweet
776
+ description: unfavorite Tweet
777
+ operationId: postUnfavoriteTweet
743
778
  parameters:
744
779
  - in: header
745
780
  name: user-agent
@@ -770,14 +805,21 @@ paths:
770
805
  default: en
771
806
  description: language code.
772
807
  type: string
808
+ - in: path
809
+ name: pathQueryId
810
+ required: true
811
+ schema:
812
+ default: ZYKSe-w7KEslx3JhSIk5LA
813
+ example: ZYKSe-w7KEslx3JhSIk5LA
814
+ type: string
773
815
  requestBody:
774
816
  content:
775
817
  application/json:
776
818
  schema:
777
819
  properties:
778
820
  queryId:
779
- default: ojPdsZsimiJrUGLR1sjUtA
780
- example: ojPdsZsimiJrUGLR1sjUtA
821
+ default: ZYKSe-w7KEslx3JhSIk5LA
822
+ example: ZYKSe-w7KEslx3JhSIk5LA
781
823
  type: string
782
824
  variables:
783
825
  properties:
@@ -803,7 +845,7 @@ paths:
803
845
  content:
804
846
  application/json:
805
847
  schema:
806
- $ref: '#/components/schemas/CreateRetweetResponse'
848
+ $ref: '#/components/schemas/UnfavoriteTweetResponseData'
807
849
  description: Successful operation
808
850
  headers:
809
851
  x-connection-hash:
@@ -63,7 +63,7 @@ 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
@@ -97,6 +97,13 @@ paths:
97
97
  default: en
98
98
  description: language code.
99
99
  type: string
100
+ - in: path
101
+ name: pathQueryId
102
+ required: true
103
+ schema:
104
+ default: 9zwVLJ48lmVUk8u_Gh9DmA
105
+ example: 9zwVLJ48lmVUk8u_Gh9DmA
106
+ type: string
100
107
  - in: query
101
108
  name: queryId
102
109
  required: true
@@ -47,10 +47,10 @@ 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
55
  - in: header
56
56
  name: user-agent
@@ -81,19 +81,28 @@ paths:
81
81
  default: en
82
82
  description: language code.
83
83
  type: string
84
+ - in: path
85
+ name: pathQueryId
86
+ required: true
87
+ schema:
88
+ default: zhX91JE87mWvfprhYE97xA
89
+ example: zhX91JE87mWvfprhYE97xA
90
+ type: string
84
91
  - in: query
85
92
  name: queryId
86
93
  required: true
87
94
  schema:
88
- default: '"2TemLyqrMpTeAmysdbnVqw"'
89
- example: '"2TemLyqrMpTeAmysdbnVqw"'
95
+ default: '"zhX91JE87mWvfprhYE97xA"'
96
+ example: '"zhX91JE87mWvfprhYE97xA"'
90
97
  type: string
91
98
  - in: query
92
99
  name: variables
93
100
  required: true
94
101
  schema:
95
- default: '{"listId": "53044119", "count": 20}'
96
- example: '{"listId": "53044119", "count": 20}'
102
+ default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
103
+ true, "requestContext": "launch"}'
104
+ example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
105
+ true, "requestContext": "launch"}'
97
106
  type: string
98
107
  - in: query
99
108
  name: features
@@ -127,7 +136,7 @@ paths:
127
136
  content:
128
137
  application/json:
129
138
  schema:
130
- $ref: '#/components/schemas/ListTweetsTimelineResponse'
139
+ $ref: '#/components/schemas/TimelineResponse'
131
140
  description: Successful operation
132
141
  headers:
133
142
  x-connection-hash:
@@ -156,7 +165,7 @@ paths:
156
165
  type: string
157
166
  tags:
158
167
  - tweet
159
- /graphql/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
168
+ /graphql/{pathQueryId}/HomeTimeline:
160
169
  get:
161
170
  description: get tweet list of timeline
162
171
  operationId: getHomeTimeline
@@ -190,6 +199,13 @@ paths:
190
199
  default: en
191
200
  description: language code.
192
201
  type: string
202
+ - in: path
203
+ name: pathQueryId
204
+ required: true
205
+ schema:
206
+ default: HCosKfLNW1AcOo3la3mMgg
207
+ example: HCosKfLNW1AcOo3la3mMgg
208
+ type: string
193
209
  - in: query
194
210
  name: queryId
195
211
  required: true
@@ -267,10 +283,10 @@ paths:
267
283
  type: string
268
284
  tags:
269
285
  - tweet
270
- /graphql/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
286
+ /graphql/{pathQueryId}/ListLatestTweetsTimeline:
271
287
  get:
272
288
  description: get tweet list of timeline
273
- operationId: getHomeLatestTimeline
289
+ operationId: getListLatestTweetsTimeline
274
290
  parameters:
275
291
  - in: header
276
292
  name: user-agent
@@ -301,21 +317,26 @@ paths:
301
317
  default: en
302
318
  description: language code.
303
319
  type: string
320
+ - in: path
321
+ name: pathQueryId
322
+ required: true
323
+ schema:
324
+ default: 2TemLyqrMpTeAmysdbnVqw
325
+ example: 2TemLyqrMpTeAmysdbnVqw
326
+ type: string
304
327
  - in: query
305
328
  name: queryId
306
329
  required: true
307
330
  schema:
308
- default: '"zhX91JE87mWvfprhYE97xA"'
309
- example: '"zhX91JE87mWvfprhYE97xA"'
331
+ default: '"2TemLyqrMpTeAmysdbnVqw"'
332
+ example: '"2TemLyqrMpTeAmysdbnVqw"'
310
333
  type: string
311
334
  - in: query
312
335
  name: variables
313
336
  required: true
314
337
  schema:
315
- default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
316
- true, "requestContext": "launch"}'
317
- example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
318
- true, "requestContext": "launch"}'
338
+ default: '{"listId": "53044119", "count": 20}'
339
+ example: '{"listId": "53044119", "count": 20}'
319
340
  type: string
320
341
  - in: query
321
342
  name: features
@@ -349,7 +370,7 @@ paths:
349
370
  content:
350
371
  application/json:
351
372
  schema:
352
- $ref: '#/components/schemas/TimelineResponse'
373
+ $ref: '#/components/schemas/ListTweetsTimelineResponse'
353
374
  description: Successful operation
354
375
  headers:
355
376
  x-connection-hash:
@@ -17,7 +17,7 @@ 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
@@ -51,6 +51,13 @@ paths:
51
51
  default: en
52
52
  description: language code.
53
53
  type: string
54
+ - in: path
55
+ name: pathQueryId
56
+ required: true
57
+ schema:
58
+ default: wNNG8DBB8EaXw1lq4vFWGA
59
+ example: wNNG8DBB8EaXw1lq4vFWGA
60
+ type: string
54
61
  - in: query
55
62
  name: queryId
56
63
  required: true
@@ -17,7 +17,7 @@ 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
@@ -51,6 +51,13 @@ paths:
51
51
  default: en
52
52
  description: language code.
53
53
  type: string
54
+ - in: path
55
+ name: pathQueryId
56
+ required: true
57
+ schema:
58
+ default: sLVLhk0bGj3MVFEKTdax1w
59
+ example: sLVLhk0bGj3MVFEKTdax1w
60
+ type: string
54
61
  - in: query
55
62
  name: queryId
56
63
  required: true