twitter-openapi-typescript-generated 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +7 -1
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +1 -1
- package/dist/apis/DefaultApi.d.ts.map +1 -1
- package/dist/apis/DefaultApi.js +3 -6
- package/dist/apis/DefaultApi.js.map +1 -1
- package/dist/apis/PostApi.d.ts +6 -0
- package/dist/apis/PostApi.d.ts.map +1 -1
- package/dist/apis/PostApi.js +24 -6
- package/dist/apis/PostApi.js.map +1 -1
- package/dist/apis/TweetApi.d.ts +9 -9
- package/dist/apis/TweetApi.d.ts.map +1 -1
- package/dist/apis/TweetApi.js +27 -54
- package/dist/apis/TweetApi.js.map +1 -1
- package/dist/apis/UserApi.d.ts +1 -1
- package/dist/apis/UserApi.d.ts.map +1 -1
- package/dist/apis/UserApi.js +3 -6
- package/dist/apis/UserApi.js.map +1 -1
- package/dist/apis/UserListApi.d.ts +2 -2
- package/dist/apis/UserListApi.d.ts.map +1 -1
- package/dist/apis/UserListApi.js +6 -12
- package/dist/apis/UserListApi.js.map +1 -1
- package/dist/models/Entities.d.ts +3 -2
- package/dist/models/Entities.d.ts.map +1 -1
- package/dist/models/Entities.js +3 -2
- package/dist/models/Entities.js.map +1 -1
- package/dist/models/PostCreateRetweetRequest.d.ts +3 -3
- package/dist/models/PostCreateRetweetRequest.d.ts.map +1 -1
- package/dist/models/PostCreateRetweetRequest.js +3 -3
- package/dist/models/PostCreateRetweetRequest.js.map +1 -1
- package/dist/models/PostCreateRetweetRequestVariables.d.ts +38 -0
- package/dist/models/PostCreateRetweetRequestVariables.d.ts.map +1 -0
- package/dist/models/PostCreateRetweetRequestVariables.js +54 -0
- package/dist/models/PostCreateRetweetRequestVariables.js.map +1 -0
- package/dist/models/PostDeleteTweetRequest.d.ts +3 -3
- package/dist/models/PostDeleteTweetRequest.d.ts.map +1 -1
- package/dist/models/PostDeleteTweetRequest.js +3 -3
- package/dist/models/PostDeleteTweetRequest.js.map +1 -1
- package/dist/models/PostFavoriteTweetRequest.d.ts +3 -3
- package/dist/models/PostFavoriteTweetRequest.d.ts.map +1 -1
- package/dist/models/PostFavoriteTweetRequest.js +3 -3
- package/dist/models/PostFavoriteTweetRequest.js.map +1 -1
- package/dist/models/PostUnfavoriteTweetRequest.d.ts +3 -3
- package/dist/models/PostUnfavoriteTweetRequest.d.ts.map +1 -1
- package/dist/models/PostUnfavoriteTweetRequest.js +3 -3
- package/dist/models/PostUnfavoriteTweetRequest.js.map +1 -1
- package/dist/models/Tweet.d.ts +7 -0
- package/dist/models/Tweet.d.ts.map +1 -1
- package/dist/models/Tweet.js +3 -0
- package/dist/models/Tweet.js.map +1 -1
- package/dist/models/TweetCard.d.ts +39 -0
- package/dist/models/TweetCard.d.ts.map +1 -0
- package/dist/models/TweetCard.js +54 -0
- package/dist/models/TweetCard.js.map +1 -0
- package/dist/models/TweetCardLegacy.d.ts +45 -0
- package/dist/models/TweetCardLegacy.d.ts.map +1 -0
- package/dist/models/TweetCardLegacy.js +58 -0
- package/dist/models/TweetCardLegacy.js.map +1 -0
- package/dist/models/TweetCardLegacyBindingValuesInner.d.ts +39 -0
- package/dist/models/TweetCardLegacyBindingValuesInner.d.ts.map +1 -0
- package/dist/models/TweetCardLegacyBindingValuesInner.js +55 -0
- package/dist/models/TweetCardLegacyBindingValuesInner.js.map +1 -0
- package/dist/models/TweetCardLegacyBindingValuesInnerValue.d.ts +50 -0
- package/dist/models/TweetCardLegacyBindingValuesInnerValue.d.ts.map +1 -0
- package/dist/models/TweetCardLegacyBindingValuesInnerValue.js +58 -0
- package/dist/models/TweetCardLegacyBindingValuesInnerValue.js.map +1 -0
- 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/Url.d.ts +50 -0
- package/dist/models/Url.d.ts.map +1 -0
- package/dist/models/Url.js +60 -0
- package/dist/models/Url.js.map +1 -0
- package/dist/models/index.d.ts +7 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +7 -1
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +4 -8
- package/src/apis/PostApi.ts +36 -6
- package/src/apis/TweetApi.ts +36 -72
- package/src/apis/UserApi.ts +4 -8
- package/src/apis/UserListApi.ts +8 -16
- package/src/models/Entities.ts +10 -4
- package/src/models/PostCreateRetweetRequest.ts +9 -9
- package/src/models/{PostDeleteTweetRequestVariables.ts → PostCreateRetweetRequestVariables.ts} +10 -10
- package/src/models/PostDeleteTweetRequest.ts +9 -9
- package/src/models/PostFavoriteTweetRequest.ts +9 -9
- package/src/models/PostUnfavoriteTweetRequest.ts +9 -9
- package/src/models/Tweet.ts +14 -0
- package/src/models/TweetCard.ts +80 -0
- package/src/models/TweetCardLegacy.ts +91 -0
- package/src/models/TweetCardLegacyBindingValuesInner.ts +82 -0
- package/src/models/TweetCardLegacyBindingValuesInnerValue.ts +90 -0
- package/src/models/TweetLegacy.ts +14 -0
- package/src/models/TweetLegacySelfThread.ts +66 -0
- package/src/models/Url.ts +93 -0
- package/src/models/index.ts +7 -1
- package/tools/openapi-generator-config.yaml +2 -2
- package/tools/win/replace.py +20 -20
- package/twitter-openapi/README.md +4 -6
- package/twitter-openapi/dist/{test → compatible}/openapi-3.0.yaml +38 -38
- package/twitter-openapi/dist/{typescript → compatible}/paths/bookmarks.yaml +5 -5
- package/twitter-openapi/dist/{test → compatible}/paths/follow.yaml +14 -14
- package/twitter-openapi/dist/{typescript → compatible}/paths/post.yaml +135 -93
- package/twitter-openapi/dist/{test → compatible}/paths/profile.yaml +5 -5
- package/twitter-openapi/dist/{typescript → compatible}/paths/timeline.yaml +25 -25
- package/twitter-openapi/dist/{test → compatible}/paths/tweet.yaml +5 -5
- package/twitter-openapi/dist/{test → compatible}/paths/user.yaml +5 -5
- package/twitter-openapi/dist/{test → compatible}/paths/usertweets.yaml +36 -36
- package/twitter-openapi/dist/compatible/resources/parameters.yaml +13 -0
- package/twitter-openapi/dist/{dart → compatible}/schemas/tweet.yaml +65 -0
- package/twitter-openapi/dist/docs/openapi-3.0.yaml +38 -38
- package/twitter-openapi/dist/docs/paths/bookmarks.yaml +7 -56
- package/twitter-openapi/dist/docs/paths/follow.yaml +18 -116
- package/twitter-openapi/dist/docs/paths/post.yaml +124 -82
- package/twitter-openapi/dist/docs/paths/profile.yaml +7 -35
- package/twitter-openapi/dist/docs/paths/timeline.yaml +43 -192
- package/twitter-openapi/dist/docs/paths/tweet.yaml +7 -61
- package/twitter-openapi/dist/docs/paths/user.yaml +7 -41
- package/twitter-openapi/dist/docs/paths/usertweets.yaml +53 -263
- package/twitter-openapi/dist/docs/resources/parameters.yaml +13 -0
- package/twitter-openapi/dist/docs/schemas/tweet.yaml +65 -0
- package/twitter-openapi/src/openapi/paths/bookmarks.yaml +1 -1
- package/twitter-openapi/src/openapi/paths/follow.yaml +2 -2
- package/twitter-openapi/src/openapi/paths/post.yaml +6 -6
- package/twitter-openapi/src/openapi/paths/profile.yaml +1 -1
- package/twitter-openapi/src/openapi/paths/timeline.yaml +3 -3
- package/twitter-openapi/src/openapi/paths/tweet.yaml +1 -1
- package/twitter-openapi/src/openapi/paths/user.yaml +1 -1
- package/twitter-openapi/src/openapi/paths/usertweets.yaml +4 -4
- package/twitter-openapi/src/openapi/resources/parameters.yaml +15 -0
- package/twitter-openapi/src/openapi/schemas/tweet.yaml +66 -1
- 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 +58 -13
- package/dist/models/PostDeleteTweetRequestVariables.d.ts +0 -38
- package/dist/models/PostDeleteTweetRequestVariables.d.ts.map +0 -1
- package/dist/models/PostDeleteTweetRequestVariables.js +0 -54
- package/dist/models/PostDeleteTweetRequestVariables.js.map +0 -1
- package/twitter-openapi/dist/dart/openapi-3.0.yaml +0 -117
- package/twitter-openapi/dist/dart/paths/bookmarks.yaml +0 -134
- package/twitter-openapi/dist/dart/paths/follow.yaml +0 -262
- package/twitter-openapi/dist/dart/paths/post.yaml +0 -834
- package/twitter-openapi/dist/dart/paths/profile.yaml +0 -152
- package/twitter-openapi/dist/dart/paths/timeline.yaml +0 -380
- package/twitter-openapi/dist/dart/paths/tweet.yaml +0 -134
- package/twitter-openapi/dist/dart/paths/user.yaml +0 -112
- package/twitter-openapi/dist/dart/paths/usertweets.yaml +0 -484
- 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 -105
- package/twitter-openapi/dist/test/paths/other.yaml +0 -96
- package/twitter-openapi/dist/test/paths/post.yaml +0 -485
- package/twitter-openapi/dist/test/paths/timeline.yaml +0 -293
- 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/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 -251
- 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 -204
- package/twitter-openapi/dist/typescript/paths/other.yaml +0 -96
- package/twitter-openapi/dist/typescript/paths/profile.yaml +0 -123
- package/twitter-openapi/dist/typescript/paths/tweet.yaml +0 -105
- package/twitter-openapi/dist/typescript/paths/user.yaml +0 -83
- package/twitter-openapi/dist/typescript/paths/usertweets.yaml +0 -368
- 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 -251
- package/twitter-openapi/dist/typescript/schemas/typename.yaml +0 -19
- package/twitter-openapi/dist/typescript/schemas/user.yaml +0 -206
- /package/twitter-openapi/dist/{dart → compatible}/paths/other.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}/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,331 +0,0 @@
|
|
|
1
|
-
info:
|
|
2
|
-
title: Twitter OpenAPI
|
|
3
|
-
version: 0.0.1
|
|
4
|
-
openapi: 3.0.3
|
|
5
|
-
paths:
|
|
6
|
-
/2/search/adaptive.json:
|
|
7
|
-
get:
|
|
8
|
-
description: get search adaptive
|
|
9
|
-
operationId: getSearchAdaptive
|
|
10
|
-
parameters:
|
|
11
|
-
- in: header
|
|
12
|
-
name: user-agent
|
|
13
|
-
required: true
|
|
14
|
-
schema:
|
|
15
|
-
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
|
16
|
-
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
|
17
|
-
description: UserAgent, some APIs may be rejected if changed.
|
|
18
|
-
type: string
|
|
19
|
-
- in: header
|
|
20
|
-
name: authorization
|
|
21
|
-
required: true
|
|
22
|
-
schema:
|
|
23
|
-
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
|
24
|
-
description: It is a constant value and does not need to be changed.
|
|
25
|
-
type: string
|
|
26
|
-
- in: header
|
|
27
|
-
name: x-twitter-active-user
|
|
28
|
-
required: true
|
|
29
|
-
schema:
|
|
30
|
-
default: 'yes'
|
|
31
|
-
description: Unknown what this value means.
|
|
32
|
-
type: string
|
|
33
|
-
- in: header
|
|
34
|
-
name: x-twitter-client-language
|
|
35
|
-
required: true
|
|
36
|
-
schema:
|
|
37
|
-
default: en
|
|
38
|
-
description: language code.
|
|
39
|
-
type: string
|
|
40
|
-
- in: query
|
|
41
|
-
name: include_profile_interstitial_type
|
|
42
|
-
required: true
|
|
43
|
-
schema:
|
|
44
|
-
default: 1
|
|
45
|
-
example: 1
|
|
46
|
-
type: integer
|
|
47
|
-
- in: query
|
|
48
|
-
name: include_blocking
|
|
49
|
-
required: true
|
|
50
|
-
schema:
|
|
51
|
-
default: 1
|
|
52
|
-
example: 1
|
|
53
|
-
type: integer
|
|
54
|
-
- in: query
|
|
55
|
-
name: include_blocked_by
|
|
56
|
-
required: true
|
|
57
|
-
schema:
|
|
58
|
-
default: 1
|
|
59
|
-
example: 1
|
|
60
|
-
type: integer
|
|
61
|
-
- in: query
|
|
62
|
-
name: include_followed_by
|
|
63
|
-
required: true
|
|
64
|
-
schema:
|
|
65
|
-
default: 1
|
|
66
|
-
example: 1
|
|
67
|
-
type: integer
|
|
68
|
-
- in: query
|
|
69
|
-
name: include_want_retweets
|
|
70
|
-
required: true
|
|
71
|
-
schema:
|
|
72
|
-
default: 1
|
|
73
|
-
example: 1
|
|
74
|
-
type: integer
|
|
75
|
-
- in: query
|
|
76
|
-
name: include_mute_edge
|
|
77
|
-
required: true
|
|
78
|
-
schema:
|
|
79
|
-
default: 1
|
|
80
|
-
example: 1
|
|
81
|
-
type: integer
|
|
82
|
-
- in: query
|
|
83
|
-
name: include_can_dm
|
|
84
|
-
required: true
|
|
85
|
-
schema:
|
|
86
|
-
default: 1
|
|
87
|
-
example: 1
|
|
88
|
-
type: integer
|
|
89
|
-
- in: query
|
|
90
|
-
name: include_can_media_tag
|
|
91
|
-
required: true
|
|
92
|
-
schema:
|
|
93
|
-
default: 1
|
|
94
|
-
example: 1
|
|
95
|
-
type: integer
|
|
96
|
-
- in: query
|
|
97
|
-
name: include_ext_has_nft_avatar
|
|
98
|
-
required: true
|
|
99
|
-
schema:
|
|
100
|
-
default: 1
|
|
101
|
-
example: 1
|
|
102
|
-
type: integer
|
|
103
|
-
- in: query
|
|
104
|
-
name: include_ext_is_blue_verified
|
|
105
|
-
required: true
|
|
106
|
-
schema:
|
|
107
|
-
default: 1
|
|
108
|
-
example: 1
|
|
109
|
-
type: integer
|
|
110
|
-
- in: query
|
|
111
|
-
name: include_ext_verified_type
|
|
112
|
-
required: true
|
|
113
|
-
schema:
|
|
114
|
-
default: 1
|
|
115
|
-
example: 1
|
|
116
|
-
type: integer
|
|
117
|
-
- in: query
|
|
118
|
-
name: include_ext_profile_image_shape
|
|
119
|
-
required: true
|
|
120
|
-
schema:
|
|
121
|
-
default: 1
|
|
122
|
-
example: 1
|
|
123
|
-
type: integer
|
|
124
|
-
- in: query
|
|
125
|
-
name: skip_status
|
|
126
|
-
required: true
|
|
127
|
-
schema:
|
|
128
|
-
default: 1
|
|
129
|
-
example: 1
|
|
130
|
-
type: integer
|
|
131
|
-
- in: query
|
|
132
|
-
name: cards_platform
|
|
133
|
-
required: true
|
|
134
|
-
schema:
|
|
135
|
-
default: Web-12
|
|
136
|
-
example: Web-12
|
|
137
|
-
type: string
|
|
138
|
-
- in: query
|
|
139
|
-
name: include_cards
|
|
140
|
-
required: true
|
|
141
|
-
schema:
|
|
142
|
-
default: 1
|
|
143
|
-
example: 1
|
|
144
|
-
type: integer
|
|
145
|
-
- in: query
|
|
146
|
-
name: include_ext_alt_text
|
|
147
|
-
required: true
|
|
148
|
-
schema:
|
|
149
|
-
default: true
|
|
150
|
-
example: true
|
|
151
|
-
type: boolean
|
|
152
|
-
- in: query
|
|
153
|
-
name: include_ext_limited_action_results
|
|
154
|
-
required: true
|
|
155
|
-
schema:
|
|
156
|
-
default: false
|
|
157
|
-
example: false
|
|
158
|
-
type: boolean
|
|
159
|
-
- in: query
|
|
160
|
-
name: include_quote_count
|
|
161
|
-
required: true
|
|
162
|
-
schema:
|
|
163
|
-
default: true
|
|
164
|
-
example: true
|
|
165
|
-
type: boolean
|
|
166
|
-
- in: query
|
|
167
|
-
name: include_reply_count
|
|
168
|
-
required: true
|
|
169
|
-
schema:
|
|
170
|
-
default: 1
|
|
171
|
-
example: 1
|
|
172
|
-
type: integer
|
|
173
|
-
- in: query
|
|
174
|
-
name: tweet_mode
|
|
175
|
-
required: true
|
|
176
|
-
schema:
|
|
177
|
-
default: extended
|
|
178
|
-
example: extended
|
|
179
|
-
type: string
|
|
180
|
-
- in: query
|
|
181
|
-
name: include_ext_views
|
|
182
|
-
required: true
|
|
183
|
-
schema:
|
|
184
|
-
default: true
|
|
185
|
-
example: true
|
|
186
|
-
type: boolean
|
|
187
|
-
- in: query
|
|
188
|
-
name: include_entities
|
|
189
|
-
required: true
|
|
190
|
-
schema:
|
|
191
|
-
default: true
|
|
192
|
-
example: true
|
|
193
|
-
type: boolean
|
|
194
|
-
- in: query
|
|
195
|
-
name: include_user_entities
|
|
196
|
-
required: true
|
|
197
|
-
schema:
|
|
198
|
-
default: true
|
|
199
|
-
example: true
|
|
200
|
-
type: boolean
|
|
201
|
-
- in: query
|
|
202
|
-
name: include_ext_media_color
|
|
203
|
-
required: true
|
|
204
|
-
schema:
|
|
205
|
-
default: true
|
|
206
|
-
example: true
|
|
207
|
-
type: boolean
|
|
208
|
-
- in: query
|
|
209
|
-
name: include_ext_media_availability
|
|
210
|
-
required: true
|
|
211
|
-
schema:
|
|
212
|
-
default: true
|
|
213
|
-
example: true
|
|
214
|
-
type: boolean
|
|
215
|
-
- in: query
|
|
216
|
-
name: include_ext_sensitive_media_warning
|
|
217
|
-
required: true
|
|
218
|
-
schema:
|
|
219
|
-
default: true
|
|
220
|
-
example: true
|
|
221
|
-
type: boolean
|
|
222
|
-
- in: query
|
|
223
|
-
name: include_ext_trusted_friends_metadata
|
|
224
|
-
required: true
|
|
225
|
-
schema:
|
|
226
|
-
default: true
|
|
227
|
-
example: true
|
|
228
|
-
type: boolean
|
|
229
|
-
- in: query
|
|
230
|
-
name: send_error_codes
|
|
231
|
-
required: true
|
|
232
|
-
schema:
|
|
233
|
-
default: true
|
|
234
|
-
example: true
|
|
235
|
-
type: boolean
|
|
236
|
-
- in: query
|
|
237
|
-
name: simple_quoted_tweet
|
|
238
|
-
required: true
|
|
239
|
-
schema:
|
|
240
|
-
default: true
|
|
241
|
-
example: true
|
|
242
|
-
type: boolean
|
|
243
|
-
- in: query
|
|
244
|
-
name: q
|
|
245
|
-
required: true
|
|
246
|
-
schema:
|
|
247
|
-
default: elon musk
|
|
248
|
-
example: elon musk
|
|
249
|
-
type: string
|
|
250
|
-
- in: query
|
|
251
|
-
name: query_source
|
|
252
|
-
required: true
|
|
253
|
-
schema:
|
|
254
|
-
default: trend_click
|
|
255
|
-
example: trend_click
|
|
256
|
-
type: string
|
|
257
|
-
- in: query
|
|
258
|
-
name: count
|
|
259
|
-
required: true
|
|
260
|
-
schema:
|
|
261
|
-
default: 20
|
|
262
|
-
example: 20
|
|
263
|
-
type: integer
|
|
264
|
-
- in: query
|
|
265
|
-
name: requestContext
|
|
266
|
-
required: true
|
|
267
|
-
schema:
|
|
268
|
-
default: launch
|
|
269
|
-
example: launch
|
|
270
|
-
type: string
|
|
271
|
-
- in: query
|
|
272
|
-
name: pc
|
|
273
|
-
required: true
|
|
274
|
-
schema:
|
|
275
|
-
default: 1
|
|
276
|
-
example: 1
|
|
277
|
-
type: integer
|
|
278
|
-
- in: query
|
|
279
|
-
name: spelling_corrections
|
|
280
|
-
required: true
|
|
281
|
-
schema:
|
|
282
|
-
default: 1
|
|
283
|
-
example: 1
|
|
284
|
-
type: integer
|
|
285
|
-
- in: query
|
|
286
|
-
name: include_ext_edit_control
|
|
287
|
-
required: true
|
|
288
|
-
schema:
|
|
289
|
-
default: true
|
|
290
|
-
example: true
|
|
291
|
-
type: boolean
|
|
292
|
-
- in: query
|
|
293
|
-
name: ext
|
|
294
|
-
required: true
|
|
295
|
-
schema:
|
|
296
|
-
default: mediaStats,highlightedLabel,hasNftAvatar,voiceInfo,birdwatchPivot,enrichments,superFollowMetadata,unmentionInfo,editControl,vibe
|
|
297
|
-
example: mediaStats,highlightedLabel,hasNftAvatar,voiceInfo,birdwatchPivot,enrichments,superFollowMetadata,unmentionInfo,editControl,vibe
|
|
298
|
-
type: string
|
|
299
|
-
responses:
|
|
300
|
-
'200':
|
|
301
|
-
description: Successful operation
|
|
302
|
-
headers:
|
|
303
|
-
status:
|
|
304
|
-
schema:
|
|
305
|
-
type: string
|
|
306
|
-
x-access-level:
|
|
307
|
-
schema:
|
|
308
|
-
type: string
|
|
309
|
-
x-client-event-enabled:
|
|
310
|
-
schema:
|
|
311
|
-
type: boolean
|
|
312
|
-
x-connection-hash:
|
|
313
|
-
schema:
|
|
314
|
-
type: string
|
|
315
|
-
x-content-type-options:
|
|
316
|
-
schema:
|
|
317
|
-
type: string
|
|
318
|
-
x-response-time:
|
|
319
|
-
schema:
|
|
320
|
-
type: integer
|
|
321
|
-
x-transaction:
|
|
322
|
-
schema:
|
|
323
|
-
type: string
|
|
324
|
-
x-transaction-id:
|
|
325
|
-
schema:
|
|
326
|
-
type: string
|
|
327
|
-
x-twitter-response-tags:
|
|
328
|
-
schema:
|
|
329
|
-
type: string
|
|
330
|
-
tags:
|
|
331
|
-
- v2.0-get
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
components:
|
|
2
|
-
schemas:
|
|
3
|
-
BookmarksResponse:
|
|
4
|
-
properties:
|
|
5
|
-
data:
|
|
6
|
-
$ref: '#/components/schemas/BookmarksResponseData'
|
|
7
|
-
required:
|
|
8
|
-
- data
|
|
9
|
-
BookmarksResponseData:
|
|
10
|
-
properties:
|
|
11
|
-
bookmark_timeline_v2:
|
|
12
|
-
$ref: '#/components/schemas/BookmarksTimeline'
|
|
13
|
-
required:
|
|
14
|
-
- bookmark_timeline_v2
|
|
15
|
-
BookmarksTimeline:
|
|
16
|
-
properties:
|
|
17
|
-
timeline:
|
|
18
|
-
$ref: ./../schemas/timeline.yaml#/components/schemas/Timeline
|
|
19
|
-
required:
|
|
20
|
-
- timeline
|
|
21
|
-
info:
|
|
22
|
-
title: Twitter OpenAPI
|
|
23
|
-
version: 0.0.1
|
|
24
|
-
openapi: 3.0.3
|
|
25
|
-
paths:
|
|
26
|
-
/graphql/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
|
|
27
|
-
get:
|
|
28
|
-
description: get bookmarks
|
|
29
|
-
operationId: getBookmarks
|
|
30
|
-
parameters:
|
|
31
|
-
- in: query
|
|
32
|
-
name: queryId
|
|
33
|
-
required: true
|
|
34
|
-
schema:
|
|
35
|
-
default: '"tmd4ifV8RHltzn8ymGg1aw"'
|
|
36
|
-
example: '"tmd4ifV8RHltzn8ymGg1aw"'
|
|
37
|
-
type: string
|
|
38
|
-
- in: query
|
|
39
|
-
name: variables
|
|
40
|
-
required: true
|
|
41
|
-
schema:
|
|
42
|
-
default: '{"count": 20, "includePromotedContent": true}'
|
|
43
|
-
example: '{"count": 20, "includePromotedContent": true}'
|
|
44
|
-
type: string
|
|
45
|
-
- in: query
|
|
46
|
-
name: features
|
|
47
|
-
required: true
|
|
48
|
-
schema:
|
|
49
|
-
default: '{"graphql_timeline_v2_bookmark_timeline": true, "blue_business_profile_image_shape_enabled":
|
|
50
|
-
true, "responsive_web_graphql_exclude_directive_enabled": true, "verified_phone_label_enabled":
|
|
51
|
-
false, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
52
|
-
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
53
|
-
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
54
|
-
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
55
|
-
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
56
|
-
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
57
|
-
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
58
|
-
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
59
|
-
false}'
|
|
60
|
-
example: '{"graphql_timeline_v2_bookmark_timeline": true, "blue_business_profile_image_shape_enabled":
|
|
61
|
-
true, "responsive_web_graphql_exclude_directive_enabled": true, "verified_phone_label_enabled":
|
|
62
|
-
false, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
63
|
-
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
64
|
-
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
65
|
-
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
66
|
-
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
67
|
-
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
68
|
-
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
69
|
-
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
70
|
-
false}'
|
|
71
|
-
type: string
|
|
72
|
-
responses:
|
|
73
|
-
'200':
|
|
74
|
-
content:
|
|
75
|
-
application/json:
|
|
76
|
-
schema:
|
|
77
|
-
$ref: '#/components/schemas/BookmarksResponse'
|
|
78
|
-
description: Successful operation
|
|
79
|
-
headers:
|
|
80
|
-
x-connection-hash:
|
|
81
|
-
schema:
|
|
82
|
-
type: string
|
|
83
|
-
x-rate-limit-limit:
|
|
84
|
-
schema:
|
|
85
|
-
type: integer
|
|
86
|
-
x-rate-limit-remaining:
|
|
87
|
-
schema:
|
|
88
|
-
type: integer
|
|
89
|
-
x-rate-limit-reset:
|
|
90
|
-
schema:
|
|
91
|
-
type: integer
|
|
92
|
-
x-response-time:
|
|
93
|
-
schema:
|
|
94
|
-
type: integer
|
|
95
|
-
x-tfe-preserve-body:
|
|
96
|
-
schema:
|
|
97
|
-
type: boolean
|
|
98
|
-
x-transaction-id:
|
|
99
|
-
schema:
|
|
100
|
-
type: string
|
|
101
|
-
x-twitter-response-tags:
|
|
102
|
-
schema:
|
|
103
|
-
type: string
|
|
104
|
-
tags:
|
|
105
|
-
- tweet
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
components:
|
|
2
|
-
schemas:
|
|
3
|
-
CommunitiesActions:
|
|
4
|
-
properties:
|
|
5
|
-
create:
|
|
6
|
-
type: boolean
|
|
7
|
-
required:
|
|
8
|
-
- create
|
|
9
|
-
type: object
|
|
10
|
-
OneFactorLoginEligibility:
|
|
11
|
-
properties:
|
|
12
|
-
fetchStatus:
|
|
13
|
-
type: string
|
|
14
|
-
required:
|
|
15
|
-
- fetchStatus
|
|
16
|
-
type: object
|
|
17
|
-
OtherResponse:
|
|
18
|
-
properties:
|
|
19
|
-
Session:
|
|
20
|
-
$ref: '#/components/schemas/Session'
|
|
21
|
-
type: object
|
|
22
|
-
Session:
|
|
23
|
-
properties:
|
|
24
|
-
SsoInitTokens:
|
|
25
|
-
type: object
|
|
26
|
-
communitiesActions:
|
|
27
|
-
$ref: '#/components/schemas/CommunitiesActions'
|
|
28
|
-
country:
|
|
29
|
-
pattern: ^[A-Z]{2}$
|
|
30
|
-
type: string
|
|
31
|
-
guestId:
|
|
32
|
-
pattern: ^[0-9]+$
|
|
33
|
-
type: string
|
|
34
|
-
hasCommunityMemberships:
|
|
35
|
-
type: boolean
|
|
36
|
-
isActiveCreator:
|
|
37
|
-
type: boolean
|
|
38
|
-
isRestrictedSession:
|
|
39
|
-
type: boolean
|
|
40
|
-
isSuperFollowSubscriber:
|
|
41
|
-
type: boolean
|
|
42
|
-
language:
|
|
43
|
-
pattern: ^[a-z]{2}$
|
|
44
|
-
type: string
|
|
45
|
-
oneFactorLoginEligibility:
|
|
46
|
-
$ref: '#/components/schemas/OneFactorLoginEligibility'
|
|
47
|
-
superFollowersCount:
|
|
48
|
-
type: integer
|
|
49
|
-
superFollowsApplicationStatus:
|
|
50
|
-
type: string
|
|
51
|
-
userFeatures:
|
|
52
|
-
$ref: '#/components/schemas/UserFeatures'
|
|
53
|
-
user_id:
|
|
54
|
-
pattern: ^[0-9]+$
|
|
55
|
-
type: string
|
|
56
|
-
required:
|
|
57
|
-
- country
|
|
58
|
-
- communitiesActions
|
|
59
|
-
- isActiveCreator
|
|
60
|
-
- isRestrictedSession
|
|
61
|
-
- guestId
|
|
62
|
-
- hasCommunityMemberships
|
|
63
|
-
- language
|
|
64
|
-
- oneFactorLoginEligibility
|
|
65
|
-
- ssoInitTokens
|
|
66
|
-
- superFollowersCount
|
|
67
|
-
- superFollowsApplicationStatus
|
|
68
|
-
- user_id
|
|
69
|
-
- userFeatures
|
|
70
|
-
- isSuperFollowSubscriber
|
|
71
|
-
type: object
|
|
72
|
-
UserFeatures:
|
|
73
|
-
properties:
|
|
74
|
-
mediatool_studio_library:
|
|
75
|
-
type: boolean
|
|
76
|
-
required:
|
|
77
|
-
- mediatool_studio_library
|
|
78
|
-
type: object
|
|
79
|
-
info:
|
|
80
|
-
title: Twitter OpenAPI
|
|
81
|
-
version: 0.0.1
|
|
82
|
-
openapi: 3.0.3
|
|
83
|
-
paths:
|
|
84
|
-
/other:
|
|
85
|
-
get:
|
|
86
|
-
description: This is not an actual endpoint
|
|
87
|
-
operationId: other
|
|
88
|
-
responses:
|
|
89
|
-
'200':
|
|
90
|
-
content:
|
|
91
|
-
application/json:
|
|
92
|
-
schema:
|
|
93
|
-
$ref: '#/components/schemas/OtherResponse'
|
|
94
|
-
description: Successful operation
|
|
95
|
-
tags:
|
|
96
|
-
- other
|