twitter-openapi-typescript-generated 0.0.6 → 0.0.8

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 (241) hide show
  1. package/.openapi-generator/FILES +18 -1
  2. package/README.md +2 -2
  3. package/dist/apis/DefaultApi.d.ts +0 -1
  4. package/dist/apis/DefaultApi.d.ts.map +1 -1
  5. package/dist/apis/DefaultApi.js +0 -6
  6. package/dist/apis/DefaultApi.js.map +1 -1
  7. package/dist/apis/TweetApi.d.ts +17 -12
  8. package/dist/apis/TweetApi.d.ts.map +1 -1
  9. package/dist/apis/TweetApi.js +90 -55
  10. package/dist/apis/TweetApi.js.map +1 -1
  11. package/dist/apis/UserApi.d.ts +27 -2
  12. package/dist/apis/UserApi.d.ts.map +1 -1
  13. package/dist/apis/UserApi.js +166 -6
  14. package/dist/apis/UserApi.js.map +1 -1
  15. package/dist/apis/UserListApi.d.ts +41 -3
  16. package/dist/apis/UserListApi.d.ts.map +1 -1
  17. package/dist/apis/UserListApi.js +255 -12
  18. package/dist/apis/UserListApi.js.map +1 -1
  19. package/dist/models/ContentItemType.d.ts +2 -0
  20. package/dist/models/ContentItemType.d.ts.map +1 -1
  21. package/dist/models/ContentItemType.js +3 -1
  22. package/dist/models/ContentItemType.js.map +1 -1
  23. package/dist/models/InstructionType.d.ts +3 -0
  24. package/dist/models/InstructionType.d.ts.map +1 -1
  25. package/dist/models/InstructionType.js +3 -0
  26. package/dist/models/InstructionType.js.map +1 -1
  27. package/dist/models/InstructionUnion.d.ts +9 -0
  28. package/dist/models/InstructionUnion.d.ts.map +1 -1
  29. package/dist/models/InstructionUnion.js +15 -0
  30. package/dist/models/InstructionUnion.js.map +1 -1
  31. package/dist/models/ItemContentUnion.d.ts +6 -0
  32. package/dist/models/ItemContentUnion.d.ts.map +1 -1
  33. package/dist/models/ItemContentUnion.js +10 -0
  34. package/dist/models/ItemContentUnion.js.map +1 -1
  35. package/dist/models/ListLatestTweetsTimelineResponse.d.ts +33 -0
  36. package/dist/models/ListLatestTweetsTimelineResponse.d.ts.map +1 -0
  37. package/dist/models/ListLatestTweetsTimelineResponse.js +52 -0
  38. package/dist/models/ListLatestTweetsTimelineResponse.js.map +1 -0
  39. package/dist/models/SearchByRawQuery.d.ts +33 -0
  40. package/dist/models/SearchByRawQuery.d.ts.map +1 -0
  41. package/dist/models/SearchByRawQuery.js +52 -0
  42. package/dist/models/SearchByRawQuery.js.map +1 -0
  43. package/dist/models/SearchTimeline.d.ts +33 -0
  44. package/dist/models/SearchTimeline.d.ts.map +1 -0
  45. package/dist/models/SearchTimeline.js +52 -0
  46. package/dist/models/SearchTimeline.js.map +1 -0
  47. package/dist/models/SearchTimelineData.d.ts +33 -0
  48. package/dist/models/SearchTimelineData.d.ts.map +1 -0
  49. package/dist/models/SearchTimelineData.js +52 -0
  50. package/dist/models/SearchTimelineData.js.map +1 -0
  51. package/dist/models/SearchTimelineResponse.d.ts +33 -0
  52. package/dist/models/SearchTimelineResponse.d.ts.map +1 -0
  53. package/dist/models/SearchTimelineResponse.js +52 -0
  54. package/dist/models/SearchTimelineResponse.js.map +1 -0
  55. package/dist/models/TimelineAddToModule.d.ts +52 -0
  56. package/dist/models/TimelineAddToModule.d.ts.map +1 -0
  57. package/dist/models/TimelineAddToModule.js +62 -0
  58. package/dist/models/TimelineAddToModule.js.map +1 -0
  59. package/dist/models/TimelineMessagePrompt.d.ts +33 -0
  60. package/dist/models/TimelineMessagePrompt.d.ts.map +1 -0
  61. package/dist/models/TimelineMessagePrompt.js +52 -0
  62. package/dist/models/TimelineMessagePrompt.js.map +1 -0
  63. package/dist/models/TimelinePrompt.d.ts +33 -0
  64. package/dist/models/TimelinePrompt.d.ts.map +1 -0
  65. package/dist/models/TimelinePrompt.js +52 -0
  66. package/dist/models/TimelinePrompt.js.map +1 -0
  67. package/dist/models/TimelineReplaceEntry.d.ts +46 -0
  68. package/dist/models/TimelineReplaceEntry.d.ts.map +1 -0
  69. package/dist/models/TimelineReplaceEntry.js +59 -0
  70. package/dist/models/TimelineReplaceEntry.js.map +1 -0
  71. package/dist/models/TimelineShowAlert.d.ts +97 -0
  72. package/dist/models/TimelineShowAlert.d.ts.map +1 -0
  73. package/dist/models/TimelineShowAlert.js +85 -0
  74. package/dist/models/TimelineShowAlert.js.map +1 -0
  75. package/dist/models/TimelineShowAlertRichText.d.ts +38 -0
  76. package/dist/models/TimelineShowAlertRichText.d.ts.map +1 -0
  77. package/dist/models/TimelineShowAlertRichText.js +53 -0
  78. package/dist/models/TimelineShowAlertRichText.js.map +1 -0
  79. package/dist/models/TweetFavoritersResponse.d.ts +33 -0
  80. package/dist/models/TweetFavoritersResponse.d.ts.map +1 -0
  81. package/dist/models/TweetFavoritersResponse.js +52 -0
  82. package/dist/models/TweetFavoritersResponse.js.map +1 -0
  83. package/dist/models/TweetFavoritersResponseData.d.ts +33 -0
  84. package/dist/models/TweetFavoritersResponseData.d.ts.map +1 -0
  85. package/dist/models/TweetFavoritersResponseData.js +52 -0
  86. package/dist/models/TweetFavoritersResponseData.js.map +1 -0
  87. package/dist/models/TweetLegacy.d.ts +7 -0
  88. package/dist/models/TweetLegacy.d.ts.map +1 -1
  89. package/dist/models/TweetLegacy.js +3 -0
  90. package/dist/models/TweetLegacy.js.map +1 -1
  91. package/dist/models/TweetLegacySelfThread.d.ts +32 -0
  92. package/dist/models/TweetLegacySelfThread.d.ts.map +1 -0
  93. package/dist/models/TweetLegacySelfThread.js +51 -0
  94. package/dist/models/TweetLegacySelfThread.js.map +1 -0
  95. package/dist/models/TweetRetweetersResponse.d.ts +33 -0
  96. package/dist/models/TweetRetweetersResponse.d.ts.map +1 -0
  97. package/dist/models/TweetRetweetersResponse.js +52 -0
  98. package/dist/models/TweetRetweetersResponse.js.map +1 -0
  99. package/dist/models/TweetRetweetersResponseData.d.ts +33 -0
  100. package/dist/models/TweetRetweetersResponseData.d.ts.map +1 -0
  101. package/dist/models/TweetRetweetersResponseData.js +52 -0
  102. package/dist/models/TweetRetweetersResponseData.js.map +1 -0
  103. package/dist/models/UsersResponse.d.ts +33 -0
  104. package/dist/models/UsersResponse.d.ts.map +1 -0
  105. package/dist/models/UsersResponse.js +52 -0
  106. package/dist/models/UsersResponse.js.map +1 -0
  107. package/dist/models/UsersResponseData.d.ts +33 -0
  108. package/dist/models/UsersResponseData.d.ts.map +1 -0
  109. package/dist/models/UsersResponseData.js +52 -0
  110. package/dist/models/UsersResponseData.js.map +1 -0
  111. package/dist/models/index.d.ts +18 -1
  112. package/dist/models/index.d.ts.map +1 -1
  113. package/dist/models/index.js +18 -1
  114. package/dist/models/index.js.map +1 -1
  115. package/package.json +3 -2
  116. package/src/apis/DefaultApi.ts +0 -9
  117. package/src/apis/TweetApi.ts +102 -87
  118. package/src/apis/UserApi.ts +171 -9
  119. package/src/apis/UserListApi.ts +267 -18
  120. package/src/models/ContentItemType.ts +3 -1
  121. package/src/models/InstructionType.ts +3 -0
  122. package/src/models/InstructionUnion.ts +34 -1
  123. package/src/models/ItemContentUnion.ts +23 -1
  124. package/src/models/{ListTweetsTimelineResponse.ts → ListLatestTweetsTimelineResponse.ts} +9 -9
  125. package/src/models/SearchByRawQuery.ts +73 -0
  126. package/src/models/SearchTimeline.ts +73 -0
  127. package/src/models/SearchTimelineData.ts +73 -0
  128. package/src/models/SearchTimelineResponse.ts +73 -0
  129. package/src/models/TimelineAddToModule.ts +105 -0
  130. package/src/models/TimelineMessagePrompt.ts +72 -0
  131. package/src/models/TimelinePrompt.ts +72 -0
  132. package/src/models/TimelineReplaceEntry.ts +97 -0
  133. package/src/models/TimelineShowAlert.ts +169 -0
  134. package/src/models/TimelineShowAlertRichText.ts +73 -0
  135. package/src/models/TweetFavoritersResponse.ts +73 -0
  136. package/src/models/TweetFavoritersResponseData.ts +73 -0
  137. package/src/models/TweetLegacy.ts +14 -0
  138. package/src/models/TweetLegacySelfThread.ts +66 -0
  139. package/src/models/TweetRetweetersResponse.ts +73 -0
  140. package/src/models/TweetRetweetersResponseData.ts +73 -0
  141. package/src/models/UsersResponse.ts +73 -0
  142. package/src/models/UsersResponseData.ts +73 -0
  143. package/src/models/index.ts +18 -1
  144. package/tools/openapi-generator-config.yaml +2 -2
  145. package/tools/win/replace.py +1 -1
  146. package/twitter-openapi/dist/{test → compatible}/openapi-3.0.yaml +12 -0
  147. package/twitter-openapi/dist/{typescript → compatible}/paths/bookmarks.yaml +0 -7
  148. package/twitter-openapi/dist/{dart → compatible}/paths/follow.yaml +82 -63
  149. package/twitter-openapi/dist/{test → compatible}/paths/profile.yaml +0 -7
  150. package/twitter-openapi/dist/{dart → compatible}/paths/timeline.yaml +118 -111
  151. package/twitter-openapi/dist/compatible/paths/tweet.yaml +297 -0
  152. package/twitter-openapi/dist/compatible/paths/user.yaml +227 -0
  153. package/twitter-openapi/dist/{test → compatible}/paths/usertweets.yaml +0 -28
  154. package/twitter-openapi/dist/{typescript → compatible}/schemas/content.yaml +14 -0
  155. package/twitter-openapi/dist/compatible/schemas/instruction.yaml +160 -0
  156. package/twitter-openapi/dist/{dart → compatible}/schemas/tweet.yaml +8 -0
  157. package/twitter-openapi/dist/docs/openapi-3.0.yaml +12 -0
  158. package/twitter-openapi/dist/docs/paths/bookmarks.yaml +0 -56
  159. package/twitter-openapi/dist/docs/paths/follow.yaml +193 -112
  160. package/twitter-openapi/dist/docs/paths/profile.yaml +0 -35
  161. package/twitter-openapi/dist/docs/paths/timeline.yaml +225 -173
  162. package/twitter-openapi/dist/docs/paths/tweet.yaml +382 -61
  163. package/twitter-openapi/dist/docs/paths/user.yaml +214 -41
  164. package/twitter-openapi/dist/docs/paths/usertweets.yaml +0 -238
  165. package/twitter-openapi/dist/docs/schemas/content.yaml +14 -0
  166. package/twitter-openapi/dist/docs/schemas/instruction.yaml +77 -0
  167. package/twitter-openapi/dist/docs/schemas/tweet.yaml +8 -0
  168. package/twitter-openapi/src/config/placeholder.json +155 -0
  169. package/twitter-openapi/src/openapi/paths/follow.yaml +14 -0
  170. package/twitter-openapi/src/openapi/paths/timeline.yaml +44 -2
  171. package/twitter-openapi/src/openapi/paths/tweet.yaml +56 -0
  172. package/twitter-openapi/src/openapi/paths/user.yaml +44 -0
  173. package/twitter-openapi/src/openapi/schemas/content.yaml +23 -1
  174. package/twitter-openapi/src/openapi/schemas/instruction.yaml +78 -0
  175. package/twitter-openapi/src/openapi/schemas/tweet.yaml +8 -0
  176. package/twitter-openapi/tools/__pycache__/build_config.cpython-310.pyc +0 -0
  177. package/twitter-openapi/tools/__pycache__/hooks.cpython-310.pyc +0 -0
  178. package/twitter-openapi/tools/build_config.py +67 -190
  179. package/twitter-openapi/tools/hooks.py +28 -7
  180. package/dist/models/ListTweetsTimelineResponse.d.ts +0 -33
  181. package/dist/models/ListTweetsTimelineResponse.d.ts.map +0 -1
  182. package/dist/models/ListTweetsTimelineResponse.js +0 -52
  183. package/dist/models/ListTweetsTimelineResponse.js.map +0 -1
  184. package/twitter-openapi/dist/dart/openapi-3.0.yaml +0 -117
  185. package/twitter-openapi/dist/dart/paths/bookmarks.yaml +0 -141
  186. package/twitter-openapi/dist/dart/paths/post.yaml +0 -876
  187. package/twitter-openapi/dist/dart/paths/profile.yaml +0 -159
  188. package/twitter-openapi/dist/dart/paths/tweet.yaml +0 -141
  189. package/twitter-openapi/dist/dart/paths/user.yaml +0 -119
  190. package/twitter-openapi/dist/dart/paths/usertweets.yaml +0 -512
  191. package/twitter-openapi/dist/dart/paths/v1.1-get.yaml +0 -300
  192. package/twitter-openapi/dist/dart/paths/v1.1-post.yaml +0 -295
  193. package/twitter-openapi/dist/dart/paths/v2.0-get.yaml +0 -331
  194. package/twitter-openapi/dist/dart/schemas/content.yaml +0 -181
  195. package/twitter-openapi/dist/dart/schemas/instruction.yaml +0 -83
  196. package/twitter-openapi/dist/test/paths/bookmarks.yaml +0 -112
  197. package/twitter-openapi/dist/test/paths/follow.yaml +0 -218
  198. package/twitter-openapi/dist/test/paths/other.yaml +0 -96
  199. package/twitter-openapi/dist/test/paths/post.yaml +0 -527
  200. package/twitter-openapi/dist/test/paths/timeline.yaml +0 -314
  201. package/twitter-openapi/dist/test/paths/tweet.yaml +0 -112
  202. package/twitter-openapi/dist/test/paths/user.yaml +0 -90
  203. package/twitter-openapi/dist/test/paths/v1.1-get.yaml +0 -242
  204. package/twitter-openapi/dist/test/paths/v1.1-post.yaml +0 -277
  205. package/twitter-openapi/dist/test/paths/v2.0-get.yaml +0 -302
  206. package/twitter-openapi/dist/test/resources/parameters.yaml +0 -13
  207. package/twitter-openapi/dist/test/response/error.yaml +0 -90
  208. package/twitter-openapi/dist/test/schemas/content.yaml +0 -181
  209. package/twitter-openapi/dist/test/schemas/general.yaml +0 -13
  210. package/twitter-openapi/dist/test/schemas/instruction.yaml +0 -83
  211. package/twitter-openapi/dist/test/schemas/timeline.yaml +0 -25
  212. package/twitter-openapi/dist/test/schemas/tweet.yaml +0 -308
  213. package/twitter-openapi/dist/test/schemas/typename.yaml +0 -19
  214. package/twitter-openapi/dist/test/schemas/user.yaml +0 -206
  215. package/twitter-openapi/dist/typescript/openapi-3.0.yaml +0 -141
  216. package/twitter-openapi/dist/typescript/paths/follow.yaml +0 -218
  217. package/twitter-openapi/dist/typescript/paths/other.yaml +0 -96
  218. package/twitter-openapi/dist/typescript/paths/profile.yaml +0 -130
  219. package/twitter-openapi/dist/typescript/paths/timeline.yaml +0 -314
  220. package/twitter-openapi/dist/typescript/paths/tweet.yaml +0 -112
  221. package/twitter-openapi/dist/typescript/paths/user.yaml +0 -90
  222. package/twitter-openapi/dist/typescript/paths/usertweets.yaml +0 -396
  223. package/twitter-openapi/dist/typescript/resources/parameters.yaml +0 -13
  224. package/twitter-openapi/dist/typescript/response/error.yaml +0 -90
  225. package/twitter-openapi/dist/typescript/schemas/general.yaml +0 -13
  226. package/twitter-openapi/dist/typescript/schemas/instruction.yaml +0 -83
  227. package/twitter-openapi/dist/typescript/schemas/timeline.yaml +0 -25
  228. package/twitter-openapi/dist/typescript/schemas/tweet.yaml +0 -308
  229. package/twitter-openapi/dist/typescript/schemas/typename.yaml +0 -19
  230. package/twitter-openapi/dist/typescript/schemas/user.yaml +0 -206
  231. /package/twitter-openapi/dist/{dart → compatible}/paths/other.yaml +0 -0
  232. /package/twitter-openapi/dist/{typescript → compatible}/paths/post.yaml +0 -0
  233. /package/twitter-openapi/dist/{typescript → compatible}/paths/v1.1-get.yaml +0 -0
  234. /package/twitter-openapi/dist/{typescript → compatible}/paths/v1.1-post.yaml +0 -0
  235. /package/twitter-openapi/dist/{typescript → compatible}/paths/v2.0-get.yaml +0 -0
  236. /package/twitter-openapi/dist/{dart → compatible}/resources/parameters.yaml +0 -0
  237. /package/twitter-openapi/dist/{dart → compatible}/response/error.yaml +0 -0
  238. /package/twitter-openapi/dist/{dart → compatible}/schemas/general.yaml +0 -0
  239. /package/twitter-openapi/dist/{dart → compatible}/schemas/timeline.yaml +0 -0
  240. /package/twitter-openapi/dist/{dart → compatible}/schemas/typename.yaml +0 -0
  241. /package/twitter-openapi/dist/{dart → compatible}/schemas/user.yaml +0 -0
@@ -1,512 +0,0 @@
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/{pathQueryId}/Likes:
36
- get:
37
- description: get user likes tweets
38
- operationId: getLikes
39
- parameters:
40
- - in: header
41
- name: user-agent
42
- required: true
43
- schema:
44
- default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
45
- like Gecko) Chrome/112.0.0.0 Safari/537.36
46
- description: UserAgent, some APIs may be rejected if changed.
47
- type: string
48
- - in: header
49
- name: authorization
50
- required: true
51
- schema:
52
- default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
53
- description: It is a constant value and does not need to be changed.
54
- type: string
55
- - in: header
56
- name: x-twitter-active-user
57
- required: true
58
- schema:
59
- default: 'yes'
60
- description: Unknown what this value means.
61
- type: string
62
- - in: header
63
- name: x-twitter-client-language
64
- required: true
65
- schema:
66
- default: en
67
- description: language code.
68
- type: string
69
- - in: path
70
- name: pathQueryId
71
- required: true
72
- schema:
73
- default: 5fmEkRT-1AdHqEsbVgehMg
74
- example: 5fmEkRT-1AdHqEsbVgehMg
75
- type: string
76
- - in: query
77
- name: queryId
78
- required: true
79
- schema:
80
- default: '"5fmEkRT-1AdHqEsbVgehMg"'
81
- example: '"5fmEkRT-1AdHqEsbVgehMg"'
82
- type: string
83
- - in: query
84
- name: variables
85
- required: true
86
- schema:
87
- default: '{"userId": "44196397", "count": 20, "includePromotedContent":
88
- false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
89
- true, "withV2Timeline": true}'
90
- example: '{"userId": "44196397", "count": 20, "includePromotedContent":
91
- false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
92
- true, "withV2Timeline": true}'
93
- type: string
94
- - in: query
95
- name: features
96
- required: true
97
- schema:
98
- default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
99
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
100
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
101
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
102
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
103
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
104
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
105
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
106
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
107
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
108
- false}'
109
- example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
110
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
111
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
112
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
113
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
114
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
115
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
116
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
117
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
118
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
119
- false}'
120
- type: string
121
- responses:
122
- '200':
123
- content:
124
- application/json:
125
- schema:
126
- $ref: '#/components/schemas/UserTweetsResponse'
127
- description: Successful operation
128
- headers:
129
- x-connection-hash:
130
- schema:
131
- type: string
132
- x-rate-limit-limit:
133
- schema:
134
- type: integer
135
- x-rate-limit-remaining:
136
- schema:
137
- type: integer
138
- x-rate-limit-reset:
139
- schema:
140
- type: integer
141
- x-response-time:
142
- schema:
143
- type: integer
144
- x-tfe-preserve-body:
145
- schema:
146
- type: boolean
147
- x-transaction-id:
148
- schema:
149
- type: string
150
- x-twitter-response-tags:
151
- schema:
152
- type: string
153
- tags:
154
- - tweet
155
- /graphql/{pathQueryId}/UserMedia:
156
- get:
157
- description: get user media tweets
158
- operationId: getUserMedia
159
- parameters:
160
- - in: header
161
- name: user-agent
162
- required: true
163
- schema:
164
- default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
165
- like Gecko) Chrome/112.0.0.0 Safari/537.36
166
- description: UserAgent, some APIs may be rejected if changed.
167
- type: string
168
- - in: header
169
- name: authorization
170
- required: true
171
- schema:
172
- default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
173
- description: It is a constant value and does not need to be changed.
174
- type: string
175
- - in: header
176
- name: x-twitter-active-user
177
- required: true
178
- schema:
179
- default: 'yes'
180
- description: Unknown what this value means.
181
- type: string
182
- - in: header
183
- name: x-twitter-client-language
184
- required: true
185
- schema:
186
- default: en
187
- description: language code.
188
- type: string
189
- - in: path
190
- name: pathQueryId
191
- required: true
192
- schema:
193
- default: YqiE3JL1KNgf9nSljYdxaA
194
- example: YqiE3JL1KNgf9nSljYdxaA
195
- type: string
196
- - in: query
197
- name: queryId
198
- required: true
199
- schema:
200
- default: '"YqiE3JL1KNgf9nSljYdxaA"'
201
- example: '"YqiE3JL1KNgf9nSljYdxaA"'
202
- type: string
203
- - in: query
204
- name: variables
205
- required: true
206
- schema:
207
- default: '{"userId": "44196397", "count": 40, "includePromotedContent":
208
- false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
209
- true, "withV2Timeline": true}'
210
- example: '{"userId": "44196397", "count": 40, "includePromotedContent":
211
- false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
212
- true, "withV2Timeline": true}'
213
- type: string
214
- - in: query
215
- name: features
216
- required: true
217
- schema:
218
- default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
219
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
220
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
221
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
222
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
223
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
224
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
225
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
226
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
227
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
228
- false}'
229
- example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
230
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
231
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
232
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
233
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
234
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
235
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
236
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
237
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
238
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
239
- false}'
240
- type: string
241
- responses:
242
- '200':
243
- content:
244
- application/json:
245
- schema:
246
- $ref: '#/components/schemas/UserTweetsResponse'
247
- description: Successful operation
248
- headers:
249
- x-connection-hash:
250
- schema:
251
- type: string
252
- x-rate-limit-limit:
253
- schema:
254
- type: integer
255
- x-rate-limit-remaining:
256
- schema:
257
- type: integer
258
- x-rate-limit-reset:
259
- schema:
260
- type: integer
261
- x-response-time:
262
- schema:
263
- type: integer
264
- x-tfe-preserve-body:
265
- schema:
266
- type: boolean
267
- x-transaction-id:
268
- schema:
269
- type: string
270
- x-twitter-response-tags:
271
- schema:
272
- type: string
273
- tags:
274
- - tweet
275
- /graphql/{pathQueryId}/UserTweets:
276
- get:
277
- description: get user tweets
278
- operationId: getUserTweets
279
- parameters:
280
- - in: header
281
- name: user-agent
282
- required: true
283
- schema:
284
- default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
285
- like Gecko) Chrome/112.0.0.0 Safari/537.36
286
- description: UserAgent, some APIs may be rejected if changed.
287
- type: string
288
- - in: header
289
- name: authorization
290
- required: true
291
- schema:
292
- default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
293
- description: It is a constant value and does not need to be changed.
294
- type: string
295
- - in: header
296
- name: x-twitter-active-user
297
- required: true
298
- schema:
299
- default: 'yes'
300
- description: Unknown what this value means.
301
- type: string
302
- - in: header
303
- name: x-twitter-client-language
304
- required: true
305
- schema:
306
- default: en
307
- description: language code.
308
- type: string
309
- - in: path
310
- name: pathQueryId
311
- required: true
312
- schema:
313
- default: HuTx74BxAnezK1gWvYY7zg
314
- example: HuTx74BxAnezK1gWvYY7zg
315
- type: string
316
- - in: query
317
- name: queryId
318
- required: true
319
- schema:
320
- default: '"HuTx74BxAnezK1gWvYY7zg"'
321
- example: '"HuTx74BxAnezK1gWvYY7zg"'
322
- type: string
323
- - in: query
324
- name: variables
325
- required: true
326
- schema:
327
- default: '{"userId": "44196397", "count": 40, "includePromotedContent":
328
- true, "withQuickPromoteEligibilityTweetFields": true, "withVoice": true,
329
- "withV2Timeline": true}'
330
- example: '{"userId": "44196397", "count": 40, "includePromotedContent":
331
- true, "withQuickPromoteEligibilityTweetFields": true, "withVoice": true,
332
- "withV2Timeline": true}'
333
- type: string
334
- - in: query
335
- name: features
336
- required: true
337
- schema:
338
- default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
339
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
340
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
341
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
342
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
343
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
344
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
345
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
346
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
347
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
348
- false}'
349
- example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
350
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
351
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
352
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
353
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
354
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
355
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
356
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
357
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
358
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
359
- false}'
360
- type: string
361
- responses:
362
- '200':
363
- content:
364
- application/json:
365
- schema:
366
- $ref: '#/components/schemas/UserTweetsResponse'
367
- description: Successful operation
368
- headers:
369
- x-connection-hash:
370
- schema:
371
- type: string
372
- x-rate-limit-limit:
373
- schema:
374
- type: integer
375
- x-rate-limit-remaining:
376
- schema:
377
- type: integer
378
- x-rate-limit-reset:
379
- schema:
380
- type: integer
381
- x-response-time:
382
- schema:
383
- type: integer
384
- x-tfe-preserve-body:
385
- schema:
386
- type: boolean
387
- x-transaction-id:
388
- schema:
389
- type: string
390
- x-twitter-response-tags:
391
- schema:
392
- type: string
393
- tags:
394
- - tweet
395
- /graphql/{pathQueryId}/UserTweetsAndReplies:
396
- get:
397
- description: get user replies tweets
398
- operationId: getUserTweetsAndReplies
399
- parameters:
400
- - in: header
401
- name: user-agent
402
- required: true
403
- schema:
404
- default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
405
- like Gecko) Chrome/112.0.0.0 Safari/537.36
406
- description: UserAgent, some APIs may be rejected if changed.
407
- type: string
408
- - in: header
409
- name: authorization
410
- required: true
411
- schema:
412
- default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
413
- description: It is a constant value and does not need to be changed.
414
- type: string
415
- - in: header
416
- name: x-twitter-active-user
417
- required: true
418
- schema:
419
- default: 'yes'
420
- description: Unknown what this value means.
421
- type: string
422
- - in: header
423
- name: x-twitter-client-language
424
- required: true
425
- schema:
426
- default: en
427
- description: language code.
428
- type: string
429
- - in: path
430
- name: pathQueryId
431
- required: true
432
- schema:
433
- default: RIWc55YCNyUJ-U3HHGYkdg
434
- example: RIWc55YCNyUJ-U3HHGYkdg
435
- type: string
436
- - in: query
437
- name: queryId
438
- required: true
439
- schema:
440
- default: '"RIWc55YCNyUJ-U3HHGYkdg"'
441
- example: '"RIWc55YCNyUJ-U3HHGYkdg"'
442
- type: string
443
- - in: query
444
- name: variables
445
- required: true
446
- schema:
447
- default: '{"userId": "44196397", "count": 40, "includePromotedContent":
448
- true, "withCommunity": true, "withVoice": true, "withV2Timeline": true}'
449
- example: '{"userId": "44196397", "count": 40, "includePromotedContent":
450
- true, "withCommunity": true, "withVoice": true, "withV2Timeline": true}'
451
- type: string
452
- - in: query
453
- name: features
454
- required: true
455
- schema:
456
- default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
457
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
458
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
459
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
460
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
461
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
462
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
463
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
464
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
465
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
466
- false}'
467
- example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
468
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
469
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
470
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
471
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
472
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
473
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
474
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
475
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
476
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
477
- false}'
478
- type: string
479
- responses:
480
- '200':
481
- content:
482
- application/json:
483
- schema:
484
- $ref: '#/components/schemas/UserTweetsResponse'
485
- description: Successful operation
486
- headers:
487
- x-connection-hash:
488
- schema:
489
- type: string
490
- x-rate-limit-limit:
491
- schema:
492
- type: integer
493
- x-rate-limit-remaining:
494
- schema:
495
- type: integer
496
- x-rate-limit-reset:
497
- schema:
498
- type: integer
499
- x-response-time:
500
- schema:
501
- type: integer
502
- x-tfe-preserve-body:
503
- schema:
504
- type: boolean
505
- x-transaction-id:
506
- schema:
507
- type: string
508
- x-twitter-response-tags:
509
- schema:
510
- type: string
511
- tags:
512
- - tweet