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.
- package/.openapi-generator/FILES +7 -1
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +1 -1
- package/dist/apis/DefaultApi.d.ts.map +1 -1
- package/dist/apis/DefaultApi.js +3 -6
- 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 -9
- package/dist/apis/TweetApi.d.ts.map +1 -1
- package/dist/apis/TweetApi.js +27 -54
- package/dist/apis/TweetApi.js.map +1 -1
- package/dist/apis/UserApi.d.ts +1 -1
- package/dist/apis/UserApi.d.ts.map +1 -1
- package/dist/apis/UserApi.js +3 -6
- package/dist/apis/UserApi.js.map +1 -1
- package/dist/apis/UserListApi.d.ts +2 -2
- package/dist/apis/UserListApi.d.ts.map +1 -1
- package/dist/apis/UserListApi.js +6 -12
- 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/TweetLegacy.d.ts +7 -0
- package/dist/models/TweetLegacy.d.ts.map +1 -1
- package/dist/models/TweetLegacy.js +3 -0
- package/dist/models/TweetLegacy.js.map +1 -1
- package/dist/models/TweetLegacySelfThread.d.ts +32 -0
- package/dist/models/TweetLegacySelfThread.d.ts.map +1 -0
- package/dist/models/TweetLegacySelfThread.js +51 -0
- package/dist/models/TweetLegacySelfThread.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 +7 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +7 -1
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +4 -8
- package/src/apis/PostApi.ts +36 -6
- package/src/apis/TweetApi.ts +36 -72
- package/src/apis/UserApi.ts +4 -8
- package/src/apis/UserListApi.ts +8 -16
- 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/TweetLegacy.ts +14 -0
- package/src/models/TweetLegacySelfThread.ts +66 -0
- package/src/models/Url.ts +93 -0
- package/src/models/index.ts +7 -1
- package/tools/openapi-generator-config.yaml +2 -2
- package/tools/win/replace.py +20 -20
- package/twitter-openapi/README.md +4 -6
- package/twitter-openapi/dist/{test → compatible}/openapi-3.0.yaml +38 -38
- package/twitter-openapi/dist/{typescript → compatible}/paths/bookmarks.yaml +5 -5
- package/twitter-openapi/dist/{test → compatible}/paths/follow.yaml +14 -14
- package/twitter-openapi/dist/{typescript → compatible}/paths/post.yaml +135 -93
- package/twitter-openapi/dist/{test → compatible}/paths/profile.yaml +5 -5
- package/twitter-openapi/dist/{typescript → compatible}/paths/timeline.yaml +25 -25
- package/twitter-openapi/dist/{test → compatible}/paths/tweet.yaml +5 -5
- package/twitter-openapi/dist/{test → compatible}/paths/user.yaml +5 -5
- package/twitter-openapi/dist/{test → compatible}/paths/usertweets.yaml +36 -36
- package/twitter-openapi/dist/compatible/resources/parameters.yaml +13 -0
- package/twitter-openapi/dist/{dart → compatible}/schemas/tweet.yaml +65 -0
- package/twitter-openapi/dist/docs/openapi-3.0.yaml +38 -38
- package/twitter-openapi/dist/docs/paths/bookmarks.yaml +7 -56
- package/twitter-openapi/dist/docs/paths/follow.yaml +18 -116
- package/twitter-openapi/dist/docs/paths/post.yaml +124 -82
- package/twitter-openapi/dist/docs/paths/profile.yaml +7 -35
- package/twitter-openapi/dist/docs/paths/timeline.yaml +43 -192
- package/twitter-openapi/dist/docs/paths/tweet.yaml +7 -61
- package/twitter-openapi/dist/docs/paths/user.yaml +7 -41
- package/twitter-openapi/dist/docs/paths/usertweets.yaml +53 -263
- package/twitter-openapi/dist/docs/resources/parameters.yaml +13 -0
- package/twitter-openapi/dist/docs/schemas/tweet.yaml +65 -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 +66 -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 +67 -190
- package/twitter-openapi/tools/hooks.py +58 -13
- 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
- package/twitter-openapi/dist/dart/openapi-3.0.yaml +0 -117
- package/twitter-openapi/dist/dart/paths/bookmarks.yaml +0 -134
- package/twitter-openapi/dist/dart/paths/follow.yaml +0 -262
- package/twitter-openapi/dist/dart/paths/post.yaml +0 -834
- package/twitter-openapi/dist/dart/paths/profile.yaml +0 -152
- package/twitter-openapi/dist/dart/paths/timeline.yaml +0 -380
- package/twitter-openapi/dist/dart/paths/tweet.yaml +0 -134
- package/twitter-openapi/dist/dart/paths/user.yaml +0 -112
- package/twitter-openapi/dist/dart/paths/usertweets.yaml +0 -484
- package/twitter-openapi/dist/dart/paths/v1.1-get.yaml +0 -300
- package/twitter-openapi/dist/dart/paths/v1.1-post.yaml +0 -295
- package/twitter-openapi/dist/dart/paths/v2.0-get.yaml +0 -331
- package/twitter-openapi/dist/test/paths/bookmarks.yaml +0 -105
- package/twitter-openapi/dist/test/paths/other.yaml +0 -96
- package/twitter-openapi/dist/test/paths/post.yaml +0 -485
- package/twitter-openapi/dist/test/paths/timeline.yaml +0 -293
- package/twitter-openapi/dist/test/paths/v1.1-get.yaml +0 -242
- package/twitter-openapi/dist/test/paths/v1.1-post.yaml +0 -277
- package/twitter-openapi/dist/test/paths/v2.0-get.yaml +0 -302
- package/twitter-openapi/dist/test/response/error.yaml +0 -90
- package/twitter-openapi/dist/test/schemas/content.yaml +0 -181
- package/twitter-openapi/dist/test/schemas/general.yaml +0 -13
- package/twitter-openapi/dist/test/schemas/instruction.yaml +0 -83
- package/twitter-openapi/dist/test/schemas/timeline.yaml +0 -25
- package/twitter-openapi/dist/test/schemas/tweet.yaml +0 -251
- package/twitter-openapi/dist/test/schemas/typename.yaml +0 -19
- package/twitter-openapi/dist/test/schemas/user.yaml +0 -206
- package/twitter-openapi/dist/typescript/openapi-3.0.yaml +0 -141
- package/twitter-openapi/dist/typescript/paths/follow.yaml +0 -204
- package/twitter-openapi/dist/typescript/paths/other.yaml +0 -96
- package/twitter-openapi/dist/typescript/paths/profile.yaml +0 -123
- package/twitter-openapi/dist/typescript/paths/tweet.yaml +0 -105
- package/twitter-openapi/dist/typescript/paths/user.yaml +0 -83
- package/twitter-openapi/dist/typescript/paths/usertweets.yaml +0 -368
- package/twitter-openapi/dist/typescript/response/error.yaml +0 -90
- package/twitter-openapi/dist/typescript/schemas/content.yaml +0 -181
- package/twitter-openapi/dist/typescript/schemas/general.yaml +0 -13
- package/twitter-openapi/dist/typescript/schemas/instruction.yaml +0 -83
- package/twitter-openapi/dist/typescript/schemas/timeline.yaml +0 -25
- package/twitter-openapi/dist/typescript/schemas/tweet.yaml +0 -251
- package/twitter-openapi/dist/typescript/schemas/typename.yaml +0 -19
- package/twitter-openapi/dist/typescript/schemas/user.yaml +0 -206
- /package/twitter-openapi/dist/{dart → compatible}/paths/other.yaml +0 -0
- /package/twitter-openapi/dist/{typescript → compatible}/paths/v1.1-get.yaml +0 -0
- /package/twitter-openapi/dist/{typescript → compatible}/paths/v1.1-post.yaml +0 -0
- /package/twitter-openapi/dist/{typescript → compatible}/paths/v2.0-get.yaml +0 -0
- /package/twitter-openapi/dist/{dart → compatible}/response/error.yaml +0 -0
- /package/twitter-openapi/dist/{dart → compatible}/schemas/content.yaml +0 -0
- /package/twitter-openapi/dist/{dart → compatible}/schemas/general.yaml +0 -0
- /package/twitter-openapi/dist/{dart → compatible}/schemas/instruction.yaml +0 -0
- /package/twitter-openapi/dist/{dart → compatible}/schemas/timeline.yaml +0 -0
- /package/twitter-openapi/dist/{dart → compatible}/schemas/typename.yaml +0 -0
- /package/twitter-openapi/dist/{dart → compatible}/schemas/user.yaml +0 -0
|
@@ -136,11 +136,92 @@ 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: path
|
|
145
|
+
name: pathQueryId
|
|
146
|
+
required: true
|
|
147
|
+
schema:
|
|
148
|
+
default: ojPdsZsimiJrUGLR1sjUtA
|
|
149
|
+
example: ojPdsZsimiJrUGLR1sjUtA
|
|
150
|
+
type: string
|
|
151
|
+
requestBody:
|
|
152
|
+
content:
|
|
153
|
+
application/json:
|
|
154
|
+
schema:
|
|
155
|
+
properties:
|
|
156
|
+
queryId:
|
|
157
|
+
default: ojPdsZsimiJrUGLR1sjUtA
|
|
158
|
+
example: ojPdsZsimiJrUGLR1sjUtA
|
|
159
|
+
type: string
|
|
160
|
+
variables:
|
|
161
|
+
properties:
|
|
162
|
+
dark_request:
|
|
163
|
+
default: false
|
|
164
|
+
example: false
|
|
165
|
+
type: boolean
|
|
166
|
+
tweet_id:
|
|
167
|
+
default: '1349129669258448897'
|
|
168
|
+
example: '1349129669258448897'
|
|
169
|
+
type: string
|
|
170
|
+
required:
|
|
171
|
+
- tweet_id
|
|
172
|
+
- dark_request
|
|
173
|
+
type: object
|
|
174
|
+
required:
|
|
175
|
+
- queryId
|
|
176
|
+
- variables
|
|
177
|
+
description: body
|
|
178
|
+
required: true
|
|
179
|
+
responses:
|
|
180
|
+
'200':
|
|
181
|
+
content:
|
|
182
|
+
application/json:
|
|
183
|
+
schema:
|
|
184
|
+
$ref: '#/components/schemas/CreateRetweetResponse'
|
|
185
|
+
description: Successful operation
|
|
186
|
+
headers:
|
|
187
|
+
x-connection-hash:
|
|
188
|
+
schema:
|
|
189
|
+
type: string
|
|
190
|
+
x-rate-limit-limit:
|
|
191
|
+
schema:
|
|
192
|
+
type: integer
|
|
193
|
+
x-rate-limit-remaining:
|
|
194
|
+
schema:
|
|
195
|
+
type: integer
|
|
196
|
+
x-rate-limit-reset:
|
|
197
|
+
schema:
|
|
198
|
+
type: integer
|
|
199
|
+
x-response-time:
|
|
200
|
+
schema:
|
|
201
|
+
type: integer
|
|
202
|
+
x-tfe-preserve-body:
|
|
203
|
+
schema:
|
|
204
|
+
type: boolean
|
|
205
|
+
x-transaction-id:
|
|
206
|
+
schema:
|
|
207
|
+
type: string
|
|
208
|
+
x-twitter-response-tags:
|
|
209
|
+
schema:
|
|
210
|
+
type: string
|
|
211
|
+
tags:
|
|
212
|
+
- post
|
|
213
|
+
/graphql/{pathQueryId}/CreateTweet:
|
|
140
214
|
post:
|
|
141
215
|
description: create Tweet
|
|
142
216
|
operationId: postCreateTweet
|
|
143
|
-
parameters:
|
|
217
|
+
parameters:
|
|
218
|
+
- in: path
|
|
219
|
+
name: pathQueryId
|
|
220
|
+
required: true
|
|
221
|
+
schema:
|
|
222
|
+
default: 1RyAhNwby-gzGCRVsMxKbQ
|
|
223
|
+
example: 1RyAhNwby-gzGCRVsMxKbQ
|
|
224
|
+
type: string
|
|
144
225
|
requestBody:
|
|
145
226
|
content:
|
|
146
227
|
application/json:
|
|
@@ -323,86 +404,26 @@ paths:
|
|
|
323
404
|
type: string
|
|
324
405
|
tags:
|
|
325
406
|
- post
|
|
326
|
-
/graphql/
|
|
407
|
+
/graphql/{pathQueryId}/DeleteRetweet:
|
|
327
408
|
post:
|
|
328
409
|
description: delete Retweet
|
|
329
|
-
operationId:
|
|
330
|
-
parameters:
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
application/json:
|
|
334
|
-
schema:
|
|
335
|
-
properties:
|
|
336
|
-
queryId:
|
|
337
|
-
default: VaenaVgh5q5ih7kvyVjgtg
|
|
338
|
-
example: VaenaVgh5q5ih7kvyVjgtg
|
|
339
|
-
type: string
|
|
340
|
-
variables:
|
|
341
|
-
properties:
|
|
342
|
-
dark_request:
|
|
343
|
-
default: false
|
|
344
|
-
example: false
|
|
345
|
-
type: boolean
|
|
346
|
-
tweet_id:
|
|
347
|
-
default: '1349129669258448897'
|
|
348
|
-
example: '1349129669258448897'
|
|
349
|
-
type: string
|
|
350
|
-
required:
|
|
351
|
-
- tweet_id
|
|
352
|
-
- dark_request
|
|
353
|
-
type: object
|
|
354
|
-
required:
|
|
355
|
-
- queryId
|
|
356
|
-
- variables
|
|
357
|
-
description: body
|
|
410
|
+
operationId: postDeleteRetweet
|
|
411
|
+
parameters:
|
|
412
|
+
- in: path
|
|
413
|
+
name: pathQueryId
|
|
358
414
|
required: true
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
schema:
|
|
364
|
-
$ref: '#/components/schemas/DeleteTweetResponse'
|
|
365
|
-
description: Successful operation
|
|
366
|
-
headers:
|
|
367
|
-
x-connection-hash:
|
|
368
|
-
schema:
|
|
369
|
-
type: string
|
|
370
|
-
x-rate-limit-limit:
|
|
371
|
-
schema:
|
|
372
|
-
type: integer
|
|
373
|
-
x-rate-limit-remaining:
|
|
374
|
-
schema:
|
|
375
|
-
type: integer
|
|
376
|
-
x-rate-limit-reset:
|
|
377
|
-
schema:
|
|
378
|
-
type: integer
|
|
379
|
-
x-response-time:
|
|
380
|
-
schema:
|
|
381
|
-
type: integer
|
|
382
|
-
x-tfe-preserve-body:
|
|
383
|
-
schema:
|
|
384
|
-
type: boolean
|
|
385
|
-
x-transaction-id:
|
|
386
|
-
schema:
|
|
387
|
-
type: string
|
|
388
|
-
x-twitter-response-tags:
|
|
389
|
-
schema:
|
|
390
|
-
type: string
|
|
391
|
-
tags:
|
|
392
|
-
- post
|
|
393
|
-
/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
|
|
394
|
-
post:
|
|
395
|
-
description: unfavorite Tweet
|
|
396
|
-
operationId: postUnfavoriteTweet
|
|
397
|
-
parameters: []
|
|
415
|
+
schema:
|
|
416
|
+
default: iQtK4dl5hBmXewYZuEOKVw
|
|
417
|
+
example: iQtK4dl5hBmXewYZuEOKVw
|
|
418
|
+
type: string
|
|
398
419
|
requestBody:
|
|
399
420
|
content:
|
|
400
421
|
application/json:
|
|
401
422
|
schema:
|
|
402
423
|
properties:
|
|
403
424
|
queryId:
|
|
404
|
-
default:
|
|
405
|
-
example:
|
|
425
|
+
default: iQtK4dl5hBmXewYZuEOKVw
|
|
426
|
+
example: iQtK4dl5hBmXewYZuEOKVw
|
|
406
427
|
type: string
|
|
407
428
|
variables:
|
|
408
429
|
properties:
|
|
@@ -410,12 +431,12 @@ paths:
|
|
|
410
431
|
default: false
|
|
411
432
|
example: false
|
|
412
433
|
type: boolean
|
|
413
|
-
|
|
434
|
+
source_tweet_id:
|
|
414
435
|
default: '1349129669258448897'
|
|
415
436
|
example: '1349129669258448897'
|
|
416
437
|
type: string
|
|
417
438
|
required:
|
|
418
|
-
-
|
|
439
|
+
- source_tweet_id
|
|
419
440
|
- dark_request
|
|
420
441
|
type: object
|
|
421
442
|
required:
|
|
@@ -428,7 +449,7 @@ paths:
|
|
|
428
449
|
content:
|
|
429
450
|
application/json:
|
|
430
451
|
schema:
|
|
431
|
-
$ref: '#/components/schemas/
|
|
452
|
+
$ref: '#/components/schemas/DeleteRetweetResponse'
|
|
432
453
|
description: Successful operation
|
|
433
454
|
headers:
|
|
434
455
|
x-connection-hash:
|
|
@@ -457,19 +478,26 @@ paths:
|
|
|
457
478
|
type: string
|
|
458
479
|
tags:
|
|
459
480
|
- post
|
|
460
|
-
/graphql/
|
|
481
|
+
/graphql/{pathQueryId}/DeleteTweet:
|
|
461
482
|
post:
|
|
462
483
|
description: delete Retweet
|
|
463
|
-
operationId:
|
|
464
|
-
parameters:
|
|
484
|
+
operationId: postDeleteTweet
|
|
485
|
+
parameters:
|
|
486
|
+
- in: path
|
|
487
|
+
name: pathQueryId
|
|
488
|
+
required: true
|
|
489
|
+
schema:
|
|
490
|
+
default: VaenaVgh5q5ih7kvyVjgtg
|
|
491
|
+
example: VaenaVgh5q5ih7kvyVjgtg
|
|
492
|
+
type: string
|
|
465
493
|
requestBody:
|
|
466
494
|
content:
|
|
467
495
|
application/json:
|
|
468
496
|
schema:
|
|
469
497
|
properties:
|
|
470
498
|
queryId:
|
|
471
|
-
default:
|
|
472
|
-
example:
|
|
499
|
+
default: VaenaVgh5q5ih7kvyVjgtg
|
|
500
|
+
example: VaenaVgh5q5ih7kvyVjgtg
|
|
473
501
|
type: string
|
|
474
502
|
variables:
|
|
475
503
|
properties:
|
|
@@ -477,12 +505,12 @@ paths:
|
|
|
477
505
|
default: false
|
|
478
506
|
example: false
|
|
479
507
|
type: boolean
|
|
480
|
-
|
|
508
|
+
tweet_id:
|
|
481
509
|
default: '1349129669258448897'
|
|
482
510
|
example: '1349129669258448897'
|
|
483
511
|
type: string
|
|
484
512
|
required:
|
|
485
|
-
-
|
|
513
|
+
- tweet_id
|
|
486
514
|
- dark_request
|
|
487
515
|
type: object
|
|
488
516
|
required:
|
|
@@ -495,7 +523,7 @@ paths:
|
|
|
495
523
|
content:
|
|
496
524
|
application/json:
|
|
497
525
|
schema:
|
|
498
|
-
$ref: '#/components/schemas/
|
|
526
|
+
$ref: '#/components/schemas/DeleteTweetResponse'
|
|
499
527
|
description: Successful operation
|
|
500
528
|
headers:
|
|
501
529
|
x-connection-hash:
|
|
@@ -524,11 +552,18 @@ paths:
|
|
|
524
552
|
type: string
|
|
525
553
|
tags:
|
|
526
554
|
- post
|
|
527
|
-
/graphql/
|
|
555
|
+
/graphql/{pathQueryId}/FavoriteTweet:
|
|
528
556
|
post:
|
|
529
557
|
description: favorite Tweet
|
|
530
558
|
operationId: postFavoriteTweet
|
|
531
|
-
parameters:
|
|
559
|
+
parameters:
|
|
560
|
+
- in: path
|
|
561
|
+
name: pathQueryId
|
|
562
|
+
required: true
|
|
563
|
+
schema:
|
|
564
|
+
default: lI07N6Otwv1PhnEgXILM7A
|
|
565
|
+
example: lI07N6Otwv1PhnEgXILM7A
|
|
566
|
+
type: string
|
|
532
567
|
requestBody:
|
|
533
568
|
content:
|
|
534
569
|
application/json:
|
|
@@ -591,19 +626,26 @@ paths:
|
|
|
591
626
|
type: string
|
|
592
627
|
tags:
|
|
593
628
|
- post
|
|
594
|
-
/graphql/
|
|
629
|
+
/graphql/{pathQueryId}/UnfavoriteTweet:
|
|
595
630
|
post:
|
|
596
|
-
description:
|
|
597
|
-
operationId:
|
|
598
|
-
parameters:
|
|
631
|
+
description: unfavorite Tweet
|
|
632
|
+
operationId: postUnfavoriteTweet
|
|
633
|
+
parameters:
|
|
634
|
+
- in: path
|
|
635
|
+
name: pathQueryId
|
|
636
|
+
required: true
|
|
637
|
+
schema:
|
|
638
|
+
default: ZYKSe-w7KEslx3JhSIk5LA
|
|
639
|
+
example: ZYKSe-w7KEslx3JhSIk5LA
|
|
640
|
+
type: string
|
|
599
641
|
requestBody:
|
|
600
642
|
content:
|
|
601
643
|
application/json:
|
|
602
644
|
schema:
|
|
603
645
|
properties:
|
|
604
646
|
queryId:
|
|
605
|
-
default:
|
|
606
|
-
example:
|
|
647
|
+
default: ZYKSe-w7KEslx3JhSIk5LA
|
|
648
|
+
example: ZYKSe-w7KEslx3JhSIk5LA
|
|
607
649
|
type: string
|
|
608
650
|
variables:
|
|
609
651
|
properties:
|
|
@@ -629,7 +671,7 @@ paths:
|
|
|
629
671
|
content:
|
|
630
672
|
application/json:
|
|
631
673
|
schema:
|
|
632
|
-
$ref: '#/components/schemas/
|
|
674
|
+
$ref: '#/components/schemas/UnfavoriteTweetResponseData'
|
|
633
675
|
description: Successful operation
|
|
634
676
|
headers:
|
|
635
677
|
x-connection-hash:
|
|
@@ -63,17 +63,17 @@ 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
|
|
70
70
|
parameters:
|
|
71
|
-
- in:
|
|
72
|
-
name:
|
|
71
|
+
- in: path
|
|
72
|
+
name: pathQueryId
|
|
73
73
|
required: true
|
|
74
74
|
schema:
|
|
75
|
-
default:
|
|
76
|
-
example:
|
|
75
|
+
default: 9zwVLJ48lmVUk8u_Gh9DmA
|
|
76
|
+
example: 9zwVLJ48lmVUk8u_Gh9DmA
|
|
77
77
|
type: string
|
|
78
78
|
- in: query
|
|
79
79
|
name: variables
|
|
@@ -47,24 +47,26 @@ 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
|
-
- in:
|
|
56
|
-
name:
|
|
55
|
+
- in: path
|
|
56
|
+
name: pathQueryId
|
|
57
57
|
required: true
|
|
58
58
|
schema:
|
|
59
|
-
default:
|
|
60
|
-
example:
|
|
59
|
+
default: zhX91JE87mWvfprhYE97xA
|
|
60
|
+
example: zhX91JE87mWvfprhYE97xA
|
|
61
61
|
type: string
|
|
62
62
|
- in: query
|
|
63
63
|
name: variables
|
|
64
64
|
required: true
|
|
65
65
|
schema:
|
|
66
|
-
default: '{"
|
|
67
|
-
|
|
66
|
+
default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
|
67
|
+
true, "requestContext": "launch"}'
|
|
68
|
+
example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
|
69
|
+
true, "requestContext": "launch"}'
|
|
68
70
|
type: string
|
|
69
71
|
- in: query
|
|
70
72
|
name: features
|
|
@@ -98,7 +100,7 @@ paths:
|
|
|
98
100
|
content:
|
|
99
101
|
application/json:
|
|
100
102
|
schema:
|
|
101
|
-
$ref: '#/components/schemas/
|
|
103
|
+
$ref: '#/components/schemas/TimelineResponse'
|
|
102
104
|
description: Successful operation
|
|
103
105
|
headers:
|
|
104
106
|
x-connection-hash:
|
|
@@ -127,17 +129,17 @@ paths:
|
|
|
127
129
|
type: string
|
|
128
130
|
tags:
|
|
129
131
|
- tweet
|
|
130
|
-
/graphql/
|
|
132
|
+
/graphql/{pathQueryId}/HomeTimeline:
|
|
131
133
|
get:
|
|
132
134
|
description: get tweet list of timeline
|
|
133
135
|
operationId: getHomeTimeline
|
|
134
136
|
parameters:
|
|
135
|
-
- in:
|
|
136
|
-
name:
|
|
137
|
+
- in: path
|
|
138
|
+
name: pathQueryId
|
|
137
139
|
required: true
|
|
138
140
|
schema:
|
|
139
|
-
default:
|
|
140
|
-
example:
|
|
141
|
+
default: HCosKfLNW1AcOo3la3mMgg
|
|
142
|
+
example: HCosKfLNW1AcOo3la3mMgg
|
|
141
143
|
type: string
|
|
142
144
|
- in: query
|
|
143
145
|
name: variables
|
|
@@ -209,26 +211,24 @@ paths:
|
|
|
209
211
|
type: string
|
|
210
212
|
tags:
|
|
211
213
|
- tweet
|
|
212
|
-
/graphql/
|
|
214
|
+
/graphql/{pathQueryId}/ListLatestTweetsTimeline:
|
|
213
215
|
get:
|
|
214
216
|
description: get tweet list of timeline
|
|
215
|
-
operationId:
|
|
217
|
+
operationId: getListLatestTweetsTimeline
|
|
216
218
|
parameters:
|
|
217
|
-
- in:
|
|
218
|
-
name:
|
|
219
|
+
- in: path
|
|
220
|
+
name: pathQueryId
|
|
219
221
|
required: true
|
|
220
222
|
schema:
|
|
221
|
-
default:
|
|
222
|
-
example:
|
|
223
|
+
default: 2TemLyqrMpTeAmysdbnVqw
|
|
224
|
+
example: 2TemLyqrMpTeAmysdbnVqw
|
|
223
225
|
type: string
|
|
224
226
|
- in: query
|
|
225
227
|
name: variables
|
|
226
228
|
required: true
|
|
227
229
|
schema:
|
|
228
|
-
default: '{"
|
|
229
|
-
|
|
230
|
-
example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
|
231
|
-
true, "requestContext": "launch"}'
|
|
230
|
+
default: '{"listId": "53044119", "count": 20}'
|
|
231
|
+
example: '{"listId": "53044119", "count": 20}'
|
|
232
232
|
type: string
|
|
233
233
|
- in: query
|
|
234
234
|
name: features
|
|
@@ -262,7 +262,7 @@ paths:
|
|
|
262
262
|
content:
|
|
263
263
|
application/json:
|
|
264
264
|
schema:
|
|
265
|
-
$ref: '#/components/schemas/
|
|
265
|
+
$ref: '#/components/schemas/ListTweetsTimelineResponse'
|
|
266
266
|
description: Successful operation
|
|
267
267
|
headers:
|
|
268
268
|
x-connection-hash:
|
|
@@ -17,17 +17,17 @@ 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
|
|
24
24
|
parameters:
|
|
25
|
-
- in:
|
|
26
|
-
name:
|
|
25
|
+
- in: path
|
|
26
|
+
name: pathQueryId
|
|
27
27
|
required: true
|
|
28
28
|
schema:
|
|
29
|
-
default:
|
|
30
|
-
example:
|
|
29
|
+
default: wNNG8DBB8EaXw1lq4vFWGA
|
|
30
|
+
example: wNNG8DBB8EaXw1lq4vFWGA
|
|
31
31
|
type: string
|
|
32
32
|
- in: query
|
|
33
33
|
name: variables
|
|
@@ -17,17 +17,17 @@ 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
|
|
24
24
|
parameters:
|
|
25
|
-
- in:
|
|
26
|
-
name:
|
|
25
|
+
- in: path
|
|
26
|
+
name: pathQueryId
|
|
27
27
|
required: true
|
|
28
28
|
schema:
|
|
29
|
-
default:
|
|
30
|
-
example:
|
|
29
|
+
default: sLVLhk0bGj3MVFEKTdax1w
|
|
30
|
+
example: sLVLhk0bGj3MVFEKTdax1w
|
|
31
31
|
type: string
|
|
32
32
|
- in: query
|
|
33
33
|
name: variables
|
|
@@ -32,17 +32,17 @@ info:
|
|
|
32
32
|
version: 0.0.1
|
|
33
33
|
openapi: 3.0.3
|
|
34
34
|
paths:
|
|
35
|
-
/graphql/
|
|
35
|
+
/graphql/{pathQueryId}/Likes:
|
|
36
36
|
get:
|
|
37
37
|
description: get user likes tweets
|
|
38
38
|
operationId: getLikes
|
|
39
39
|
parameters:
|
|
40
|
-
- in:
|
|
41
|
-
name:
|
|
40
|
+
- in: path
|
|
41
|
+
name: pathQueryId
|
|
42
42
|
required: true
|
|
43
43
|
schema:
|
|
44
|
-
default:
|
|
45
|
-
example:
|
|
44
|
+
default: 5fmEkRT-1AdHqEsbVgehMg
|
|
45
|
+
example: 5fmEkRT-1AdHqEsbVgehMg
|
|
46
46
|
type: string
|
|
47
47
|
- in: query
|
|
48
48
|
name: variables
|
|
@@ -116,28 +116,28 @@ paths:
|
|
|
116
116
|
type: string
|
|
117
117
|
tags:
|
|
118
118
|
- tweet
|
|
119
|
-
/graphql/
|
|
119
|
+
/graphql/{pathQueryId}/UserMedia:
|
|
120
120
|
get:
|
|
121
|
-
description: get user tweets
|
|
122
|
-
operationId:
|
|
121
|
+
description: get user media tweets
|
|
122
|
+
operationId: getUserMedia
|
|
123
123
|
parameters:
|
|
124
|
-
- in:
|
|
125
|
-
name:
|
|
124
|
+
- in: path
|
|
125
|
+
name: pathQueryId
|
|
126
126
|
required: true
|
|
127
127
|
schema:
|
|
128
|
-
default:
|
|
129
|
-
example:
|
|
128
|
+
default: YqiE3JL1KNgf9nSljYdxaA
|
|
129
|
+
example: YqiE3JL1KNgf9nSljYdxaA
|
|
130
130
|
type: string
|
|
131
131
|
- in: query
|
|
132
132
|
name: variables
|
|
133
133
|
required: true
|
|
134
134
|
schema:
|
|
135
135
|
default: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
136
|
-
|
|
137
|
-
"withV2Timeline": true}'
|
|
136
|
+
false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
|
|
137
|
+
true, "withV2Timeline": true}'
|
|
138
138
|
example: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
139
|
-
|
|
140
|
-
"withV2Timeline": true}'
|
|
139
|
+
false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
|
|
140
|
+
true, "withV2Timeline": true}'
|
|
141
141
|
type: string
|
|
142
142
|
- in: query
|
|
143
143
|
name: features
|
|
@@ -200,26 +200,28 @@ paths:
|
|
|
200
200
|
type: string
|
|
201
201
|
tags:
|
|
202
202
|
- tweet
|
|
203
|
-
/graphql/
|
|
203
|
+
/graphql/{pathQueryId}/UserTweets:
|
|
204
204
|
get:
|
|
205
|
-
description: get user
|
|
206
|
-
operationId:
|
|
205
|
+
description: get user tweets
|
|
206
|
+
operationId: getUserTweets
|
|
207
207
|
parameters:
|
|
208
|
-
- in:
|
|
209
|
-
name:
|
|
208
|
+
- in: path
|
|
209
|
+
name: pathQueryId
|
|
210
210
|
required: true
|
|
211
211
|
schema:
|
|
212
|
-
default:
|
|
213
|
-
example:
|
|
212
|
+
default: HuTx74BxAnezK1gWvYY7zg
|
|
213
|
+
example: HuTx74BxAnezK1gWvYY7zg
|
|
214
214
|
type: string
|
|
215
215
|
- in: query
|
|
216
216
|
name: variables
|
|
217
217
|
required: true
|
|
218
218
|
schema:
|
|
219
219
|
default: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
220
|
-
true, "
|
|
220
|
+
true, "withQuickPromoteEligibilityTweetFields": true, "withVoice": true,
|
|
221
|
+
"withV2Timeline": true}'
|
|
221
222
|
example: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
222
|
-
true, "
|
|
223
|
+
true, "withQuickPromoteEligibilityTweetFields": true, "withVoice": true,
|
|
224
|
+
"withV2Timeline": true}'
|
|
223
225
|
type: string
|
|
224
226
|
- in: query
|
|
225
227
|
name: features
|
|
@@ -282,28 +284,26 @@ paths:
|
|
|
282
284
|
type: string
|
|
283
285
|
tags:
|
|
284
286
|
- tweet
|
|
285
|
-
/graphql/
|
|
287
|
+
/graphql/{pathQueryId}/UserTweetsAndReplies:
|
|
286
288
|
get:
|
|
287
|
-
description: get user
|
|
288
|
-
operationId:
|
|
289
|
+
description: get user replies tweets
|
|
290
|
+
operationId: getUserTweetsAndReplies
|
|
289
291
|
parameters:
|
|
290
|
-
- in:
|
|
291
|
-
name:
|
|
292
|
+
- in: path
|
|
293
|
+
name: pathQueryId
|
|
292
294
|
required: true
|
|
293
295
|
schema:
|
|
294
|
-
default:
|
|
295
|
-
example:
|
|
296
|
+
default: RIWc55YCNyUJ-U3HHGYkdg
|
|
297
|
+
example: RIWc55YCNyUJ-U3HHGYkdg
|
|
296
298
|
type: string
|
|
297
299
|
- in: query
|
|
298
300
|
name: variables
|
|
299
301
|
required: true
|
|
300
302
|
schema:
|
|
301
303
|
default: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
302
|
-
|
|
303
|
-
true, "withV2Timeline": true}'
|
|
304
|
+
true, "withCommunity": true, "withVoice": true, "withV2Timeline": true}'
|
|
304
305
|
example: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
305
|
-
|
|
306
|
-
true, "withV2Timeline": true}'
|
|
306
|
+
true, "withCommunity": true, "withVoice": true, "withV2Timeline": true}'
|
|
307
307
|
type: string
|
|
308
308
|
- in: query
|
|
309
309
|
name: features
|