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
|
@@ -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
|
|
@@ -68,44 +68,44 @@ paths:
|
|
|
68
68
|
$ref: ./paths/v1.1-get.yaml#/paths/~11.1~1search~1typeahead.json
|
|
69
69
|
/2/search/adaptive.json:
|
|
70
70
|
$ref: ./paths/v2.0-get.yaml#/paths/~12~1search~1adaptive.json
|
|
71
|
-
/graphql/
|
|
72
|
-
$ref: ./paths/
|
|
73
|
-
/graphql/
|
|
74
|
-
$ref: ./paths/
|
|
75
|
-
/graphql/
|
|
76
|
-
$ref: ./paths/
|
|
77
|
-
/graphql/
|
|
78
|
-
$ref: ./paths/
|
|
79
|
-
/graphql/
|
|
80
|
-
$ref: ./paths/
|
|
81
|
-
/graphql/
|
|
82
|
-
$ref: ./paths/
|
|
83
|
-
/graphql/
|
|
84
|
-
$ref: ./paths/follow.yaml#/paths/~1graphql~
|
|
85
|
-
/graphql/
|
|
86
|
-
$ref: ./paths/
|
|
87
|
-
/graphql/
|
|
88
|
-
$ref: ./paths/
|
|
89
|
-
/graphql/
|
|
90
|
-
$ref: ./paths/
|
|
91
|
-
/graphql/
|
|
92
|
-
$ref: ./paths/
|
|
93
|
-
/graphql/
|
|
94
|
-
$ref: ./paths/
|
|
95
|
-
/graphql/
|
|
96
|
-
$ref: ./paths/
|
|
97
|
-
/graphql/
|
|
98
|
-
$ref: ./paths/
|
|
99
|
-
/graphql/
|
|
100
|
-
$ref: ./paths/post.yaml#/paths/~1graphql~
|
|
101
|
-
/graphql/
|
|
102
|
-
$ref: ./paths/user.yaml#/paths/~1graphql~
|
|
103
|
-
/graphql/
|
|
104
|
-
$ref: ./paths/
|
|
105
|
-
/graphql/
|
|
106
|
-
$ref: ./paths/
|
|
107
|
-
/graphql/
|
|
108
|
-
$ref: ./paths/
|
|
71
|
+
/graphql/{pathQueryId}/Bookmarks:
|
|
72
|
+
$ref: ./paths/bookmarks.yaml#/paths/~1graphql~1{pathQueryId}~1Bookmarks
|
|
73
|
+
/graphql/{pathQueryId}/CreateRetweet:
|
|
74
|
+
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1CreateRetweet
|
|
75
|
+
/graphql/{pathQueryId}/CreateTweet:
|
|
76
|
+
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1CreateTweet
|
|
77
|
+
/graphql/{pathQueryId}/DeleteRetweet:
|
|
78
|
+
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1DeleteRetweet
|
|
79
|
+
/graphql/{pathQueryId}/DeleteTweet:
|
|
80
|
+
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1DeleteTweet
|
|
81
|
+
/graphql/{pathQueryId}/FavoriteTweet:
|
|
82
|
+
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1FavoriteTweet
|
|
83
|
+
/graphql/{pathQueryId}/Followers:
|
|
84
|
+
$ref: ./paths/follow.yaml#/paths/~1graphql~1{pathQueryId}~1Followers
|
|
85
|
+
/graphql/{pathQueryId}/Following:
|
|
86
|
+
$ref: ./paths/follow.yaml#/paths/~1graphql~1{pathQueryId}~1Following
|
|
87
|
+
/graphql/{pathQueryId}/HomeLatestTimeline:
|
|
88
|
+
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{pathQueryId}~1HomeLatestTimeline
|
|
89
|
+
/graphql/{pathQueryId}/HomeTimeline:
|
|
90
|
+
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{pathQueryId}~1HomeTimeline
|
|
91
|
+
/graphql/{pathQueryId}/Likes:
|
|
92
|
+
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{pathQueryId}~1Likes
|
|
93
|
+
/graphql/{pathQueryId}/ListLatestTweetsTimeline:
|
|
94
|
+
$ref: ./paths/timeline.yaml#/paths/~1graphql~1{pathQueryId}~1ListLatestTweetsTimeline
|
|
95
|
+
/graphql/{pathQueryId}/ProfileSpotlightsQuery:
|
|
96
|
+
$ref: ./paths/profile.yaml#/paths/~1graphql~1{pathQueryId}~1ProfileSpotlightsQuery
|
|
97
|
+
/graphql/{pathQueryId}/TweetDetail:
|
|
98
|
+
$ref: ./paths/tweet.yaml#/paths/~1graphql~1{pathQueryId}~1TweetDetail
|
|
99
|
+
/graphql/{pathQueryId}/UnfavoriteTweet:
|
|
100
|
+
$ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1UnfavoriteTweet
|
|
101
|
+
/graphql/{pathQueryId}/UserByScreenName:
|
|
102
|
+
$ref: ./paths/user.yaml#/paths/~1graphql~1{pathQueryId}~1UserByScreenName
|
|
103
|
+
/graphql/{pathQueryId}/UserMedia:
|
|
104
|
+
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{pathQueryId}~1UserMedia
|
|
105
|
+
/graphql/{pathQueryId}/UserTweets:
|
|
106
|
+
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{pathQueryId}~1UserTweets
|
|
107
|
+
/graphql/{pathQueryId}/UserTweetsAndReplies:
|
|
108
|
+
$ref: ./paths/usertweets.yaml#/paths/~1graphql~1{pathQueryId}~1UserTweetsAndReplies
|
|
109
109
|
/other:
|
|
110
110
|
$ref: ./paths/other.yaml#/paths/~1other
|
|
111
111
|
security:
|
|
@@ -23,11 +23,18 @@ info:
|
|
|
23
23
|
version: 0.0.1
|
|
24
24
|
openapi: 3.0.3
|
|
25
25
|
paths:
|
|
26
|
-
/graphql/
|
|
26
|
+
/graphql/{pathQueryId}/Bookmarks:
|
|
27
27
|
get:
|
|
28
28
|
description: get bookmarks
|
|
29
29
|
operationId: getBookmarks
|
|
30
30
|
parameters:
|
|
31
|
+
- in: path
|
|
32
|
+
name: pathQueryId
|
|
33
|
+
required: true
|
|
34
|
+
schema:
|
|
35
|
+
default: tmd4ifV8RHltzn8ymGg1aw
|
|
36
|
+
example: tmd4ifV8RHltzn8ymGg1aw
|
|
37
|
+
type: string
|
|
31
38
|
- in: query
|
|
32
39
|
name: queryId
|
|
33
40
|
required: true
|
|
@@ -38,17 +38,24 @@ info:
|
|
|
38
38
|
version: 0.0.1
|
|
39
39
|
openapi: 3.0.3
|
|
40
40
|
paths:
|
|
41
|
-
/graphql/
|
|
41
|
+
/graphql/{pathQueryId}/Followers:
|
|
42
42
|
get:
|
|
43
|
-
description: get user list of
|
|
44
|
-
operationId:
|
|
43
|
+
description: get user list of followers
|
|
44
|
+
operationId: getFollowers
|
|
45
45
|
parameters:
|
|
46
|
+
- in: path
|
|
47
|
+
name: pathQueryId
|
|
48
|
+
required: true
|
|
49
|
+
schema:
|
|
50
|
+
default: djdTXDIk2qhd4OStqlUFeQ
|
|
51
|
+
example: djdTXDIk2qhd4OStqlUFeQ
|
|
52
|
+
type: string
|
|
46
53
|
- in: query
|
|
47
54
|
name: queryId
|
|
48
55
|
required: true
|
|
49
56
|
schema:
|
|
50
|
-
default: '"
|
|
51
|
-
example: '"
|
|
57
|
+
default: '"djdTXDIk2qhd4OStqlUFeQ"'
|
|
58
|
+
example: '"djdTXDIk2qhd4OStqlUFeQ"'
|
|
52
59
|
type: string
|
|
53
60
|
- in: query
|
|
54
61
|
name: variables
|
|
@@ -120,17 +127,24 @@ paths:
|
|
|
120
127
|
type: string
|
|
121
128
|
tags:
|
|
122
129
|
- user-list
|
|
123
|
-
/graphql/
|
|
130
|
+
/graphql/{pathQueryId}/Following:
|
|
124
131
|
get:
|
|
125
|
-
description: get user list of
|
|
126
|
-
operationId:
|
|
132
|
+
description: get user list of following
|
|
133
|
+
operationId: getFollowing
|
|
127
134
|
parameters:
|
|
135
|
+
- in: path
|
|
136
|
+
name: pathQueryId
|
|
137
|
+
required: true
|
|
138
|
+
schema:
|
|
139
|
+
default: IWP6Zt14sARO29lJT35bBw
|
|
140
|
+
example: IWP6Zt14sARO29lJT35bBw
|
|
141
|
+
type: string
|
|
128
142
|
- in: query
|
|
129
143
|
name: queryId
|
|
130
144
|
required: true
|
|
131
145
|
schema:
|
|
132
|
-
default: '"
|
|
133
|
-
example: '"
|
|
146
|
+
default: '"IWP6Zt14sARO29lJT35bBw"'
|
|
147
|
+
example: '"IWP6Zt14sARO29lJT35bBw"'
|
|
134
148
|
type: string
|
|
135
149
|
- in: query
|
|
136
150
|
name: variables
|
|
@@ -136,11 +136,92 @@ info:
|
|
|
136
136
|
version: 0.0.1
|
|
137
137
|
openapi: 3.0.3
|
|
138
138
|
paths:
|
|
139
|
-
/graphql/
|
|
139
|
+
/graphql/{pathQueryId}/CreateRetweet:
|
|
140
|
+
post:
|
|
141
|
+
description: create Retweet
|
|
142
|
+
operationId: postCreateRetweet
|
|
143
|
+
parameters:
|
|
144
|
+
- in: path
|
|
145
|
+
name: pathQueryId
|
|
146
|
+
required: true
|
|
147
|
+
schema:
|
|
148
|
+
default: ojPdsZsimiJrUGLR1sjUtA
|
|
149
|
+
example: ojPdsZsimiJrUGLR1sjUtA
|
|
150
|
+
type: string
|
|
151
|
+
requestBody:
|
|
152
|
+
content:
|
|
153
|
+
application/json:
|
|
154
|
+
schema:
|
|
155
|
+
properties:
|
|
156
|
+
queryId:
|
|
157
|
+
default: ojPdsZsimiJrUGLR1sjUtA
|
|
158
|
+
example: ojPdsZsimiJrUGLR1sjUtA
|
|
159
|
+
type: string
|
|
160
|
+
variables:
|
|
161
|
+
properties:
|
|
162
|
+
dark_request:
|
|
163
|
+
default: false
|
|
164
|
+
example: false
|
|
165
|
+
type: boolean
|
|
166
|
+
tweet_id:
|
|
167
|
+
default: '1349129669258448897'
|
|
168
|
+
example: '1349129669258448897'
|
|
169
|
+
type: string
|
|
170
|
+
required:
|
|
171
|
+
- tweet_id
|
|
172
|
+
- dark_request
|
|
173
|
+
type: object
|
|
174
|
+
required:
|
|
175
|
+
- queryId
|
|
176
|
+
- variables
|
|
177
|
+
description: body
|
|
178
|
+
required: true
|
|
179
|
+
responses:
|
|
180
|
+
'200':
|
|
181
|
+
content:
|
|
182
|
+
application/json:
|
|
183
|
+
schema:
|
|
184
|
+
$ref: '#/components/schemas/CreateRetweetResponse'
|
|
185
|
+
description: Successful operation
|
|
186
|
+
headers:
|
|
187
|
+
x-connection-hash:
|
|
188
|
+
schema:
|
|
189
|
+
type: string
|
|
190
|
+
x-rate-limit-limit:
|
|
191
|
+
schema:
|
|
192
|
+
type: integer
|
|
193
|
+
x-rate-limit-remaining:
|
|
194
|
+
schema:
|
|
195
|
+
type: integer
|
|
196
|
+
x-rate-limit-reset:
|
|
197
|
+
schema:
|
|
198
|
+
type: integer
|
|
199
|
+
x-response-time:
|
|
200
|
+
schema:
|
|
201
|
+
type: integer
|
|
202
|
+
x-tfe-preserve-body:
|
|
203
|
+
schema:
|
|
204
|
+
type: boolean
|
|
205
|
+
x-transaction-id:
|
|
206
|
+
schema:
|
|
207
|
+
type: string
|
|
208
|
+
x-twitter-response-tags:
|
|
209
|
+
schema:
|
|
210
|
+
type: string
|
|
211
|
+
tags:
|
|
212
|
+
- post
|
|
213
|
+
/graphql/{pathQueryId}/CreateTweet:
|
|
140
214
|
post:
|
|
141
215
|
description: create Tweet
|
|
142
216
|
operationId: postCreateTweet
|
|
143
|
-
parameters:
|
|
217
|
+
parameters:
|
|
218
|
+
- in: path
|
|
219
|
+
name: pathQueryId
|
|
220
|
+
required: true
|
|
221
|
+
schema:
|
|
222
|
+
default: 1RyAhNwby-gzGCRVsMxKbQ
|
|
223
|
+
example: 1RyAhNwby-gzGCRVsMxKbQ
|
|
224
|
+
type: string
|
|
144
225
|
requestBody:
|
|
145
226
|
content:
|
|
146
227
|
application/json:
|
|
@@ -323,86 +404,26 @@ paths:
|
|
|
323
404
|
type: string
|
|
324
405
|
tags:
|
|
325
406
|
- post
|
|
326
|
-
/graphql/
|
|
407
|
+
/graphql/{pathQueryId}/DeleteRetweet:
|
|
327
408
|
post:
|
|
328
409
|
description: delete Retweet
|
|
329
|
-
operationId:
|
|
330
|
-
parameters:
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
application/json:
|
|
334
|
-
schema:
|
|
335
|
-
properties:
|
|
336
|
-
queryId:
|
|
337
|
-
default: VaenaVgh5q5ih7kvyVjgtg
|
|
338
|
-
example: VaenaVgh5q5ih7kvyVjgtg
|
|
339
|
-
type: string
|
|
340
|
-
variables:
|
|
341
|
-
properties:
|
|
342
|
-
dark_request:
|
|
343
|
-
default: false
|
|
344
|
-
example: false
|
|
345
|
-
type: boolean
|
|
346
|
-
tweet_id:
|
|
347
|
-
default: '1349129669258448897'
|
|
348
|
-
example: '1349129669258448897'
|
|
349
|
-
type: string
|
|
350
|
-
required:
|
|
351
|
-
- tweet_id
|
|
352
|
-
- dark_request
|
|
353
|
-
type: object
|
|
354
|
-
required:
|
|
355
|
-
- queryId
|
|
356
|
-
- variables
|
|
357
|
-
description: body
|
|
410
|
+
operationId: postDeleteRetweet
|
|
411
|
+
parameters:
|
|
412
|
+
- in: path
|
|
413
|
+
name: pathQueryId
|
|
358
414
|
required: true
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
schema:
|
|
364
|
-
$ref: '#/components/schemas/DeleteTweetResponse'
|
|
365
|
-
description: Successful operation
|
|
366
|
-
headers:
|
|
367
|
-
x-connection-hash:
|
|
368
|
-
schema:
|
|
369
|
-
type: string
|
|
370
|
-
x-rate-limit-limit:
|
|
371
|
-
schema:
|
|
372
|
-
type: integer
|
|
373
|
-
x-rate-limit-remaining:
|
|
374
|
-
schema:
|
|
375
|
-
type: integer
|
|
376
|
-
x-rate-limit-reset:
|
|
377
|
-
schema:
|
|
378
|
-
type: integer
|
|
379
|
-
x-response-time:
|
|
380
|
-
schema:
|
|
381
|
-
type: integer
|
|
382
|
-
x-tfe-preserve-body:
|
|
383
|
-
schema:
|
|
384
|
-
type: boolean
|
|
385
|
-
x-transaction-id:
|
|
386
|
-
schema:
|
|
387
|
-
type: string
|
|
388
|
-
x-twitter-response-tags:
|
|
389
|
-
schema:
|
|
390
|
-
type: string
|
|
391
|
-
tags:
|
|
392
|
-
- post
|
|
393
|
-
/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
|
|
394
|
-
post:
|
|
395
|
-
description: unfavorite Tweet
|
|
396
|
-
operationId: postUnfavoriteTweet
|
|
397
|
-
parameters: []
|
|
415
|
+
schema:
|
|
416
|
+
default: iQtK4dl5hBmXewYZuEOKVw
|
|
417
|
+
example: iQtK4dl5hBmXewYZuEOKVw
|
|
418
|
+
type: string
|
|
398
419
|
requestBody:
|
|
399
420
|
content:
|
|
400
421
|
application/json:
|
|
401
422
|
schema:
|
|
402
423
|
properties:
|
|
403
424
|
queryId:
|
|
404
|
-
default:
|
|
405
|
-
example:
|
|
425
|
+
default: iQtK4dl5hBmXewYZuEOKVw
|
|
426
|
+
example: iQtK4dl5hBmXewYZuEOKVw
|
|
406
427
|
type: string
|
|
407
428
|
variables:
|
|
408
429
|
properties:
|
|
@@ -410,12 +431,12 @@ paths:
|
|
|
410
431
|
default: false
|
|
411
432
|
example: false
|
|
412
433
|
type: boolean
|
|
413
|
-
|
|
434
|
+
source_tweet_id:
|
|
414
435
|
default: '1349129669258448897'
|
|
415
436
|
example: '1349129669258448897'
|
|
416
437
|
type: string
|
|
417
438
|
required:
|
|
418
|
-
-
|
|
439
|
+
- source_tweet_id
|
|
419
440
|
- dark_request
|
|
420
441
|
type: object
|
|
421
442
|
required:
|
|
@@ -428,7 +449,7 @@ paths:
|
|
|
428
449
|
content:
|
|
429
450
|
application/json:
|
|
430
451
|
schema:
|
|
431
|
-
$ref: '#/components/schemas/
|
|
452
|
+
$ref: '#/components/schemas/DeleteRetweetResponse'
|
|
432
453
|
description: Successful operation
|
|
433
454
|
headers:
|
|
434
455
|
x-connection-hash:
|
|
@@ -457,19 +478,26 @@ paths:
|
|
|
457
478
|
type: string
|
|
458
479
|
tags:
|
|
459
480
|
- post
|
|
460
|
-
/graphql/
|
|
481
|
+
/graphql/{pathQueryId}/DeleteTweet:
|
|
461
482
|
post:
|
|
462
483
|
description: delete Retweet
|
|
463
|
-
operationId:
|
|
464
|
-
parameters:
|
|
484
|
+
operationId: postDeleteTweet
|
|
485
|
+
parameters:
|
|
486
|
+
- in: path
|
|
487
|
+
name: pathQueryId
|
|
488
|
+
required: true
|
|
489
|
+
schema:
|
|
490
|
+
default: VaenaVgh5q5ih7kvyVjgtg
|
|
491
|
+
example: VaenaVgh5q5ih7kvyVjgtg
|
|
492
|
+
type: string
|
|
465
493
|
requestBody:
|
|
466
494
|
content:
|
|
467
495
|
application/json:
|
|
468
496
|
schema:
|
|
469
497
|
properties:
|
|
470
498
|
queryId:
|
|
471
|
-
default:
|
|
472
|
-
example:
|
|
499
|
+
default: VaenaVgh5q5ih7kvyVjgtg
|
|
500
|
+
example: VaenaVgh5q5ih7kvyVjgtg
|
|
473
501
|
type: string
|
|
474
502
|
variables:
|
|
475
503
|
properties:
|
|
@@ -477,12 +505,12 @@ paths:
|
|
|
477
505
|
default: false
|
|
478
506
|
example: false
|
|
479
507
|
type: boolean
|
|
480
|
-
|
|
508
|
+
tweet_id:
|
|
481
509
|
default: '1349129669258448897'
|
|
482
510
|
example: '1349129669258448897'
|
|
483
511
|
type: string
|
|
484
512
|
required:
|
|
485
|
-
-
|
|
513
|
+
- tweet_id
|
|
486
514
|
- dark_request
|
|
487
515
|
type: object
|
|
488
516
|
required:
|
|
@@ -495,7 +523,7 @@ paths:
|
|
|
495
523
|
content:
|
|
496
524
|
application/json:
|
|
497
525
|
schema:
|
|
498
|
-
$ref: '#/components/schemas/
|
|
526
|
+
$ref: '#/components/schemas/DeleteTweetResponse'
|
|
499
527
|
description: Successful operation
|
|
500
528
|
headers:
|
|
501
529
|
x-connection-hash:
|
|
@@ -524,11 +552,18 @@ paths:
|
|
|
524
552
|
type: string
|
|
525
553
|
tags:
|
|
526
554
|
- post
|
|
527
|
-
/graphql/
|
|
555
|
+
/graphql/{pathQueryId}/FavoriteTweet:
|
|
528
556
|
post:
|
|
529
557
|
description: favorite Tweet
|
|
530
558
|
operationId: postFavoriteTweet
|
|
531
|
-
parameters:
|
|
559
|
+
parameters:
|
|
560
|
+
- in: path
|
|
561
|
+
name: pathQueryId
|
|
562
|
+
required: true
|
|
563
|
+
schema:
|
|
564
|
+
default: lI07N6Otwv1PhnEgXILM7A
|
|
565
|
+
example: lI07N6Otwv1PhnEgXILM7A
|
|
566
|
+
type: string
|
|
532
567
|
requestBody:
|
|
533
568
|
content:
|
|
534
569
|
application/json:
|
|
@@ -591,19 +626,26 @@ paths:
|
|
|
591
626
|
type: string
|
|
592
627
|
tags:
|
|
593
628
|
- post
|
|
594
|
-
/graphql/
|
|
629
|
+
/graphql/{pathQueryId}/UnfavoriteTweet:
|
|
595
630
|
post:
|
|
596
|
-
description:
|
|
597
|
-
operationId:
|
|
598
|
-
parameters:
|
|
631
|
+
description: unfavorite Tweet
|
|
632
|
+
operationId: postUnfavoriteTweet
|
|
633
|
+
parameters:
|
|
634
|
+
- in: path
|
|
635
|
+
name: pathQueryId
|
|
636
|
+
required: true
|
|
637
|
+
schema:
|
|
638
|
+
default: ZYKSe-w7KEslx3JhSIk5LA
|
|
639
|
+
example: ZYKSe-w7KEslx3JhSIk5LA
|
|
640
|
+
type: string
|
|
599
641
|
requestBody:
|
|
600
642
|
content:
|
|
601
643
|
application/json:
|
|
602
644
|
schema:
|
|
603
645
|
properties:
|
|
604
646
|
queryId:
|
|
605
|
-
default:
|
|
606
|
-
example:
|
|
647
|
+
default: ZYKSe-w7KEslx3JhSIk5LA
|
|
648
|
+
example: ZYKSe-w7KEslx3JhSIk5LA
|
|
607
649
|
type: string
|
|
608
650
|
variables:
|
|
609
651
|
properties:
|
|
@@ -629,7 +671,7 @@ paths:
|
|
|
629
671
|
content:
|
|
630
672
|
application/json:
|
|
631
673
|
schema:
|
|
632
|
-
$ref: '#/components/schemas/
|
|
674
|
+
$ref: '#/components/schemas/UnfavoriteTweetResponseData'
|
|
633
675
|
description: Successful operation
|
|
634
676
|
headers:
|
|
635
677
|
x-connection-hash:
|
|
@@ -63,11 +63,18 @@ info:
|
|
|
63
63
|
version: 0.0.1
|
|
64
64
|
openapi: 3.0.3
|
|
65
65
|
paths:
|
|
66
|
-
/graphql/
|
|
66
|
+
/graphql/{pathQueryId}/ProfileSpotlightsQuery:
|
|
67
67
|
get:
|
|
68
68
|
description: get user by screen name
|
|
69
69
|
operationId: getProfileSpotlightsQuery
|
|
70
70
|
parameters:
|
|
71
|
+
- in: path
|
|
72
|
+
name: pathQueryId
|
|
73
|
+
required: true
|
|
74
|
+
schema:
|
|
75
|
+
default: 9zwVLJ48lmVUk8u_Gh9DmA
|
|
76
|
+
example: 9zwVLJ48lmVUk8u_Gh9DmA
|
|
77
|
+
type: string
|
|
71
78
|
- in: query
|
|
72
79
|
name: queryId
|
|
73
80
|
required: true
|