twitter-openapi-typescript-generated 0.0.2 → 0.0.4

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 (334) hide show
  1. package/.openapi-generator/FILES +0 -1
  2. package/.openapi-generator/VERSION +1 -1
  3. package/.openapi-generator-ignore +2 -1
  4. package/README.md +2 -2
  5. package/package.json +1 -1
  6. package/src/apis/DefaultApi.ts +4 -0
  7. package/src/apis/OtherApi.ts +4 -0
  8. package/src/apis/PostApi.ts +24 -0
  9. package/src/apis/TweetApi.ts +36 -0
  10. package/src/apis/UserApi.ts +4 -0
  11. package/src/apis/UserListApi.ts +8 -0
  12. package/src/apis/V11GetApi.ts +8 -0
  13. package/src/apis/V11PostApi.ts +8 -0
  14. package/src/apis/V20GetApi.ts +4 -0
  15. package/tools/openapi-generator-config.yaml +1 -1
  16. package/tools/win/replace.py +13 -0
  17. package/tsconfig.json +22 -20
  18. package/twitter-openapi/src/openapi/openapi-3.0.yaml +8 -1
  19. package/twitter-openapi/tools/__pycache__/build_config.cpython-310.pyc +0 -0
  20. package/twitter-openapi/tools/__pycache__/hooks.cpython-310.pyc +0 -0
  21. package/dist/apis/DefaultApi.d.ts +0 -31
  22. package/dist/apis/DefaultApi.js +0 -163
  23. package/dist/apis/OtherApi.d.ts +0 -26
  24. package/dist/apis/OtherApi.js +0 -145
  25. package/dist/apis/PostApi.d.ts +0 -84
  26. package/dist/apis/PostApi.js +0 -500
  27. package/dist/apis/TweetApi.d.ts +0 -135
  28. package/dist/apis/TweetApi.js +0 -827
  29. package/dist/apis/UserApi.d.ts +0 -31
  30. package/dist/apis/UserApi.js +0 -163
  31. package/dist/apis/UserListApi.d.ts +0 -44
  32. package/dist/apis/UserListApi.js +0 -246
  33. package/dist/apis/V11GetApi.d.ts +0 -60
  34. package/dist/apis/V11GetApi.js +0 -343
  35. package/dist/apis/V11PostApi.d.ts +0 -65
  36. package/dist/apis/V11PostApi.js +0 -399
  37. package/dist/apis/V20GetApi.d.ts +0 -64
  38. package/dist/apis/V20GetApi.js +0 -364
  39. package/dist/apis/index.d.ts +0 -9
  40. package/dist/apis/index.js +0 -27
  41. package/dist/index.d.ts +0 -3
  42. package/dist/index.js +0 -21
  43. package/dist/models/BookmarksResponse.d.ts +0 -32
  44. package/dist/models/BookmarksResponse.js +0 -51
  45. package/dist/models/BookmarksResponseData.d.ts +0 -32
  46. package/dist/models/BookmarksResponseData.js +0 -51
  47. package/dist/models/BookmarksTimeline.d.ts +0 -32
  48. package/dist/models/BookmarksTimeline.js +0 -51
  49. package/dist/models/CommunitiesActions.d.ts +0 -31
  50. package/dist/models/CommunitiesActions.js +0 -50
  51. package/dist/models/ContentEntryType.d.ts +0 -24
  52. package/dist/models/ContentEntryType.js +0 -37
  53. package/dist/models/ContentItemType.d.ts +0 -24
  54. package/dist/models/ContentItemType.js +0 -37
  55. package/dist/models/ContentUnion.d.ts +0 -29
  56. package/dist/models/ContentUnion.js +0 -69
  57. package/dist/models/CreateRetweet.d.ts +0 -32
  58. package/dist/models/CreateRetweet.js +0 -51
  59. package/dist/models/CreateRetweetResponse.d.ts +0 -32
  60. package/dist/models/CreateRetweetResponse.js +0 -51
  61. package/dist/models/CreateRetweetResponseData.d.ts +0 -32
  62. package/dist/models/CreateRetweetResponseData.js +0 -51
  63. package/dist/models/CreateRetweetResponseResult.d.ts +0 -32
  64. package/dist/models/CreateRetweetResponseResult.js +0 -51
  65. package/dist/models/CreateTweet.d.ts +0 -32
  66. package/dist/models/CreateTweet.js +0 -51
  67. package/dist/models/CreateTweetResponse.d.ts +0 -32
  68. package/dist/models/CreateTweetResponse.js +0 -51
  69. package/dist/models/CreateTweetResponseData.d.ts +0 -32
  70. package/dist/models/CreateTweetResponseData.js +0 -51
  71. package/dist/models/CreateTweetResponseResult.d.ts +0 -32
  72. package/dist/models/CreateTweetResponseResult.js +0 -51
  73. package/dist/models/DeleteRetweetResponse.d.ts +0 -32
  74. package/dist/models/DeleteRetweetResponse.js +0 -51
  75. package/dist/models/DeleteRetweetResponseData.d.ts +0 -32
  76. package/dist/models/DeleteRetweetResponseData.js +0 -51
  77. package/dist/models/DeleteTweetResponse.d.ts +0 -32
  78. package/dist/models/DeleteTweetResponse.js +0 -51
  79. package/dist/models/DeleteTweetResponseData.d.ts +0 -32
  80. package/dist/models/DeleteTweetResponseData.js +0 -51
  81. package/dist/models/DeleteTweetResponseResult.d.ts +0 -31
  82. package/dist/models/DeleteTweetResponseResult.js +0 -50
  83. package/dist/models/Entities.d.ts +0 -56
  84. package/dist/models/Entities.js +0 -63
  85. package/dist/models/ExtendedEntities.d.ts +0 -32
  86. package/dist/models/ExtendedEntities.js +0 -51
  87. package/dist/models/FavoriteTweet.d.ts +0 -31
  88. package/dist/models/FavoriteTweet.js +0 -50
  89. package/dist/models/FavoriteTweetResponseData.d.ts +0 -32
  90. package/dist/models/FavoriteTweetResponseData.js +0 -51
  91. package/dist/models/FollowResponse.d.ts +0 -32
  92. package/dist/models/FollowResponse.js +0 -51
  93. package/dist/models/FollowResponseData.d.ts +0 -32
  94. package/dist/models/FollowResponseData.js +0 -51
  95. package/dist/models/FollowResponseResult.d.ts +0 -39
  96. package/dist/models/FollowResponseResult.js +0 -55
  97. package/dist/models/FollowResponseUser.d.ts +0 -32
  98. package/dist/models/FollowResponseUser.js +0 -51
  99. package/dist/models/FollowTimeline.d.ts +0 -32
  100. package/dist/models/FollowTimeline.js +0 -51
  101. package/dist/models/HomeTimelineHome.d.ts +0 -32
  102. package/dist/models/HomeTimelineHome.js +0 -51
  103. package/dist/models/HomeTimelineResponseData.d.ts +0 -32
  104. package/dist/models/HomeTimelineResponseData.js +0 -51
  105. package/dist/models/InstructionType.d.ts +0 -25
  106. package/dist/models/InstructionType.js +0 -38
  107. package/dist/models/InstructionUnion.d.ts +0 -32
  108. package/dist/models/InstructionUnion.js +0 -74
  109. package/dist/models/ItemContentUnion.d.ts +0 -29
  110. package/dist/models/ItemContentUnion.js +0 -69
  111. package/dist/models/ItemResult.d.ts +0 -39
  112. package/dist/models/ItemResult.js +0 -55
  113. package/dist/models/ListTweetsTimeline.d.ts +0 -32
  114. package/dist/models/ListTweetsTimeline.js +0 -51
  115. package/dist/models/ListTweetsTimelineData.d.ts +0 -32
  116. package/dist/models/ListTweetsTimelineData.js +0 -51
  117. package/dist/models/ListTweetsTimelineList.d.ts +0 -32
  118. package/dist/models/ListTweetsTimelineList.js +0 -51
  119. package/dist/models/ListTweetsTimelineResponse.d.ts +0 -32
  120. package/dist/models/ListTweetsTimelineResponse.js +0 -51
  121. package/dist/models/Media.d.ts +0 -92
  122. package/dist/models/Media.js +0 -80
  123. package/dist/models/MediaOriginalInfo.d.ts +0 -43
  124. package/dist/models/MediaOriginalInfo.js +0 -54
  125. package/dist/models/ModuleEntry.d.ts +0 -38
  126. package/dist/models/ModuleEntry.js +0 -54
  127. package/dist/models/ModuleItem.d.ts +0 -38
  128. package/dist/models/ModuleItem.js +0 -54
  129. package/dist/models/OneFactorLoginEligibility.d.ts +0 -31
  130. package/dist/models/OneFactorLoginEligibility.js +0 -50
  131. package/dist/models/OtherResponse.d.ts +0 -32
  132. package/dist/models/OtherResponse.js +0 -51
  133. package/dist/models/PostCreateRetweetRequest.d.ts +0 -38
  134. package/dist/models/PostCreateRetweetRequest.js +0 -54
  135. package/dist/models/PostCreateTweetRequest.d.ts +0 -45
  136. package/dist/models/PostCreateTweetRequest.js +0 -58
  137. package/dist/models/PostCreateTweetRequestFeatures.d.ts +0 -139
  138. package/dist/models/PostCreateTweetRequestFeatures.js +0 -104
  139. package/dist/models/PostCreateTweetRequestVariables.d.ts +0 -50
  140. package/dist/models/PostCreateTweetRequestVariables.js +0 -60
  141. package/dist/models/PostCreateTweetRequestVariablesMedia.d.ts +0 -37
  142. package/dist/models/PostCreateTweetRequestVariablesMedia.js +0 -53
  143. package/dist/models/PostDeleteRetweetRequest.d.ts +0 -38
  144. package/dist/models/PostDeleteRetweetRequest.js +0 -54
  145. package/dist/models/PostDeleteRetweetRequestVariables.d.ts +0 -37
  146. package/dist/models/PostDeleteRetweetRequestVariables.js +0 -53
  147. package/dist/models/PostDeleteTweetRequest.d.ts +0 -38
  148. package/dist/models/PostDeleteTweetRequest.js +0 -54
  149. package/dist/models/PostDeleteTweetRequestVariables.d.ts +0 -37
  150. package/dist/models/PostDeleteTweetRequestVariables.js +0 -53
  151. package/dist/models/PostFavoriteTweetRequest.d.ts +0 -38
  152. package/dist/models/PostFavoriteTweetRequest.js +0 -54
  153. package/dist/models/PostUnfavoriteTweetRequest.d.ts +0 -38
  154. package/dist/models/PostUnfavoriteTweetRequest.js +0 -54
  155. package/dist/models/ProfileResponse.d.ts +0 -32
  156. package/dist/models/ProfileResponse.js +0 -51
  157. package/dist/models/ProfileResponseData.d.ts +0 -32
  158. package/dist/models/ProfileResponseData.js +0 -51
  159. package/dist/models/Retweet.d.ts +0 -38
  160. package/dist/models/Retweet.js +0 -54
  161. package/dist/models/RetweetLegacy.d.ts +0 -31
  162. package/dist/models/RetweetLegacy.js +0 -50
  163. package/dist/models/Session.d.ts +0 -112
  164. package/dist/models/Session.js +0 -92
  165. package/dist/models/SocialContext.d.ts +0 -43
  166. package/dist/models/SocialContext.js +0 -54
  167. package/dist/models/Timeline.d.ts +0 -44
  168. package/dist/models/Timeline.js +0 -56
  169. package/dist/models/TimelineAddEntries.d.ts +0 -39
  170. package/dist/models/TimelineAddEntries.js +0 -55
  171. package/dist/models/TimelineAddEntry.d.ts +0 -44
  172. package/dist/models/TimelineAddEntry.js +0 -57
  173. package/dist/models/TimelineClearCache.d.ts +0 -32
  174. package/dist/models/TimelineClearCache.js +0 -51
  175. package/dist/models/TimelinePinEntry.d.ts +0 -39
  176. package/dist/models/TimelinePinEntry.js +0 -55
  177. package/dist/models/TimelineResponse.d.ts +0 -32
  178. package/dist/models/TimelineResponse.js +0 -51
  179. package/dist/models/TimelineTerminateTimeline.d.ts +0 -46
  180. package/dist/models/TimelineTerminateTimeline.js +0 -61
  181. package/dist/models/TimelineTimelineCursor.d.ts +0 -68
  182. package/dist/models/TimelineTimelineCursor.js +0 -73
  183. package/dist/models/TimelineTimelineItem.d.ts +0 -58
  184. package/dist/models/TimelineTimelineItem.js +0 -64
  185. package/dist/models/TimelineTimelineModule.d.ts +0 -70
  186. package/dist/models/TimelineTimelineModule.js +0 -69
  187. package/dist/models/TimelineTweet.d.ts +0 -65
  188. package/dist/models/TimelineTweet.js +0 -68
  189. package/dist/models/TimelineUser.d.ts +0 -59
  190. package/dist/models/TimelineUser.js +0 -66
  191. package/dist/models/TimelineV2.d.ts +0 -32
  192. package/dist/models/TimelineV2.js +0 -51
  193. package/dist/models/Tweet.d.ts +0 -92
  194. package/dist/models/Tweet.js +0 -82
  195. package/dist/models/TweetDetailResponse.d.ts +0 -32
  196. package/dist/models/TweetDetailResponse.js +0 -51
  197. package/dist/models/TweetDetailResponseData.d.ts +0 -32
  198. package/dist/models/TweetDetailResponseData.js +0 -51
  199. package/dist/models/TweetEditControl.d.ts +0 -49
  200. package/dist/models/TweetEditControl.js +0 -56
  201. package/dist/models/TweetEditPrespective.d.ts +0 -37
  202. package/dist/models/TweetEditPrespective.js +0 -52
  203. package/dist/models/TweetLegacy.d.ts +0 -154
  204. package/dist/models/TweetLegacy.js +0 -110
  205. package/dist/models/TweetTombstone.d.ts +0 -32
  206. package/dist/models/TweetTombstone.js +0 -51
  207. package/dist/models/TweetUnion.d.ts +0 -29
  208. package/dist/models/TweetUnion.js +0 -69
  209. package/dist/models/TweetViews.d.ts +0 -37
  210. package/dist/models/TweetViews.js +0 -52
  211. package/dist/models/TweetWithVisibilityResults.d.ts +0 -39
  212. package/dist/models/TweetWithVisibilityResults.js +0 -55
  213. package/dist/models/TypeName.d.ts +0 -30
  214. package/dist/models/TypeName.js +0 -43
  215. package/dist/models/UnfavoriteTweet.d.ts +0 -31
  216. package/dist/models/UnfavoriteTweet.js +0 -50
  217. package/dist/models/UnfavoriteTweetResponseData.d.ts +0 -32
  218. package/dist/models/UnfavoriteTweetResponseData.js +0 -51
  219. package/dist/models/User.d.ts +0 -99
  220. package/dist/models/User.js +0 -83
  221. package/dist/models/UserFeatures.d.ts +0 -31
  222. package/dist/models/UserFeatures.js +0 -50
  223. package/dist/models/UserLegacy.d.ts +0 -259
  224. package/dist/models/UserLegacy.js +0 -161
  225. package/dist/models/UserResponse.d.ts +0 -32
  226. package/dist/models/UserResponse.js +0 -51
  227. package/dist/models/UserResponseData.d.ts +0 -32
  228. package/dist/models/UserResponseData.js +0 -51
  229. package/dist/models/UserResultByScreenName.d.ts +0 -38
  230. package/dist/models/UserResultByScreenName.js +0 -54
  231. package/dist/models/UserResultByScreenNameLegacy.d.ts +0 -67
  232. package/dist/models/UserResultByScreenNameLegacy.js +0 -62
  233. package/dist/models/UserResultByScreenNameResult.d.ts +0 -57
  234. package/dist/models/UserResultByScreenNameResult.js +0 -64
  235. package/dist/models/UserResultCore.d.ts +0 -32
  236. package/dist/models/UserResultCore.js +0 -51
  237. package/dist/models/UserResults.d.ts +0 -32
  238. package/dist/models/UserResults.js +0 -51
  239. package/dist/models/UserTweetsData.d.ts +0 -32
  240. package/dist/models/UserTweetsData.js +0 -51
  241. package/dist/models/UserTweetsResponse.d.ts +0 -32
  242. package/dist/models/UserTweetsResponse.js +0 -51
  243. package/dist/models/UserTweetsResult.d.ts +0 -39
  244. package/dist/models/UserTweetsResult.js +0 -55
  245. package/dist/models/UserTweetsUser.d.ts +0 -32
  246. package/dist/models/UserTweetsUser.js +0 -51
  247. package/dist/models/index.d.ts +0 -102
  248. package/dist/models/index.js +0 -120
  249. package/dist/runtime.d.ts +0 -182
  250. package/dist/runtime.js +0 -555
  251. package/twitter-openapi/dist/dart/openapi-3.0.yaml +0 -111
  252. package/twitter-openapi/dist/dart/paths/bookmarks.yaml +0 -134
  253. package/twitter-openapi/dist/dart/paths/follow.yaml +0 -262
  254. package/twitter-openapi/dist/dart/paths/other.yaml +0 -96
  255. package/twitter-openapi/dist/dart/paths/post.yaml +0 -834
  256. package/twitter-openapi/dist/dart/paths/profile.yaml +0 -152
  257. package/twitter-openapi/dist/dart/paths/timeline.yaml +0 -380
  258. package/twitter-openapi/dist/dart/paths/tweet.yaml +0 -134
  259. package/twitter-openapi/dist/dart/paths/user.yaml +0 -112
  260. package/twitter-openapi/dist/dart/paths/usertweets.yaml +0 -484
  261. package/twitter-openapi/dist/dart/paths/v1.1-get.yaml +0 -300
  262. package/twitter-openapi/dist/dart/paths/v1.1-post.yaml +0 -295
  263. package/twitter-openapi/dist/dart/paths/v2.0-get.yaml +0 -331
  264. package/twitter-openapi/dist/dart/response/error.yaml +0 -90
  265. package/twitter-openapi/dist/dart/schemas/content.yaml +0 -181
  266. package/twitter-openapi/dist/dart/schemas/general.yaml +0 -13
  267. package/twitter-openapi/dist/dart/schemas/instruction.yaml +0 -83
  268. package/twitter-openapi/dist/dart/schemas/timeline.yaml +0 -25
  269. package/twitter-openapi/dist/dart/schemas/tweet.yaml +0 -251
  270. package/twitter-openapi/dist/dart/schemas/typename.yaml +0 -19
  271. package/twitter-openapi/dist/dart/schemas/user.yaml +0 -206
  272. package/twitter-openapi/dist/docs/openapi-3.0.yaml +0 -135
  273. package/twitter-openapi/dist/docs/paths/bookmarks.yaml +0 -248
  274. package/twitter-openapi/dist/docs/paths/follow.yaml +0 -486
  275. package/twitter-openapi/dist/docs/paths/other.yaml +0 -96
  276. package/twitter-openapi/dist/docs/paths/post.yaml +0 -638
  277. package/twitter-openapi/dist/docs/paths/profile.yaml +0 -159
  278. package/twitter-openapi/dist/docs/paths/timeline.yaml +0 -730
  279. package/twitter-openapi/dist/docs/paths/tweet.yaml +0 -272
  280. package/twitter-openapi/dist/docs/paths/user.yaml +0 -152
  281. package/twitter-openapi/dist/docs/paths/usertweets.yaml +0 -1010
  282. package/twitter-openapi/dist/docs/paths/v1.1-get.yaml +0 -242
  283. package/twitter-openapi/dist/docs/paths/v1.1-post.yaml +0 -237
  284. package/twitter-openapi/dist/docs/paths/v2.0-get.yaml +0 -302
  285. package/twitter-openapi/dist/docs/response/error.yaml +0 -90
  286. package/twitter-openapi/dist/docs/schemas/content.yaml +0 -181
  287. package/twitter-openapi/dist/docs/schemas/general.yaml +0 -13
  288. package/twitter-openapi/dist/docs/schemas/instruction.yaml +0 -83
  289. package/twitter-openapi/dist/docs/schemas/timeline.yaml +0 -25
  290. package/twitter-openapi/dist/docs/schemas/tweet.yaml +0 -251
  291. package/twitter-openapi/dist/docs/schemas/typename.yaml +0 -19
  292. package/twitter-openapi/dist/docs/schemas/user.yaml +0 -206
  293. package/twitter-openapi/dist/test/openapi-3.0.yaml +0 -135
  294. package/twitter-openapi/dist/test/paths/bookmarks.yaml +0 -105
  295. package/twitter-openapi/dist/test/paths/follow.yaml +0 -204
  296. package/twitter-openapi/dist/test/paths/other.yaml +0 -96
  297. package/twitter-openapi/dist/test/paths/post.yaml +0 -485
  298. package/twitter-openapi/dist/test/paths/profile.yaml +0 -123
  299. package/twitter-openapi/dist/test/paths/timeline.yaml +0 -293
  300. package/twitter-openapi/dist/test/paths/tweet.yaml +0 -105
  301. package/twitter-openapi/dist/test/paths/user.yaml +0 -83
  302. package/twitter-openapi/dist/test/paths/usertweets.yaml +0 -368
  303. package/twitter-openapi/dist/test/paths/v1.1-get.yaml +0 -242
  304. package/twitter-openapi/dist/test/paths/v1.1-post.yaml +0 -277
  305. package/twitter-openapi/dist/test/paths/v2.0-get.yaml +0 -302
  306. package/twitter-openapi/dist/test/response/error.yaml +0 -90
  307. package/twitter-openapi/dist/test/schemas/content.yaml +0 -181
  308. package/twitter-openapi/dist/test/schemas/general.yaml +0 -13
  309. package/twitter-openapi/dist/test/schemas/instruction.yaml +0 -83
  310. package/twitter-openapi/dist/test/schemas/timeline.yaml +0 -25
  311. package/twitter-openapi/dist/test/schemas/tweet.yaml +0 -251
  312. package/twitter-openapi/dist/test/schemas/typename.yaml +0 -19
  313. package/twitter-openapi/dist/test/schemas/user.yaml +0 -206
  314. package/twitter-openapi/dist/typescript/openapi-3.0.yaml +0 -135
  315. package/twitter-openapi/dist/typescript/paths/bookmarks.yaml +0 -105
  316. package/twitter-openapi/dist/typescript/paths/follow.yaml +0 -204
  317. package/twitter-openapi/dist/typescript/paths/other.yaml +0 -96
  318. package/twitter-openapi/dist/typescript/paths/post.yaml +0 -660
  319. package/twitter-openapi/dist/typescript/paths/profile.yaml +0 -123
  320. package/twitter-openapi/dist/typescript/paths/timeline.yaml +0 -293
  321. package/twitter-openapi/dist/typescript/paths/tweet.yaml +0 -105
  322. package/twitter-openapi/dist/typescript/paths/user.yaml +0 -83
  323. package/twitter-openapi/dist/typescript/paths/usertweets.yaml +0 -368
  324. package/twitter-openapi/dist/typescript/paths/v1.1-get.yaml +0 -242
  325. package/twitter-openapi/dist/typescript/paths/v1.1-post.yaml +0 -237
  326. package/twitter-openapi/dist/typescript/paths/v2.0-get.yaml +0 -302
  327. package/twitter-openapi/dist/typescript/response/error.yaml +0 -90
  328. package/twitter-openapi/dist/typescript/schemas/content.yaml +0 -181
  329. package/twitter-openapi/dist/typescript/schemas/general.yaml +0 -13
  330. package/twitter-openapi/dist/typescript/schemas/instruction.yaml +0 -83
  331. package/twitter-openapi/dist/typescript/schemas/timeline.yaml +0 -25
  332. package/twitter-openapi/dist/typescript/schemas/tweet.yaml +0 -251
  333. package/twitter-openapi/dist/typescript/schemas/typename.yaml +0 -19
  334. package/twitter-openapi/dist/typescript/schemas/user.yaml +0 -206
@@ -1,251 +0,0 @@
1
- components:
2
- schemas:
3
- Entities:
4
- properties:
5
- hashtags:
6
- items:
7
- $ref: '#/components/schemas/Hashtag'
8
- type: array
9
- media:
10
- items:
11
- $ref: '#/components/schemas/Media'
12
- type: array
13
- symbols:
14
- items:
15
- $ref: '#/components/schemas/Symbol'
16
- type: array
17
- urls:
18
- items:
19
- $ref: '#/components/schemas/Url'
20
- type: array
21
- user_mentions:
22
- items:
23
- $ref: '#/components/schemas/UserMention'
24
- type: array
25
- required:
26
- - hashtags
27
- - symbols
28
- - user_mentions
29
- - urls
30
- ExtendedEntities:
31
- properties:
32
- media:
33
- items:
34
- $ref: '#/components/schemas/Media'
35
- type: array
36
- required:
37
- - media
38
- Hashtag:
39
- type: object
40
- Media:
41
- properties:
42
- display_url:
43
- format: uri
44
- type: string
45
- expanded_url:
46
- format: uri
47
- type: string
48
- ext_media_availability:
49
- type: object
50
- id_str:
51
- pattern: ^[0-9]+$
52
- type: string
53
- indices:
54
- items:
55
- type: integer
56
- type: array
57
- media_key:
58
- pattern: ^[0-9]+_[0-9]+$
59
- type: string
60
- media_url_https:
61
- format: uri
62
- type: string
63
- original_info:
64
- properties:
65
- focus_rects:
66
- items:
67
- type: object
68
- type: array
69
- height:
70
- type: integer
71
- width:
72
- type: integer
73
- type: object
74
- sizes:
75
- type: object
76
- type:
77
- type: string
78
- url:
79
- format: uri
80
- type: string
81
- required:
82
- - id_str
83
- - indices
84
- - media_url_https
85
- - url
86
- - display_url
87
- - expanded_url
88
- - type
89
- - sizes
90
- - original_info
91
- Symbol:
92
- type: object
93
- Tweet:
94
- properties:
95
- __typename:
96
- $ref: ./typename.yaml#/components/schemas/TypeName
97
- core:
98
- $ref: ./user.yaml#/components/schemas/UserResultCore
99
- edit_control:
100
- properties:
101
- edit_tweet_ids:
102
- items:
103
- pattern: ^[0-9]+$
104
- type: string
105
- type: array
106
- editable_until_msecs:
107
- pattern: ^[0-9]+$
108
- type: string
109
- edits_remaining:
110
- pattern: ^[0-9]+$
111
- type: string
112
- is_edit_eligible:
113
- type: boolean
114
- type: object
115
- edit_prespective:
116
- properties:
117
- favorited:
118
- type: boolean
119
- retweeted:
120
- type: boolean
121
- type: object
122
- is_translatable:
123
- default: false
124
- type: boolean
125
- legacy:
126
- $ref: '#/components/schemas/TweetLegacy'
127
- quoted_status_result:
128
- $ref: ./content.yaml#/components/schemas/ItemResult
129
- rest_id:
130
- pattern: ^[0-9]+$
131
- type: string
132
- unmention_data:
133
- type: object
134
- views:
135
- properties:
136
- count:
137
- pattern: ^[0-9]+$
138
- type: string
139
- state:
140
- type: string
141
- type: object
142
- required:
143
- - rest_id
144
- - core
145
- - edit_control
146
- - edit_prespective
147
- - is_translatable
148
- - legacy
149
- - views
150
- TweetLegacy:
151
- properties:
152
- bookmark_count:
153
- type: integer
154
- bookmarked:
155
- type: boolean
156
- conversation_id_str:
157
- pattern: ^[0-9]+$
158
- type: string
159
- created_at:
160
- $ref: ./general.yaml#/components/schemas/TwitterTimeFormat
161
- display_text_range:
162
- items:
163
- type: integer
164
- type: array
165
- entities:
166
- $ref: '#/components/schemas/Entities'
167
- extended_entities:
168
- $ref: '#/components/schemas/ExtendedEntities'
169
- favorite_count:
170
- type: integer
171
- favorited:
172
- type: boolean
173
- full_text:
174
- type: string
175
- id_str:
176
- pattern: ^[0-9]+$
177
- type: string
178
- is_quote_status:
179
- type: boolean
180
- lang:
181
- type: string
182
- possibly_sensitive:
183
- default: false
184
- type: boolean
185
- possibly_sensitive_editable:
186
- default: false
187
- type: boolean
188
- quote_count:
189
- type: integer
190
- reply_count:
191
- type: integer
192
- retweet_count:
193
- type: integer
194
- retweeted:
195
- type: boolean
196
- retweeted_status_result:
197
- $ref: ./content.yaml#/components/schemas/ItemResult
198
- user_id_str:
199
- pattern: ^[0-9]+$
200
- type: string
201
- required:
202
- - bookmark_count
203
- - bookmarked
204
- - conversation_id_str
205
- - created_at
206
- - display_text_range
207
- - entities
208
- - favorite_count
209
- - favorited
210
- - full_text
211
- - is_quote_status
212
- - lang
213
- - quote_count
214
- - reply_count
215
- - retweet_count
216
- - retweeted
217
- - user_id_str
218
- - id_str
219
- TweetTombstone:
220
- properties:
221
- __typename:
222
- $ref: ./typename.yaml#/components/schemas/TypeName
223
- TweetUnion:
224
- discriminator:
225
- mapping":
226
- Tweet: '#/components/schemas/Tweet'
227
- TweetTombstone: '#/components/schemas/TweetTombstone'
228
- TweetWithVisibilityResults: '#/components/schemas/TweetWithVisibilityResults'
229
- propertyName: __typename
230
- oneOf:
231
- - $ref: '#/components/schemas/Tweet'
232
- - $ref: '#/components/schemas/TweetWithVisibilityResults'
233
- - $ref: '#/components/schemas/TweetTombstone'
234
- TweetWithVisibilityResults:
235
- properties:
236
- __typename:
237
- $ref: ./typename.yaml#/components/schemas/TypeName
238
- tweet:
239
- $ref: '#/components/schemas/Tweet'
240
- required:
241
- - __typename
242
- - tweet
243
- Url:
244
- type: object
245
- UserMention:
246
- type: object
247
- info:
248
- title: Twitter OpenAPI
249
- version: 0.0.1
250
- openapi: 3.0.3
251
- paths: {}
@@ -1,19 +0,0 @@
1
- components:
2
- schemas:
3
- TypeName:
4
- enum:
5
- - TimelineTweet
6
- - TimelineTimelineItem
7
- - TimelineUser
8
- - TimelineTimelineCursor
9
- - TweetWithVisibilityResults
10
- - TimelineTimelineModule
11
- - TweetTombstone
12
- - Tweet
13
- - User
14
- type: string
15
- info:
16
- title: Twitter OpenAPI
17
- version: 0.0.1
18
- openapi: 3.0.3
19
- paths: {}
@@ -1,206 +0,0 @@
1
- components:
2
- schemas:
3
- User:
4
- properties:
5
- __typename:
6
- $ref: ./typename.yaml#/components/schemas/TypeName
7
- affiliates_highlighted_label:
8
- type: object
9
- business_account:
10
- type: object
11
- has_graduated_access:
12
- type: boolean
13
- has_nft_avatar:
14
- default: false
15
- type: boolean
16
- id:
17
- pattern: ^[a-z\-]+[0-9]+$
18
- type: string
19
- is_blue_verified:
20
- default: false
21
- type: boolean
22
- legacy:
23
- $ref: '#/components/schemas/UserLegacy'
24
- rest_id:
25
- pattern: ^[0-9]+$
26
- type: string
27
- super_follow_eligible:
28
- default: false
29
- type: boolean
30
- super_followed_by:
31
- default: false
32
- type: boolean
33
- super_following:
34
- default: false
35
- type: boolean
36
- required:
37
- - __typename
38
- - affiliates_highlighted_label
39
- - id
40
- - is_blue_verified
41
- - legacy
42
- - rest_id
43
- - super_follow_eligible
44
- - super_followed_by
45
- - super_following
46
- UserLegacy:
47
- properties:
48
- blocked_by:
49
- default: false
50
- type: boolean
51
- blocking:
52
- default: false
53
- type: boolean
54
- can_dm:
55
- default: false
56
- type: boolean
57
- can_media_tag:
58
- default: false
59
- type: boolean
60
- created_at:
61
- $ref: ./general.yaml#/components/schemas/TwitterTimeFormat
62
- default_profile:
63
- default: false
64
- type: boolean
65
- default_profile_image:
66
- default: false
67
- type: boolean
68
- description:
69
- type: string
70
- entities:
71
- type: object
72
- fast_followers_count:
73
- type: integer
74
- favourites_count:
75
- default: 0
76
- type: integer
77
- follow_request_sent:
78
- default: false
79
- type: boolean
80
- followed_by:
81
- default: false
82
- type: boolean
83
- followers_count:
84
- default: 0
85
- type: integer
86
- following:
87
- default: false
88
- type: boolean
89
- friends_count:
90
- default: 0
91
- type: integer
92
- has_custom_timelines:
93
- default: false
94
- type: boolean
95
- is_translator:
96
- default: false
97
- type: boolean
98
- listed_count:
99
- default: 0
100
- type: integer
101
- location:
102
- type: string
103
- media_count:
104
- default: 0
105
- type: integer
106
- muting:
107
- default: false
108
- type: boolean
109
- name:
110
- type: string
111
- normal_followers_count:
112
- default: 0
113
- type: integer
114
- notifications:
115
- default: false
116
- type: boolean
117
- pinned_tweet_ids_str:
118
- items:
119
- type: string
120
- type: array
121
- possibly_sensitive:
122
- default: false
123
- type: boolean
124
- profile_banner_extensions:
125
- type: object
126
- profile_banner_url:
127
- format: uri
128
- type: string
129
- profile_image_extensions:
130
- type: object
131
- profile_image_url_https:
132
- format: uri
133
- type: string
134
- profile_interstitial_type:
135
- type: string
136
- protected:
137
- default: false
138
- type: boolean
139
- screen_name:
140
- type: string
141
- statuses_count:
142
- default: 0
143
- type: integer
144
- translator_type:
145
- type: string
146
- url:
147
- type: string
148
- verified:
149
- type: boolean
150
- want_retweets:
151
- default: false
152
- type: boolean
153
- required:
154
- - blocked_by
155
- - blocking
156
- - can_dm
157
- - can_media_tag
158
- - created_at
159
- - default_profile
160
- - default_profile_image
161
- - description
162
- - entities
163
- - fast_followers_count
164
- - favourites_count
165
- - follow_request_sent
166
- - followed_by
167
- - followers_count
168
- - following
169
- - friends_count
170
- - has_custom_timelines
171
- - is_translator
172
- - listed_count
173
- - location
174
- - media_count
175
- - muting
176
- - name
177
- - normal_followers_count
178
- - notifications
179
- - pinned_tweet_ids_str
180
- - possibly_sensitive
181
- - profile_image_url_https
182
- - profile_interstitial_type
183
- - protected
184
- - screen_name
185
- - status
186
- - statuses_count
187
- - translator_type
188
- - verified
189
- - want_retweets
190
- UserResultCore:
191
- properties:
192
- user_results:
193
- $ref: '#/components/schemas/UserResults'
194
- required:
195
- - user_results
196
- UserResults:
197
- properties:
198
- result:
199
- $ref: '#/components/schemas/User'
200
- required:
201
- - result
202
- info:
203
- title: Twitter OpenAPI
204
- version: 0.0.1
205
- openapi: 3.0.3
206
- paths: {}
@@ -1,135 +0,0 @@
1
- components:
2
- schemas: {}
3
- securitySchemes:
4
- ActiveUser:
5
- description: 'yes'
6
- in: header
7
- name: x-twitter-active-user
8
- type: apiKey
9
- AuthType:
10
- description: OAuth2Session if you are logged in
11
- in: header
12
- name: x-twitter-auth-type
13
- type: apiKey
14
- BearerAuth:
15
- description: AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
16
- scheme: bearer
17
- type: http
18
- ClientLanguage:
19
- description: en
20
- in: header
21
- name: x-twitter-client-language
22
- type: apiKey
23
- CookieAuthToken:
24
- description: HttpOnly cookie
25
- in: cookie
26
- name: auth_token
27
- type: apiKey
28
- CookieCt0:
29
- description: document.cookie.split('; ').find(row => row.startsWith('ct0='));
30
- in: cookie
31
- name: ct0
32
- type: apiKey
33
- CsrfToken:
34
- description: document.cookie.split('; ').find(row => row.startsWith('ct0='));
35
- in: header
36
- name: x-csrf-token
37
- type: apiKey
38
- UserAgent:
39
- description: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
40
- like Gecko) Chrome/112.0.0.0 Safari/537.36
41
- in: header
42
- name: user-agent
43
- type: apiKey
44
- info:
45
- contact:
46
- email: yuki@yuki0311.com
47
- description: Twitter OpenAPI(Swagger) specification
48
- license:
49
- name: GNU Affero General Public License v3.
50
- url: https://raw.githubusercontent.com/fa0311/twitter-openapi/main/LICENSE.txt
51
- termsOfService: https://github.com/fa0311
52
- title: Twitter OpenAPI
53
- version: 0.0.1
54
- openapi: 3.0.3
55
- paths:
56
- /1.1/friends/following/list.json:
57
- $ref: ./paths/v1.1-get.yaml#/paths/~11.1~1friends~1following~1list.json
58
- /1.1/friendships/create.json:
59
- $ref: ./paths/v1.1-post.yaml#/paths/~11.1~1friendships~1create.json
60
- /1.1/friendships/destroy.json:
61
- $ref: ./paths/v1.1-post.yaml#/paths/~11.1~1friendships~1destroy.json
62
- /1.1/search/typeahead.json:
63
- $ref: ./paths/v1.1-get.yaml#/paths/~11.1~1search~1typeahead.json
64
- /2/search/adaptive.json:
65
- $ref: ./paths/v2.0-get.yaml#/paths/~12~1search~1adaptive.json
66
- /graphql/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
67
- $ref: ./paths/post.yaml#/paths/~1graphql~11RyAhNwby-gzGCRVsMxKbQ~1CreateTweet
68
- /graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
69
- $ref: ./paths/timeline.yaml#/paths/~1graphql~12TemLyqrMpTeAmysdbnVqw~1ListLatestTweetsTimeline
70
- /graphql/5fmEkRT-1AdHqEsbVgehMg/Likes:
71
- $ref: ./paths/usertweets.yaml#/paths/~1graphql~15fmEkRT-1AdHqEsbVgehMg~1Likes
72
- /graphql/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
73
- $ref: ./paths/profile.yaml#/paths/~1graphql~19zwVLJ48lmVUk8u_Gh9DmA~1ProfileSpotlightsQuery
74
- /graphql/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
75
- $ref: ./paths/timeline.yaml#/paths/~1graphql~1HCosKfLNW1AcOo3la3mMgg~1HomeTimeline
76
- /graphql/HuTx74BxAnezK1gWvYY7zg/UserTweets:
77
- $ref: ./paths/usertweets.yaml#/paths/~1graphql~1HuTx74BxAnezK1gWvYY7zg~1UserTweets
78
- /graphql/IWP6Zt14sARO29lJT35bBw/Following:
79
- $ref: ./paths/follow.yaml#/paths/~1graphql~1IWP6Zt14sARO29lJT35bBw~1Following
80
- /graphql/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
81
- $ref: ./paths/usertweets.yaml#/paths/~1graphql~1RIWc55YCNyUJ-U3HHGYkdg~1UserTweetsAndReplies
82
- /graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
83
- $ref: ./paths/post.yaml#/paths/~1graphql~1VaenaVgh5q5ih7kvyVjgtg~1DeleteTweet
84
- /graphql/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
85
- $ref: ./paths/usertweets.yaml#/paths/~1graphql~1YqiE3JL1KNgf9nSljYdxaA~1UserMedia
86
- /graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
87
- $ref: ./paths/post.yaml#/paths/~1graphql~1ZYKSe-w7KEslx3JhSIk5LA~1UnfavoriteTweet
88
- /graphql/djdTXDIk2qhd4OStqlUFeQ/Followers:
89
- $ref: ./paths/follow.yaml#/paths/~1graphql~1djdTXDIk2qhd4OStqlUFeQ~1Followers
90
- /graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
91
- $ref: ./paths/post.yaml#/paths/~1graphql~1iQtK4dl5hBmXewYZuEOKVw~1DeleteRetweet
92
- /graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
93
- $ref: ./paths/post.yaml#/paths/~1graphql~1lI07N6Otwv1PhnEgXILM7A~1FavoriteTweet
94
- /graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
95
- $ref: ./paths/post.yaml#/paths/~1graphql~1ojPdsZsimiJrUGLR1sjUtA~1CreateRetweet
96
- /graphql/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
97
- $ref: ./paths/user.yaml#/paths/~1graphql~1sLVLhk0bGj3MVFEKTdax1w~1UserByScreenName
98
- /graphql/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
99
- $ref: ./paths/bookmarks.yaml#/paths/~1graphql~1tmd4ifV8RHltzn8ymGg1aw~1Bookmarks
100
- /graphql/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
101
- $ref: ./paths/tweet.yaml#/paths/~1graphql~1wNNG8DBB8EaXw1lq4vFWGA~1TweetDetail
102
- /graphql/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
103
- $ref: ./paths/timeline.yaml#/paths/~1graphql~1zhX91JE87mWvfprhYE97xA~1HomeLatestTimeline
104
- /other:
105
- $ref: ./paths/other.yaml#/paths/~1other
106
- security:
107
- - CsrfToken: []
108
- - CookieCt0: []
109
- - CookieAuthToken: []
110
- - AuthType: []
111
- - UserAgent: []
112
- - BearerAuth: []
113
- - ActiveUser: []
114
- - ClientLanguage: []
115
- servers:
116
- - url: https://twitter.com/i/api
117
- tags:
118
- - description: response User
119
- name: user
120
- - description: response User list
121
- name: user-list
122
- - description: response tweet
123
- name: tweet
124
- - description: post
125
- name: post
126
- - description: legacy APIs get
127
- name: v1.1-get
128
- - description: legacy APIs post
129
- name: v1.1-post
130
- - description: legacy APIs get
131
- name: v2.0-get
132
- - description: legacy APIs post
133
- name: v2.0-post
134
- - description: other
135
- name: other