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,159 +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: header
72
- name: user-agent
73
- required: true
74
- schema:
75
- default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
76
- like Gecko) Chrome/112.0.0.0 Safari/537.36
77
- description: UserAgent, some APIs may be rejected if changed.
78
- type: string
79
- - in: header
80
- name: authorization
81
- required: true
82
- schema:
83
- default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
84
- description: It is a constant value and does not need to be changed.
85
- type: string
86
- - in: header
87
- name: x-twitter-active-user
88
- required: true
89
- schema:
90
- default: 'yes'
91
- description: Unknown what this value means.
92
- type: string
93
- - in: header
94
- name: x-twitter-client-language
95
- required: true
96
- schema:
97
- default: en
98
- description: language code.
99
- type: string
100
- - in: path
101
- name: pathQueryId
102
- required: true
103
- schema:
104
- default: 9zwVLJ48lmVUk8u_Gh9DmA
105
- example: 9zwVLJ48lmVUk8u_Gh9DmA
106
- type: string
107
- - in: query
108
- name: queryId
109
- required: true
110
- schema:
111
- default: '"9zwVLJ48lmVUk8u_Gh9DmA"'
112
- example: '"9zwVLJ48lmVUk8u_Gh9DmA"'
113
- type: string
114
- - in: query
115
- name: variables
116
- required: true
117
- schema:
118
- default: '{"screen_name": "elonmusk"}'
119
- example: '{"screen_name": "elonmusk"}'
120
- type: string
121
- - in: query
122
- name: features
123
- required: true
124
- schema:
125
- default: '{}'
126
- example: '{}'
127
- type: string
128
- responses:
129
- '200':
130
- content:
131
- application/json:
132
- schema:
133
- $ref: '#/components/schemas/ProfileResponse'
134
- description: Successful operation
135
- headers:
136
- x-connection-hash:
137
- schema:
138
- type: string
139
- x-rate-limit-limit:
140
- schema:
141
- type: integer
142
- x-rate-limit-remaining:
143
- schema:
144
- type: integer
145
- x-rate-limit-reset:
146
- schema:
147
- type: integer
148
- x-response-time:
149
- schema:
150
- type: integer
151
- x-tfe-preserve-body:
152
- schema:
153
- type: boolean
154
- x-transaction-id:
155
- schema:
156
- type: string
157
- x-twitter-response-tags:
158
- schema:
159
- type: string
@@ -1,401 +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: header
56
- name: user-agent
57
- required: true
58
- schema:
59
- default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
60
- like Gecko) Chrome/112.0.0.0 Safari/537.36
61
- description: UserAgent, some APIs may be rejected if changed.
62
- type: string
63
- - in: header
64
- name: authorization
65
- required: true
66
- schema:
67
- default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
68
- description: It is a constant value and does not need to be changed.
69
- type: string
70
- - in: header
71
- name: x-twitter-active-user
72
- required: true
73
- schema:
74
- default: 'yes'
75
- description: Unknown what this value means.
76
- type: string
77
- - in: header
78
- name: x-twitter-client-language
79
- required: true
80
- schema:
81
- default: en
82
- description: language code.
83
- type: string
84
- - in: path
85
- name: pathQueryId
86
- required: true
87
- schema:
88
- default: zhX91JE87mWvfprhYE97xA
89
- example: zhX91JE87mWvfprhYE97xA
90
- type: string
91
- - in: query
92
- name: queryId
93
- required: true
94
- schema:
95
- default: '"zhX91JE87mWvfprhYE97xA"'
96
- example: '"zhX91JE87mWvfprhYE97xA"'
97
- type: string
98
- - in: query
99
- name: variables
100
- required: true
101
- schema:
102
- default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
103
- true, "requestContext": "launch"}'
104
- example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
105
- true, "requestContext": "launch"}'
106
- type: string
107
- - in: query
108
- name: features
109
- required: true
110
- schema:
111
- default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
112
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
113
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
114
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
115
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
116
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
117
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
118
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
119
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
120
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
121
- false}'
122
- example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
123
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
124
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
125
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
126
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
127
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
128
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
129
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
130
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
131
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
132
- false}'
133
- type: string
134
- responses:
135
- '200':
136
- content:
137
- application/json:
138
- schema:
139
- $ref: '#/components/schemas/TimelineResponse'
140
- description: Successful operation
141
- headers:
142
- x-connection-hash:
143
- schema:
144
- type: string
145
- x-rate-limit-limit:
146
- schema:
147
- type: integer
148
- x-rate-limit-remaining:
149
- schema:
150
- type: integer
151
- x-rate-limit-reset:
152
- schema:
153
- type: integer
154
- x-response-time:
155
- schema:
156
- type: integer
157
- x-tfe-preserve-body:
158
- schema:
159
- type: boolean
160
- x-transaction-id:
161
- schema:
162
- type: string
163
- x-twitter-response-tags:
164
- schema:
165
- type: string
166
- tags:
167
- - tweet
168
- /graphql/{pathQueryId}/HomeTimeline:
169
- get:
170
- description: get tweet list of timeline
171
- operationId: getHomeTimeline
172
- parameters:
173
- - in: header
174
- name: user-agent
175
- required: true
176
- schema:
177
- default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
178
- like Gecko) Chrome/112.0.0.0 Safari/537.36
179
- description: UserAgent, some APIs may be rejected if changed.
180
- type: string
181
- - in: header
182
- name: authorization
183
- required: true
184
- schema:
185
- default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
186
- description: It is a constant value and does not need to be changed.
187
- type: string
188
- - in: header
189
- name: x-twitter-active-user
190
- required: true
191
- schema:
192
- default: 'yes'
193
- description: Unknown what this value means.
194
- type: string
195
- - in: header
196
- name: x-twitter-client-language
197
- required: true
198
- schema:
199
- default: en
200
- description: language code.
201
- type: string
202
- - in: path
203
- name: pathQueryId
204
- required: true
205
- schema:
206
- default: HCosKfLNW1AcOo3la3mMgg
207
- example: HCosKfLNW1AcOo3la3mMgg
208
- type: string
209
- - in: query
210
- name: queryId
211
- required: true
212
- schema:
213
- default: '"HCosKfLNW1AcOo3la3mMgg"'
214
- example: '"HCosKfLNW1AcOo3la3mMgg"'
215
- type: string
216
- - in: query
217
- name: variables
218
- required: true
219
- schema:
220
- default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
221
- true, "requestContext": "launch", "withCommunity": true}'
222
- example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
223
- true, "requestContext": "launch", "withCommunity": true}'
224
- type: string
225
- - in: query
226
- name: features
227
- required: true
228
- schema:
229
- default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
230
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
231
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
232
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
233
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
234
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
235
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
236
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
237
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
238
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
239
- false}'
240
- example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
241
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
242
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
243
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
244
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
245
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
246
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
247
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
248
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
249
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
250
- false}'
251
- type: string
252
- responses:
253
- '200':
254
- content:
255
- application/json:
256
- schema:
257
- $ref: '#/components/schemas/TimelineResponse'
258
- description: Successful operation
259
- headers:
260
- x-connection-hash:
261
- schema:
262
- type: string
263
- x-rate-limit-limit:
264
- schema:
265
- type: integer
266
- x-rate-limit-remaining:
267
- schema:
268
- type: integer
269
- x-rate-limit-reset:
270
- schema:
271
- type: integer
272
- x-response-time:
273
- schema:
274
- type: integer
275
- x-tfe-preserve-body:
276
- schema:
277
- type: boolean
278
- x-transaction-id:
279
- schema:
280
- type: string
281
- x-twitter-response-tags:
282
- schema:
283
- type: string
284
- tags:
285
- - tweet
286
- /graphql/{pathQueryId}/ListLatestTweetsTimeline:
287
- get:
288
- description: get tweet list of timeline
289
- operationId: getListLatestTweetsTimeline
290
- parameters:
291
- - in: header
292
- name: user-agent
293
- required: true
294
- schema:
295
- default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
296
- like Gecko) Chrome/112.0.0.0 Safari/537.36
297
- description: UserAgent, some APIs may be rejected if changed.
298
- type: string
299
- - in: header
300
- name: authorization
301
- required: true
302
- schema:
303
- default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
304
- description: It is a constant value and does not need to be changed.
305
- type: string
306
- - in: header
307
- name: x-twitter-active-user
308
- required: true
309
- schema:
310
- default: 'yes'
311
- description: Unknown what this value means.
312
- type: string
313
- - in: header
314
- name: x-twitter-client-language
315
- required: true
316
- schema:
317
- default: en
318
- description: language code.
319
- type: string
320
- - in: path
321
- name: pathQueryId
322
- required: true
323
- schema:
324
- default: 2TemLyqrMpTeAmysdbnVqw
325
- example: 2TemLyqrMpTeAmysdbnVqw
326
- type: string
327
- - in: query
328
- name: queryId
329
- required: true
330
- schema:
331
- default: '"2TemLyqrMpTeAmysdbnVqw"'
332
- example: '"2TemLyqrMpTeAmysdbnVqw"'
333
- type: string
334
- - in: query
335
- name: variables
336
- required: true
337
- schema:
338
- default: '{"listId": "53044119", "count": 20}'
339
- example: '{"listId": "53044119", "count": 20}'
340
- type: string
341
- - in: query
342
- name: features
343
- required: true
344
- schema:
345
- default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
346
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
347
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
348
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
349
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
350
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
351
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
352
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
353
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
354
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
355
- false}'
356
- example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
357
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
358
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
359
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
360
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
361
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
362
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
363
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
364
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
365
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
366
- false}'
367
- type: string
368
- responses:
369
- '200':
370
- content:
371
- application/json:
372
- schema:
373
- $ref: '#/components/schemas/ListTweetsTimelineResponse'
374
- description: Successful operation
375
- headers:
376
- x-connection-hash:
377
- schema:
378
- type: string
379
- x-rate-limit-limit:
380
- schema:
381
- type: integer
382
- x-rate-limit-remaining:
383
- schema:
384
- type: integer
385
- x-rate-limit-reset:
386
- schema:
387
- type: integer
388
- x-response-time:
389
- schema:
390
- type: integer
391
- x-tfe-preserve-body:
392
- schema:
393
- type: boolean
394
- x-transaction-id:
395
- schema:
396
- type: string
397
- x-twitter-response-tags:
398
- schema:
399
- type: string
400
- tags:
401
- - tweet