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
|
@@ -32,11 +32,18 @@ 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: path
|
|
41
|
+
name: pathQueryId
|
|
42
|
+
required: true
|
|
43
|
+
schema:
|
|
44
|
+
default: 5fmEkRT-1AdHqEsbVgehMg
|
|
45
|
+
example: 5fmEkRT-1AdHqEsbVgehMg
|
|
46
|
+
type: string
|
|
40
47
|
- content:
|
|
41
48
|
application/json:
|
|
42
49
|
required:
|
|
@@ -279,39 +286,46 @@ paths:
|
|
|
279
286
|
type: string
|
|
280
287
|
tags:
|
|
281
288
|
- tweet
|
|
282
|
-
/graphql/
|
|
289
|
+
/graphql/{pathQueryId}/UserMedia:
|
|
283
290
|
get:
|
|
284
|
-
description: get user tweets
|
|
285
|
-
operationId:
|
|
291
|
+
description: get user media tweets
|
|
292
|
+
operationId: getUserMedia
|
|
286
293
|
parameters:
|
|
294
|
+
- in: path
|
|
295
|
+
name: pathQueryId
|
|
296
|
+
required: true
|
|
297
|
+
schema:
|
|
298
|
+
default: YqiE3JL1KNgf9nSljYdxaA
|
|
299
|
+
example: YqiE3JL1KNgf9nSljYdxaA
|
|
300
|
+
type: string
|
|
287
301
|
- content:
|
|
288
302
|
application/json:
|
|
289
303
|
required:
|
|
290
|
-
-
|
|
291
|
-
-
|
|
292
|
-
-
|
|
293
|
-
-
|
|
294
|
-
- '
|
|
295
|
-
-
|
|
296
|
-
-
|
|
297
|
-
- x
|
|
298
|
-
- A
|
|
299
|
-
- n
|
|
300
|
-
- e
|
|
301
|
-
- z
|
|
302
|
-
- K
|
|
304
|
+
- Y
|
|
305
|
+
- q
|
|
306
|
+
- i
|
|
307
|
+
- E
|
|
308
|
+
- '3'
|
|
309
|
+
- J
|
|
310
|
+
- L
|
|
303
311
|
- '1'
|
|
312
|
+
- K
|
|
313
|
+
- N
|
|
304
314
|
- g
|
|
305
|
-
-
|
|
306
|
-
-
|
|
307
|
-
-
|
|
315
|
+
- f
|
|
316
|
+
- '9'
|
|
317
|
+
- n
|
|
318
|
+
- S
|
|
319
|
+
- l
|
|
320
|
+
- j
|
|
308
321
|
- Y
|
|
309
|
-
-
|
|
310
|
-
-
|
|
311
|
-
-
|
|
322
|
+
- d
|
|
323
|
+
- x
|
|
324
|
+
- a
|
|
325
|
+
- A
|
|
312
326
|
schema:
|
|
313
|
-
default:
|
|
314
|
-
example:
|
|
327
|
+
default: YqiE3JL1KNgf9nSljYdxaA
|
|
328
|
+
example: YqiE3JL1KNgf9nSljYdxaA
|
|
315
329
|
type: string
|
|
316
330
|
in: query
|
|
317
331
|
name: queryId
|
|
@@ -322,7 +336,8 @@ paths:
|
|
|
322
336
|
- userId
|
|
323
337
|
- count
|
|
324
338
|
- includePromotedContent
|
|
325
|
-
-
|
|
339
|
+
- withClientEventToken
|
|
340
|
+
- withBirdwatchNotes
|
|
326
341
|
- withVoice
|
|
327
342
|
- withV2Timeline
|
|
328
343
|
schema:
|
|
@@ -332,16 +347,20 @@ paths:
|
|
|
332
347
|
example: 40
|
|
333
348
|
type: integer
|
|
334
349
|
includePromotedContent:
|
|
335
|
-
default:
|
|
336
|
-
example:
|
|
350
|
+
default: false
|
|
351
|
+
example: false
|
|
337
352
|
type: boolean
|
|
338
353
|
userId:
|
|
339
354
|
default: '44196397'
|
|
340
355
|
example: '44196397'
|
|
341
356
|
type: string
|
|
342
|
-
|
|
343
|
-
default:
|
|
344
|
-
example:
|
|
357
|
+
withBirdwatchNotes:
|
|
358
|
+
default: false
|
|
359
|
+
example: false
|
|
360
|
+
type: boolean
|
|
361
|
+
withClientEventToken:
|
|
362
|
+
default: false
|
|
363
|
+
example: false
|
|
345
364
|
type: boolean
|
|
346
365
|
withV2Timeline:
|
|
347
366
|
default: true
|
|
@@ -355,7 +374,8 @@ paths:
|
|
|
355
374
|
- userId
|
|
356
375
|
- count
|
|
357
376
|
- includePromotedContent
|
|
358
|
-
-
|
|
377
|
+
- withClientEventToken
|
|
378
|
+
- withBirdwatchNotes
|
|
359
379
|
- withVoice
|
|
360
380
|
- withV2Timeline
|
|
361
381
|
type: object
|
|
@@ -520,39 +540,46 @@ paths:
|
|
|
520
540
|
type: string
|
|
521
541
|
tags:
|
|
522
542
|
- tweet
|
|
523
|
-
/graphql/
|
|
543
|
+
/graphql/{pathQueryId}/UserTweets:
|
|
524
544
|
get:
|
|
525
|
-
description: get user
|
|
526
|
-
operationId:
|
|
545
|
+
description: get user tweets
|
|
546
|
+
operationId: getUserTweets
|
|
527
547
|
parameters:
|
|
548
|
+
- in: path
|
|
549
|
+
name: pathQueryId
|
|
550
|
+
required: true
|
|
551
|
+
schema:
|
|
552
|
+
default: HuTx74BxAnezK1gWvYY7zg
|
|
553
|
+
example: HuTx74BxAnezK1gWvYY7zg
|
|
554
|
+
type: string
|
|
528
555
|
- content:
|
|
529
556
|
application/json:
|
|
530
557
|
required:
|
|
531
|
-
-
|
|
532
|
-
-
|
|
558
|
+
- H
|
|
559
|
+
- u
|
|
560
|
+
- T
|
|
561
|
+
- x
|
|
562
|
+
- '7'
|
|
563
|
+
- '4'
|
|
564
|
+
- B
|
|
565
|
+
- x
|
|
566
|
+
- A
|
|
567
|
+
- n
|
|
568
|
+
- e
|
|
569
|
+
- z
|
|
570
|
+
- K
|
|
571
|
+
- '1'
|
|
572
|
+
- g
|
|
533
573
|
- W
|
|
534
|
-
-
|
|
535
|
-
- '5'
|
|
536
|
-
- '5'
|
|
574
|
+
- v
|
|
537
575
|
- Y
|
|
538
|
-
- C
|
|
539
|
-
- N
|
|
540
|
-
- y
|
|
541
|
-
- U
|
|
542
|
-
- J
|
|
543
|
-
- '-'
|
|
544
|
-
- U
|
|
545
|
-
- '3'
|
|
546
|
-
- H
|
|
547
|
-
- H
|
|
548
|
-
- G
|
|
549
576
|
- Y
|
|
550
|
-
-
|
|
551
|
-
-
|
|
577
|
+
- '7'
|
|
578
|
+
- z
|
|
552
579
|
- g
|
|
553
580
|
schema:
|
|
554
|
-
default:
|
|
555
|
-
example:
|
|
581
|
+
default: HuTx74BxAnezK1gWvYY7zg
|
|
582
|
+
example: HuTx74BxAnezK1gWvYY7zg
|
|
556
583
|
type: string
|
|
557
584
|
in: query
|
|
558
585
|
name: queryId
|
|
@@ -563,7 +590,7 @@ paths:
|
|
|
563
590
|
- userId
|
|
564
591
|
- count
|
|
565
592
|
- includePromotedContent
|
|
566
|
-
-
|
|
593
|
+
- withQuickPromoteEligibilityTweetFields
|
|
567
594
|
- withVoice
|
|
568
595
|
- withV2Timeline
|
|
569
596
|
schema:
|
|
@@ -580,7 +607,7 @@ paths:
|
|
|
580
607
|
default: '44196397'
|
|
581
608
|
example: '44196397'
|
|
582
609
|
type: string
|
|
583
|
-
|
|
610
|
+
withQuickPromoteEligibilityTweetFields:
|
|
584
611
|
default: true
|
|
585
612
|
example: true
|
|
586
613
|
type: boolean
|
|
@@ -596,7 +623,7 @@ paths:
|
|
|
596
623
|
- userId
|
|
597
624
|
- count
|
|
598
625
|
- includePromotedContent
|
|
599
|
-
-
|
|
626
|
+
- withQuickPromoteEligibilityTweetFields
|
|
600
627
|
- withVoice
|
|
601
628
|
- withV2Timeline
|
|
602
629
|
type: object
|
|
@@ -761,39 +788,46 @@ paths:
|
|
|
761
788
|
type: string
|
|
762
789
|
tags:
|
|
763
790
|
- tweet
|
|
764
|
-
/graphql/
|
|
791
|
+
/graphql/{pathQueryId}/UserTweetsAndReplies:
|
|
765
792
|
get:
|
|
766
|
-
description: get user
|
|
767
|
-
operationId:
|
|
793
|
+
description: get user replies tweets
|
|
794
|
+
operationId: getUserTweetsAndReplies
|
|
768
795
|
parameters:
|
|
796
|
+
- in: path
|
|
797
|
+
name: pathQueryId
|
|
798
|
+
required: true
|
|
799
|
+
schema:
|
|
800
|
+
default: RIWc55YCNyUJ-U3HHGYkdg
|
|
801
|
+
example: RIWc55YCNyUJ-U3HHGYkdg
|
|
802
|
+
type: string
|
|
769
803
|
- content:
|
|
770
804
|
application/json:
|
|
771
805
|
required:
|
|
806
|
+
- R
|
|
807
|
+
- I
|
|
808
|
+
- W
|
|
809
|
+
- c
|
|
810
|
+
- '5'
|
|
811
|
+
- '5'
|
|
772
812
|
- Y
|
|
773
|
-
-
|
|
774
|
-
- i
|
|
775
|
-
- E
|
|
776
|
-
- '3'
|
|
777
|
-
- J
|
|
778
|
-
- L
|
|
779
|
-
- '1'
|
|
780
|
-
- K
|
|
813
|
+
- C
|
|
781
814
|
- N
|
|
782
|
-
-
|
|
783
|
-
-
|
|
784
|
-
-
|
|
785
|
-
-
|
|
786
|
-
-
|
|
787
|
-
-
|
|
788
|
-
-
|
|
815
|
+
- y
|
|
816
|
+
- U
|
|
817
|
+
- J
|
|
818
|
+
- '-'
|
|
819
|
+
- U
|
|
820
|
+
- '3'
|
|
821
|
+
- H
|
|
822
|
+
- H
|
|
823
|
+
- G
|
|
789
824
|
- Y
|
|
825
|
+
- k
|
|
790
826
|
- d
|
|
791
|
-
-
|
|
792
|
-
- a
|
|
793
|
-
- A
|
|
827
|
+
- g
|
|
794
828
|
schema:
|
|
795
|
-
default:
|
|
796
|
-
example:
|
|
829
|
+
default: RIWc55YCNyUJ-U3HHGYkdg
|
|
830
|
+
example: RIWc55YCNyUJ-U3HHGYkdg
|
|
797
831
|
type: string
|
|
798
832
|
in: query
|
|
799
833
|
name: queryId
|
|
@@ -804,8 +838,7 @@ paths:
|
|
|
804
838
|
- userId
|
|
805
839
|
- count
|
|
806
840
|
- includePromotedContent
|
|
807
|
-
-
|
|
808
|
-
- withBirdwatchNotes
|
|
841
|
+
- withCommunity
|
|
809
842
|
- withVoice
|
|
810
843
|
- withV2Timeline
|
|
811
844
|
schema:
|
|
@@ -815,20 +848,16 @@ paths:
|
|
|
815
848
|
example: 40
|
|
816
849
|
type: integer
|
|
817
850
|
includePromotedContent:
|
|
818
|
-
default:
|
|
819
|
-
example:
|
|
851
|
+
default: true
|
|
852
|
+
example: true
|
|
820
853
|
type: boolean
|
|
821
854
|
userId:
|
|
822
855
|
default: '44196397'
|
|
823
856
|
example: '44196397'
|
|
824
857
|
type: string
|
|
825
|
-
|
|
826
|
-
default:
|
|
827
|
-
example:
|
|
828
|
-
type: boolean
|
|
829
|
-
withClientEventToken:
|
|
830
|
-
default: false
|
|
831
|
-
example: false
|
|
858
|
+
withCommunity:
|
|
859
|
+
default: true
|
|
860
|
+
example: true
|
|
832
861
|
type: boolean
|
|
833
862
|
withV2Timeline:
|
|
834
863
|
default: true
|
|
@@ -842,8 +871,7 @@ paths:
|
|
|
842
871
|
- userId
|
|
843
872
|
- count
|
|
844
873
|
- includePromotedContent
|
|
845
|
-
-
|
|
846
|
-
- withBirdwatchNotes
|
|
874
|
+
- withCommunity
|
|
847
875
|
- withVoice
|
|
848
876
|
- withV2Timeline
|
|
849
877
|
type: object
|
|
@@ -94,6 +94,45 @@ components:
|
|
|
94
94
|
properties:
|
|
95
95
|
__typename:
|
|
96
96
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
97
|
+
card:
|
|
98
|
+
properties:
|
|
99
|
+
legacy:
|
|
100
|
+
properties:
|
|
101
|
+
binding_values:
|
|
102
|
+
items:
|
|
103
|
+
properties:
|
|
104
|
+
key:
|
|
105
|
+
type: string
|
|
106
|
+
value:
|
|
107
|
+
properties:
|
|
108
|
+
boolean_value:
|
|
109
|
+
type: boolean
|
|
110
|
+
scribe_key:
|
|
111
|
+
type: string
|
|
112
|
+
string_value:
|
|
113
|
+
type: string
|
|
114
|
+
type:
|
|
115
|
+
type: string
|
|
116
|
+
required:
|
|
117
|
+
- type
|
|
118
|
+
type: object
|
|
119
|
+
required:
|
|
120
|
+
- key
|
|
121
|
+
- value
|
|
122
|
+
type: object
|
|
123
|
+
type: array
|
|
124
|
+
name:
|
|
125
|
+
type: string
|
|
126
|
+
url:
|
|
127
|
+
type: string
|
|
128
|
+
required:
|
|
129
|
+
- binding_values
|
|
130
|
+
- name
|
|
131
|
+
- url
|
|
132
|
+
type: object
|
|
133
|
+
rest_id:
|
|
134
|
+
type: string
|
|
135
|
+
type: object
|
|
97
136
|
core:
|
|
98
137
|
$ref: ./user.yaml#/components/schemas/UserResultCore
|
|
99
138
|
edit_control:
|
|
@@ -241,6 +280,24 @@ components:
|
|
|
241
280
|
- __typename
|
|
242
281
|
- tweet
|
|
243
282
|
Url:
|
|
283
|
+
properties:
|
|
284
|
+
display_url:
|
|
285
|
+
type: string
|
|
286
|
+
expanded_url:
|
|
287
|
+
format: uri
|
|
288
|
+
type: string
|
|
289
|
+
indices:
|
|
290
|
+
items:
|
|
291
|
+
type: integer
|
|
292
|
+
type: array
|
|
293
|
+
url:
|
|
294
|
+
format: uri
|
|
295
|
+
type: string
|
|
296
|
+
required:
|
|
297
|
+
- url
|
|
298
|
+
- indices
|
|
299
|
+
- expanded_url
|
|
300
|
+
- display_url
|
|
244
301
|
type: object
|
|
245
302
|
UserMention:
|
|
246
303
|
type: object
|
|
@@ -68,44 +68,44 @@ paths:
|
|
|
68
68
|
$ref: ./paths/v1.1-get.yaml#/paths/~11.1~1search~1typeahead.json
|
|
69
69
|
/2/search/adaptive.json:
|
|
70
70
|
$ref: ./paths/v2.0-get.yaml#/paths/~12~1search~1adaptive.json
|
|
71
|
-
/graphql/
|
|
72
|
-
$ref: ./paths/
|
|
73
|
-
/graphql/
|
|
74
|
-
$ref: ./paths/
|
|
75
|
-
/graphql/
|
|
76
|
-
$ref: ./paths/
|
|
77
|
-
/graphql/
|
|
78
|
-
$ref: ./paths/
|
|
79
|
-
/graphql/
|
|
80
|
-
$ref: ./paths/
|
|
81
|
-
/graphql/
|
|
82
|
-
$ref: ./paths/
|
|
83
|
-
/graphql/
|
|
84
|
-
$ref: ./paths/follow.yaml#/paths/~1graphql~
|
|
85
|
-
/graphql/
|
|
86
|
-
$ref: ./paths/
|
|
87
|
-
/graphql/
|
|
88
|
-
$ref: ./paths/
|
|
89
|
-
/graphql/
|
|
90
|
-
$ref: ./paths/
|
|
91
|
-
/graphql/
|
|
92
|
-
$ref: ./paths/
|
|
93
|
-
/graphql/
|
|
94
|
-
$ref: ./paths/
|
|
95
|
-
/graphql/
|
|
96
|
-
$ref: ./paths/
|
|
97
|
-
/graphql/
|
|
98
|
-
$ref: ./paths/
|
|
99
|
-
/graphql/
|
|
100
|
-
$ref: ./paths/post.yaml#/paths/~1graphql~
|
|
101
|
-
/graphql/
|
|
102
|
-
$ref: ./paths/user.yaml#/paths/~1graphql~
|
|
103
|
-
/graphql/
|
|
104
|
-
$ref: ./paths/
|
|
105
|
-
/graphql/
|
|
106
|
-
$ref: ./paths/
|
|
107
|
-
/graphql/
|
|
108
|
-
$ref: ./paths/
|
|
71
|
+
/graphql/{pathQueryId}/Bookmarks:
|
|
72
|
+
$ref: ./paths/bookmarks.yaml#/paths/~1graphql~1{pathQueryId}~1Bookmarks
|
|
73
|
+
/graphql/{pathQueryId}/CreateRetweet:
|
|
74
|
+
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1CreateRetweet
|
|
75
|
+
/graphql/{pathQueryId}/CreateTweet:
|
|
76
|
+
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1CreateTweet
|
|
77
|
+
/graphql/{pathQueryId}/DeleteRetweet:
|
|
78
|
+
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1DeleteRetweet
|
|
79
|
+
/graphql/{pathQueryId}/DeleteTweet:
|
|
80
|
+
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1DeleteTweet
|
|
81
|
+
/graphql/{pathQueryId}/FavoriteTweet:
|
|
82
|
+
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1FavoriteTweet
|
|
83
|
+
/graphql/{pathQueryId}/Followers:
|
|
84
|
+
$ref: ./paths/follow.yaml#/paths/~1graphql~1{pathQueryId}~1Followers
|
|
85
|
+
/graphql/{pathQueryId}/Following:
|
|
86
|
+
$ref: ./paths/follow.yaml#/paths/~1graphql~1{pathQueryId}~1Following
|
|
87
|
+
/graphql/{pathQueryId}/HomeLatestTimeline:
|
|
88
|
+
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{pathQueryId}~1HomeLatestTimeline
|
|
89
|
+
/graphql/{pathQueryId}/HomeTimeline:
|
|
90
|
+
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{pathQueryId}~1HomeTimeline
|
|
91
|
+
/graphql/{pathQueryId}/Likes:
|
|
92
|
+
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{pathQueryId}~1Likes
|
|
93
|
+
/graphql/{pathQueryId}/ListLatestTweetsTimeline:
|
|
94
|
+
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{pathQueryId}~1ListLatestTweetsTimeline
|
|
95
|
+
/graphql/{pathQueryId}/ProfileSpotlightsQuery:
|
|
96
|
+
$ref: ./paths/profile.yaml#/paths/~1graphql~1{pathQueryId}~1ProfileSpotlightsQuery
|
|
97
|
+
/graphql/{pathQueryId}/TweetDetail:
|
|
98
|
+
$ref: ./paths/tweet.yaml#/paths/~1graphql~1{pathQueryId}~1TweetDetail
|
|
99
|
+
/graphql/{pathQueryId}/UnfavoriteTweet:
|
|
100
|
+
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1UnfavoriteTweet
|
|
101
|
+
/graphql/{pathQueryId}/UserByScreenName:
|
|
102
|
+
$ref: ./paths/user.yaml#/paths/~1graphql~1{pathQueryId}~1UserByScreenName
|
|
103
|
+
/graphql/{pathQueryId}/UserMedia:
|
|
104
|
+
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{pathQueryId}~1UserMedia
|
|
105
|
+
/graphql/{pathQueryId}/UserTweets:
|
|
106
|
+
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{pathQueryId}~1UserTweets
|
|
107
|
+
/graphql/{pathQueryId}/UserTweetsAndReplies:
|
|
108
|
+
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{pathQueryId}~1UserTweetsAndReplies
|
|
109
109
|
/other:
|
|
110
110
|
$ref: ./paths/other.yaml#/paths/~1other
|
|
111
111
|
security:
|
|
@@ -23,11 +23,18 @@ info:
|
|
|
23
23
|
version: 0.0.1
|
|
24
24
|
openapi: 3.0.3
|
|
25
25
|
paths:
|
|
26
|
-
/graphql/
|
|
26
|
+
/graphql/{pathQueryId}/Bookmarks:
|
|
27
27
|
get:
|
|
28
28
|
description: get bookmarks
|
|
29
29
|
operationId: getBookmarks
|
|
30
30
|
parameters:
|
|
31
|
+
- in: path
|
|
32
|
+
name: pathQueryId
|
|
33
|
+
required: true
|
|
34
|
+
schema:
|
|
35
|
+
default: tmd4ifV8RHltzn8ymGg1aw
|
|
36
|
+
example: tmd4ifV8RHltzn8ymGg1aw
|
|
37
|
+
type: string
|
|
31
38
|
- in: query
|
|
32
39
|
name: queryId
|
|
33
40
|
required: true
|
|
@@ -38,17 +38,24 @@ info:
|
|
|
38
38
|
version: 0.0.1
|
|
39
39
|
openapi: 3.0.3
|
|
40
40
|
paths:
|
|
41
|
-
/graphql/
|
|
41
|
+
/graphql/{pathQueryId}/Followers:
|
|
42
42
|
get:
|
|
43
|
-
description: get user list of
|
|
44
|
-
operationId:
|
|
43
|
+
description: get user list of followers
|
|
44
|
+
operationId: getFollowers
|
|
45
45
|
parameters:
|
|
46
|
+
- in: path
|
|
47
|
+
name: pathQueryId
|
|
48
|
+
required: true
|
|
49
|
+
schema:
|
|
50
|
+
default: djdTXDIk2qhd4OStqlUFeQ
|
|
51
|
+
example: djdTXDIk2qhd4OStqlUFeQ
|
|
52
|
+
type: string
|
|
46
53
|
- in: query
|
|
47
54
|
name: queryId
|
|
48
55
|
required: true
|
|
49
56
|
schema:
|
|
50
|
-
default: '"
|
|
51
|
-
example: '"
|
|
57
|
+
default: '"djdTXDIk2qhd4OStqlUFeQ"'
|
|
58
|
+
example: '"djdTXDIk2qhd4OStqlUFeQ"'
|
|
52
59
|
type: string
|
|
53
60
|
- in: query
|
|
54
61
|
name: variables
|
|
@@ -120,17 +127,24 @@ paths:
|
|
|
120
127
|
type: string
|
|
121
128
|
tags:
|
|
122
129
|
- user-list
|
|
123
|
-
/graphql/
|
|
130
|
+
/graphql/{pathQueryId}/Following:
|
|
124
131
|
get:
|
|
125
|
-
description: get user list of
|
|
126
|
-
operationId:
|
|
132
|
+
description: get user list of following
|
|
133
|
+
operationId: getFollowing
|
|
127
134
|
parameters:
|
|
135
|
+
- in: path
|
|
136
|
+
name: pathQueryId
|
|
137
|
+
required: true
|
|
138
|
+
schema:
|
|
139
|
+
default: IWP6Zt14sARO29lJT35bBw
|
|
140
|
+
example: IWP6Zt14sARO29lJT35bBw
|
|
141
|
+
type: string
|
|
128
142
|
- in: query
|
|
129
143
|
name: queryId
|
|
130
144
|
required: true
|
|
131
145
|
schema:
|
|
132
|
-
default: '"
|
|
133
|
-
example: '"
|
|
146
|
+
default: '"IWP6Zt14sARO29lJT35bBw"'
|
|
147
|
+
example: '"IWP6Zt14sARO29lJT35bBw"'
|
|
134
148
|
type: string
|
|
135
149
|
- in: query
|
|
136
150
|
name: variables
|