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.
Files changed (199) hide show
  1. package/.openapi-generator/FILES +7 -1
  2. package/README.md +2 -2
  3. package/dist/apis/DefaultApi.d.ts +1 -1
  4. package/dist/apis/DefaultApi.d.ts.map +1 -1
  5. package/dist/apis/DefaultApi.js +3 -6
  6. package/dist/apis/DefaultApi.js.map +1 -1
  7. package/dist/apis/PostApi.d.ts +6 -0
  8. package/dist/apis/PostApi.d.ts.map +1 -1
  9. package/dist/apis/PostApi.js +24 -6
  10. package/dist/apis/PostApi.js.map +1 -1
  11. package/dist/apis/TweetApi.d.ts +9 -9
  12. package/dist/apis/TweetApi.d.ts.map +1 -1
  13. package/dist/apis/TweetApi.js +27 -54
  14. package/dist/apis/TweetApi.js.map +1 -1
  15. package/dist/apis/UserApi.d.ts +1 -1
  16. package/dist/apis/UserApi.d.ts.map +1 -1
  17. package/dist/apis/UserApi.js +3 -6
  18. package/dist/apis/UserApi.js.map +1 -1
  19. package/dist/apis/UserListApi.d.ts +2 -2
  20. package/dist/apis/UserListApi.d.ts.map +1 -1
  21. package/dist/apis/UserListApi.js +6 -12
  22. package/dist/apis/UserListApi.js.map +1 -1
  23. package/dist/models/Entities.d.ts +3 -2
  24. package/dist/models/Entities.d.ts.map +1 -1
  25. package/dist/models/Entities.js +3 -2
  26. package/dist/models/Entities.js.map +1 -1
  27. package/dist/models/PostCreateRetweetRequest.d.ts +3 -3
  28. package/dist/models/PostCreateRetweetRequest.d.ts.map +1 -1
  29. package/dist/models/PostCreateRetweetRequest.js +3 -3
  30. package/dist/models/PostCreateRetweetRequest.js.map +1 -1
  31. package/dist/models/PostCreateRetweetRequestVariables.d.ts +38 -0
  32. package/dist/models/PostCreateRetweetRequestVariables.d.ts.map +1 -0
  33. package/dist/models/PostCreateRetweetRequestVariables.js +54 -0
  34. package/dist/models/PostCreateRetweetRequestVariables.js.map +1 -0
  35. package/dist/models/PostDeleteTweetRequest.d.ts +3 -3
  36. package/dist/models/PostDeleteTweetRequest.d.ts.map +1 -1
  37. package/dist/models/PostDeleteTweetRequest.js +3 -3
  38. package/dist/models/PostDeleteTweetRequest.js.map +1 -1
  39. package/dist/models/PostFavoriteTweetRequest.d.ts +3 -3
  40. package/dist/models/PostFavoriteTweetRequest.d.ts.map +1 -1
  41. package/dist/models/PostFavoriteTweetRequest.js +3 -3
  42. package/dist/models/PostFavoriteTweetRequest.js.map +1 -1
  43. package/dist/models/PostUnfavoriteTweetRequest.d.ts +3 -3
  44. package/dist/models/PostUnfavoriteTweetRequest.d.ts.map +1 -1
  45. package/dist/models/PostUnfavoriteTweetRequest.js +3 -3
  46. package/dist/models/PostUnfavoriteTweetRequest.js.map +1 -1
  47. package/dist/models/Tweet.d.ts +7 -0
  48. package/dist/models/Tweet.d.ts.map +1 -1
  49. package/dist/models/Tweet.js +3 -0
  50. package/dist/models/Tweet.js.map +1 -1
  51. package/dist/models/TweetCard.d.ts +39 -0
  52. package/dist/models/TweetCard.d.ts.map +1 -0
  53. package/dist/models/TweetCard.js +54 -0
  54. package/dist/models/TweetCard.js.map +1 -0
  55. package/dist/models/TweetCardLegacy.d.ts +45 -0
  56. package/dist/models/TweetCardLegacy.d.ts.map +1 -0
  57. package/dist/models/TweetCardLegacy.js +58 -0
  58. package/dist/models/TweetCardLegacy.js.map +1 -0
  59. package/dist/models/TweetCardLegacyBindingValuesInner.d.ts +39 -0
  60. package/dist/models/TweetCardLegacyBindingValuesInner.d.ts.map +1 -0
  61. package/dist/models/TweetCardLegacyBindingValuesInner.js +55 -0
  62. package/dist/models/TweetCardLegacyBindingValuesInner.js.map +1 -0
  63. package/dist/models/TweetCardLegacyBindingValuesInnerValue.d.ts +50 -0
  64. package/dist/models/TweetCardLegacyBindingValuesInnerValue.d.ts.map +1 -0
  65. package/dist/models/TweetCardLegacyBindingValuesInnerValue.js +58 -0
  66. package/dist/models/TweetCardLegacyBindingValuesInnerValue.js.map +1 -0
  67. package/dist/models/TweetLegacy.d.ts +7 -0
  68. package/dist/models/TweetLegacy.d.ts.map +1 -1
  69. package/dist/models/TweetLegacy.js +3 -0
  70. package/dist/models/TweetLegacy.js.map +1 -1
  71. package/dist/models/TweetLegacySelfThread.d.ts +32 -0
  72. package/dist/models/TweetLegacySelfThread.d.ts.map +1 -0
  73. package/dist/models/TweetLegacySelfThread.js +51 -0
  74. package/dist/models/TweetLegacySelfThread.js.map +1 -0
  75. package/dist/models/Url.d.ts +50 -0
  76. package/dist/models/Url.d.ts.map +1 -0
  77. package/dist/models/Url.js +60 -0
  78. package/dist/models/Url.js.map +1 -0
  79. package/dist/models/index.d.ts +7 -1
  80. package/dist/models/index.d.ts.map +1 -1
  81. package/dist/models/index.js +7 -1
  82. package/dist/models/index.js.map +1 -1
  83. package/package.json +1 -1
  84. package/src/apis/DefaultApi.ts +4 -8
  85. package/src/apis/PostApi.ts +36 -6
  86. package/src/apis/TweetApi.ts +36 -72
  87. package/src/apis/UserApi.ts +4 -8
  88. package/src/apis/UserListApi.ts +8 -16
  89. package/src/models/Entities.ts +10 -4
  90. package/src/models/PostCreateRetweetRequest.ts +9 -9
  91. package/src/models/{PostDeleteTweetRequestVariables.ts → PostCreateRetweetRequestVariables.ts} +10 -10
  92. package/src/models/PostDeleteTweetRequest.ts +9 -9
  93. package/src/models/PostFavoriteTweetRequest.ts +9 -9
  94. package/src/models/PostUnfavoriteTweetRequest.ts +9 -9
  95. package/src/models/Tweet.ts +14 -0
  96. package/src/models/TweetCard.ts +80 -0
  97. package/src/models/TweetCardLegacy.ts +91 -0
  98. package/src/models/TweetCardLegacyBindingValuesInner.ts +82 -0
  99. package/src/models/TweetCardLegacyBindingValuesInnerValue.ts +90 -0
  100. package/src/models/TweetLegacy.ts +14 -0
  101. package/src/models/TweetLegacySelfThread.ts +66 -0
  102. package/src/models/Url.ts +93 -0
  103. package/src/models/index.ts +7 -1
  104. package/tools/openapi-generator-config.yaml +2 -2
  105. package/tools/win/replace.py +20 -20
  106. package/twitter-openapi/README.md +4 -6
  107. package/twitter-openapi/dist/{test → compatible}/openapi-3.0.yaml +38 -38
  108. package/twitter-openapi/dist/{typescript → compatible}/paths/bookmarks.yaml +5 -5
  109. package/twitter-openapi/dist/{test → compatible}/paths/follow.yaml +14 -14
  110. package/twitter-openapi/dist/{typescript → compatible}/paths/post.yaml +135 -93
  111. package/twitter-openapi/dist/{test → compatible}/paths/profile.yaml +5 -5
  112. package/twitter-openapi/dist/{typescript → compatible}/paths/timeline.yaml +25 -25
  113. package/twitter-openapi/dist/{test → compatible}/paths/tweet.yaml +5 -5
  114. package/twitter-openapi/dist/{test → compatible}/paths/user.yaml +5 -5
  115. package/twitter-openapi/dist/{test → compatible}/paths/usertweets.yaml +36 -36
  116. package/twitter-openapi/dist/compatible/resources/parameters.yaml +13 -0
  117. package/twitter-openapi/dist/{dart → compatible}/schemas/tweet.yaml +65 -0
  118. package/twitter-openapi/dist/docs/openapi-3.0.yaml +38 -38
  119. package/twitter-openapi/dist/docs/paths/bookmarks.yaml +7 -56
  120. package/twitter-openapi/dist/docs/paths/follow.yaml +18 -116
  121. package/twitter-openapi/dist/docs/paths/post.yaml +124 -82
  122. package/twitter-openapi/dist/docs/paths/profile.yaml +7 -35
  123. package/twitter-openapi/dist/docs/paths/timeline.yaml +43 -192
  124. package/twitter-openapi/dist/docs/paths/tweet.yaml +7 -61
  125. package/twitter-openapi/dist/docs/paths/user.yaml +7 -41
  126. package/twitter-openapi/dist/docs/paths/usertweets.yaml +53 -263
  127. package/twitter-openapi/dist/docs/resources/parameters.yaml +13 -0
  128. package/twitter-openapi/dist/docs/schemas/tweet.yaml +65 -0
  129. package/twitter-openapi/src/openapi/paths/bookmarks.yaml +1 -1
  130. package/twitter-openapi/src/openapi/paths/follow.yaml +2 -2
  131. package/twitter-openapi/src/openapi/paths/post.yaml +6 -6
  132. package/twitter-openapi/src/openapi/paths/profile.yaml +1 -1
  133. package/twitter-openapi/src/openapi/paths/timeline.yaml +3 -3
  134. package/twitter-openapi/src/openapi/paths/tweet.yaml +1 -1
  135. package/twitter-openapi/src/openapi/paths/user.yaml +1 -1
  136. package/twitter-openapi/src/openapi/paths/usertweets.yaml +4 -4
  137. package/twitter-openapi/src/openapi/resources/parameters.yaml +15 -0
  138. package/twitter-openapi/src/openapi/schemas/tweet.yaml +66 -1
  139. package/twitter-openapi/tools/__pycache__/build_config.cpython-310.pyc +0 -0
  140. package/twitter-openapi/tools/__pycache__/hooks.cpython-310.pyc +0 -0
  141. package/twitter-openapi/tools/build_config.py +67 -190
  142. package/twitter-openapi/tools/hooks.py +58 -13
  143. package/dist/models/PostDeleteTweetRequestVariables.d.ts +0 -38
  144. package/dist/models/PostDeleteTweetRequestVariables.d.ts.map +0 -1
  145. package/dist/models/PostDeleteTweetRequestVariables.js +0 -54
  146. package/dist/models/PostDeleteTweetRequestVariables.js.map +0 -1
  147. package/twitter-openapi/dist/dart/openapi-3.0.yaml +0 -117
  148. package/twitter-openapi/dist/dart/paths/bookmarks.yaml +0 -134
  149. package/twitter-openapi/dist/dart/paths/follow.yaml +0 -262
  150. package/twitter-openapi/dist/dart/paths/post.yaml +0 -834
  151. package/twitter-openapi/dist/dart/paths/profile.yaml +0 -152
  152. package/twitter-openapi/dist/dart/paths/timeline.yaml +0 -380
  153. package/twitter-openapi/dist/dart/paths/tweet.yaml +0 -134
  154. package/twitter-openapi/dist/dart/paths/user.yaml +0 -112
  155. package/twitter-openapi/dist/dart/paths/usertweets.yaml +0 -484
  156. package/twitter-openapi/dist/dart/paths/v1.1-get.yaml +0 -300
  157. package/twitter-openapi/dist/dart/paths/v1.1-post.yaml +0 -295
  158. package/twitter-openapi/dist/dart/paths/v2.0-get.yaml +0 -331
  159. package/twitter-openapi/dist/test/paths/bookmarks.yaml +0 -105
  160. package/twitter-openapi/dist/test/paths/other.yaml +0 -96
  161. package/twitter-openapi/dist/test/paths/post.yaml +0 -485
  162. package/twitter-openapi/dist/test/paths/timeline.yaml +0 -293
  163. package/twitter-openapi/dist/test/paths/v1.1-get.yaml +0 -242
  164. package/twitter-openapi/dist/test/paths/v1.1-post.yaml +0 -277
  165. package/twitter-openapi/dist/test/paths/v2.0-get.yaml +0 -302
  166. package/twitter-openapi/dist/test/response/error.yaml +0 -90
  167. package/twitter-openapi/dist/test/schemas/content.yaml +0 -181
  168. package/twitter-openapi/dist/test/schemas/general.yaml +0 -13
  169. package/twitter-openapi/dist/test/schemas/instruction.yaml +0 -83
  170. package/twitter-openapi/dist/test/schemas/timeline.yaml +0 -25
  171. package/twitter-openapi/dist/test/schemas/tweet.yaml +0 -251
  172. package/twitter-openapi/dist/test/schemas/typename.yaml +0 -19
  173. package/twitter-openapi/dist/test/schemas/user.yaml +0 -206
  174. package/twitter-openapi/dist/typescript/openapi-3.0.yaml +0 -141
  175. package/twitter-openapi/dist/typescript/paths/follow.yaml +0 -204
  176. package/twitter-openapi/dist/typescript/paths/other.yaml +0 -96
  177. package/twitter-openapi/dist/typescript/paths/profile.yaml +0 -123
  178. package/twitter-openapi/dist/typescript/paths/tweet.yaml +0 -105
  179. package/twitter-openapi/dist/typescript/paths/user.yaml +0 -83
  180. package/twitter-openapi/dist/typescript/paths/usertweets.yaml +0 -368
  181. package/twitter-openapi/dist/typescript/response/error.yaml +0 -90
  182. package/twitter-openapi/dist/typescript/schemas/content.yaml +0 -181
  183. package/twitter-openapi/dist/typescript/schemas/general.yaml +0 -13
  184. package/twitter-openapi/dist/typescript/schemas/instruction.yaml +0 -83
  185. package/twitter-openapi/dist/typescript/schemas/timeline.yaml +0 -25
  186. package/twitter-openapi/dist/typescript/schemas/tweet.yaml +0 -251
  187. package/twitter-openapi/dist/typescript/schemas/typename.yaml +0 -19
  188. package/twitter-openapi/dist/typescript/schemas/user.yaml +0 -206
  189. /package/twitter-openapi/dist/{dart → compatible}/paths/other.yaml +0 -0
  190. /package/twitter-openapi/dist/{typescript → compatible}/paths/v1.1-get.yaml +0 -0
  191. /package/twitter-openapi/dist/{typescript → compatible}/paths/v1.1-post.yaml +0 -0
  192. /package/twitter-openapi/dist/{typescript → compatible}/paths/v2.0-get.yaml +0 -0
  193. /package/twitter-openapi/dist/{dart → compatible}/response/error.yaml +0 -0
  194. /package/twitter-openapi/dist/{dart → compatible}/schemas/content.yaml +0 -0
  195. /package/twitter-openapi/dist/{dart → compatible}/schemas/general.yaml +0 -0
  196. /package/twitter-openapi/dist/{dart → compatible}/schemas/instruction.yaml +0 -0
  197. /package/twitter-openapi/dist/{dart → compatible}/schemas/timeline.yaml +0 -0
  198. /package/twitter-openapi/dist/{dart → compatible}/schemas/typename.yaml +0 -0
  199. /package/twitter-openapi/dist/{dart → compatible}/schemas/user.yaml +0 -0
@@ -1,206 +0,0 @@
1
- components:
2
- schemas:
3
- User:
4
- properties:
5
- __typename:
6
- $ref: ./typename.yaml#/components/schemas/TypeName
7
- affiliates_highlighted_label:
8
- type: object
9
- business_account:
10
- type: object
11
- has_graduated_access:
12
- type: boolean
13
- has_nft_avatar:
14
- default: false
15
- type: boolean
16
- id:
17
- pattern: ^[a-z\-]+[0-9]+$
18
- type: string
19
- is_blue_verified:
20
- default: false
21
- type: boolean
22
- legacy:
23
- $ref: '#/components/schemas/UserLegacy'
24
- rest_id:
25
- pattern: ^[0-9]+$
26
- type: string
27
- super_follow_eligible:
28
- default: false
29
- type: boolean
30
- super_followed_by:
31
- default: false
32
- type: boolean
33
- super_following:
34
- default: false
35
- type: boolean
36
- required:
37
- - __typename
38
- - affiliates_highlighted_label
39
- - id
40
- - is_blue_verified
41
- - legacy
42
- - rest_id
43
- - super_follow_eligible
44
- - super_followed_by
45
- - super_following
46
- UserLegacy:
47
- properties:
48
- blocked_by:
49
- default: false
50
- type: boolean
51
- blocking:
52
- default: false
53
- type: boolean
54
- can_dm:
55
- default: false
56
- type: boolean
57
- can_media_tag:
58
- default: false
59
- type: boolean
60
- created_at:
61
- $ref: ./general.yaml#/components/schemas/TwitterTimeFormat
62
- default_profile:
63
- default: false
64
- type: boolean
65
- default_profile_image:
66
- default: false
67
- type: boolean
68
- description:
69
- type: string
70
- entities:
71
- type: object
72
- fast_followers_count:
73
- type: integer
74
- favourites_count:
75
- default: 0
76
- type: integer
77
- follow_request_sent:
78
- default: false
79
- type: boolean
80
- followed_by:
81
- default: false
82
- type: boolean
83
- followers_count:
84
- default: 0
85
- type: integer
86
- following:
87
- default: false
88
- type: boolean
89
- friends_count:
90
- default: 0
91
- type: integer
92
- has_custom_timelines:
93
- default: false
94
- type: boolean
95
- is_translator:
96
- default: false
97
- type: boolean
98
- listed_count:
99
- default: 0
100
- type: integer
101
- location:
102
- type: string
103
- media_count:
104
- default: 0
105
- type: integer
106
- muting:
107
- default: false
108
- type: boolean
109
- name:
110
- type: string
111
- normal_followers_count:
112
- default: 0
113
- type: integer
114
- notifications:
115
- default: false
116
- type: boolean
117
- pinned_tweet_ids_str:
118
- items:
119
- type: string
120
- type: array
121
- possibly_sensitive:
122
- default: false
123
- type: boolean
124
- profile_banner_extensions:
125
- type: object
126
- profile_banner_url:
127
- format: uri
128
- type: string
129
- profile_image_extensions:
130
- type: object
131
- profile_image_url_https:
132
- format: uri
133
- type: string
134
- profile_interstitial_type:
135
- type: string
136
- protected:
137
- default: false
138
- type: boolean
139
- screen_name:
140
- type: string
141
- statuses_count:
142
- default: 0
143
- type: integer
144
- translator_type:
145
- type: string
146
- url:
147
- type: string
148
- verified:
149
- type: boolean
150
- want_retweets:
151
- default: false
152
- type: boolean
153
- required:
154
- - blocked_by
155
- - blocking
156
- - can_dm
157
- - can_media_tag
158
- - created_at
159
- - default_profile
160
- - default_profile_image
161
- - description
162
- - entities
163
- - fast_followers_count
164
- - favourites_count
165
- - follow_request_sent
166
- - followed_by
167
- - followers_count
168
- - following
169
- - friends_count
170
- - has_custom_timelines
171
- - is_translator
172
- - listed_count
173
- - location
174
- - media_count
175
- - muting
176
- - name
177
- - normal_followers_count
178
- - notifications
179
- - pinned_tweet_ids_str
180
- - possibly_sensitive
181
- - profile_image_url_https
182
- - profile_interstitial_type
183
- - protected
184
- - screen_name
185
- - status
186
- - statuses_count
187
- - translator_type
188
- - verified
189
- - want_retweets
190
- UserResultCore:
191
- properties:
192
- user_results:
193
- $ref: '#/components/schemas/UserResults'
194
- required:
195
- - user_results
196
- UserResults:
197
- properties:
198
- result:
199
- $ref: '#/components/schemas/User'
200
- required:
201
- - result
202
- info:
203
- title: Twitter OpenAPI
204
- version: 0.0.1
205
- openapi: 3.0.3
206
- paths: {}
@@ -1,141 +0,0 @@
1
- components:
2
- schemas: {}
3
- securitySchemes:
4
- ActiveUser:
5
- description: 'yes'
6
- in: header
7
- name: x-twitter-active-user
8
- type: apiKey
9
- AuthType:
10
- description: OAuth2Session if you are logged in
11
- in: header
12
- name: x-twitter-auth-type
13
- type: apiKey
14
- BearerAuth:
15
- description: AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
16
- scheme: bearer
17
- type: http
18
- ClientLanguage:
19
- description: en
20
- in: header
21
- name: x-twitter-client-language
22
- type: apiKey
23
- CookieAuthToken:
24
- description: HttpOnly cookie
25
- in: cookie
26
- name: auth_token
27
- type: apiKey
28
- CookieCt0:
29
- description: document.cookie.split('; ').find(row => row.startsWith('ct0='));
30
- in: cookie
31
- name: ct0
32
- type: apiKey
33
- CsrfToken:
34
- description: ''
35
- in: header
36
- name: x-csrf-token
37
- type: apiKey
38
- GuestToken:
39
- description: document.cookie.split('; ').find(row => row.startsWith('gt='));
40
- in: header
41
- name: x-guest-token
42
- type: apiKey
43
- UserAgent:
44
- description: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
45
- like Gecko) Chrome/112.0.0.0 Safari/537.36
46
- in: header
47
- name: user-agent
48
- type: apiKey
49
- info:
50
- contact:
51
- email: yuki@yuki0311.com
52
- description: Twitter OpenAPI(Swagger) specification
53
- license:
54
- name: GNU Affero General Public License v3.
55
- url: https://raw.githubusercontent.com/fa0311/twitter-openapi/main/LICENSE.txt
56
- termsOfService: https://github.com/fa0311
57
- title: Twitter OpenAPI
58
- version: 0.0.1
59
- openapi: 3.0.3
60
- paths:
61
- /1.1/friends/following/list.json:
62
- $ref: ./paths/v1.1-get.yaml#/paths/~11.1~1friends~1following~1list.json
63
- /1.1/friendships/create.json:
64
- $ref: ./paths/v1.1-post.yaml#/paths/~11.1~1friendships~1create.json
65
- /1.1/friendships/destroy.json:
66
- $ref: ./paths/v1.1-post.yaml#/paths/~11.1~1friendships~1destroy.json
67
- /1.1/search/typeahead.json:
68
- $ref: ./paths/v1.1-get.yaml#/paths/~11.1~1search~1typeahead.json
69
- /2/search/adaptive.json:
70
- $ref: ./paths/v2.0-get.yaml#/paths/~12~1search~1adaptive.json
71
- /graphql/1RyAhNwby-gzGCRVsMxKbQ/CreateTweet:
72
- $ref: ./paths/post.yaml#/paths/~1graphql~11RyAhNwby-gzGCRVsMxKbQ~1CreateTweet
73
- /graphql/2TemLyqrMpTeAmysdbnVqw/ListLatestTweetsTimeline:
74
- $ref: ./paths/timeline.yaml#/paths/~1graphql~12TemLyqrMpTeAmysdbnVqw~1ListLatestTweetsTimeline
75
- /graphql/5fmEkRT-1AdHqEsbVgehMg/Likes:
76
- $ref: ./paths/usertweets.yaml#/paths/~1graphql~15fmEkRT-1AdHqEsbVgehMg~1Likes
77
- /graphql/9zwVLJ48lmVUk8u_Gh9DmA/ProfileSpotlightsQuery:
78
- $ref: ./paths/profile.yaml#/paths/~1graphql~19zwVLJ48lmVUk8u_Gh9DmA~1ProfileSpotlightsQuery
79
- /graphql/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
80
- $ref: ./paths/timeline.yaml#/paths/~1graphql~1HCosKfLNW1AcOo3la3mMgg~1HomeTimeline
81
- /graphql/HuTx74BxAnezK1gWvYY7zg/UserTweets:
82
- $ref: ./paths/usertweets.yaml#/paths/~1graphql~1HuTx74BxAnezK1gWvYY7zg~1UserTweets
83
- /graphql/IWP6Zt14sARO29lJT35bBw/Following:
84
- $ref: ./paths/follow.yaml#/paths/~1graphql~1IWP6Zt14sARO29lJT35bBw~1Following
85
- /graphql/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
86
- $ref: ./paths/usertweets.yaml#/paths/~1graphql~1RIWc55YCNyUJ-U3HHGYkdg~1UserTweetsAndReplies
87
- /graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet:
88
- $ref: ./paths/post.yaml#/paths/~1graphql~1VaenaVgh5q5ih7kvyVjgtg~1DeleteTweet
89
- /graphql/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
90
- $ref: ./paths/usertweets.yaml#/paths/~1graphql~1YqiE3JL1KNgf9nSljYdxaA~1UserMedia
91
- /graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet:
92
- $ref: ./paths/post.yaml#/paths/~1graphql~1ZYKSe-w7KEslx3JhSIk5LA~1UnfavoriteTweet
93
- /graphql/djdTXDIk2qhd4OStqlUFeQ/Followers:
94
- $ref: ./paths/follow.yaml#/paths/~1graphql~1djdTXDIk2qhd4OStqlUFeQ~1Followers
95
- /graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet:
96
- $ref: ./paths/post.yaml#/paths/~1graphql~1iQtK4dl5hBmXewYZuEOKVw~1DeleteRetweet
97
- /graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet:
98
- $ref: ./paths/post.yaml#/paths/~1graphql~1lI07N6Otwv1PhnEgXILM7A~1FavoriteTweet
99
- /graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet:
100
- $ref: ./paths/post.yaml#/paths/~1graphql~1ojPdsZsimiJrUGLR1sjUtA~1CreateRetweet
101
- /graphql/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
102
- $ref: ./paths/user.yaml#/paths/~1graphql~1sLVLhk0bGj3MVFEKTdax1w~1UserByScreenName
103
- /graphql/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
104
- $ref: ./paths/bookmarks.yaml#/paths/~1graphql~1tmd4ifV8RHltzn8ymGg1aw~1Bookmarks
105
- /graphql/wNNG8DBB8EaXw1lq4vFWGA/TweetDetail:
106
- $ref: ./paths/tweet.yaml#/paths/~1graphql~1wNNG8DBB8EaXw1lq4vFWGA~1TweetDetail
107
- /graphql/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
108
- $ref: ./paths/timeline.yaml#/paths/~1graphql~1zhX91JE87mWvfprhYE97xA~1HomeLatestTimeline
109
- /other:
110
- $ref: ./paths/other.yaml#/paths/~1other
111
- security:
112
- - CsrfToken: []
113
- - CookieCt0: []
114
- - GuestToken: []
115
- - CookieAuthToken: []
116
- - AuthType: []
117
- - UserAgent: []
118
- - BearerAuth: []
119
- - ActiveUser: []
120
- - ClientLanguage: []
121
- servers:
122
- - url: https://twitter.com/i/api
123
- tags:
124
- - description: response User
125
- name: user
126
- - description: response User list
127
- name: user-list
128
- - description: response tweet
129
- name: tweet
130
- - description: post
131
- name: post
132
- - description: legacy APIs get
133
- name: v1.1-get
134
- - description: legacy APIs post
135
- name: v1.1-post
136
- - description: legacy APIs get
137
- name: v2.0-get
138
- - description: legacy APIs post
139
- name: v2.0-post
140
- - description: other
141
- name: other
@@ -1,204 +0,0 @@
1
- components:
2
- schemas:
3
- FollowResponse:
4
- properties:
5
- data:
6
- $ref: '#/components/schemas/FollowResponseData'
7
- required:
8
- - data
9
- FollowResponseData:
10
- properties:
11
- user:
12
- $ref: '#/components/schemas/FollowResponseUser'
13
- required:
14
- - user
15
- FollowResponseResult:
16
- properties:
17
- __typename:
18
- $ref: ./../schemas/typename.yaml#/components/schemas/TypeName
19
- timeline:
20
- $ref: '#/components/schemas/FollowTimeline'
21
- required:
22
- - __typename
23
- - timeline
24
- FollowResponseUser:
25
- properties:
26
- result:
27
- $ref: '#/components/schemas/FollowResponseResult'
28
- required:
29
- - result
30
- FollowTimeline:
31
- properties:
32
- timeline:
33
- $ref: ./../schemas/timeline.yaml#/components/schemas/Timeline
34
- required:
35
- - timeline
36
- info:
37
- title: Twitter OpenAPI
38
- version: 0.0.1
39
- openapi: 3.0.3
40
- paths:
41
- /graphql/IWP6Zt14sARO29lJT35bBw/Following:
42
- get:
43
- description: get user list of following
44
- operationId: getFollowing
45
- parameters:
46
- - in: query
47
- name: queryId
48
- required: true
49
- schema:
50
- default: '"IWP6Zt14sARO29lJT35bBw"'
51
- example: '"IWP6Zt14sARO29lJT35bBw"'
52
- type: string
53
- - in: query
54
- name: variables
55
- required: true
56
- schema:
57
- default: '{"userId": "44196397", "count": 20, "includePromotedContent":
58
- false}'
59
- example: '{"userId": "44196397", "count": 20, "includePromotedContent":
60
- false}'
61
- type: string
62
- - in: query
63
- name: features
64
- required: true
65
- schema:
66
- default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
67
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
68
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
69
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
70
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
71
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
72
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
73
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
74
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
75
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
76
- false}'
77
- example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
78
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
79
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
80
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
81
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
82
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
83
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
84
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
85
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
86
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
87
- false}'
88
- type: string
89
- responses:
90
- '200':
91
- content:
92
- application/json:
93
- schema:
94
- $ref: '#/components/schemas/FollowResponse'
95
- description: Successful operation
96
- headers:
97
- x-connection-hash:
98
- schema:
99
- type: string
100
- x-rate-limit-limit:
101
- schema:
102
- type: integer
103
- x-rate-limit-remaining:
104
- schema:
105
- type: integer
106
- x-rate-limit-reset:
107
- schema:
108
- type: integer
109
- x-response-time:
110
- schema:
111
- type: integer
112
- x-tfe-preserve-body:
113
- schema:
114
- type: boolean
115
- x-transaction-id:
116
- schema:
117
- type: string
118
- x-twitter-response-tags:
119
- schema:
120
- type: string
121
- tags:
122
- - user-list
123
- /graphql/djdTXDIk2qhd4OStqlUFeQ/Followers:
124
- get:
125
- description: get user list of followers
126
- operationId: getFollowers
127
- parameters:
128
- - in: query
129
- name: queryId
130
- required: true
131
- schema:
132
- default: '"djdTXDIk2qhd4OStqlUFeQ"'
133
- example: '"djdTXDIk2qhd4OStqlUFeQ"'
134
- type: string
135
- - in: query
136
- name: variables
137
- required: true
138
- schema:
139
- default: '{"userId": "44196397", "count": 20, "includePromotedContent":
140
- false}'
141
- example: '{"userId": "44196397", "count": 20, "includePromotedContent":
142
- false}'
143
- type: string
144
- - in: query
145
- name: features
146
- required: true
147
- schema:
148
- default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
149
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
150
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
151
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
152
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
153
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
154
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
155
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
156
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
157
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
158
- false}'
159
- example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
160
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
161
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
162
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
163
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
164
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
165
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
166
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
167
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
168
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
169
- false}'
170
- type: string
171
- responses:
172
- '200':
173
- content:
174
- application/json:
175
- schema:
176
- $ref: '#/components/schemas/FollowResponse'
177
- description: Successful operation
178
- headers:
179
- x-connection-hash:
180
- schema:
181
- type: string
182
- x-rate-limit-limit:
183
- schema:
184
- type: integer
185
- x-rate-limit-remaining:
186
- schema:
187
- type: integer
188
- x-rate-limit-reset:
189
- schema:
190
- type: integer
191
- x-response-time:
192
- schema:
193
- type: integer
194
- x-tfe-preserve-body:
195
- schema:
196
- type: boolean
197
- x-transaction-id:
198
- schema:
199
- type: string
200
- x-twitter-response-tags:
201
- schema:
202
- type: string
203
- tags:
204
- - user-list
@@ -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