twitter-openapi-typescript-generated 0.0.5 → 0.0.6
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 +6 -1
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +1 -0
- package/dist/apis/DefaultApi.d.ts.map +1 -1
- package/dist/apis/DefaultApi.js +4 -1
- 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 -0
- package/dist/apis/TweetApi.d.ts.map +1 -1
- package/dist/apis/TweetApi.js +36 -9
- package/dist/apis/TweetApi.js.map +1 -1
- package/dist/apis/UserApi.d.ts +1 -0
- package/dist/apis/UserApi.d.ts.map +1 -1
- package/dist/apis/UserApi.js +4 -1
- package/dist/apis/UserApi.js.map +1 -1
- package/dist/apis/UserListApi.d.ts +2 -0
- package/dist/apis/UserListApi.d.ts.map +1 -1
- package/dist/apis/UserListApi.js +8 -2
- 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/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 +6 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +6 -1
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +6 -1
- package/src/apis/PostApi.ts +36 -6
- package/src/apis/TweetApi.ts +54 -9
- package/src/apis/UserApi.ts +6 -1
- package/src/apis/UserListApi.ts +12 -2
- 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/Url.ts +93 -0
- package/src/models/index.ts +6 -1
- package/tools/openapi-generator-config.yaml +1 -1
- package/tools/win/replace.py +20 -20
- package/twitter-openapi/README.md +4 -6
- package/twitter-openapi/dist/dart/openapi-3.0.yaml +38 -38
- package/twitter-openapi/dist/dart/paths/bookmarks.yaml +8 -1
- package/twitter-openapi/dist/dart/paths/follow.yaml +24 -10
- package/twitter-openapi/dist/dart/paths/post.yaml +157 -115
- package/twitter-openapi/dist/dart/paths/profile.yaml +8 -1
- package/twitter-openapi/dist/dart/paths/timeline.yaml +38 -17
- package/twitter-openapi/dist/dart/paths/tweet.yaml +8 -1
- package/twitter-openapi/dist/dart/paths/user.yaml +8 -1
- package/twitter-openapi/dist/dart/paths/usertweets.yaml +54 -26
- package/twitter-openapi/dist/dart/resources/parameters.yaml +13 -0
- package/twitter-openapi/dist/dart/schemas/tweet.yaml +57 -0
- package/twitter-openapi/dist/docs/openapi-3.0.yaml +38 -38
- package/twitter-openapi/dist/docs/paths/bookmarks.yaml +8 -1
- package/twitter-openapi/dist/docs/paths/follow.yaml +60 -46
- package/twitter-openapi/dist/docs/paths/post.yaml +124 -82
- package/twitter-openapi/dist/docs/paths/profile.yaml +8 -1
- package/twitter-openapi/dist/docs/paths/timeline.yaml +92 -71
- package/twitter-openapi/dist/docs/paths/tweet.yaml +8 -1
- package/twitter-openapi/dist/docs/paths/user.yaml +8 -1
- package/twitter-openapi/dist/docs/paths/usertweets.yaml +122 -94
- package/twitter-openapi/dist/docs/resources/parameters.yaml +13 -0
- package/twitter-openapi/dist/docs/schemas/tweet.yaml +57 -0
- package/twitter-openapi/dist/test/openapi-3.0.yaml +38 -38
- package/twitter-openapi/dist/test/paths/bookmarks.yaml +8 -1
- package/twitter-openapi/dist/test/paths/follow.yaml +24 -10
- package/twitter-openapi/dist/test/paths/post.yaml +108 -66
- package/twitter-openapi/dist/test/paths/profile.yaml +8 -1
- package/twitter-openapi/dist/test/paths/timeline.yaml +38 -17
- package/twitter-openapi/dist/test/paths/tweet.yaml +8 -1
- package/twitter-openapi/dist/test/paths/user.yaml +8 -1
- package/twitter-openapi/dist/test/paths/usertweets.yaml +54 -26
- package/twitter-openapi/dist/test/resources/parameters.yaml +13 -0
- package/twitter-openapi/dist/test/schemas/tweet.yaml +57 -0
- package/twitter-openapi/dist/typescript/openapi-3.0.yaml +38 -38
- package/twitter-openapi/dist/typescript/paths/bookmarks.yaml +8 -1
- package/twitter-openapi/dist/typescript/paths/follow.yaml +24 -10
- package/twitter-openapi/dist/typescript/paths/post.yaml +135 -93
- package/twitter-openapi/dist/typescript/paths/profile.yaml +8 -1
- package/twitter-openapi/dist/typescript/paths/timeline.yaml +38 -17
- package/twitter-openapi/dist/typescript/paths/tweet.yaml +8 -1
- package/twitter-openapi/dist/typescript/paths/user.yaml +8 -1
- package/twitter-openapi/dist/typescript/paths/usertweets.yaml +54 -26
- package/twitter-openapi/dist/typescript/resources/parameters.yaml +13 -0
- package/twitter-openapi/dist/typescript/schemas/tweet.yaml +57 -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 +58 -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 +12 -12
- package/twitter-openapi/tools/hooks.py +30 -6
- 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
|
@@ -47,24 +47,33 @@ info:
|
|
|
47
47
|
version: 0.0.1
|
|
48
48
|
openapi: 3.0.3
|
|
49
49
|
paths:
|
|
50
|
-
/graphql/
|
|
50
|
+
/graphql/{pathQueryId}/HomeLatestTimeline:
|
|
51
51
|
get:
|
|
52
52
|
description: get tweet list of timeline
|
|
53
|
-
operationId:
|
|
53
|
+
operationId: getHomeLatestTimeline
|
|
54
54
|
parameters:
|
|
55
|
+
- in: path
|
|
56
|
+
name: pathQueryId
|
|
57
|
+
required: true
|
|
58
|
+
schema:
|
|
59
|
+
default: zhX91JE87mWvfprhYE97xA
|
|
60
|
+
example: zhX91JE87mWvfprhYE97xA
|
|
61
|
+
type: string
|
|
55
62
|
- in: query
|
|
56
63
|
name: queryId
|
|
57
64
|
required: true
|
|
58
65
|
schema:
|
|
59
|
-
default: '"
|
|
60
|
-
example: '"
|
|
66
|
+
default: '"zhX91JE87mWvfprhYE97xA"'
|
|
67
|
+
example: '"zhX91JE87mWvfprhYE97xA"'
|
|
61
68
|
type: string
|
|
62
69
|
- in: query
|
|
63
70
|
name: variables
|
|
64
71
|
required: true
|
|
65
72
|
schema:
|
|
66
|
-
default: '{"
|
|
67
|
-
|
|
73
|
+
default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
|
74
|
+
true, "requestContext": "launch"}'
|
|
75
|
+
example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
|
76
|
+
true, "requestContext": "launch"}'
|
|
68
77
|
type: string
|
|
69
78
|
- in: query
|
|
70
79
|
name: features
|
|
@@ -98,7 +107,7 @@ paths:
|
|
|
98
107
|
content:
|
|
99
108
|
application/json:
|
|
100
109
|
schema:
|
|
101
|
-
$ref: '#/components/schemas/
|
|
110
|
+
$ref: '#/components/schemas/TimelineResponse'
|
|
102
111
|
description: Successful operation
|
|
103
112
|
headers:
|
|
104
113
|
x-connection-hash:
|
|
@@ -127,11 +136,18 @@ paths:
|
|
|
127
136
|
type: string
|
|
128
137
|
tags:
|
|
129
138
|
- tweet
|
|
130
|
-
/graphql/
|
|
139
|
+
/graphql/{pathQueryId}/HomeTimeline:
|
|
131
140
|
get:
|
|
132
141
|
description: get tweet list of timeline
|
|
133
142
|
operationId: getHomeTimeline
|
|
134
143
|
parameters:
|
|
144
|
+
- in: path
|
|
145
|
+
name: pathQueryId
|
|
146
|
+
required: true
|
|
147
|
+
schema:
|
|
148
|
+
default: HCosKfLNW1AcOo3la3mMgg
|
|
149
|
+
example: HCosKfLNW1AcOo3la3mMgg
|
|
150
|
+
type: string
|
|
135
151
|
- in: query
|
|
136
152
|
name: queryId
|
|
137
153
|
required: true
|
|
@@ -209,26 +225,31 @@ paths:
|
|
|
209
225
|
type: string
|
|
210
226
|
tags:
|
|
211
227
|
- tweet
|
|
212
|
-
/graphql/
|
|
228
|
+
/graphql/{pathQueryId}/ListLatestTweetsTimeline:
|
|
213
229
|
get:
|
|
214
230
|
description: get tweet list of timeline
|
|
215
|
-
operationId:
|
|
231
|
+
operationId: getListLatestTweetsTimeline
|
|
216
232
|
parameters:
|
|
233
|
+
- in: path
|
|
234
|
+
name: pathQueryId
|
|
235
|
+
required: true
|
|
236
|
+
schema:
|
|
237
|
+
default: 2TemLyqrMpTeAmysdbnVqw
|
|
238
|
+
example: 2TemLyqrMpTeAmysdbnVqw
|
|
239
|
+
type: string
|
|
217
240
|
- in: query
|
|
218
241
|
name: queryId
|
|
219
242
|
required: true
|
|
220
243
|
schema:
|
|
221
|
-
default: '"
|
|
222
|
-
example: '"
|
|
244
|
+
default: '"2TemLyqrMpTeAmysdbnVqw"'
|
|
245
|
+
example: '"2TemLyqrMpTeAmysdbnVqw"'
|
|
223
246
|
type: string
|
|
224
247
|
- in: query
|
|
225
248
|
name: variables
|
|
226
249
|
required: true
|
|
227
250
|
schema:
|
|
228
|
-
default: '{"
|
|
229
|
-
|
|
230
|
-
example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
|
231
|
-
true, "requestContext": "launch"}'
|
|
251
|
+
default: '{"listId": "53044119", "count": 20}'
|
|
252
|
+
example: '{"listId": "53044119", "count": 20}'
|
|
232
253
|
type: string
|
|
233
254
|
- in: query
|
|
234
255
|
name: features
|
|
@@ -262,7 +283,7 @@ paths:
|
|
|
262
283
|
content:
|
|
263
284
|
application/json:
|
|
264
285
|
schema:
|
|
265
|
-
$ref: '#/components/schemas/
|
|
286
|
+
$ref: '#/components/schemas/ListTweetsTimelineResponse'
|
|
266
287
|
description: Successful operation
|
|
267
288
|
headers:
|
|
268
289
|
x-connection-hash:
|
|
@@ -17,11 +17,18 @@ info:
|
|
|
17
17
|
version: 0.0.1
|
|
18
18
|
openapi: 3.0.3
|
|
19
19
|
paths:
|
|
20
|
-
/graphql/
|
|
20
|
+
/graphql/{pathQueryId}/TweetDetail:
|
|
21
21
|
get:
|
|
22
22
|
description: get TweetDetail
|
|
23
23
|
operationId: getTweetDetail
|
|
24
24
|
parameters:
|
|
25
|
+
- in: path
|
|
26
|
+
name: pathQueryId
|
|
27
|
+
required: true
|
|
28
|
+
schema:
|
|
29
|
+
default: wNNG8DBB8EaXw1lq4vFWGA
|
|
30
|
+
example: wNNG8DBB8EaXw1lq4vFWGA
|
|
31
|
+
type: string
|
|
25
32
|
- in: query
|
|
26
33
|
name: queryId
|
|
27
34
|
required: true
|
|
@@ -17,11 +17,18 @@ info:
|
|
|
17
17
|
version: 0.0.1
|
|
18
18
|
openapi: 3.0.3
|
|
19
19
|
paths:
|
|
20
|
-
/graphql/
|
|
20
|
+
/graphql/{pathQueryId}/UserByScreenName:
|
|
21
21
|
get:
|
|
22
22
|
description: get user by screen name
|
|
23
23
|
operationId: getUserByScreenName
|
|
24
24
|
parameters:
|
|
25
|
+
- in: path
|
|
26
|
+
name: pathQueryId
|
|
27
|
+
required: true
|
|
28
|
+
schema:
|
|
29
|
+
default: sLVLhk0bGj3MVFEKTdax1w
|
|
30
|
+
example: sLVLhk0bGj3MVFEKTdax1w
|
|
31
|
+
type: string
|
|
25
32
|
- in: query
|
|
26
33
|
name: queryId
|
|
27
34
|
required: true
|
|
@@ -32,11 +32,18 @@ info:
|
|
|
32
32
|
version: 0.0.1
|
|
33
33
|
openapi: 3.0.3
|
|
34
34
|
paths:
|
|
35
|
-
/graphql/
|
|
35
|
+
/graphql/{pathQueryId}/Likes:
|
|
36
36
|
get:
|
|
37
37
|
description: get user likes tweets
|
|
38
38
|
operationId: getLikes
|
|
39
39
|
parameters:
|
|
40
|
+
- in: path
|
|
41
|
+
name: pathQueryId
|
|
42
|
+
required: true
|
|
43
|
+
schema:
|
|
44
|
+
default: 5fmEkRT-1AdHqEsbVgehMg
|
|
45
|
+
example: 5fmEkRT-1AdHqEsbVgehMg
|
|
46
|
+
type: string
|
|
40
47
|
- in: query
|
|
41
48
|
name: queryId
|
|
42
49
|
required: true
|
|
@@ -116,28 +123,35 @@ paths:
|
|
|
116
123
|
type: string
|
|
117
124
|
tags:
|
|
118
125
|
- tweet
|
|
119
|
-
/graphql/
|
|
126
|
+
/graphql/{pathQueryId}/UserMedia:
|
|
120
127
|
get:
|
|
121
|
-
description: get user tweets
|
|
122
|
-
operationId:
|
|
128
|
+
description: get user media tweets
|
|
129
|
+
operationId: getUserMedia
|
|
123
130
|
parameters:
|
|
131
|
+
- in: path
|
|
132
|
+
name: pathQueryId
|
|
133
|
+
required: true
|
|
134
|
+
schema:
|
|
135
|
+
default: YqiE3JL1KNgf9nSljYdxaA
|
|
136
|
+
example: YqiE3JL1KNgf9nSljYdxaA
|
|
137
|
+
type: string
|
|
124
138
|
- in: query
|
|
125
139
|
name: queryId
|
|
126
140
|
required: true
|
|
127
141
|
schema:
|
|
128
|
-
default: '"
|
|
129
|
-
example: '"
|
|
142
|
+
default: '"YqiE3JL1KNgf9nSljYdxaA"'
|
|
143
|
+
example: '"YqiE3JL1KNgf9nSljYdxaA"'
|
|
130
144
|
type: string
|
|
131
145
|
- in: query
|
|
132
146
|
name: variables
|
|
133
147
|
required: true
|
|
134
148
|
schema:
|
|
135
149
|
default: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
136
|
-
|
|
137
|
-
"withV2Timeline": true}'
|
|
150
|
+
false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
|
|
151
|
+
true, "withV2Timeline": true}'
|
|
138
152
|
example: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
139
|
-
|
|
140
|
-
"withV2Timeline": true}'
|
|
153
|
+
false, "withClientEventToken": false, "withBirdwatchNotes": false, "withVoice":
|
|
154
|
+
true, "withV2Timeline": true}'
|
|
141
155
|
type: string
|
|
142
156
|
- in: query
|
|
143
157
|
name: features
|
|
@@ -200,26 +214,35 @@ paths:
|
|
|
200
214
|
type: string
|
|
201
215
|
tags:
|
|
202
216
|
- tweet
|
|
203
|
-
/graphql/
|
|
217
|
+
/graphql/{pathQueryId}/UserTweets:
|
|
204
218
|
get:
|
|
205
|
-
description: get user
|
|
206
|
-
operationId:
|
|
219
|
+
description: get user tweets
|
|
220
|
+
operationId: getUserTweets
|
|
207
221
|
parameters:
|
|
222
|
+
- in: path
|
|
223
|
+
name: pathQueryId
|
|
224
|
+
required: true
|
|
225
|
+
schema:
|
|
226
|
+
default: HuTx74BxAnezK1gWvYY7zg
|
|
227
|
+
example: HuTx74BxAnezK1gWvYY7zg
|
|
228
|
+
type: string
|
|
208
229
|
- in: query
|
|
209
230
|
name: queryId
|
|
210
231
|
required: true
|
|
211
232
|
schema:
|
|
212
|
-
default: '"
|
|
213
|
-
example: '"
|
|
233
|
+
default: '"HuTx74BxAnezK1gWvYY7zg"'
|
|
234
|
+
example: '"HuTx74BxAnezK1gWvYY7zg"'
|
|
214
235
|
type: string
|
|
215
236
|
- in: query
|
|
216
237
|
name: variables
|
|
217
238
|
required: true
|
|
218
239
|
schema:
|
|
219
240
|
default: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
220
|
-
true, "
|
|
241
|
+
true, "withQuickPromoteEligibilityTweetFields": true, "withVoice": true,
|
|
242
|
+
"withV2Timeline": true}'
|
|
221
243
|
example: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
222
|
-
true, "
|
|
244
|
+
true, "withQuickPromoteEligibilityTweetFields": true, "withVoice": true,
|
|
245
|
+
"withV2Timeline": true}'
|
|
223
246
|
type: string
|
|
224
247
|
- in: query
|
|
225
248
|
name: features
|
|
@@ -282,28 +305,33 @@ paths:
|
|
|
282
305
|
type: string
|
|
283
306
|
tags:
|
|
284
307
|
- tweet
|
|
285
|
-
/graphql/
|
|
308
|
+
/graphql/{pathQueryId}/UserTweetsAndReplies:
|
|
286
309
|
get:
|
|
287
|
-
description: get user
|
|
288
|
-
operationId:
|
|
310
|
+
description: get user replies tweets
|
|
311
|
+
operationId: getUserTweetsAndReplies
|
|
289
312
|
parameters:
|
|
313
|
+
- in: path
|
|
314
|
+
name: pathQueryId
|
|
315
|
+
required: true
|
|
316
|
+
schema:
|
|
317
|
+
default: RIWc55YCNyUJ-U3HHGYkdg
|
|
318
|
+
example: RIWc55YCNyUJ-U3HHGYkdg
|
|
319
|
+
type: string
|
|
290
320
|
- in: query
|
|
291
321
|
name: queryId
|
|
292
322
|
required: true
|
|
293
323
|
schema:
|
|
294
|
-
default: '"
|
|
295
|
-
example: '"
|
|
324
|
+
default: '"RIWc55YCNyUJ-U3HHGYkdg"'
|
|
325
|
+
example: '"RIWc55YCNyUJ-U3HHGYkdg"'
|
|
296
326
|
type: string
|
|
297
327
|
- in: query
|
|
298
328
|
name: variables
|
|
299
329
|
required: true
|
|
300
330
|
schema:
|
|
301
331
|
default: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
302
|
-
|
|
303
|
-
true, "withV2Timeline": true}'
|
|
332
|
+
true, "withCommunity": true, "withVoice": true, "withV2Timeline": true}'
|
|
304
333
|
example: '{"userId": "44196397", "count": 40, "includePromotedContent":
|
|
305
|
-
|
|
306
|
-
true, "withV2Timeline": true}'
|
|
334
|
+
true, "withCommunity": true, "withVoice": true, "withV2Timeline": true}'
|
|
307
335
|
type: string
|
|
308
336
|
- in: query
|
|
309
337
|
name: features
|
|
@@ -94,6 +94,45 @@ components:
|
|
|
94
94
|
properties:
|
|
95
95
|
__typename:
|
|
96
96
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
97
|
+
card:
|
|
98
|
+
properties:
|
|
99
|
+
legacy:
|
|
100
|
+
properties:
|
|
101
|
+
binding_values:
|
|
102
|
+
items:
|
|
103
|
+
properties:
|
|
104
|
+
key:
|
|
105
|
+
type: string
|
|
106
|
+
value:
|
|
107
|
+
properties:
|
|
108
|
+
boolean_value:
|
|
109
|
+
type: boolean
|
|
110
|
+
scribe_key:
|
|
111
|
+
type: string
|
|
112
|
+
string_value:
|
|
113
|
+
type: string
|
|
114
|
+
type:
|
|
115
|
+
type: string
|
|
116
|
+
required:
|
|
117
|
+
- type
|
|
118
|
+
type: object
|
|
119
|
+
required:
|
|
120
|
+
- key
|
|
121
|
+
- value
|
|
122
|
+
type: object
|
|
123
|
+
type: array
|
|
124
|
+
name:
|
|
125
|
+
type: string
|
|
126
|
+
url:
|
|
127
|
+
type: string
|
|
128
|
+
required:
|
|
129
|
+
- binding_values
|
|
130
|
+
- name
|
|
131
|
+
- url
|
|
132
|
+
type: object
|
|
133
|
+
rest_id:
|
|
134
|
+
type: string
|
|
135
|
+
type: object
|
|
97
136
|
core:
|
|
98
137
|
$ref: ./user.yaml#/components/schemas/UserResultCore
|
|
99
138
|
edit_control:
|
|
@@ -241,6 +280,24 @@ components:
|
|
|
241
280
|
- __typename
|
|
242
281
|
- tweet
|
|
243
282
|
Url:
|
|
283
|
+
properties:
|
|
284
|
+
display_url:
|
|
285
|
+
type: string
|
|
286
|
+
expanded_url:
|
|
287
|
+
format: uri
|
|
288
|
+
type: string
|
|
289
|
+
indices:
|
|
290
|
+
items:
|
|
291
|
+
type: integer
|
|
292
|
+
type: array
|
|
293
|
+
url:
|
|
294
|
+
format: uri
|
|
295
|
+
type: string
|
|
296
|
+
required:
|
|
297
|
+
- url
|
|
298
|
+
- indices
|
|
299
|
+
- expanded_url
|
|
300
|
+
- display_url
|
|
244
301
|
type: object
|
|
245
302
|
UserMention:
|
|
246
303
|
type: object
|
|
@@ -4,7 +4,7 @@ info:
|
|
|
4
4
|
version: 0.0.1
|
|
5
5
|
|
|
6
6
|
paths:
|
|
7
|
-
/graphql/{
|
|
7
|
+
/graphql/{pathQueryId}/Following:
|
|
8
8
|
get:
|
|
9
9
|
operationId: getFollowing
|
|
10
10
|
description: get user list of following
|
|
@@ -18,7 +18,7 @@ paths:
|
|
|
18
18
|
tags:
|
|
19
19
|
- "user-list"
|
|
20
20
|
|
|
21
|
-
/graphql/{
|
|
21
|
+
/graphql/{pathQueryId}/Followers:
|
|
22
22
|
get:
|
|
23
23
|
operationId: getFollowers
|
|
24
24
|
description: get user list of followers
|
|
@@ -4,7 +4,7 @@ info:
|
|
|
4
4
|
version: 0.0.1
|
|
5
5
|
|
|
6
6
|
paths:
|
|
7
|
-
/graphql/{
|
|
7
|
+
/graphql/{pathQueryId}/FavoriteTweet:
|
|
8
8
|
post:
|
|
9
9
|
operationId: postFavoriteTweet
|
|
10
10
|
description: favorite Tweet
|
|
@@ -18,7 +18,7 @@ paths:
|
|
|
18
18
|
tags:
|
|
19
19
|
- "post"
|
|
20
20
|
|
|
21
|
-
/graphql/{
|
|
21
|
+
/graphql/{pathQueryId}/UnfavoriteTweet:
|
|
22
22
|
post:
|
|
23
23
|
operationId: postUnfavoriteTweet
|
|
24
24
|
description: unfavorite Tweet
|
|
@@ -32,7 +32,7 @@ paths:
|
|
|
32
32
|
tags:
|
|
33
33
|
- "post"
|
|
34
34
|
|
|
35
|
-
/graphql/{
|
|
35
|
+
/graphql/{pathQueryId}/CreateRetweet:
|
|
36
36
|
post:
|
|
37
37
|
operationId: postCreateRetweet
|
|
38
38
|
description: create Retweet
|
|
@@ -46,7 +46,7 @@ paths:
|
|
|
46
46
|
tags:
|
|
47
47
|
- "post"
|
|
48
48
|
|
|
49
|
-
/graphql/{
|
|
49
|
+
/graphql/{pathQueryId}/DeleteRetweet:
|
|
50
50
|
post:
|
|
51
51
|
operationId: postDeleteRetweet
|
|
52
52
|
description: delete Retweet
|
|
@@ -60,7 +60,7 @@ paths:
|
|
|
60
60
|
tags:
|
|
61
61
|
- "post"
|
|
62
62
|
|
|
63
|
-
/graphql/{
|
|
63
|
+
/graphql/{pathQueryId}/CreateTweet:
|
|
64
64
|
post:
|
|
65
65
|
operationId: postCreateTweet
|
|
66
66
|
description: create Tweet
|
|
@@ -74,7 +74,7 @@ paths:
|
|
|
74
74
|
tags:
|
|
75
75
|
- "post"
|
|
76
76
|
|
|
77
|
-
/graphql/{
|
|
77
|
+
/graphql/{pathQueryId}/DeleteTweet:
|
|
78
78
|
post:
|
|
79
79
|
operationId: postDeleteTweet
|
|
80
80
|
description: delete Retweet
|
|
@@ -4,7 +4,7 @@ info:
|
|
|
4
4
|
version: 0.0.1
|
|
5
5
|
|
|
6
6
|
paths:
|
|
7
|
-
/graphql/{
|
|
7
|
+
/graphql/{pathQueryId}/HomeTimeline:
|
|
8
8
|
get:
|
|
9
9
|
operationId: getHomeTimeline
|
|
10
10
|
description: get tweet list of timeline
|
|
@@ -18,7 +18,7 @@ paths:
|
|
|
18
18
|
tags:
|
|
19
19
|
- "tweet"
|
|
20
20
|
|
|
21
|
-
/graphql/{
|
|
21
|
+
/graphql/{pathQueryId}/HomeLatestTimeline:
|
|
22
22
|
get:
|
|
23
23
|
operationId: getHomeLatestTimeline
|
|
24
24
|
description: get tweet list of timeline
|
|
@@ -32,7 +32,7 @@ paths:
|
|
|
32
32
|
tags:
|
|
33
33
|
- "tweet"
|
|
34
34
|
|
|
35
|
-
/graphql/{
|
|
35
|
+
/graphql/{pathQueryId}/ListLatestTweetsTimeline:
|
|
36
36
|
get:
|
|
37
37
|
operationId: getListLatestTweetsTimeline
|
|
38
38
|
description: get tweet list of timeline
|
|
@@ -4,7 +4,7 @@ info:
|
|
|
4
4
|
version: 0.0.1
|
|
5
5
|
|
|
6
6
|
paths:
|
|
7
|
-
/graphql/{
|
|
7
|
+
/graphql/{pathQueryId}/UserTweets:
|
|
8
8
|
get:
|
|
9
9
|
operationId: getUserTweets
|
|
10
10
|
description: "get user tweets"
|
|
@@ -18,7 +18,7 @@ paths:
|
|
|
18
18
|
tags:
|
|
19
19
|
- "tweet"
|
|
20
20
|
|
|
21
|
-
/graphql/{
|
|
21
|
+
/graphql/{pathQueryId}/UserTweetsAndReplies:
|
|
22
22
|
get:
|
|
23
23
|
operationId: getUserTweetsAndReplies
|
|
24
24
|
description: "get user replies tweets"
|
|
@@ -32,7 +32,7 @@ paths:
|
|
|
32
32
|
tags:
|
|
33
33
|
- "tweet"
|
|
34
34
|
|
|
35
|
-
/graphql/{
|
|
35
|
+
/graphql/{pathQueryId}/UserMedia:
|
|
36
36
|
get:
|
|
37
37
|
operationId: getUserMedia
|
|
38
38
|
description: "get user media tweets"
|
|
@@ -46,7 +46,7 @@ paths:
|
|
|
46
46
|
tags:
|
|
47
47
|
- "tweet"
|
|
48
48
|
|
|
49
|
-
/graphql/{
|
|
49
|
+
/graphql/{pathQueryId}/Likes:
|
|
50
50
|
get:
|
|
51
51
|
operationId: getLikes
|
|
52
52
|
description: "get user likes tweets"
|
|
@@ -53,6 +53,45 @@ components:
|
|
|
53
53
|
pattern: "^[0-9]+$"
|
|
54
54
|
core:
|
|
55
55
|
$ref: "./user.yaml#/components/schemas/UserResultCore"
|
|
56
|
+
card:
|
|
57
|
+
type: object
|
|
58
|
+
properties:
|
|
59
|
+
rest_id:
|
|
60
|
+
type: string
|
|
61
|
+
legacy:
|
|
62
|
+
type: object
|
|
63
|
+
required:
|
|
64
|
+
- "binding_values"
|
|
65
|
+
- "name"
|
|
66
|
+
- "url"
|
|
67
|
+
properties:
|
|
68
|
+
name:
|
|
69
|
+
type: string
|
|
70
|
+
url:
|
|
71
|
+
type: string
|
|
72
|
+
binding_values:
|
|
73
|
+
type: array
|
|
74
|
+
items:
|
|
75
|
+
type: object
|
|
76
|
+
required:
|
|
77
|
+
- "key"
|
|
78
|
+
- "value"
|
|
79
|
+
properties:
|
|
80
|
+
key:
|
|
81
|
+
type: string
|
|
82
|
+
value:
|
|
83
|
+
type: object
|
|
84
|
+
required:
|
|
85
|
+
- "type"
|
|
86
|
+
properties:
|
|
87
|
+
string_value:
|
|
88
|
+
type: string
|
|
89
|
+
boolean_value:
|
|
90
|
+
type: boolean
|
|
91
|
+
scribe_key:
|
|
92
|
+
type: string
|
|
93
|
+
type:
|
|
94
|
+
type: string
|
|
56
95
|
unmention_data:
|
|
57
96
|
type: object # todo
|
|
58
97
|
edit_control:
|
|
@@ -200,7 +239,25 @@ components:
|
|
|
200
239
|
UserMention:
|
|
201
240
|
type: object # todo
|
|
202
241
|
Url:
|
|
203
|
-
type: object
|
|
242
|
+
type: object
|
|
243
|
+
required:
|
|
244
|
+
- "url"
|
|
245
|
+
- "indices"
|
|
246
|
+
- "expanded_url"
|
|
247
|
+
- "display_url"
|
|
248
|
+
properties:
|
|
249
|
+
display_url:
|
|
250
|
+
type: string
|
|
251
|
+
expanded_url:
|
|
252
|
+
type: string
|
|
253
|
+
format: uri
|
|
254
|
+
url:
|
|
255
|
+
type: string
|
|
256
|
+
format: uri
|
|
257
|
+
indices:
|
|
258
|
+
type: array
|
|
259
|
+
items:
|
|
260
|
+
type: integer
|
|
204
261
|
|
|
205
262
|
ExtendedEntities:
|
|
206
263
|
required:
|
|
Binary file
|
|
Binary file
|