twitter-openapi-typescript-generated 0.0.1 → 0.0.2

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 (127) hide show
  1. package/.openapi-generator-ignore +1 -2
  2. package/README.md +2 -2
  3. package/package.json +25 -26
  4. package/tools/openapi-generator-config.yaml +10 -0
  5. package/tools/win/clean.ps1 +21 -0
  6. package/tools/win/gen.ps1 +8 -0
  7. package/tools/win/init.ps1 +1 -0
  8. package/tools/win/replace.py +40 -0
  9. package/twitter-openapi/.vscode/extensions.json +3 -0
  10. package/twitter-openapi/.vscode/settings.json +9 -0
  11. package/twitter-openapi/LICENSE.txt +661 -0
  12. package/twitter-openapi/README.md +38 -0
  13. package/twitter-openapi/dist/dart/openapi-3.0.yaml +111 -0
  14. package/twitter-openapi/dist/dart/paths/bookmarks.yaml +134 -0
  15. package/twitter-openapi/dist/dart/paths/follow.yaml +262 -0
  16. package/twitter-openapi/dist/dart/paths/other.yaml +96 -0
  17. package/twitter-openapi/dist/dart/paths/post.yaml +834 -0
  18. package/twitter-openapi/dist/dart/paths/profile.yaml +152 -0
  19. package/twitter-openapi/dist/dart/paths/timeline.yaml +380 -0
  20. package/twitter-openapi/dist/dart/paths/tweet.yaml +134 -0
  21. package/twitter-openapi/dist/dart/paths/user.yaml +112 -0
  22. package/twitter-openapi/dist/dart/paths/usertweets.yaml +484 -0
  23. package/twitter-openapi/dist/dart/paths/v1.1-get.yaml +300 -0
  24. package/twitter-openapi/dist/dart/paths/v1.1-post.yaml +295 -0
  25. package/twitter-openapi/dist/dart/paths/v2.0-get.yaml +331 -0
  26. package/twitter-openapi/dist/dart/response/error.yaml +90 -0
  27. package/twitter-openapi/dist/dart/schemas/content.yaml +181 -0
  28. package/twitter-openapi/dist/dart/schemas/general.yaml +13 -0
  29. package/twitter-openapi/dist/dart/schemas/instruction.yaml +83 -0
  30. package/twitter-openapi/dist/dart/schemas/timeline.yaml +25 -0
  31. package/twitter-openapi/dist/dart/schemas/tweet.yaml +251 -0
  32. package/twitter-openapi/dist/dart/schemas/typename.yaml +19 -0
  33. package/twitter-openapi/dist/dart/schemas/user.yaml +206 -0
  34. package/twitter-openapi/dist/docs/openapi-3.0.yaml +135 -0
  35. package/twitter-openapi/dist/docs/paths/bookmarks.yaml +248 -0
  36. package/twitter-openapi/dist/docs/paths/follow.yaml +486 -0
  37. package/twitter-openapi/dist/docs/paths/other.yaml +96 -0
  38. package/twitter-openapi/dist/docs/paths/post.yaml +638 -0
  39. package/twitter-openapi/dist/docs/paths/profile.yaml +159 -0
  40. package/twitter-openapi/dist/docs/paths/timeline.yaml +730 -0
  41. package/twitter-openapi/dist/docs/paths/tweet.yaml +272 -0
  42. package/twitter-openapi/dist/docs/paths/user.yaml +152 -0
  43. package/twitter-openapi/dist/docs/paths/usertweets.yaml +1010 -0
  44. package/twitter-openapi/dist/docs/paths/v1.1-get.yaml +242 -0
  45. package/twitter-openapi/dist/docs/paths/v1.1-post.yaml +237 -0
  46. package/twitter-openapi/dist/docs/paths/v2.0-get.yaml +302 -0
  47. package/twitter-openapi/dist/docs/response/error.yaml +90 -0
  48. package/twitter-openapi/dist/docs/schemas/content.yaml +181 -0
  49. package/twitter-openapi/dist/docs/schemas/general.yaml +13 -0
  50. package/twitter-openapi/dist/docs/schemas/instruction.yaml +83 -0
  51. package/twitter-openapi/dist/docs/schemas/timeline.yaml +25 -0
  52. package/twitter-openapi/dist/docs/schemas/tweet.yaml +251 -0
  53. package/twitter-openapi/dist/docs/schemas/typename.yaml +19 -0
  54. package/twitter-openapi/dist/docs/schemas/user.yaml +206 -0
  55. package/twitter-openapi/dist/test/openapi-3.0.yaml +135 -0
  56. package/twitter-openapi/dist/test/paths/bookmarks.yaml +105 -0
  57. package/twitter-openapi/dist/test/paths/follow.yaml +204 -0
  58. package/twitter-openapi/dist/test/paths/other.yaml +96 -0
  59. package/twitter-openapi/dist/test/paths/post.yaml +485 -0
  60. package/twitter-openapi/dist/test/paths/profile.yaml +123 -0
  61. package/twitter-openapi/dist/test/paths/timeline.yaml +293 -0
  62. package/twitter-openapi/dist/test/paths/tweet.yaml +105 -0
  63. package/twitter-openapi/dist/test/paths/user.yaml +83 -0
  64. package/twitter-openapi/dist/test/paths/usertweets.yaml +368 -0
  65. package/twitter-openapi/dist/test/paths/v1.1-get.yaml +242 -0
  66. package/twitter-openapi/dist/test/paths/v1.1-post.yaml +277 -0
  67. package/twitter-openapi/dist/test/paths/v2.0-get.yaml +302 -0
  68. package/twitter-openapi/dist/test/response/error.yaml +90 -0
  69. package/twitter-openapi/dist/test/schemas/content.yaml +181 -0
  70. package/twitter-openapi/dist/test/schemas/general.yaml +13 -0
  71. package/twitter-openapi/dist/test/schemas/instruction.yaml +83 -0
  72. package/twitter-openapi/dist/test/schemas/timeline.yaml +25 -0
  73. package/twitter-openapi/dist/test/schemas/tweet.yaml +251 -0
  74. package/twitter-openapi/dist/test/schemas/typename.yaml +19 -0
  75. package/twitter-openapi/dist/test/schemas/user.yaml +206 -0
  76. package/twitter-openapi/dist/typescript/openapi-3.0.yaml +135 -0
  77. package/twitter-openapi/dist/typescript/paths/bookmarks.yaml +105 -0
  78. package/twitter-openapi/dist/typescript/paths/follow.yaml +204 -0
  79. package/twitter-openapi/dist/typescript/paths/other.yaml +96 -0
  80. package/twitter-openapi/dist/typescript/paths/post.yaml +660 -0
  81. package/twitter-openapi/dist/typescript/paths/profile.yaml +123 -0
  82. package/twitter-openapi/dist/typescript/paths/timeline.yaml +293 -0
  83. package/twitter-openapi/dist/typescript/paths/tweet.yaml +105 -0
  84. package/twitter-openapi/dist/typescript/paths/user.yaml +83 -0
  85. package/twitter-openapi/dist/typescript/paths/usertweets.yaml +368 -0
  86. package/twitter-openapi/dist/typescript/paths/v1.1-get.yaml +242 -0
  87. package/twitter-openapi/dist/typescript/paths/v1.1-post.yaml +237 -0
  88. package/twitter-openapi/dist/typescript/paths/v2.0-get.yaml +302 -0
  89. package/twitter-openapi/dist/typescript/response/error.yaml +90 -0
  90. package/twitter-openapi/dist/typescript/schemas/content.yaml +181 -0
  91. package/twitter-openapi/dist/typescript/schemas/general.yaml +13 -0
  92. package/twitter-openapi/dist/typescript/schemas/instruction.yaml +83 -0
  93. package/twitter-openapi/dist/typescript/schemas/timeline.yaml +25 -0
  94. package/twitter-openapi/dist/typescript/schemas/tweet.yaml +251 -0
  95. package/twitter-openapi/dist/typescript/schemas/typename.yaml +19 -0
  96. package/twitter-openapi/dist/typescript/schemas/user.yaml +206 -0
  97. package/twitter-openapi/requirements.txt +0 -0
  98. package/twitter-openapi/src/config/component/response_header.yaml +32 -0
  99. package/twitter-openapi/src/config/component/response_header_legacy.yaml +35 -0
  100. package/twitter-openapi/src/config/component/security_schemes.yaml +67 -0
  101. package/twitter-openapi/src/config/placeholder.json +535 -0
  102. package/twitter-openapi/src/openapi/openapi-3.0.yaml +68 -0
  103. package/twitter-openapi/src/openapi/paths/bookmarks.yaml +42 -0
  104. package/twitter-openapi/src/openapi/paths/follow.yaml +73 -0
  105. package/twitter-openapi/src/openapi/paths/other.yaml +101 -0
  106. package/twitter-openapi/src/openapi/paths/post.yaml +246 -0
  107. package/twitter-openapi/src/openapi/paths/profile.yaml +81 -0
  108. package/twitter-openapi/src/openapi/paths/timeline.yaml +98 -0
  109. package/twitter-openapi/src/openapi/paths/tweet.yaml +35 -0
  110. package/twitter-openapi/src/openapi/paths/user.yaml +35 -0
  111. package/twitter-openapi/src/openapi/paths/usertweets.yaml +94 -0
  112. package/twitter-openapi/src/openapi/paths/v1.1-get.yaml +25 -0
  113. package/twitter-openapi/src/openapi/paths/v1.1-post.yaml +25 -0
  114. package/twitter-openapi/src/openapi/paths/v2.0-get.yaml +15 -0
  115. package/twitter-openapi/src/openapi/response/error.yaml +97 -0
  116. package/twitter-openapi/src/openapi/schemas/content.yaml +190 -0
  117. package/twitter-openapi/src/openapi/schemas/general.yaml +12 -0
  118. package/twitter-openapi/src/openapi/schemas/instruction.yaml +90 -0
  119. package/twitter-openapi/src/openapi/schemas/timeline.yaml +27 -0
  120. package/twitter-openapi/src/openapi/schemas/tweet.yaml +264 -0
  121. package/twitter-openapi/src/openapi/schemas/typename.yaml +21 -0
  122. package/twitter-openapi/src/openapi/schemas/user.yaml +210 -0
  123. package/twitter-openapi/tools/__pycache__/build_config.cpython-310.pyc +0 -0
  124. package/twitter-openapi/tools/__pycache__/hooks.cpython-310.pyc +0 -0
  125. package/twitter-openapi/tools/build.py +79 -0
  126. package/twitter-openapi/tools/build_config.py +200 -0
  127. package/twitter-openapi/tools/hooks.py +265 -0
@@ -0,0 +1,368 @@
1
+ components:
2
+ schemas:
3
+ UserTweetsData:
4
+ properties:
5
+ user:
6
+ $ref: '#/components/schemas/UserTweetsUser'
7
+ required:
8
+ - user
9
+ UserTweetsResponse:
10
+ properties:
11
+ data:
12
+ $ref: '#/components/schemas/UserTweetsData'
13
+ required:
14
+ - data
15
+ UserTweetsResult:
16
+ properties:
17
+ __typename:
18
+ $ref: ./../schemas/typename.yaml#/components/schemas/TypeName
19
+ timeline_v2:
20
+ $ref: ./../schemas/timeline.yaml#/components/schemas/TimelineV2
21
+ required:
22
+ - __typename
23
+ - timeline_v2
24
+ UserTweetsUser:
25
+ properties:
26
+ result:
27
+ $ref: '#/components/schemas/UserTweetsResult'
28
+ required:
29
+ - result
30
+ info:
31
+ title: Twitter OpenAPI
32
+ version: 0.0.1
33
+ openapi: 3.0.3
34
+ paths:
35
+ /graphql/5fmEkRT-1AdHqEsbVgehMg/Likes:
36
+ get:
37
+ description: get user likes tweets
38
+ operationId: getLikes
39
+ parameters:
40
+ - in: query
41
+ name: queryId
42
+ required: true
43
+ schema:
44
+ default: '"5fmEkRT-1AdHqEsbVgehMg"'
45
+ example: '"5fmEkRT-1AdHqEsbVgehMg"'
46
+ type: string
47
+ - in: query
48
+ name: variables
49
+ required: true
50
+ schema:
51
+ default: '{"userId": "44196397", "count": 20, "includePromotedContent":
52
+ false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
53
+ true, "withV2Timeline": true}'
54
+ example: '{"userId": "44196397", "count": 20, "includePromotedContent":
55
+ false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
56
+ true, "withV2Timeline": true}'
57
+ type: string
58
+ - in: query
59
+ name: features
60
+ required: true
61
+ schema:
62
+ default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
63
+ true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
64
+ true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
65
+ false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
66
+ true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
67
+ true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
68
+ true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
69
+ false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
70
+ false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
71
+ false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
72
+ false}'
73
+ example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
74
+ true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
75
+ true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
76
+ false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
77
+ true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
78
+ true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
79
+ true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
80
+ false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
81
+ false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
82
+ false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
83
+ false}'
84
+ type: string
85
+ responses:
86
+ '200':
87
+ content:
88
+ application/json:
89
+ schema:
90
+ $ref: '#/components/schemas/UserTweetsResponse'
91
+ description: Successful operation
92
+ headers:
93
+ x-connection-hash:
94
+ schema:
95
+ type: string
96
+ x-rate-limit-limit:
97
+ schema:
98
+ type: integer
99
+ x-rate-limit-remaining:
100
+ schema:
101
+ type: integer
102
+ x-rate-limit-reset:
103
+ schema:
104
+ type: integer
105
+ x-response-time:
106
+ schema:
107
+ type: integer
108
+ x-tfe-preserve-body:
109
+ schema:
110
+ type: boolean
111
+ x-transaction-id:
112
+ schema:
113
+ type: string
114
+ x-twitter-response-tags:
115
+ schema:
116
+ type: string
117
+ tags:
118
+ - tweet
119
+ /graphql/HuTx74BxAnezK1gWvYY7zg/UserTweets:
120
+ get:
121
+ description: get user tweets
122
+ operationId: getUserTweets
123
+ parameters:
124
+ - in: query
125
+ name: queryId
126
+ required: true
127
+ schema:
128
+ default: '"HuTx74BxAnezK1gWvYY7zg"'
129
+ example: '"HuTx74BxAnezK1gWvYY7zg"'
130
+ type: string
131
+ - in: query
132
+ name: variables
133
+ required: true
134
+ schema:
135
+ default: '{"userId": "44196397", "count": 40, "includePromotedContent":
136
+ true, "withQuickPromoteEligibilityTweetFields": true, "withVoice": true,
137
+ "withV2Timeline": true}'
138
+ example: '{"userId": "44196397", "count": 40, "includePromotedContent":
139
+ true, "withQuickPromoteEligibilityTweetFields": true, "withVoice": true,
140
+ "withV2Timeline": true}'
141
+ type: string
142
+ - in: query
143
+ name: features
144
+ required: true
145
+ schema:
146
+ default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
147
+ true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
148
+ true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
149
+ false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
150
+ true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
151
+ true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
152
+ true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
153
+ false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
154
+ false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
155
+ false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
156
+ false}'
157
+ example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
158
+ true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
159
+ true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
160
+ false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
161
+ true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
162
+ true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
163
+ true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
164
+ false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
165
+ false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
166
+ false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
167
+ false}'
168
+ type: string
169
+ responses:
170
+ '200':
171
+ content:
172
+ application/json:
173
+ schema:
174
+ $ref: '#/components/schemas/UserTweetsResponse'
175
+ description: Successful operation
176
+ headers:
177
+ x-connection-hash:
178
+ schema:
179
+ type: string
180
+ x-rate-limit-limit:
181
+ schema:
182
+ type: integer
183
+ x-rate-limit-remaining:
184
+ schema:
185
+ type: integer
186
+ x-rate-limit-reset:
187
+ schema:
188
+ type: integer
189
+ x-response-time:
190
+ schema:
191
+ type: integer
192
+ x-tfe-preserve-body:
193
+ schema:
194
+ type: boolean
195
+ x-transaction-id:
196
+ schema:
197
+ type: string
198
+ x-twitter-response-tags:
199
+ schema:
200
+ type: string
201
+ tags:
202
+ - tweet
203
+ /graphql/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
204
+ get:
205
+ description: get user replies tweets
206
+ operationId: getUserTweetsAndReplies
207
+ parameters:
208
+ - in: query
209
+ name: queryId
210
+ required: true
211
+ schema:
212
+ default: '"RIWc55YCNyUJ-U3HHGYkdg"'
213
+ example: '"RIWc55YCNyUJ-U3HHGYkdg"'
214
+ type: string
215
+ - in: query
216
+ name: variables
217
+ required: true
218
+ schema:
219
+ default: '{"userId": "44196397", "count": 40, "includePromotedContent":
220
+ true, "withCommunity": true, "withVoice": true, "withV2Timeline": true}'
221
+ example: '{"userId": "44196397", "count": 40, "includePromotedContent":
222
+ true, "withCommunity": true, "withVoice": true, "withV2Timeline": true}'
223
+ type: string
224
+ - in: query
225
+ name: features
226
+ required: true
227
+ schema:
228
+ default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
229
+ true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
230
+ true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
231
+ false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
232
+ true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
233
+ true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
234
+ true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
235
+ false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
236
+ false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
237
+ false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
238
+ false}'
239
+ example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
240
+ true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
241
+ true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
242
+ false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
243
+ true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
244
+ true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
245
+ true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
246
+ false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
247
+ false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
248
+ false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
249
+ false}'
250
+ type: string
251
+ responses:
252
+ '200':
253
+ content:
254
+ application/json:
255
+ schema:
256
+ $ref: '#/components/schemas/UserTweetsResponse'
257
+ description: Successful operation
258
+ headers:
259
+ x-connection-hash:
260
+ schema:
261
+ type: string
262
+ x-rate-limit-limit:
263
+ schema:
264
+ type: integer
265
+ x-rate-limit-remaining:
266
+ schema:
267
+ type: integer
268
+ x-rate-limit-reset:
269
+ schema:
270
+ type: integer
271
+ x-response-time:
272
+ schema:
273
+ type: integer
274
+ x-tfe-preserve-body:
275
+ schema:
276
+ type: boolean
277
+ x-transaction-id:
278
+ schema:
279
+ type: string
280
+ x-twitter-response-tags:
281
+ schema:
282
+ type: string
283
+ tags:
284
+ - tweet
285
+ /graphql/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
286
+ get:
287
+ description: get user media tweets
288
+ operationId: getUserMedia
289
+ parameters:
290
+ - in: query
291
+ name: queryId
292
+ required: true
293
+ schema:
294
+ default: '"YqiE3JL1KNgf9nSljYdxaA"'
295
+ example: '"YqiE3JL1KNgf9nSljYdxaA"'
296
+ type: string
297
+ - in: query
298
+ name: variables
299
+ required: true
300
+ schema:
301
+ default: '{"userId": "44196397", "count": 40, "includePromotedContent":
302
+ false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
303
+ true, "withV2Timeline": true}'
304
+ example: '{"userId": "44196397", "count": 40, "includePromotedContent":
305
+ false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
306
+ true, "withV2Timeline": true}'
307
+ type: string
308
+ - in: query
309
+ name: features
310
+ required: true
311
+ schema:
312
+ default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
313
+ true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
314
+ true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
315
+ false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
316
+ true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
317
+ true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
318
+ true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
319
+ false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
320
+ false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
321
+ false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
322
+ false}'
323
+ example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
324
+ true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
325
+ true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
326
+ false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
327
+ true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
328
+ true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
329
+ true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
330
+ false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
331
+ false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
332
+ false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
333
+ false}'
334
+ type: string
335
+ responses:
336
+ '200':
337
+ content:
338
+ application/json:
339
+ schema:
340
+ $ref: '#/components/schemas/UserTweetsResponse'
341
+ description: Successful operation
342
+ headers:
343
+ x-connection-hash:
344
+ schema:
345
+ type: string
346
+ x-rate-limit-limit:
347
+ schema:
348
+ type: integer
349
+ x-rate-limit-remaining:
350
+ schema:
351
+ type: integer
352
+ x-rate-limit-reset:
353
+ schema:
354
+ type: integer
355
+ x-response-time:
356
+ schema:
357
+ type: integer
358
+ x-tfe-preserve-body:
359
+ schema:
360
+ type: boolean
361
+ x-transaction-id:
362
+ schema:
363
+ type: string
364
+ x-twitter-response-tags:
365
+ schema:
366
+ type: string
367
+ tags:
368
+ - tweet
@@ -0,0 +1,242 @@
1
+ info:
2
+ title: Twitter OpenAPI
3
+ version: 0.0.1
4
+ openapi: 3.0.3
5
+ paths:
6
+ /1.1/friends/following/list.json:
7
+ get:
8
+ description: get friends following list
9
+ operationId: getFriendsFollowingList
10
+ parameters:
11
+ - in: query
12
+ name: include_profile_interstitial_type
13
+ required: true
14
+ schema:
15
+ default: '1'
16
+ example: '1'
17
+ type: object
18
+ - in: query
19
+ name: include_blocking
20
+ required: true
21
+ schema:
22
+ default: '1'
23
+ example: '1'
24
+ type: object
25
+ - in: query
26
+ name: include_blocked_by
27
+ required: true
28
+ schema:
29
+ default: '1'
30
+ example: '1'
31
+ type: object
32
+ - in: query
33
+ name: include_followed_by
34
+ required: true
35
+ schema:
36
+ default: '1'
37
+ example: '1'
38
+ type: object
39
+ - in: query
40
+ name: include_want_retweets
41
+ required: true
42
+ schema:
43
+ default: '1'
44
+ example: '1'
45
+ type: object
46
+ - in: query
47
+ name: include_mute_edge
48
+ required: true
49
+ schema:
50
+ default: '1'
51
+ example: '1'
52
+ type: object
53
+ - in: query
54
+ name: include_can_dm
55
+ required: true
56
+ schema:
57
+ default: '1'
58
+ example: '1'
59
+ type: object
60
+ - in: query
61
+ name: include_can_media_tag
62
+ required: true
63
+ schema:
64
+ default: '1'
65
+ example: '1'
66
+ type: object
67
+ - in: query
68
+ name: include_ext_has_nft_avatar
69
+ required: true
70
+ schema:
71
+ default: '1'
72
+ example: '1'
73
+ type: object
74
+ - in: query
75
+ name: include_ext_is_blue_verified
76
+ required: true
77
+ schema:
78
+ default: '1'
79
+ example: '1'
80
+ type: object
81
+ - in: query
82
+ name: include_ext_verified_type
83
+ required: true
84
+ schema:
85
+ default: '1'
86
+ example: '1'
87
+ type: object
88
+ - in: query
89
+ name: include_ext_profile_image_shape
90
+ required: true
91
+ schema:
92
+ default: '1'
93
+ example: '1'
94
+ type: object
95
+ - in: query
96
+ name: skip_status
97
+ required: true
98
+ schema:
99
+ default: '1'
100
+ example: '1'
101
+ type: object
102
+ - in: query
103
+ name: cursor
104
+ required: true
105
+ schema:
106
+ default: '-1'
107
+ example: '-1'
108
+ type: object
109
+ - in: query
110
+ name: user_id
111
+ required: true
112
+ schema:
113
+ default: '"44196397"'
114
+ example: '"44196397"'
115
+ type: object
116
+ - in: query
117
+ name: count
118
+ required: true
119
+ schema:
120
+ default: '3'
121
+ example: '3'
122
+ type: object
123
+ - in: query
124
+ name: with_total_count
125
+ required: true
126
+ schema:
127
+ default: 'true'
128
+ example: 'true'
129
+ type: object
130
+ responses:
131
+ '200':
132
+ description: Successful operation
133
+ headers:
134
+ status:
135
+ schema:
136
+ type: string
137
+ x-access-level:
138
+ schema:
139
+ type: string
140
+ x-client-event-enabled:
141
+ schema:
142
+ type: boolean
143
+ x-connection-hash:
144
+ schema:
145
+ type: string
146
+ x-content-type-options:
147
+ schema:
148
+ type: string
149
+ x-response-time:
150
+ schema:
151
+ type: integer
152
+ x-transaction:
153
+ schema:
154
+ type: string
155
+ x-transaction-id:
156
+ schema:
157
+ type: string
158
+ x-twitter-response-tags:
159
+ schema:
160
+ type: string
161
+ tags:
162
+ - v1.1-get
163
+ /1.1/search/typeahead.json:
164
+ get:
165
+ description: get search typeahead
166
+ operationId: getSearchTypeahead
167
+ parameters:
168
+ - in: query
169
+ name: include_ext_is_blue_verified
170
+ required: true
171
+ schema:
172
+ default: '1'
173
+ example: '1'
174
+ type: object
175
+ - in: query
176
+ name: include_ext_verified_type
177
+ required: true
178
+ schema:
179
+ default: '1'
180
+ example: '1'
181
+ type: object
182
+ - in: query
183
+ name: include_ext_profile_image_shape
184
+ required: true
185
+ schema:
186
+ default: '1'
187
+ example: '1'
188
+ type: object
189
+ - in: query
190
+ name: q
191
+ required: true
192
+ schema:
193
+ default: '"test"'
194
+ example: '"test"'
195
+ type: object
196
+ - in: query
197
+ name: src
198
+ required: true
199
+ schema:
200
+ default: '"search_box"'
201
+ example: '"search_box"'
202
+ type: object
203
+ - in: query
204
+ name: result_type
205
+ required: true
206
+ schema:
207
+ default: '"events,users,topics"'
208
+ example: '"events,users,topics"'
209
+ type: object
210
+ responses:
211
+ '200':
212
+ description: Successful operation
213
+ headers:
214
+ status:
215
+ schema:
216
+ type: string
217
+ x-access-level:
218
+ schema:
219
+ type: string
220
+ x-client-event-enabled:
221
+ schema:
222
+ type: boolean
223
+ x-connection-hash:
224
+ schema:
225
+ type: string
226
+ x-content-type-options:
227
+ schema:
228
+ type: string
229
+ x-response-time:
230
+ schema:
231
+ type: integer
232
+ x-transaction:
233
+ schema:
234
+ type: string
235
+ x-transaction-id:
236
+ schema:
237
+ type: string
238
+ x-twitter-response-tags:
239
+ schema:
240
+ type: string
241
+ tags:
242
+ - v1.1-get