twitter-openapi-typescript-generated 0.0.6 → 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.
- package/.openapi-generator/FILES +1 -0
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +0 -1
- package/dist/apis/DefaultApi.d.ts.map +1 -1
- package/dist/apis/DefaultApi.js +0 -6
- package/dist/apis/DefaultApi.js.map +1 -1
- package/dist/apis/TweetApi.d.ts +0 -9
- package/dist/apis/TweetApi.d.ts.map +1 -1
- package/dist/apis/TweetApi.js +0 -54
- package/dist/apis/TweetApi.js.map +1 -1
- package/dist/apis/UserApi.d.ts +0 -1
- package/dist/apis/UserApi.d.ts.map +1 -1
- package/dist/apis/UserApi.js +0 -6
- package/dist/apis/UserApi.js.map +1 -1
- package/dist/apis/UserListApi.d.ts +0 -2
- package/dist/apis/UserListApi.d.ts.map +1 -1
- package/dist/apis/UserListApi.js +0 -12
- package/dist/apis/UserListApi.js.map +1 -1
- package/dist/models/TweetLegacy.d.ts +7 -0
- package/dist/models/TweetLegacy.d.ts.map +1 -1
- package/dist/models/TweetLegacy.js +3 -0
- package/dist/models/TweetLegacy.js.map +1 -1
- package/dist/models/TweetLegacySelfThread.d.ts +32 -0
- package/dist/models/TweetLegacySelfThread.d.ts.map +1 -0
- package/dist/models/TweetLegacySelfThread.js +51 -0
- package/dist/models/TweetLegacySelfThread.js.map +1 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +1 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +0 -9
- package/src/apis/TweetApi.ts +0 -81
- package/src/apis/UserApi.ts +0 -9
- package/src/apis/UserListApi.ts +0 -18
- package/src/models/TweetLegacy.ts +14 -0
- package/src/models/TweetLegacySelfThread.ts +66 -0
- package/src/models/index.ts +1 -0
- package/tools/openapi-generator-config.yaml +2 -2
- package/twitter-openapi/dist/{typescript → compatible}/paths/bookmarks.yaml +0 -7
- package/twitter-openapi/dist/{test → compatible}/paths/follow.yaml +0 -14
- package/twitter-openapi/dist/{test → compatible}/paths/profile.yaml +0 -7
- package/twitter-openapi/dist/{test → compatible}/paths/timeline.yaml +0 -21
- package/twitter-openapi/dist/{test → compatible}/paths/tweet.yaml +0 -7
- package/twitter-openapi/dist/{test → compatible}/paths/user.yaml +0 -7
- package/twitter-openapi/dist/{typescript → compatible}/paths/usertweets.yaml +0 -28
- package/twitter-openapi/dist/{dart → compatible}/schemas/tweet.yaml +8 -0
- package/twitter-openapi/dist/docs/paths/bookmarks.yaml +0 -56
- package/twitter-openapi/dist/docs/paths/follow.yaml +0 -112
- package/twitter-openapi/dist/docs/paths/profile.yaml +0 -35
- package/twitter-openapi/dist/docs/paths/timeline.yaml +0 -170
- package/twitter-openapi/dist/docs/paths/tweet.yaml +0 -61
- package/twitter-openapi/dist/docs/paths/user.yaml +0 -41
- package/twitter-openapi/dist/docs/paths/usertweets.yaml +0 -238
- package/twitter-openapi/dist/docs/schemas/tweet.yaml +8 -0
- package/twitter-openapi/src/openapi/schemas/tweet.yaml +8 -0
- package/twitter-openapi/tools/__pycache__/build_config.cpython-310.pyc +0 -0
- package/twitter-openapi/tools/__pycache__/hooks.cpython-310.pyc +0 -0
- package/twitter-openapi/tools/build_config.py +67 -190
- package/twitter-openapi/tools/hooks.py +28 -7
- package/twitter-openapi/dist/dart/openapi-3.0.yaml +0 -117
- package/twitter-openapi/dist/dart/paths/bookmarks.yaml +0 -141
- package/twitter-openapi/dist/dart/paths/follow.yaml +0 -276
- package/twitter-openapi/dist/dart/paths/post.yaml +0 -876
- package/twitter-openapi/dist/dart/paths/profile.yaml +0 -159
- package/twitter-openapi/dist/dart/paths/timeline.yaml +0 -401
- package/twitter-openapi/dist/dart/paths/tweet.yaml +0 -141
- package/twitter-openapi/dist/dart/paths/user.yaml +0 -119
- package/twitter-openapi/dist/dart/paths/usertweets.yaml +0 -512
- package/twitter-openapi/dist/dart/paths/v1.1-get.yaml +0 -300
- package/twitter-openapi/dist/dart/paths/v1.1-post.yaml +0 -295
- package/twitter-openapi/dist/dart/paths/v2.0-get.yaml +0 -331
- package/twitter-openapi/dist/test/paths/bookmarks.yaml +0 -112
- package/twitter-openapi/dist/test/paths/other.yaml +0 -96
- package/twitter-openapi/dist/test/paths/post.yaml +0 -527
- package/twitter-openapi/dist/test/paths/usertweets.yaml +0 -396
- package/twitter-openapi/dist/test/paths/v1.1-get.yaml +0 -242
- package/twitter-openapi/dist/test/paths/v1.1-post.yaml +0 -277
- package/twitter-openapi/dist/test/paths/v2.0-get.yaml +0 -302
- package/twitter-openapi/dist/test/resources/parameters.yaml +0 -13
- package/twitter-openapi/dist/test/response/error.yaml +0 -90
- package/twitter-openapi/dist/test/schemas/content.yaml +0 -181
- package/twitter-openapi/dist/test/schemas/general.yaml +0 -13
- package/twitter-openapi/dist/test/schemas/instruction.yaml +0 -83
- package/twitter-openapi/dist/test/schemas/timeline.yaml +0 -25
- package/twitter-openapi/dist/test/schemas/tweet.yaml +0 -308
- package/twitter-openapi/dist/test/schemas/typename.yaml +0 -19
- package/twitter-openapi/dist/test/schemas/user.yaml +0 -206
- package/twitter-openapi/dist/typescript/openapi-3.0.yaml +0 -141
- package/twitter-openapi/dist/typescript/paths/follow.yaml +0 -218
- package/twitter-openapi/dist/typescript/paths/other.yaml +0 -96
- package/twitter-openapi/dist/typescript/paths/profile.yaml +0 -130
- package/twitter-openapi/dist/typescript/paths/timeline.yaml +0 -314
- package/twitter-openapi/dist/typescript/paths/tweet.yaml +0 -112
- package/twitter-openapi/dist/typescript/paths/user.yaml +0 -90
- package/twitter-openapi/dist/typescript/resources/parameters.yaml +0 -13
- package/twitter-openapi/dist/typescript/response/error.yaml +0 -90
- package/twitter-openapi/dist/typescript/schemas/content.yaml +0 -181
- package/twitter-openapi/dist/typescript/schemas/general.yaml +0 -13
- package/twitter-openapi/dist/typescript/schemas/instruction.yaml +0 -83
- package/twitter-openapi/dist/typescript/schemas/timeline.yaml +0 -25
- package/twitter-openapi/dist/typescript/schemas/tweet.yaml +0 -308
- package/twitter-openapi/dist/typescript/schemas/typename.yaml +0 -19
- package/twitter-openapi/dist/typescript/schemas/user.yaml +0 -206
- /package/twitter-openapi/dist/{test → compatible}/openapi-3.0.yaml +0 -0
- /package/twitter-openapi/dist/{dart → compatible}/paths/other.yaml +0 -0
- /package/twitter-openapi/dist/{typescript → compatible}/paths/post.yaml +0 -0
- /package/twitter-openapi/dist/{typescript → compatible}/paths/v1.1-get.yaml +0 -0
- /package/twitter-openapi/dist/{typescript → compatible}/paths/v1.1-post.yaml +0 -0
- /package/twitter-openapi/dist/{typescript → compatible}/paths/v2.0-get.yaml +0 -0
- /package/twitter-openapi/dist/{dart → compatible}/resources/parameters.yaml +0 -0
- /package/twitter-openapi/dist/{dart → compatible}/response/error.yaml +0 -0
- /package/twitter-openapi/dist/{dart → compatible}/schemas/content.yaml +0 -0
- /package/twitter-openapi/dist/{dart → compatible}/schemas/general.yaml +0 -0
- /package/twitter-openapi/dist/{dart → compatible}/schemas/instruction.yaml +0 -0
- /package/twitter-openapi/dist/{dart → compatible}/schemas/timeline.yaml +0 -0
- /package/twitter-openapi/dist/{dart → compatible}/schemas/typename.yaml +0 -0
- /package/twitter-openapi/dist/{dart → compatible}/schemas/user.yaml +0 -0
|
@@ -1,396 +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: path
|
|
41
|
-
name: pathQueryId
|
|
42
|
-
required: true
|
|
43
|
-
schema:
|
|
44
|
-
default: 5fmEkRT-1AdHqEsbVgehMg
|
|
45
|
-
example: 5fmEkRT-1AdHqEsbVgehMg
|
|
46
|
-
type: string
|
|
47
|
-
- in: query
|
|
48
|
-
name: queryId
|
|
49
|
-
required: true
|
|
50
|
-
schema:
|
|
51
|
-
default: '"5fmEkRT-1AdHqEsbVgehMg"'
|
|
52
|
-
example: '"5fmEkRT-1AdHqEsbVgehMg"'
|
|
53
|
-
type: string
|
|
54
|
-
- in: query
|
|
55
|
-
name: variables
|
|
56
|
-
required: true
|
|
57
|
-
schema:
|
|
58
|
-
default: '{"userId": "44196397", "count": 20, "includePromotedContent":
|
|
59
|
-
false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
|
|
60
|
-
true, "withV2Timeline": true}'
|
|
61
|
-
example: '{"userId": "44196397", "count": 20, "includePromotedContent":
|
|
62
|
-
false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
|
|
63
|
-
true, "withV2Timeline": true}'
|
|
64
|
-
type: string
|
|
65
|
-
- in: query
|
|
66
|
-
name: features
|
|
67
|
-
required: true
|
|
68
|
-
schema:
|
|
69
|
-
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
70
|
-
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
71
|
-
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
72
|
-
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
73
|
-
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
74
|
-
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
75
|
-
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
76
|
-
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
77
|
-
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
78
|
-
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
79
|
-
false}'
|
|
80
|
-
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
81
|
-
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
82
|
-
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
83
|
-
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
84
|
-
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
85
|
-
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
86
|
-
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
87
|
-
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
88
|
-
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
89
|
-
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
90
|
-
false}'
|
|
91
|
-
type: string
|
|
92
|
-
responses:
|
|
93
|
-
'200':
|
|
94
|
-
content:
|
|
95
|
-
application/json:
|
|
96
|
-
schema:
|
|
97
|
-
$ref: '#/components/schemas/UserTweetsResponse'
|
|
98
|
-
description: Successful operation
|
|
99
|
-
headers:
|
|
100
|
-
x-connection-hash:
|
|
101
|
-
schema:
|
|
102
|
-
type: string
|
|
103
|
-
x-rate-limit-limit:
|
|
104
|
-
schema:
|
|
105
|
-
type: integer
|
|
106
|
-
x-rate-limit-remaining:
|
|
107
|
-
schema:
|
|
108
|
-
type: integer
|
|
109
|
-
x-rate-limit-reset:
|
|
110
|
-
schema:
|
|
111
|
-
type: integer
|
|
112
|
-
x-response-time:
|
|
113
|
-
schema:
|
|
114
|
-
type: integer
|
|
115
|
-
x-tfe-preserve-body:
|
|
116
|
-
schema:
|
|
117
|
-
type: boolean
|
|
118
|
-
x-transaction-id:
|
|
119
|
-
schema:
|
|
120
|
-
type: string
|
|
121
|
-
x-twitter-response-tags:
|
|
122
|
-
schema:
|
|
123
|
-
type: string
|
|
124
|
-
tags:
|
|
125
|
-
- tweet
|
|
126
|
-
/graphql/{pathQueryId}/UserMedia:
|
|
127
|
-
get:
|
|
128
|
-
description: get user media tweets
|
|
129
|
-
operationId: getUserMedia
|
|
130
|
-
parameters:
|
|
131
|
-
- in: path
|
|
132
|
-
name: pathQueryId
|
|
133
|
-
required: true
|
|
134
|
-
schema:
|
|
135
|
-
default: YqiE3JL1KNgf9nSljYdxaA
|
|
136
|
-
example: YqiE3JL1KNgf9nSljYdxaA
|
|
137
|
-
type: string
|
|
138
|
-
- in: query
|
|
139
|
-
name: queryId
|
|
140
|
-
required: true
|
|
141
|
-
schema:
|
|
142
|
-
default: '"YqiE3JL1KNgf9nSljYdxaA"'
|
|
143
|
-
example: '"YqiE3JL1KNgf9nSljYdxaA"'
|
|
144
|
-
type: string
|
|
145
|
-
- in: query
|
|
146
|
-
name: variables
|
|
147
|
-
required: true
|
|
148
|
-
schema:
|
|
149
|
-
default: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
150
|
-
false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
|
|
151
|
-
true, "withV2Timeline": true}'
|
|
152
|
-
example: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
153
|
-
false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
|
|
154
|
-
true, "withV2Timeline": true}'
|
|
155
|
-
type: string
|
|
156
|
-
- in: query
|
|
157
|
-
name: features
|
|
158
|
-
required: true
|
|
159
|
-
schema:
|
|
160
|
-
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
161
|
-
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
162
|
-
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
163
|
-
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
164
|
-
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
165
|
-
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
166
|
-
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
167
|
-
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
168
|
-
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
169
|
-
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
170
|
-
false}'
|
|
171
|
-
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
172
|
-
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
173
|
-
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
174
|
-
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
175
|
-
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
176
|
-
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
177
|
-
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
178
|
-
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
179
|
-
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
180
|
-
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
181
|
-
false}'
|
|
182
|
-
type: string
|
|
183
|
-
responses:
|
|
184
|
-
'200':
|
|
185
|
-
content:
|
|
186
|
-
application/json:
|
|
187
|
-
schema:
|
|
188
|
-
$ref: '#/components/schemas/UserTweetsResponse'
|
|
189
|
-
description: Successful operation
|
|
190
|
-
headers:
|
|
191
|
-
x-connection-hash:
|
|
192
|
-
schema:
|
|
193
|
-
type: string
|
|
194
|
-
x-rate-limit-limit:
|
|
195
|
-
schema:
|
|
196
|
-
type: integer
|
|
197
|
-
x-rate-limit-remaining:
|
|
198
|
-
schema:
|
|
199
|
-
type: integer
|
|
200
|
-
x-rate-limit-reset:
|
|
201
|
-
schema:
|
|
202
|
-
type: integer
|
|
203
|
-
x-response-time:
|
|
204
|
-
schema:
|
|
205
|
-
type: integer
|
|
206
|
-
x-tfe-preserve-body:
|
|
207
|
-
schema:
|
|
208
|
-
type: boolean
|
|
209
|
-
x-transaction-id:
|
|
210
|
-
schema:
|
|
211
|
-
type: string
|
|
212
|
-
x-twitter-response-tags:
|
|
213
|
-
schema:
|
|
214
|
-
type: string
|
|
215
|
-
tags:
|
|
216
|
-
- tweet
|
|
217
|
-
/graphql/{pathQueryId}/UserTweets:
|
|
218
|
-
get:
|
|
219
|
-
description: get user tweets
|
|
220
|
-
operationId: getUserTweets
|
|
221
|
-
parameters:
|
|
222
|
-
- in: path
|
|
223
|
-
name: pathQueryId
|
|
224
|
-
required: true
|
|
225
|
-
schema:
|
|
226
|
-
default: HuTx74BxAnezK1gWvYY7zg
|
|
227
|
-
example: HuTx74BxAnezK1gWvYY7zg
|
|
228
|
-
type: string
|
|
229
|
-
- in: query
|
|
230
|
-
name: queryId
|
|
231
|
-
required: true
|
|
232
|
-
schema:
|
|
233
|
-
default: '"HuTx74BxAnezK1gWvYY7zg"'
|
|
234
|
-
example: '"HuTx74BxAnezK1gWvYY7zg"'
|
|
235
|
-
type: string
|
|
236
|
-
- in: query
|
|
237
|
-
name: variables
|
|
238
|
-
required: true
|
|
239
|
-
schema:
|
|
240
|
-
default: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
241
|
-
true, "withQuickPromoteEligibilityTweetFields": true, "withVoice": true,
|
|
242
|
-
"withV2Timeline": true}'
|
|
243
|
-
example: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
244
|
-
true, "withQuickPromoteEligibilityTweetFields": true, "withVoice": true,
|
|
245
|
-
"withV2Timeline": true}'
|
|
246
|
-
type: string
|
|
247
|
-
- in: query
|
|
248
|
-
name: features
|
|
249
|
-
required: true
|
|
250
|
-
schema:
|
|
251
|
-
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
252
|
-
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
253
|
-
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
254
|
-
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
255
|
-
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
256
|
-
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
257
|
-
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
258
|
-
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
259
|
-
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
260
|
-
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
261
|
-
false}'
|
|
262
|
-
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
263
|
-
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
264
|
-
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
265
|
-
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
266
|
-
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
267
|
-
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
268
|
-
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
269
|
-
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
270
|
-
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
271
|
-
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
272
|
-
false}'
|
|
273
|
-
type: string
|
|
274
|
-
responses:
|
|
275
|
-
'200':
|
|
276
|
-
content:
|
|
277
|
-
application/json:
|
|
278
|
-
schema:
|
|
279
|
-
$ref: '#/components/schemas/UserTweetsResponse'
|
|
280
|
-
description: Successful operation
|
|
281
|
-
headers:
|
|
282
|
-
x-connection-hash:
|
|
283
|
-
schema:
|
|
284
|
-
type: string
|
|
285
|
-
x-rate-limit-limit:
|
|
286
|
-
schema:
|
|
287
|
-
type: integer
|
|
288
|
-
x-rate-limit-remaining:
|
|
289
|
-
schema:
|
|
290
|
-
type: integer
|
|
291
|
-
x-rate-limit-reset:
|
|
292
|
-
schema:
|
|
293
|
-
type: integer
|
|
294
|
-
x-response-time:
|
|
295
|
-
schema:
|
|
296
|
-
type: integer
|
|
297
|
-
x-tfe-preserve-body:
|
|
298
|
-
schema:
|
|
299
|
-
type: boolean
|
|
300
|
-
x-transaction-id:
|
|
301
|
-
schema:
|
|
302
|
-
type: string
|
|
303
|
-
x-twitter-response-tags:
|
|
304
|
-
schema:
|
|
305
|
-
type: string
|
|
306
|
-
tags:
|
|
307
|
-
- tweet
|
|
308
|
-
/graphql/{pathQueryId}/UserTweetsAndReplies:
|
|
309
|
-
get:
|
|
310
|
-
description: get user replies tweets
|
|
311
|
-
operationId: getUserTweetsAndReplies
|
|
312
|
-
parameters:
|
|
313
|
-
- in: path
|
|
314
|
-
name: pathQueryId
|
|
315
|
-
required: true
|
|
316
|
-
schema:
|
|
317
|
-
default: RIWc55YCNyUJ-U3HHGYkdg
|
|
318
|
-
example: RIWc55YCNyUJ-U3HHGYkdg
|
|
319
|
-
type: string
|
|
320
|
-
- in: query
|
|
321
|
-
name: queryId
|
|
322
|
-
required: true
|
|
323
|
-
schema:
|
|
324
|
-
default: '"RIWc55YCNyUJ-U3HHGYkdg"'
|
|
325
|
-
example: '"RIWc55YCNyUJ-U3HHGYkdg"'
|
|
326
|
-
type: string
|
|
327
|
-
- in: query
|
|
328
|
-
name: variables
|
|
329
|
-
required: true
|
|
330
|
-
schema:
|
|
331
|
-
default: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
332
|
-
true, "withCommunity": true, "withVoice": true, "withV2Timeline": true}'
|
|
333
|
-
example: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
334
|
-
true, "withCommunity": true, "withVoice": true, "withV2Timeline": true}'
|
|
335
|
-
type: string
|
|
336
|
-
- in: query
|
|
337
|
-
name: features
|
|
338
|
-
required: true
|
|
339
|
-
schema:
|
|
340
|
-
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
341
|
-
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
342
|
-
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
343
|
-
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
344
|
-
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
345
|
-
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
346
|
-
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
347
|
-
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
348
|
-
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
349
|
-
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
350
|
-
false}'
|
|
351
|
-
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
352
|
-
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
353
|
-
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
354
|
-
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
355
|
-
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
356
|
-
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
357
|
-
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
358
|
-
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
359
|
-
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
360
|
-
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
361
|
-
false}'
|
|
362
|
-
type: string
|
|
363
|
-
responses:
|
|
364
|
-
'200':
|
|
365
|
-
content:
|
|
366
|
-
application/json:
|
|
367
|
-
schema:
|
|
368
|
-
$ref: '#/components/schemas/UserTweetsResponse'
|
|
369
|
-
description: Successful operation
|
|
370
|
-
headers:
|
|
371
|
-
x-connection-hash:
|
|
372
|
-
schema:
|
|
373
|
-
type: string
|
|
374
|
-
x-rate-limit-limit:
|
|
375
|
-
schema:
|
|
376
|
-
type: integer
|
|
377
|
-
x-rate-limit-remaining:
|
|
378
|
-
schema:
|
|
379
|
-
type: integer
|
|
380
|
-
x-rate-limit-reset:
|
|
381
|
-
schema:
|
|
382
|
-
type: integer
|
|
383
|
-
x-response-time:
|
|
384
|
-
schema:
|
|
385
|
-
type: integer
|
|
386
|
-
x-tfe-preserve-body:
|
|
387
|
-
schema:
|
|
388
|
-
type: boolean
|
|
389
|
-
x-transaction-id:
|
|
390
|
-
schema:
|
|
391
|
-
type: string
|
|
392
|
-
x-twitter-response-tags:
|
|
393
|
-
schema:
|
|
394
|
-
type: string
|
|
395
|
-
tags:
|
|
396
|
-
- 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
|