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,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,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
  - content:
72
79
  application/json:
73
80
  required:
@@ -47,39 +47,46 @@ 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
  - content:
56
63
  application/json:
57
64
  required:
58
- - '2'
59
- - T
60
- - e
65
+ - z
66
+ - h
67
+ - X
68
+ - '9'
69
+ - '1'
70
+ - J
71
+ - E
72
+ - '8'
73
+ - '7'
61
74
  - m
62
- - L
63
- - y
64
- - q
65
- - r
66
- - M
75
+ - W
76
+ - v
77
+ - f
67
78
  - p
68
- - T
69
- - e
79
+ - r
80
+ - h
81
+ - Y
82
+ - E
83
+ - '9'
84
+ - '7'
85
+ - x
70
86
  - A
71
- - m
72
- - y
73
- - s
74
- - d
75
- - b
76
- - n
77
- - V
78
- - q
79
- - w
80
87
  schema:
81
- default: 2TemLyqrMpTeAmysdbnVqw
82
- example: 2TemLyqrMpTeAmysdbnVqw
88
+ default: zhX91JE87mWvfprhYE97xA
89
+ example: zhX91JE87mWvfprhYE97xA
83
90
  type: string
84
91
  in: query
85
92
  name: queryId
@@ -87,21 +94,33 @@ paths:
87
94
  - content:
88
95
  application/json:
89
96
  required:
90
- - listId
91
97
  - count
98
+ - includePromotedContent
99
+ - latestControlAvailable
100
+ - requestContext
92
101
  schema:
93
102
  properties:
94
103
  count:
95
104
  default: 20
96
105
  example: 20
97
106
  type: integer
98
- listId:
99
- default: '53044119'
100
- example: '53044119'
107
+ includePromotedContent:
108
+ default: true
109
+ example: true
110
+ type: boolean
111
+ latestControlAvailable:
112
+ default: true
113
+ example: true
114
+ type: boolean
115
+ requestContext:
116
+ default: launch
117
+ example: launch
101
118
  type: string
102
119
  required:
103
- - listId
104
120
  - count
121
+ - includePromotedContent
122
+ - latestControlAvailable
123
+ - requestContext
105
124
  type: object
106
125
  in: query
107
126
  name: variables
@@ -235,7 +254,7 @@ paths:
235
254
  content:
236
255
  application/json:
237
256
  schema:
238
- $ref: '#/components/schemas/ListTweetsTimelineResponse'
257
+ $ref: '#/components/schemas/TimelineResponse'
239
258
  description: Successful operation
240
259
  headers:
241
260
  x-connection-hash:
@@ -264,11 +283,18 @@ paths:
264
283
  type: string
265
284
  tags:
266
285
  - tweet
267
- /graphql/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
286
+ /graphql/{pathQueryId}/HomeTimeline:
268
287
  get:
269
288
  description: get tweet list of timeline
270
289
  operationId: getHomeTimeline
271
290
  parameters:
291
+ - in: path
292
+ name: pathQueryId
293
+ required: true
294
+ schema:
295
+ default: HCosKfLNW1AcOo3la3mMgg
296
+ example: HCosKfLNW1AcOo3la3mMgg
297
+ type: string
272
298
  - content:
273
299
  application/json:
274
300
  required:
@@ -499,39 +525,46 @@ paths:
499
525
  type: string
500
526
  tags:
501
527
  - tweet
502
- /graphql/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
528
+ /graphql/{pathQueryId}/ListLatestTweetsTimeline:
503
529
  get:
504
530
  description: get tweet list of timeline
505
- operationId: getHomeLatestTimeline
531
+ operationId: getListLatestTweetsTimeline
506
532
  parameters:
533
+ - in: path
534
+ name: pathQueryId
535
+ required: true
536
+ schema:
537
+ default: 2TemLyqrMpTeAmysdbnVqw
538
+ example: 2TemLyqrMpTeAmysdbnVqw
539
+ type: string
507
540
  - content:
508
541
  application/json:
509
542
  required:
510
- - z
511
- - h
512
- - X
513
- - '9'
514
- - '1'
515
- - J
516
- - E
517
- - '8'
518
- - '7'
543
+ - '2'
544
+ - T
545
+ - e
519
546
  - m
520
- - W
521
- - v
522
- - f
523
- - p
547
+ - L
548
+ - y
549
+ - q
524
550
  - r
525
- - h
526
- - Y
527
- - E
528
- - '9'
529
- - '7'
530
- - x
551
+ - M
552
+ - p
553
+ - T
554
+ - e
531
555
  - A
556
+ - m
557
+ - y
558
+ - s
559
+ - d
560
+ - b
561
+ - n
562
+ - V
563
+ - q
564
+ - w
532
565
  schema:
533
- default: zhX91JE87mWvfprhYE97xA
534
- example: zhX91JE87mWvfprhYE97xA
566
+ default: 2TemLyqrMpTeAmysdbnVqw
567
+ example: 2TemLyqrMpTeAmysdbnVqw
535
568
  type: string
536
569
  in: query
537
570
  name: queryId
@@ -539,33 +572,21 @@ paths:
539
572
  - content:
540
573
  application/json:
541
574
  required:
575
+ - listId
542
576
  - count
543
- - includePromotedContent
544
- - latestControlAvailable
545
- - requestContext
546
577
  schema:
547
578
  properties:
548
579
  count:
549
580
  default: 20
550
581
  example: 20
551
582
  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
583
+ listId:
584
+ default: '53044119'
585
+ example: '53044119'
563
586
  type: string
564
587
  required:
588
+ - listId
565
589
  - count
566
- - includePromotedContent
567
- - latestControlAvailable
568
- - requestContext
569
590
  type: object
570
591
  in: query
571
592
  name: variables
@@ -699,7 +720,7 @@ paths:
699
720
  content:
700
721
  application/json:
701
722
  schema:
702
- $ref: '#/components/schemas/TimelineResponse'
723
+ $ref: '#/components/schemas/ListTweetsTimelineResponse'
703
724
  description: Successful operation
704
725
  headers:
705
726
  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
  - content:
26
33
  application/json:
27
34
  required:
@@ -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
  - content:
26
33
  application/json:
27
34
  required: