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.
Files changed (199) hide show
  1. package/.openapi-generator/FILES +7 -1
  2. package/README.md +2 -2
  3. package/dist/apis/DefaultApi.d.ts +1 -1
  4. package/dist/apis/DefaultApi.d.ts.map +1 -1
  5. package/dist/apis/DefaultApi.js +3 -6
  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 -9
  12. package/dist/apis/TweetApi.d.ts.map +1 -1
  13. package/dist/apis/TweetApi.js +27 -54
  14. package/dist/apis/TweetApi.js.map +1 -1
  15. package/dist/apis/UserApi.d.ts +1 -1
  16. package/dist/apis/UserApi.d.ts.map +1 -1
  17. package/dist/apis/UserApi.js +3 -6
  18. package/dist/apis/UserApi.js.map +1 -1
  19. package/dist/apis/UserListApi.d.ts +2 -2
  20. package/dist/apis/UserListApi.d.ts.map +1 -1
  21. package/dist/apis/UserListApi.js +6 -12
  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/TweetLegacy.d.ts +7 -0
  68. package/dist/models/TweetLegacy.d.ts.map +1 -1
  69. package/dist/models/TweetLegacy.js +3 -0
  70. package/dist/models/TweetLegacy.js.map +1 -1
  71. package/dist/models/TweetLegacySelfThread.d.ts +32 -0
  72. package/dist/models/TweetLegacySelfThread.d.ts.map +1 -0
  73. package/dist/models/TweetLegacySelfThread.js +51 -0
  74. package/dist/models/TweetLegacySelfThread.js.map +1 -0
  75. package/dist/models/Url.d.ts +50 -0
  76. package/dist/models/Url.d.ts.map +1 -0
  77. package/dist/models/Url.js +60 -0
  78. package/dist/models/Url.js.map +1 -0
  79. package/dist/models/index.d.ts +7 -1
  80. package/dist/models/index.d.ts.map +1 -1
  81. package/dist/models/index.js +7 -1
  82. package/dist/models/index.js.map +1 -1
  83. package/package.json +1 -1
  84. package/src/apis/DefaultApi.ts +4 -8
  85. package/src/apis/PostApi.ts +36 -6
  86. package/src/apis/TweetApi.ts +36 -72
  87. package/src/apis/UserApi.ts +4 -8
  88. package/src/apis/UserListApi.ts +8 -16
  89. package/src/models/Entities.ts +10 -4
  90. package/src/models/PostCreateRetweetRequest.ts +9 -9
  91. package/src/models/{PostDeleteTweetRequestVariables.ts → PostCreateRetweetRequestVariables.ts} +10 -10
  92. package/src/models/PostDeleteTweetRequest.ts +9 -9
  93. package/src/models/PostFavoriteTweetRequest.ts +9 -9
  94. package/src/models/PostUnfavoriteTweetRequest.ts +9 -9
  95. package/src/models/Tweet.ts +14 -0
  96. package/src/models/TweetCard.ts +80 -0
  97. package/src/models/TweetCardLegacy.ts +91 -0
  98. package/src/models/TweetCardLegacyBindingValuesInner.ts +82 -0
  99. package/src/models/TweetCardLegacyBindingValuesInnerValue.ts +90 -0
  100. package/src/models/TweetLegacy.ts +14 -0
  101. package/src/models/TweetLegacySelfThread.ts +66 -0
  102. package/src/models/Url.ts +93 -0
  103. package/src/models/index.ts +7 -1
  104. package/tools/openapi-generator-config.yaml +2 -2
  105. package/tools/win/replace.py +20 -20
  106. package/twitter-openapi/README.md +4 -6
  107. package/twitter-openapi/dist/{test → compatible}/openapi-3.0.yaml +38 -38
  108. package/twitter-openapi/dist/{typescript → compatible}/paths/bookmarks.yaml +5 -5
  109. package/twitter-openapi/dist/{test → compatible}/paths/follow.yaml +14 -14
  110. package/twitter-openapi/dist/{typescript → compatible}/paths/post.yaml +135 -93
  111. package/twitter-openapi/dist/{test → compatible}/paths/profile.yaml +5 -5
  112. package/twitter-openapi/dist/{typescript → compatible}/paths/timeline.yaml +25 -25
  113. package/twitter-openapi/dist/{test → compatible}/paths/tweet.yaml +5 -5
  114. package/twitter-openapi/dist/{test → compatible}/paths/user.yaml +5 -5
  115. package/twitter-openapi/dist/{test → compatible}/paths/usertweets.yaml +36 -36
  116. package/twitter-openapi/dist/compatible/resources/parameters.yaml +13 -0
  117. package/twitter-openapi/dist/{dart → compatible}/schemas/tweet.yaml +65 -0
  118. package/twitter-openapi/dist/docs/openapi-3.0.yaml +38 -38
  119. package/twitter-openapi/dist/docs/paths/bookmarks.yaml +7 -56
  120. package/twitter-openapi/dist/docs/paths/follow.yaml +18 -116
  121. package/twitter-openapi/dist/docs/paths/post.yaml +124 -82
  122. package/twitter-openapi/dist/docs/paths/profile.yaml +7 -35
  123. package/twitter-openapi/dist/docs/paths/timeline.yaml +43 -192
  124. package/twitter-openapi/dist/docs/paths/tweet.yaml +7 -61
  125. package/twitter-openapi/dist/docs/paths/user.yaml +7 -41
  126. package/twitter-openapi/dist/docs/paths/usertweets.yaml +53 -263
  127. package/twitter-openapi/dist/docs/resources/parameters.yaml +13 -0
  128. package/twitter-openapi/dist/docs/schemas/tweet.yaml +65 -0
  129. package/twitter-openapi/src/openapi/paths/bookmarks.yaml +1 -1
  130. package/twitter-openapi/src/openapi/paths/follow.yaml +2 -2
  131. package/twitter-openapi/src/openapi/paths/post.yaml +6 -6
  132. package/twitter-openapi/src/openapi/paths/profile.yaml +1 -1
  133. package/twitter-openapi/src/openapi/paths/timeline.yaml +3 -3
  134. package/twitter-openapi/src/openapi/paths/tweet.yaml +1 -1
  135. package/twitter-openapi/src/openapi/paths/user.yaml +1 -1
  136. package/twitter-openapi/src/openapi/paths/usertweets.yaml +4 -4
  137. package/twitter-openapi/src/openapi/resources/parameters.yaml +15 -0
  138. package/twitter-openapi/src/openapi/schemas/tweet.yaml +66 -1
  139. package/twitter-openapi/tools/__pycache__/build_config.cpython-310.pyc +0 -0
  140. package/twitter-openapi/tools/__pycache__/hooks.cpython-310.pyc +0 -0
  141. package/twitter-openapi/tools/build_config.py +67 -190
  142. package/twitter-openapi/tools/hooks.py +58 -13
  143. package/dist/models/PostDeleteTweetRequestVariables.d.ts +0 -38
  144. package/dist/models/PostDeleteTweetRequestVariables.d.ts.map +0 -1
  145. package/dist/models/PostDeleteTweetRequestVariables.js +0 -54
  146. package/dist/models/PostDeleteTweetRequestVariables.js.map +0 -1
  147. package/twitter-openapi/dist/dart/openapi-3.0.yaml +0 -117
  148. package/twitter-openapi/dist/dart/paths/bookmarks.yaml +0 -134
  149. package/twitter-openapi/dist/dart/paths/follow.yaml +0 -262
  150. package/twitter-openapi/dist/dart/paths/post.yaml +0 -834
  151. package/twitter-openapi/dist/dart/paths/profile.yaml +0 -152
  152. package/twitter-openapi/dist/dart/paths/timeline.yaml +0 -380
  153. package/twitter-openapi/dist/dart/paths/tweet.yaml +0 -134
  154. package/twitter-openapi/dist/dart/paths/user.yaml +0 -112
  155. package/twitter-openapi/dist/dart/paths/usertweets.yaml +0 -484
  156. package/twitter-openapi/dist/dart/paths/v1.1-get.yaml +0 -300
  157. package/twitter-openapi/dist/dart/paths/v1.1-post.yaml +0 -295
  158. package/twitter-openapi/dist/dart/paths/v2.0-get.yaml +0 -331
  159. package/twitter-openapi/dist/test/paths/bookmarks.yaml +0 -105
  160. package/twitter-openapi/dist/test/paths/other.yaml +0 -96
  161. package/twitter-openapi/dist/test/paths/post.yaml +0 -485
  162. package/twitter-openapi/dist/test/paths/timeline.yaml +0 -293
  163. package/twitter-openapi/dist/test/paths/v1.1-get.yaml +0 -242
  164. package/twitter-openapi/dist/test/paths/v1.1-post.yaml +0 -277
  165. package/twitter-openapi/dist/test/paths/v2.0-get.yaml +0 -302
  166. package/twitter-openapi/dist/test/response/error.yaml +0 -90
  167. package/twitter-openapi/dist/test/schemas/content.yaml +0 -181
  168. package/twitter-openapi/dist/test/schemas/general.yaml +0 -13
  169. package/twitter-openapi/dist/test/schemas/instruction.yaml +0 -83
  170. package/twitter-openapi/dist/test/schemas/timeline.yaml +0 -25
  171. package/twitter-openapi/dist/test/schemas/tweet.yaml +0 -251
  172. package/twitter-openapi/dist/test/schemas/typename.yaml +0 -19
  173. package/twitter-openapi/dist/test/schemas/user.yaml +0 -206
  174. package/twitter-openapi/dist/typescript/openapi-3.0.yaml +0 -141
  175. package/twitter-openapi/dist/typescript/paths/follow.yaml +0 -204
  176. package/twitter-openapi/dist/typescript/paths/other.yaml +0 -96
  177. package/twitter-openapi/dist/typescript/paths/profile.yaml +0 -123
  178. package/twitter-openapi/dist/typescript/paths/tweet.yaml +0 -105
  179. package/twitter-openapi/dist/typescript/paths/user.yaml +0 -83
  180. package/twitter-openapi/dist/typescript/paths/usertweets.yaml +0 -368
  181. package/twitter-openapi/dist/typescript/response/error.yaml +0 -90
  182. package/twitter-openapi/dist/typescript/schemas/content.yaml +0 -181
  183. package/twitter-openapi/dist/typescript/schemas/general.yaml +0 -13
  184. package/twitter-openapi/dist/typescript/schemas/instruction.yaml +0 -83
  185. package/twitter-openapi/dist/typescript/schemas/timeline.yaml +0 -25
  186. package/twitter-openapi/dist/typescript/schemas/tweet.yaml +0 -251
  187. package/twitter-openapi/dist/typescript/schemas/typename.yaml +0 -19
  188. package/twitter-openapi/dist/typescript/schemas/user.yaml +0 -206
  189. /package/twitter-openapi/dist/{dart → compatible}/paths/other.yaml +0 -0
  190. /package/twitter-openapi/dist/{typescript → compatible}/paths/v1.1-get.yaml +0 -0
  191. /package/twitter-openapi/dist/{typescript → compatible}/paths/v1.1-post.yaml +0 -0
  192. /package/twitter-openapi/dist/{typescript → compatible}/paths/v2.0-get.yaml +0 -0
  193. /package/twitter-openapi/dist/{dart → compatible}/response/error.yaml +0 -0
  194. /package/twitter-openapi/dist/{dart → compatible}/schemas/content.yaml +0 -0
  195. /package/twitter-openapi/dist/{dart → compatible}/schemas/general.yaml +0 -0
  196. /package/twitter-openapi/dist/{dart → compatible}/schemas/instruction.yaml +0 -0
  197. /package/twitter-openapi/dist/{dart → compatible}/schemas/timeline.yaml +0 -0
  198. /package/twitter-openapi/dist/{dart → compatible}/schemas/typename.yaml +0 -0
  199. /package/twitter-openapi/dist/{dart → compatible}/schemas/user.yaml +0 -0
@@ -1,293 +0,0 @@
1
- components:
2
- schemas:
3
- HomeTimelineHome:
4
- properties:
5
- home_timeline_urt:
6
- $ref: ./../schemas/timeline.yaml#/components/schemas/Timeline
7
- required:
8
- - home_timeline_urt
9
- HomeTimelineResponseData:
10
- properties:
11
- home:
12
- $ref: '#/components/schemas/HomeTimelineHome'
13
- required:
14
- - home
15
- ListTweetsTimeline:
16
- properties:
17
- timeline:
18
- $ref: ./../schemas/timeline.yaml#/components/schemas/Timeline
19
- required:
20
- - timeline
21
- ListTweetsTimelineData:
22
- properties:
23
- list:
24
- $ref: '#/components/schemas/ListTweetsTimelineList'
25
- required:
26
- - list
27
- ListTweetsTimelineList:
28
- properties:
29
- tweets_timeline:
30
- $ref: '#/components/schemas/ListTweetsTimeline'
31
- required:
32
- - tweets_timeline
33
- ListTweetsTimelineResponse:
34
- properties:
35
- data:
36
- $ref: '#/components/schemas/ListTweetsTimelineData'
37
- required:
38
- - data
39
- TimelineResponse:
40
- properties:
41
- data:
42
- $ref: '#/components/schemas/HomeTimelineResponseData'
43
- required:
44
- - data
45
- info:
46
- title: Twitter OpenAPI
47
- version: 0.0.1
48
- openapi: 3.0.3
49
- paths:
50
- /graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
51
- get:
52
- description: get tweet list of timeline
53
- operationId: getListLatestTweetsTimeline
54
- parameters:
55
- - in: query
56
- name: queryId
57
- required: true
58
- schema:
59
- default: '"2TemLyqrMpTeAmysdbnVqw"'
60
- example: '"2TemLyqrMpTeAmysdbnVqw"'
61
- type: string
62
- - in: query
63
- name: variables
64
- required: true
65
- schema:
66
- default: '{"listId": "53044119", "count": 20}'
67
- example: '{"listId": "53044119", "count": 20}'
68
- type: string
69
- - in: query
70
- name: features
71
- required: true
72
- schema:
73
- default: '{"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
- example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
85
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
86
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
87
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
88
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
89
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
90
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
91
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
92
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
93
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
94
- false}'
95
- type: string
96
- responses:
97
- '200':
98
- content:
99
- application/json:
100
- schema:
101
- $ref: '#/components/schemas/ListTweetsTimelineResponse'
102
- description: Successful operation
103
- headers:
104
- x-connection-hash:
105
- schema:
106
- type: string
107
- x-rate-limit-limit:
108
- schema:
109
- type: integer
110
- x-rate-limit-remaining:
111
- schema:
112
- type: integer
113
- x-rate-limit-reset:
114
- schema:
115
- type: integer
116
- x-response-time:
117
- schema:
118
- type: integer
119
- x-tfe-preserve-body:
120
- schema:
121
- type: boolean
122
- x-transaction-id:
123
- schema:
124
- type: string
125
- x-twitter-response-tags:
126
- schema:
127
- type: string
128
- tags:
129
- - tweet
130
- /graphql/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
131
- get:
132
- description: get tweet list of timeline
133
- operationId: getHomeTimeline
134
- parameters:
135
- - in: query
136
- name: queryId
137
- required: true
138
- schema:
139
- default: '"HCosKfLNW1AcOo3la3mMgg"'
140
- example: '"HCosKfLNW1AcOo3la3mMgg"'
141
- type: string
142
- - in: query
143
- name: variables
144
- required: true
145
- schema:
146
- default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
147
- true, "requestContext": "launch", "withCommunity": true}'
148
- example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
149
- true, "requestContext": "launch", "withCommunity": true}'
150
- type: string
151
- - in: query
152
- name: features
153
- required: true
154
- schema:
155
- default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
156
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
157
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
158
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
159
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
160
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
161
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
162
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
163
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
164
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
165
- false}'
166
- example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
167
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
168
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
169
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
170
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
171
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
172
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
173
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
174
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
175
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
176
- false}'
177
- type: string
178
- responses:
179
- '200':
180
- content:
181
- application/json:
182
- schema:
183
- $ref: '#/components/schemas/TimelineResponse'
184
- description: Successful operation
185
- headers:
186
- x-connection-hash:
187
- schema:
188
- type: string
189
- x-rate-limit-limit:
190
- schema:
191
- type: integer
192
- x-rate-limit-remaining:
193
- schema:
194
- type: integer
195
- x-rate-limit-reset:
196
- schema:
197
- type: integer
198
- x-response-time:
199
- schema:
200
- type: integer
201
- x-tfe-preserve-body:
202
- schema:
203
- type: boolean
204
- x-transaction-id:
205
- schema:
206
- type: string
207
- x-twitter-response-tags:
208
- schema:
209
- type: string
210
- tags:
211
- - tweet
212
- /graphql/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
213
- get:
214
- description: get tweet list of timeline
215
- operationId: getHomeLatestTimeline
216
- parameters:
217
- - in: query
218
- name: queryId
219
- required: true
220
- schema:
221
- default: '"zhX91JE87mWvfprhYE97xA"'
222
- example: '"zhX91JE87mWvfprhYE97xA"'
223
- type: string
224
- - in: query
225
- name: variables
226
- required: true
227
- schema:
228
- default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
229
- true, "requestContext": "launch"}'
230
- example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
231
- true, "requestContext": "launch"}'
232
- type: string
233
- - in: query
234
- name: features
235
- required: true
236
- schema:
237
- default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
238
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
239
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
240
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
241
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
242
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
243
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
244
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
245
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
246
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
247
- false}'
248
- example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
249
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
250
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
251
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
252
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
253
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
254
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
255
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
256
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
257
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
258
- false}'
259
- type: string
260
- responses:
261
- '200':
262
- content:
263
- application/json:
264
- schema:
265
- $ref: '#/components/schemas/TimelineResponse'
266
- description: Successful operation
267
- headers:
268
- x-connection-hash:
269
- schema:
270
- type: string
271
- x-rate-limit-limit:
272
- schema:
273
- type: integer
274
- x-rate-limit-remaining:
275
- schema:
276
- type: integer
277
- x-rate-limit-reset:
278
- schema:
279
- type: integer
280
- x-response-time:
281
- schema:
282
- type: integer
283
- x-tfe-preserve-body:
284
- schema:
285
- type: boolean
286
- x-transaction-id:
287
- schema:
288
- type: string
289
- x-twitter-response-tags:
290
- schema:
291
- type: string
292
- tags:
293
- - tweet
@@ -1,242 +0,0 @@
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