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.
- package/.openapi-generator/FILES +6 -1
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +1 -0
- package/dist/apis/DefaultApi.d.ts.map +1 -1
- package/dist/apis/DefaultApi.js +4 -1
- package/dist/apis/DefaultApi.js.map +1 -1
- package/dist/apis/PostApi.d.ts +6 -0
- package/dist/apis/PostApi.d.ts.map +1 -1
- package/dist/apis/PostApi.js +24 -6
- package/dist/apis/PostApi.js.map +1 -1
- package/dist/apis/TweetApi.d.ts +9 -0
- package/dist/apis/TweetApi.d.ts.map +1 -1
- package/dist/apis/TweetApi.js +36 -9
- package/dist/apis/TweetApi.js.map +1 -1
- package/dist/apis/UserApi.d.ts +1 -0
- package/dist/apis/UserApi.d.ts.map +1 -1
- package/dist/apis/UserApi.js +4 -1
- package/dist/apis/UserApi.js.map +1 -1
- package/dist/apis/UserListApi.d.ts +2 -0
- package/dist/apis/UserListApi.d.ts.map +1 -1
- package/dist/apis/UserListApi.js +8 -2
- package/dist/apis/UserListApi.js.map +1 -1
- package/dist/models/Entities.d.ts +3 -2
- package/dist/models/Entities.d.ts.map +1 -1
- package/dist/models/Entities.js +3 -2
- package/dist/models/Entities.js.map +1 -1
- package/dist/models/PostCreateRetweetRequest.d.ts +3 -3
- package/dist/models/PostCreateRetweetRequest.d.ts.map +1 -1
- package/dist/models/PostCreateRetweetRequest.js +3 -3
- package/dist/models/PostCreateRetweetRequest.js.map +1 -1
- package/dist/models/PostCreateRetweetRequestVariables.d.ts +38 -0
- package/dist/models/PostCreateRetweetRequestVariables.d.ts.map +1 -0
- package/dist/models/PostCreateRetweetRequestVariables.js +54 -0
- package/dist/models/PostCreateRetweetRequestVariables.js.map +1 -0
- package/dist/models/PostDeleteTweetRequest.d.ts +3 -3
- package/dist/models/PostDeleteTweetRequest.d.ts.map +1 -1
- package/dist/models/PostDeleteTweetRequest.js +3 -3
- package/dist/models/PostDeleteTweetRequest.js.map +1 -1
- package/dist/models/PostFavoriteTweetRequest.d.ts +3 -3
- package/dist/models/PostFavoriteTweetRequest.d.ts.map +1 -1
- package/dist/models/PostFavoriteTweetRequest.js +3 -3
- package/dist/models/PostFavoriteTweetRequest.js.map +1 -1
- package/dist/models/PostUnfavoriteTweetRequest.d.ts +3 -3
- package/dist/models/PostUnfavoriteTweetRequest.d.ts.map +1 -1
- package/dist/models/PostUnfavoriteTweetRequest.js +3 -3
- package/dist/models/PostUnfavoriteTweetRequest.js.map +1 -1
- package/dist/models/Tweet.d.ts +7 -0
- package/dist/models/Tweet.d.ts.map +1 -1
- package/dist/models/Tweet.js +3 -0
- package/dist/models/Tweet.js.map +1 -1
- package/dist/models/TweetCard.d.ts +39 -0
- package/dist/models/TweetCard.d.ts.map +1 -0
- package/dist/models/TweetCard.js +54 -0
- package/dist/models/TweetCard.js.map +1 -0
- package/dist/models/TweetCardLegacy.d.ts +45 -0
- package/dist/models/TweetCardLegacy.d.ts.map +1 -0
- package/dist/models/TweetCardLegacy.js +58 -0
- package/dist/models/TweetCardLegacy.js.map +1 -0
- package/dist/models/TweetCardLegacyBindingValuesInner.d.ts +39 -0
- package/dist/models/TweetCardLegacyBindingValuesInner.d.ts.map +1 -0
- package/dist/models/TweetCardLegacyBindingValuesInner.js +55 -0
- package/dist/models/TweetCardLegacyBindingValuesInner.js.map +1 -0
- package/dist/models/TweetCardLegacyBindingValuesInnerValue.d.ts +50 -0
- package/dist/models/TweetCardLegacyBindingValuesInnerValue.d.ts.map +1 -0
- package/dist/models/TweetCardLegacyBindingValuesInnerValue.js +58 -0
- package/dist/models/TweetCardLegacyBindingValuesInnerValue.js.map +1 -0
- package/dist/models/Url.d.ts +50 -0
- package/dist/models/Url.d.ts.map +1 -0
- package/dist/models/Url.js +60 -0
- package/dist/models/Url.js.map +1 -0
- package/dist/models/index.d.ts +6 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +6 -1
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +6 -1
- package/src/apis/PostApi.ts +36 -6
- package/src/apis/TweetApi.ts +54 -9
- package/src/apis/UserApi.ts +6 -1
- package/src/apis/UserListApi.ts +12 -2
- package/src/models/Entities.ts +10 -4
- package/src/models/PostCreateRetweetRequest.ts +9 -9
- package/src/models/{PostDeleteTweetRequestVariables.ts → PostCreateRetweetRequestVariables.ts} +10 -10
- package/src/models/PostDeleteTweetRequest.ts +9 -9
- package/src/models/PostFavoriteTweetRequest.ts +9 -9
- package/src/models/PostUnfavoriteTweetRequest.ts +9 -9
- package/src/models/Tweet.ts +14 -0
- package/src/models/TweetCard.ts +80 -0
- package/src/models/TweetCardLegacy.ts +91 -0
- package/src/models/TweetCardLegacyBindingValuesInner.ts +82 -0
- package/src/models/TweetCardLegacyBindingValuesInnerValue.ts +90 -0
- package/src/models/Url.ts +93 -0
- package/src/models/index.ts +6 -1
- package/tools/openapi-generator-config.yaml +1 -1
- package/tools/win/replace.py +20 -20
- package/twitter-openapi/README.md +4 -6
- package/twitter-openapi/dist/dart/openapi-3.0.yaml +38 -38
- package/twitter-openapi/dist/dart/paths/bookmarks.yaml +8 -1
- package/twitter-openapi/dist/dart/paths/follow.yaml +24 -10
- package/twitter-openapi/dist/dart/paths/post.yaml +157 -115
- package/twitter-openapi/dist/dart/paths/profile.yaml +8 -1
- package/twitter-openapi/dist/dart/paths/timeline.yaml +38 -17
- package/twitter-openapi/dist/dart/paths/tweet.yaml +8 -1
- package/twitter-openapi/dist/dart/paths/user.yaml +8 -1
- package/twitter-openapi/dist/dart/paths/usertweets.yaml +54 -26
- package/twitter-openapi/dist/dart/resources/parameters.yaml +13 -0
- package/twitter-openapi/dist/dart/schemas/tweet.yaml +57 -0
- package/twitter-openapi/dist/docs/openapi-3.0.yaml +38 -38
- package/twitter-openapi/dist/docs/paths/bookmarks.yaml +8 -1
- package/twitter-openapi/dist/docs/paths/follow.yaml +60 -46
- package/twitter-openapi/dist/docs/paths/post.yaml +124 -82
- package/twitter-openapi/dist/docs/paths/profile.yaml +8 -1
- package/twitter-openapi/dist/docs/paths/timeline.yaml +92 -71
- package/twitter-openapi/dist/docs/paths/tweet.yaml +8 -1
- package/twitter-openapi/dist/docs/paths/user.yaml +8 -1
- package/twitter-openapi/dist/docs/paths/usertweets.yaml +122 -94
- package/twitter-openapi/dist/docs/resources/parameters.yaml +13 -0
- package/twitter-openapi/dist/docs/schemas/tweet.yaml +57 -0
- package/twitter-openapi/dist/test/openapi-3.0.yaml +38 -38
- package/twitter-openapi/dist/test/paths/bookmarks.yaml +8 -1
- package/twitter-openapi/dist/test/paths/follow.yaml +24 -10
- package/twitter-openapi/dist/test/paths/post.yaml +108 -66
- package/twitter-openapi/dist/test/paths/profile.yaml +8 -1
- package/twitter-openapi/dist/test/paths/timeline.yaml +38 -17
- package/twitter-openapi/dist/test/paths/tweet.yaml +8 -1
- package/twitter-openapi/dist/test/paths/user.yaml +8 -1
- package/twitter-openapi/dist/test/paths/usertweets.yaml +54 -26
- package/twitter-openapi/dist/test/resources/parameters.yaml +13 -0
- package/twitter-openapi/dist/test/schemas/tweet.yaml +57 -0
- package/twitter-openapi/dist/typescript/openapi-3.0.yaml +38 -38
- package/twitter-openapi/dist/typescript/paths/bookmarks.yaml +8 -1
- package/twitter-openapi/dist/typescript/paths/follow.yaml +24 -10
- package/twitter-openapi/dist/typescript/paths/post.yaml +135 -93
- package/twitter-openapi/dist/typescript/paths/profile.yaml +8 -1
- package/twitter-openapi/dist/typescript/paths/timeline.yaml +38 -17
- package/twitter-openapi/dist/typescript/paths/tweet.yaml +8 -1
- package/twitter-openapi/dist/typescript/paths/user.yaml +8 -1
- package/twitter-openapi/dist/typescript/paths/usertweets.yaml +54 -26
- package/twitter-openapi/dist/typescript/resources/parameters.yaml +13 -0
- package/twitter-openapi/dist/typescript/schemas/tweet.yaml +57 -0
- package/twitter-openapi/src/openapi/paths/bookmarks.yaml +1 -1
- package/twitter-openapi/src/openapi/paths/follow.yaml +2 -2
- package/twitter-openapi/src/openapi/paths/post.yaml +6 -6
- package/twitter-openapi/src/openapi/paths/profile.yaml +1 -1
- package/twitter-openapi/src/openapi/paths/timeline.yaml +3 -3
- package/twitter-openapi/src/openapi/paths/tweet.yaml +1 -1
- package/twitter-openapi/src/openapi/paths/user.yaml +1 -1
- package/twitter-openapi/src/openapi/paths/usertweets.yaml +4 -4
- package/twitter-openapi/src/openapi/resources/parameters.yaml +15 -0
- package/twitter-openapi/src/openapi/schemas/tweet.yaml +58 -1
- package/twitter-openapi/tools/__pycache__/build_config.cpython-310.pyc +0 -0
- package/twitter-openapi/tools/__pycache__/hooks.cpython-310.pyc +0 -0
- package/twitter-openapi/tools/build_config.py +12 -12
- package/twitter-openapi/tools/hooks.py +30 -6
- package/dist/models/PostDeleteTweetRequestVariables.d.ts +0 -38
- package/dist/models/PostDeleteTweetRequestVariables.d.ts.map +0 -1
- package/dist/models/PostDeleteTweetRequestVariables.js +0 -54
- 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/
|
|
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/
|
|
465
|
+
/graphql/{pathQueryId}/DeleteRetweet:
|
|
356
466
|
post:
|
|
357
467
|
description: delete Retweet
|
|
358
|
-
operationId:
|
|
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
|
-
|
|
390
|
-
|
|
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:
|
|
483
|
-
|
|
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:
|
|
492
|
-
example:
|
|
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
|
-
|
|
521
|
+
source_tweet_id:
|
|
501
522
|
default: '1349129669258448897'
|
|
502
523
|
example: '1349129669258448897'
|
|
503
524
|
type: string
|
|
504
525
|
required:
|
|
505
|
-
-
|
|
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/
|
|
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/
|
|
568
|
+
/graphql/{pathQueryId}/DeleteTweet:
|
|
548
569
|
post:
|
|
549
570
|
description: delete Retweet
|
|
550
|
-
operationId:
|
|
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:
|
|
588
|
-
example:
|
|
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
|
-
|
|
624
|
+
tweet_id:
|
|
597
625
|
default: '1349129669258448897'
|
|
598
626
|
example: '1349129669258448897'
|
|
599
627
|
type: string
|
|
600
628
|
required:
|
|
601
|
-
-
|
|
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/
|
|
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/
|
|
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/
|
|
774
|
+
/graphql/{pathQueryId}/UnfavoriteTweet:
|
|
740
775
|
post:
|
|
741
|
-
description:
|
|
742
|
-
operationId:
|
|
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:
|
|
780
|
-
example:
|
|
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/
|
|
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/
|
|
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/
|
|
50
|
+
/graphql/{pathQueryId}/HomeLatestTimeline:
|
|
51
51
|
get:
|
|
52
52
|
description: get tweet list of timeline
|
|
53
|
-
operationId:
|
|
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: '"
|
|
89
|
-
example: '"
|
|
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: '{"
|
|
96
|
-
|
|
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/
|
|
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/
|
|
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/
|
|
286
|
+
/graphql/{pathQueryId}/ListLatestTweetsTimeline:
|
|
271
287
|
get:
|
|
272
288
|
description: get tweet list of timeline
|
|
273
|
-
operationId:
|
|
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: '"
|
|
309
|
-
example: '"
|
|
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: '{"
|
|
316
|
-
|
|
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/
|
|
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/
|
|
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/
|
|
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
|