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
@@ -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/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
72
- $ref: ./paths/post.yaml#/paths/~1graphql~11RyAhNwby-gzGCRVsMxKbQ~1CreateTweet
73
- /graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
74
- $ref: ./paths/timeline.yaml#/paths/~1graphql~12TemLyqrMpTeAmysdbnVqw~1ListLatestTweetsTimeline
75
- /graphql/5fmEkRT-1AdHqEsbVgehMg/Likes:
76
- $ref: ./paths/usertweets.yaml#/paths/~1graphql~15fmEkRT-1AdHqEsbVgehMg~1Likes
77
- /graphql/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
78
- $ref: ./paths/profile.yaml#/paths/~1graphql~19zwVLJ48lmVUk8u_Gh9DmA~1ProfileSpotlightsQuery
79
- /graphql/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
80
- $ref: ./paths/timeline.yaml#/paths/~1graphql~1HCosKfLNW1AcOo3la3mMgg~1HomeTimeline
81
- /graphql/HuTx74BxAnezK1gWvYY7zg/UserTweets:
82
- $ref: ./paths/usertweets.yaml#/paths/~1graphql~1HuTx74BxAnezK1gWvYY7zg~1UserTweets
83
- /graphql/IWP6Zt14sARO29lJT35bBw/Following:
84
- $ref: ./paths/follow.yaml#/paths/~1graphql~1IWP6Zt14sARO29lJT35bBw~1Following
85
- /graphql/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
86
- $ref: ./paths/usertweets.yaml#/paths/~1graphql~1RIWc55YCNyUJ-U3HHGYkdg~1UserTweetsAndReplies
87
- /graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
88
- $ref: ./paths/post.yaml#/paths/~1graphql~1VaenaVgh5q5ih7kvyVjgtg~1DeleteTweet
89
- /graphql/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
90
- $ref: ./paths/usertweets.yaml#/paths/~1graphql~1YqiE3JL1KNgf9nSljYdxaA~1UserMedia
91
- /graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
92
- $ref: ./paths/post.yaml#/paths/~1graphql~1ZYKSe-w7KEslx3JhSIk5LA~1UnfavoriteTweet
93
- /graphql/djdTXDIk2qhd4OStqlUFeQ/Followers:
94
- $ref: ./paths/follow.yaml#/paths/~1graphql~1djdTXDIk2qhd4OStqlUFeQ~1Followers
95
- /graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
96
- $ref: ./paths/post.yaml#/paths/~1graphql~1iQtK4dl5hBmXewYZuEOKVw~1DeleteRetweet
97
- /graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
98
- $ref: ./paths/post.yaml#/paths/~1graphql~1lI07N6Otwv1PhnEgXILM7A~1FavoriteTweet
99
- /graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
100
- $ref: ./paths/post.yaml#/paths/~1graphql~1ojPdsZsimiJrUGLR1sjUtA~1CreateRetweet
101
- /graphql/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
102
- $ref: ./paths/user.yaml#/paths/~1graphql~1sLVLhk0bGj3MVFEKTdax1w~1UserByScreenName
103
- /graphql/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
104
- $ref: ./paths/bookmarks.yaml#/paths/~1graphql~1tmd4ifV8RHltzn8ymGg1aw~1Bookmarks
105
- /graphql/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
106
- $ref: ./paths/tweet.yaml#/paths/~1graphql~1wNNG8DBB8EaXw1lq4vFWGA~1TweetDetail
107
- /graphql/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
108
- $ref: ./paths/timeline.yaml#/paths/~1graphql~1zhX91JE87mWvfprhYE97xA~1HomeLatestTimeline
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/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
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/IWP6Zt14sARO29lJT35bBw/Following:
41
+ /graphql/{pathQueryId}/Followers:
42
42
  get:
43
- description: get user list of following
44
- operationId: getFollowing
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: '"IWP6Zt14sARO29lJT35bBw"'
51
- example: '"IWP6Zt14sARO29lJT35bBw"'
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/djdTXDIk2qhd4OStqlUFeQ/Followers:
130
+ /graphql/{pathQueryId}/Following:
124
131
  get:
125
- description: get user list of followers
126
- operationId: getFollowers
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: '"djdTXDIk2qhd4OStqlUFeQ"'
133
- example: '"djdTXDIk2qhd4OStqlUFeQ"'
146
+ default: '"IWP6Zt14sARO29lJT35bBw"'
147
+ example: '"IWP6Zt14sARO29lJT35bBw"'
134
148
  type: string
135
149
  - in: query
136
150
  name: variables
@@ -136,11 +136,92 @@ 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
+ 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/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
407
+ /graphql/{pathQueryId}/DeleteRetweet:
327
408
  post:
328
409
  description: delete Retweet
329
- operationId: postDeleteTweet
330
- parameters: []
331
- requestBody:
332
- content:
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
- responses:
360
- '200':
361
- content:
362
- application/json:
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: ZYKSe-w7KEslx3JhSIk5LA
405
- example: ZYKSe-w7KEslx3JhSIk5LA
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
- tweet_id:
434
+ source_tweet_id:
414
435
  default: '1349129669258448897'
415
436
  example: '1349129669258448897'
416
437
  type: string
417
438
  required:
418
- - tweet_id
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/UnfavoriteTweetResponseData'
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/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
481
+ /graphql/{pathQueryId}/DeleteTweet:
461
482
  post:
462
483
  description: delete Retweet
463
- operationId: postDeleteRetweet
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: iQtK4dl5hBmXewYZuEOKVw
472
- example: iQtK4dl5hBmXewYZuEOKVw
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
- source_tweet_id:
508
+ tweet_id:
481
509
  default: '1349129669258448897'
482
510
  example: '1349129669258448897'
483
511
  type: string
484
512
  required:
485
- - source_tweet_id
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/DeleteRetweetResponse'
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/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
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/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
629
+ /graphql/{pathQueryId}/UnfavoriteTweet:
595
630
  post:
596
- description: create Retweet
597
- operationId: postCreateRetweet
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: ojPdsZsimiJrUGLR1sjUtA
606
- example: ojPdsZsimiJrUGLR1sjUtA
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/CreateRetweetResponse'
674
+ $ref: '#/components/schemas/UnfavoriteTweetResponseData'
633
675
  description: Successful operation
634
676
  headers:
635
677
  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
  - in: query
72
79
  name: queryId
73
80
  required: true