twitter-openapi-typescript-generated 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/README.md +2 -2
  3. package/dist/apis/DefaultApi.d.ts +0 -1
  4. package/dist/apis/DefaultApi.d.ts.map +1 -1
  5. package/dist/apis/DefaultApi.js +0 -6
  6. package/dist/apis/DefaultApi.js.map +1 -1
  7. package/dist/apis/TweetApi.d.ts +0 -9
  8. package/dist/apis/TweetApi.d.ts.map +1 -1
  9. package/dist/apis/TweetApi.js +0 -54
  10. package/dist/apis/TweetApi.js.map +1 -1
  11. package/dist/apis/UserApi.d.ts +0 -1
  12. package/dist/apis/UserApi.d.ts.map +1 -1
  13. package/dist/apis/UserApi.js +0 -6
  14. package/dist/apis/UserApi.js.map +1 -1
  15. package/dist/apis/UserListApi.d.ts +0 -2
  16. package/dist/apis/UserListApi.d.ts.map +1 -1
  17. package/dist/apis/UserListApi.js +0 -12
  18. package/dist/apis/UserListApi.js.map +1 -1
  19. package/dist/models/TweetLegacy.d.ts +7 -0
  20. package/dist/models/TweetLegacy.d.ts.map +1 -1
  21. package/dist/models/TweetLegacy.js +3 -0
  22. package/dist/models/TweetLegacy.js.map +1 -1
  23. package/dist/models/TweetLegacySelfThread.d.ts +32 -0
  24. package/dist/models/TweetLegacySelfThread.d.ts.map +1 -0
  25. package/dist/models/TweetLegacySelfThread.js +51 -0
  26. package/dist/models/TweetLegacySelfThread.js.map +1 -0
  27. package/dist/models/index.d.ts +1 -0
  28. package/dist/models/index.d.ts.map +1 -1
  29. package/dist/models/index.js +1 -0
  30. package/dist/models/index.js.map +1 -1
  31. package/package.json +1 -1
  32. package/src/apis/DefaultApi.ts +0 -9
  33. package/src/apis/TweetApi.ts +0 -81
  34. package/src/apis/UserApi.ts +0 -9
  35. package/src/apis/UserListApi.ts +0 -18
  36. package/src/models/TweetLegacy.ts +14 -0
  37. package/src/models/TweetLegacySelfThread.ts +66 -0
  38. package/src/models/index.ts +1 -0
  39. package/tools/openapi-generator-config.yaml +2 -2
  40. package/twitter-openapi/dist/{typescript → compatible}/paths/bookmarks.yaml +0 -7
  41. package/twitter-openapi/dist/{test → compatible}/paths/follow.yaml +0 -14
  42. package/twitter-openapi/dist/{test → compatible}/paths/profile.yaml +0 -7
  43. package/twitter-openapi/dist/{test → compatible}/paths/timeline.yaml +0 -21
  44. package/twitter-openapi/dist/{test → compatible}/paths/tweet.yaml +0 -7
  45. package/twitter-openapi/dist/{test → compatible}/paths/user.yaml +0 -7
  46. package/twitter-openapi/dist/{typescript → compatible}/paths/usertweets.yaml +0 -28
  47. package/twitter-openapi/dist/{dart → compatible}/schemas/tweet.yaml +8 -0
  48. package/twitter-openapi/dist/docs/paths/bookmarks.yaml +0 -56
  49. package/twitter-openapi/dist/docs/paths/follow.yaml +0 -112
  50. package/twitter-openapi/dist/docs/paths/profile.yaml +0 -35
  51. package/twitter-openapi/dist/docs/paths/timeline.yaml +0 -170
  52. package/twitter-openapi/dist/docs/paths/tweet.yaml +0 -61
  53. package/twitter-openapi/dist/docs/paths/user.yaml +0 -41
  54. package/twitter-openapi/dist/docs/paths/usertweets.yaml +0 -238
  55. package/twitter-openapi/dist/docs/schemas/tweet.yaml +8 -0
  56. package/twitter-openapi/src/openapi/schemas/tweet.yaml +8 -0
  57. package/twitter-openapi/tools/__pycache__/build_config.cpython-310.pyc +0 -0
  58. package/twitter-openapi/tools/__pycache__/hooks.cpython-310.pyc +0 -0
  59. package/twitter-openapi/tools/build_config.py +67 -190
  60. package/twitter-openapi/tools/hooks.py +28 -7
  61. package/twitter-openapi/dist/dart/openapi-3.0.yaml +0 -117
  62. package/twitter-openapi/dist/dart/paths/bookmarks.yaml +0 -141
  63. package/twitter-openapi/dist/dart/paths/follow.yaml +0 -276
  64. package/twitter-openapi/dist/dart/paths/post.yaml +0 -876
  65. package/twitter-openapi/dist/dart/paths/profile.yaml +0 -159
  66. package/twitter-openapi/dist/dart/paths/timeline.yaml +0 -401
  67. package/twitter-openapi/dist/dart/paths/tweet.yaml +0 -141
  68. package/twitter-openapi/dist/dart/paths/user.yaml +0 -119
  69. package/twitter-openapi/dist/dart/paths/usertweets.yaml +0 -512
  70. package/twitter-openapi/dist/dart/paths/v1.1-get.yaml +0 -300
  71. package/twitter-openapi/dist/dart/paths/v1.1-post.yaml +0 -295
  72. package/twitter-openapi/dist/dart/paths/v2.0-get.yaml +0 -331
  73. package/twitter-openapi/dist/test/paths/bookmarks.yaml +0 -112
  74. package/twitter-openapi/dist/test/paths/other.yaml +0 -96
  75. package/twitter-openapi/dist/test/paths/post.yaml +0 -527
  76. package/twitter-openapi/dist/test/paths/usertweets.yaml +0 -396
  77. package/twitter-openapi/dist/test/paths/v1.1-get.yaml +0 -242
  78. package/twitter-openapi/dist/test/paths/v1.1-post.yaml +0 -277
  79. package/twitter-openapi/dist/test/paths/v2.0-get.yaml +0 -302
  80. package/twitter-openapi/dist/test/resources/parameters.yaml +0 -13
  81. package/twitter-openapi/dist/test/response/error.yaml +0 -90
  82. package/twitter-openapi/dist/test/schemas/content.yaml +0 -181
  83. package/twitter-openapi/dist/test/schemas/general.yaml +0 -13
  84. package/twitter-openapi/dist/test/schemas/instruction.yaml +0 -83
  85. package/twitter-openapi/dist/test/schemas/timeline.yaml +0 -25
  86. package/twitter-openapi/dist/test/schemas/tweet.yaml +0 -308
  87. package/twitter-openapi/dist/test/schemas/typename.yaml +0 -19
  88. package/twitter-openapi/dist/test/schemas/user.yaml +0 -206
  89. package/twitter-openapi/dist/typescript/openapi-3.0.yaml +0 -141
  90. package/twitter-openapi/dist/typescript/paths/follow.yaml +0 -218
  91. package/twitter-openapi/dist/typescript/paths/other.yaml +0 -96
  92. package/twitter-openapi/dist/typescript/paths/profile.yaml +0 -130
  93. package/twitter-openapi/dist/typescript/paths/timeline.yaml +0 -314
  94. package/twitter-openapi/dist/typescript/paths/tweet.yaml +0 -112
  95. package/twitter-openapi/dist/typescript/paths/user.yaml +0 -90
  96. package/twitter-openapi/dist/typescript/resources/parameters.yaml +0 -13
  97. package/twitter-openapi/dist/typescript/response/error.yaml +0 -90
  98. package/twitter-openapi/dist/typescript/schemas/content.yaml +0 -181
  99. package/twitter-openapi/dist/typescript/schemas/general.yaml +0 -13
  100. package/twitter-openapi/dist/typescript/schemas/instruction.yaml +0 -83
  101. package/twitter-openapi/dist/typescript/schemas/timeline.yaml +0 -25
  102. package/twitter-openapi/dist/typescript/schemas/tweet.yaml +0 -308
  103. package/twitter-openapi/dist/typescript/schemas/typename.yaml +0 -19
  104. package/twitter-openapi/dist/typescript/schemas/user.yaml +0 -206
  105. /package/twitter-openapi/dist/{test → compatible}/openapi-3.0.yaml +0 -0
  106. /package/twitter-openapi/dist/{dart → compatible}/paths/other.yaml +0 -0
  107. /package/twitter-openapi/dist/{typescript → compatible}/paths/post.yaml +0 -0
  108. /package/twitter-openapi/dist/{typescript → compatible}/paths/v1.1-get.yaml +0 -0
  109. /package/twitter-openapi/dist/{typescript → compatible}/paths/v1.1-post.yaml +0 -0
  110. /package/twitter-openapi/dist/{typescript → compatible}/paths/v2.0-get.yaml +0 -0
  111. /package/twitter-openapi/dist/{dart → compatible}/resources/parameters.yaml +0 -0
  112. /package/twitter-openapi/dist/{dart → compatible}/response/error.yaml +0 -0
  113. /package/twitter-openapi/dist/{dart → compatible}/schemas/content.yaml +0 -0
  114. /package/twitter-openapi/dist/{dart → compatible}/schemas/general.yaml +0 -0
  115. /package/twitter-openapi/dist/{dart → compatible}/schemas/instruction.yaml +0 -0
  116. /package/twitter-openapi/dist/{dart → compatible}/schemas/timeline.yaml +0 -0
  117. /package/twitter-openapi/dist/{dart → compatible}/schemas/typename.yaml +0 -0
  118. /package/twitter-openapi/dist/{dart → compatible}/schemas/user.yaml +0 -0
@@ -1,130 +0,0 @@
1
- components:
2
- schemas:
3
- ProfileResponse:
4
- properties:
5
- data:
6
- $ref: '#/components/schemas/ProfileResponseData'
7
- required:
8
- - data
9
- ProfileResponseData:
10
- properties:
11
- user_result_by_screen_name:
12
- $ref: '#/components/schemas/UserResultByScreenName'
13
- required:
14
- - user_result_by_screen_name
15
- UserResultByScreenName:
16
- properties:
17
- id:
18
- pattern: ^[0-9a-zA-Z]+$
19
- type: string
20
- result:
21
- $ref: '#/components/schemas/UserResultByScreenNameResult'
22
- required:
23
- - id
24
- - result
25
- UserResultByScreenNameLegacy:
26
- properties:
27
- blocked_by:
28
- type: boolean
29
- blocking:
30
- type: boolean
31
- followed_by:
32
- type: boolean
33
- following:
34
- type: boolean
35
- name:
36
- type: string
37
- protected:
38
- type: boolean
39
- screen_name:
40
- type: string
41
- UserResultByScreenNameResult:
42
- properties:
43
- __typename:
44
- $ref: ./../schemas/typename.yaml#/components/schemas/TypeName
45
- id:
46
- pattern: ^[0-9a-zA-Z=]+$
47
- type: string
48
- legacy:
49
- $ref: '#/components/schemas/UserResultByScreenNameLegacy'
50
- profilemodules:
51
- type: object
52
- rest_id:
53
- pattern: ^[0-9]+$
54
- type: string
55
- required:
56
- - __typename
57
- - id
58
- - legacy
59
- - profilemodules
60
- - rest_id
61
- info:
62
- title: Twitter OpenAPI
63
- version: 0.0.1
64
- openapi: 3.0.3
65
- paths:
66
- /graphql/{pathQueryId}/ProfileSpotlightsQuery:
67
- get:
68
- description: get user by screen name
69
- operationId: getProfileSpotlightsQuery
70
- parameters:
71
- - in: path
72
- name: pathQueryId
73
- required: true
74
- schema:
75
- default: 9zwVLJ48lmVUk8u_Gh9DmA
76
- example: 9zwVLJ48lmVUk8u_Gh9DmA
77
- type: string
78
- - in: query
79
- name: queryId
80
- required: true
81
- schema:
82
- default: '"9zwVLJ48lmVUk8u_Gh9DmA"'
83
- example: '"9zwVLJ48lmVUk8u_Gh9DmA"'
84
- type: string
85
- - in: query
86
- name: variables
87
- required: true
88
- schema:
89
- default: '{"screen_name": "elonmusk"}'
90
- example: '{"screen_name": "elonmusk"}'
91
- type: string
92
- - in: query
93
- name: features
94
- required: true
95
- schema:
96
- default: '{}'
97
- example: '{}'
98
- type: string
99
- responses:
100
- '200':
101
- content:
102
- application/json:
103
- schema:
104
- $ref: '#/components/schemas/ProfileResponse'
105
- description: Successful operation
106
- headers:
107
- x-connection-hash:
108
- schema:
109
- type: string
110
- x-rate-limit-limit:
111
- schema:
112
- type: integer
113
- x-rate-limit-remaining:
114
- schema:
115
- type: integer
116
- x-rate-limit-reset:
117
- schema:
118
- type: integer
119
- x-response-time:
120
- schema:
121
- type: integer
122
- x-tfe-preserve-body:
123
- schema:
124
- type: boolean
125
- x-transaction-id:
126
- schema:
127
- type: string
128
- x-twitter-response-tags:
129
- schema:
130
- type: string
@@ -1,314 +0,0 @@
1
- components:
2
- schemas:
3
- HomeTimelineHome:
4
- properties:
5
- home_timeline_urt:
6
- $ref: ./../schemas/timeline.yaml#/components/schemas/Timeline
7
- required:
8
- - home_timeline_urt
9
- HomeTimelineResponseData:
10
- properties:
11
- home:
12
- $ref: '#/components/schemas/HomeTimelineHome'
13
- required:
14
- - home
15
- ListTweetsTimeline:
16
- properties:
17
- timeline:
18
- $ref: ./../schemas/timeline.yaml#/components/schemas/Timeline
19
- required:
20
- - timeline
21
- ListTweetsTimelineData:
22
- properties:
23
- list:
24
- $ref: '#/components/schemas/ListTweetsTimelineList'
25
- required:
26
- - list
27
- ListTweetsTimelineList:
28
- properties:
29
- tweets_timeline:
30
- $ref: '#/components/schemas/ListTweetsTimeline'
31
- required:
32
- - tweets_timeline
33
- ListTweetsTimelineResponse:
34
- properties:
35
- data:
36
- $ref: '#/components/schemas/ListTweetsTimelineData'
37
- required:
38
- - data
39
- TimelineResponse:
40
- properties:
41
- data:
42
- $ref: '#/components/schemas/HomeTimelineResponseData'
43
- required:
44
- - data
45
- info:
46
- title: Twitter OpenAPI
47
- version: 0.0.1
48
- openapi: 3.0.3
49
- paths:
50
- /graphql/{pathQueryId}/HomeLatestTimeline:
51
- get:
52
- description: get tweet list of timeline
53
- operationId: getHomeLatestTimeline
54
- parameters:
55
- - in: path
56
- name: pathQueryId
57
- required: true
58
- schema:
59
- default: zhX91JE87mWvfprhYE97xA
60
- example: zhX91JE87mWvfprhYE97xA
61
- type: string
62
- - in: query
63
- name: queryId
64
- required: true
65
- schema:
66
- default: '"zhX91JE87mWvfprhYE97xA"'
67
- example: '"zhX91JE87mWvfprhYE97xA"'
68
- type: string
69
- - in: query
70
- name: variables
71
- required: true
72
- schema:
73
- default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
74
- true, "requestContext": "launch"}'
75
- example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
76
- true, "requestContext": "launch"}'
77
- type: string
78
- - in: query
79
- name: features
80
- required: true
81
- schema:
82
- default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
83
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
84
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
85
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
86
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
87
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
88
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
89
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
90
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
91
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
92
- false}'
93
- example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
94
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
95
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
96
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
97
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
98
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
99
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
100
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
101
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
102
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
103
- false}'
104
- type: string
105
- responses:
106
- '200':
107
- content:
108
- application/json:
109
- schema:
110
- $ref: '#/components/schemas/TimelineResponse'
111
- description: Successful operation
112
- headers:
113
- x-connection-hash:
114
- schema:
115
- type: string
116
- x-rate-limit-limit:
117
- schema:
118
- type: integer
119
- x-rate-limit-remaining:
120
- schema:
121
- type: integer
122
- x-rate-limit-reset:
123
- schema:
124
- type: integer
125
- x-response-time:
126
- schema:
127
- type: integer
128
- x-tfe-preserve-body:
129
- schema:
130
- type: boolean
131
- x-transaction-id:
132
- schema:
133
- type: string
134
- x-twitter-response-tags:
135
- schema:
136
- type: string
137
- tags:
138
- - tweet
139
- /graphql/{pathQueryId}/HomeTimeline:
140
- get:
141
- description: get tweet list of timeline
142
- operationId: getHomeTimeline
143
- parameters:
144
- - in: path
145
- name: pathQueryId
146
- required: true
147
- schema:
148
- default: HCosKfLNW1AcOo3la3mMgg
149
- example: HCosKfLNW1AcOo3la3mMgg
150
- type: string
151
- - in: query
152
- name: queryId
153
- required: true
154
- schema:
155
- default: '"HCosKfLNW1AcOo3la3mMgg"'
156
- example: '"HCosKfLNW1AcOo3la3mMgg"'
157
- type: string
158
- - in: query
159
- name: variables
160
- required: true
161
- schema:
162
- default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
163
- true, "requestContext": "launch", "withCommunity": true}'
164
- example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
165
- true, "requestContext": "launch", "withCommunity": true}'
166
- type: string
167
- - in: query
168
- name: features
169
- required: true
170
- schema:
171
- default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
172
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
173
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
174
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
175
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
176
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
177
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
178
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
179
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
180
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
181
- false}'
182
- example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
183
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
184
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
185
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
186
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
187
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
188
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
189
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
190
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
191
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
192
- false}'
193
- type: string
194
- responses:
195
- '200':
196
- content:
197
- application/json:
198
- schema:
199
- $ref: '#/components/schemas/TimelineResponse'
200
- description: Successful operation
201
- headers:
202
- x-connection-hash:
203
- schema:
204
- type: string
205
- x-rate-limit-limit:
206
- schema:
207
- type: integer
208
- x-rate-limit-remaining:
209
- schema:
210
- type: integer
211
- x-rate-limit-reset:
212
- schema:
213
- type: integer
214
- x-response-time:
215
- schema:
216
- type: integer
217
- x-tfe-preserve-body:
218
- schema:
219
- type: boolean
220
- x-transaction-id:
221
- schema:
222
- type: string
223
- x-twitter-response-tags:
224
- schema:
225
- type: string
226
- tags:
227
- - tweet
228
- /graphql/{pathQueryId}/ListLatestTweetsTimeline:
229
- get:
230
- description: get tweet list of timeline
231
- operationId: getListLatestTweetsTimeline
232
- parameters:
233
- - in: path
234
- name: pathQueryId
235
- required: true
236
- schema:
237
- default: 2TemLyqrMpTeAmysdbnVqw
238
- example: 2TemLyqrMpTeAmysdbnVqw
239
- type: string
240
- - in: query
241
- name: queryId
242
- required: true
243
- schema:
244
- default: '"2TemLyqrMpTeAmysdbnVqw"'
245
- example: '"2TemLyqrMpTeAmysdbnVqw"'
246
- type: string
247
- - in: query
248
- name: variables
249
- required: true
250
- schema:
251
- default: '{"listId": "53044119", "count": 20}'
252
- example: '{"listId": "53044119", "count": 20}'
253
- type: string
254
- - in: query
255
- name: features
256
- required: true
257
- schema:
258
- default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
259
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
260
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
261
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
262
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
263
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
264
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
265
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
266
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
267
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
268
- false}'
269
- example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
270
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
271
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
272
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
273
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
274
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
275
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
276
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
277
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
278
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
279
- false}'
280
- type: string
281
- responses:
282
- '200':
283
- content:
284
- application/json:
285
- schema:
286
- $ref: '#/components/schemas/ListTweetsTimelineResponse'
287
- description: Successful operation
288
- headers:
289
- x-connection-hash:
290
- schema:
291
- type: string
292
- x-rate-limit-limit:
293
- schema:
294
- type: integer
295
- x-rate-limit-remaining:
296
- schema:
297
- type: integer
298
- x-rate-limit-reset:
299
- schema:
300
- type: integer
301
- x-response-time:
302
- schema:
303
- type: integer
304
- x-tfe-preserve-body:
305
- schema:
306
- type: boolean
307
- x-transaction-id:
308
- schema:
309
- type: string
310
- x-twitter-response-tags:
311
- schema:
312
- type: string
313
- tags:
314
- - tweet
@@ -1,112 +0,0 @@
1
- components:
2
- schemas:
3
- TweetDetailResponse:
4
- properties:
5
- data:
6
- $ref: '#/components/schemas/TweetDetailResponseData'
7
- required:
8
- - data
9
- TweetDetailResponseData:
10
- properties:
11
- threaded_conversation_with_injections_v2:
12
- $ref: ./../schemas/timeline.yaml#/components/schemas/Timeline
13
- required:
14
- - threaded_conversation_with_injections_v2
15
- info:
16
- title: Twitter OpenAPI
17
- version: 0.0.1
18
- openapi: 3.0.3
19
- paths:
20
- /graphql/{pathQueryId}/TweetDetail:
21
- get:
22
- description: get TweetDetail
23
- operationId: getTweetDetail
24
- parameters:
25
- - in: path
26
- name: pathQueryId
27
- required: true
28
- schema:
29
- default: wNNG8DBB8EaXw1lq4vFWGA
30
- example: wNNG8DBB8EaXw1lq4vFWGA
31
- type: string
32
- - in: query
33
- name: queryId
34
- required: true
35
- schema:
36
- default: '"wNNG8DBB8EaXw1lq4vFWGA"'
37
- example: '"wNNG8DBB8EaXw1lq4vFWGA"'
38
- type: string
39
- - in: query
40
- name: variables
41
- required: true
42
- schema:
43
- default: '{"focalTweetId": "1349129669258448897", "with_rux_injections":
44
- false, "includePromotedContent": true, "withCommunity": true, "withQuickPromoteEligibilityTweetFields":
45
- true, "withBirdwatchNotes": true, "withVoice": true, "withV2Timeline":
46
- true}'
47
- example: '{"focalTweetId": "1349129669258448897", "with_rux_injections":
48
- false, "includePromotedContent": true, "withCommunity": true, "withQuickPromoteEligibilityTweetFields":
49
- true, "withBirdwatchNotes": true, "withVoice": true, "withV2Timeline":
50
- true}'
51
- type: string
52
- - in: query
53
- name: features
54
- required: true
55
- schema:
56
- default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
57
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
58
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
59
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
60
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
61
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
62
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
63
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
64
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
65
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
66
- false}'
67
- example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
68
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
69
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
70
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
71
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
72
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
73
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
74
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
75
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
76
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
77
- false}'
78
- type: string
79
- responses:
80
- '200':
81
- content:
82
- application/json:
83
- schema:
84
- $ref: '#/components/schemas/TweetDetailResponse'
85
- description: Successful operation
86
- headers:
87
- x-connection-hash:
88
- schema:
89
- type: string
90
- x-rate-limit-limit:
91
- schema:
92
- type: integer
93
- x-rate-limit-remaining:
94
- schema:
95
- type: integer
96
- x-rate-limit-reset:
97
- schema:
98
- type: integer
99
- x-response-time:
100
- schema:
101
- type: integer
102
- x-tfe-preserve-body:
103
- schema:
104
- type: boolean
105
- x-transaction-id:
106
- schema:
107
- type: string
108
- x-twitter-response-tags:
109
- schema:
110
- type: string
111
- tags:
112
- - tweet
@@ -1,90 +0,0 @@
1
- components:
2
- schemas:
3
- UserResponse:
4
- properties:
5
- data:
6
- $ref: '#/components/schemas/UserResponseData'
7
- required:
8
- - data
9
- UserResponseData:
10
- properties:
11
- user:
12
- $ref: ./../schemas/user.yaml#/components/schemas/UserResults
13
- required:
14
- - user
15
- info:
16
- title: Twitter OpenAPI
17
- version: 0.0.1
18
- openapi: 3.0.3
19
- paths:
20
- /graphql/{pathQueryId}/UserByScreenName:
21
- get:
22
- description: get user by screen name
23
- operationId: getUserByScreenName
24
- parameters:
25
- - in: path
26
- name: pathQueryId
27
- required: true
28
- schema:
29
- default: sLVLhk0bGj3MVFEKTdax1w
30
- example: sLVLhk0bGj3MVFEKTdax1w
31
- type: string
32
- - in: query
33
- name: queryId
34
- required: true
35
- schema:
36
- default: '"sLVLhk0bGj3MVFEKTdax1w"'
37
- example: '"sLVLhk0bGj3MVFEKTdax1w"'
38
- type: string
39
- - in: query
40
- name: variables
41
- required: true
42
- schema:
43
- default: '{"screen_name": "elonmusk", "withSafetyModeUserFields": true}'
44
- example: '{"screen_name": "elonmusk", "withSafetyModeUserFields": true}'
45
- type: string
46
- - in: query
47
- name: features
48
- required: true
49
- schema:
50
- default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
51
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
52
- false, "responsive_web_graphql_timeline_navigation_enabled": true}'
53
- example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
54
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
55
- false, "responsive_web_graphql_timeline_navigation_enabled": true}'
56
- type: string
57
- responses:
58
- '200':
59
- content:
60
- application/json:
61
- schema:
62
- $ref: '#/components/schemas/UserResponse'
63
- description: Successful operation
64
- headers:
65
- x-connection-hash:
66
- schema:
67
- type: string
68
- x-rate-limit-limit:
69
- schema:
70
- type: integer
71
- x-rate-limit-remaining:
72
- schema:
73
- type: integer
74
- x-rate-limit-reset:
75
- schema:
76
- type: integer
77
- x-response-time:
78
- schema:
79
- type: integer
80
- x-tfe-preserve-body:
81
- schema:
82
- type: boolean
83
- x-transaction-id:
84
- schema:
85
- type: string
86
- x-twitter-response-tags:
87
- schema:
88
- type: string
89
- tags:
90
- - user
@@ -1,13 +0,0 @@
1
- components:
2
- parameters:
3
- queryId:
4
- in: path
5
- name: queryId
6
- required: true
7
- schema:
8
- type: string
9
- info:
10
- title: Twitter OpenAPI
11
- version: 0.0.1
12
- openapi: 3.0.3
13
- paths: {}