twitter-openapi-typescript-generated 0.0.11 → 0.0.12
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 +5 -0
- package/LICENSE +31 -31
- package/LICENSE.AGPL +660 -660
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts.map +1 -1
- package/dist/apis/DefaultApi.js +86 -18
- package/dist/apis/DefaultApi.js.map +1 -1
- package/dist/apis/OtherApi.d.ts.map +1 -1
- package/dist/apis/OtherApi.js +43 -9
- package/dist/apis/OtherApi.js.map +1 -1
- package/dist/apis/PostApi.d.ts.map +1 -1
- package/dist/apis/PostApi.js +264 -60
- package/dist/apis/PostApi.js.map +1 -1
- package/dist/apis/TweetApi.d.ts +1 -2
- package/dist/apis/TweetApi.d.ts.map +1 -1
- package/dist/apis/TweetApi.js +479 -111
- 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 +92 -18
- package/dist/apis/UserApi.js.map +1 -1
- package/dist/apis/UserListApi.d.ts +0 -1
- package/dist/apis/UserListApi.d.ts.map +1 -1
- package/dist/apis/UserListApi.js +215 -51
- package/dist/apis/UserListApi.js.map +1 -1
- package/dist/apis/UsersApi.d.ts.map +1 -1
- package/dist/apis/UsersApi.js +43 -9
- package/dist/apis/UsersApi.js.map +1 -1
- package/dist/apis/V11GetApi.d.ts.map +1 -1
- package/dist/apis/V11GetApi.js +86 -18
- package/dist/apis/V11GetApi.js.map +1 -1
- package/dist/apis/V11PostApi.d.ts.map +1 -1
- package/dist/apis/V11PostApi.js +72 -6
- package/dist/apis/V11PostApi.js.map +1 -1
- package/dist/apis/V20GetApi.d.ts.map +1 -1
- package/dist/apis/V20GetApi.js +43 -9
- package/dist/apis/V20GetApi.js.map +1 -1
- package/dist/models/CoverCta.d.ts +1 -1
- package/dist/models/CoverCta.d.ts.map +1 -1
- package/dist/models/CoverCta.js +1 -2
- package/dist/models/CoverCta.js.map +1 -1
- package/dist/models/DeleteRetweet.d.ts +33 -0
- package/dist/models/DeleteRetweet.d.ts.map +1 -0
- package/dist/models/DeleteRetweet.js +52 -0
- package/dist/models/DeleteRetweet.js.map +1 -0
- package/dist/models/DeleteRetweetResponseResult.d.ts +33 -0
- package/dist/models/DeleteRetweetResponseResult.d.ts.map +1 -0
- package/dist/models/DeleteRetweetResponseResult.js +52 -0
- package/dist/models/DeleteRetweetResponseResult.js.map +1 -0
- package/dist/models/ErrorResponse.d.ts +33 -0
- package/dist/models/ErrorResponse.d.ts.map +1 -0
- package/dist/models/ErrorResponse.js +52 -0
- package/dist/models/ErrorResponse.js.map +1 -0
- package/dist/models/Extensions.d.ts +57 -0
- package/dist/models/Extensions.d.ts.map +1 -0
- package/dist/models/Extensions.js +64 -0
- package/dist/models/Extensions.js.map +1 -0
- package/dist/models/ListTweetsTimeline.d.ts +1 -1
- package/dist/models/ListTweetsTimeline.d.ts.map +1 -1
- package/dist/models/ListTweetsTimeline.js +2 -2
- package/dist/models/ListTweetsTimeline.js.map +1 -1
- package/dist/models/MediaExtended.d.ts +1 -1
- package/dist/models/MediaExtended.d.ts.map +1 -1
- package/dist/models/MediaExtended.js +1 -2
- package/dist/models/MediaExtended.js.map +1 -1
- package/dist/models/PostCreateTweetRequestFeatures.d.ts +9 -15
- package/dist/models/PostCreateTweetRequestFeatures.d.ts.map +1 -1
- package/dist/models/PostCreateTweetRequestFeatures.js +9 -12
- package/dist/models/PostCreateTweetRequestFeatures.js.map +1 -1
- package/dist/models/PostCreateTweetRequestVariablesMedia.d.ts +3 -2
- package/dist/models/PostCreateTweetRequestVariablesMedia.d.ts.map +1 -1
- package/dist/models/PostCreateTweetRequestVariablesMedia.js +3 -2
- package/dist/models/PostCreateTweetRequestVariablesMedia.js.map +1 -1
- package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.d.ts +38 -0
- package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.d.ts.map +1 -0
- package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.js +54 -0
- package/dist/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.js.map +1 -0
- package/dist/models/UserResults.d.ts +1 -1
- package/dist/models/UserResults.d.ts.map +1 -1
- package/dist/models/UserResults.js +2 -2
- package/dist/models/UserResults.js.map +1 -1
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +5 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +94 -6
- package/src/apis/OtherApi.ts +47 -3
- package/src/apis/PostApi.ts +282 -18
- package/src/apis/TweetApi.ts +526 -51
- package/src/apis/UserApi.ts +103 -6
- package/src/apis/UserListApi.ts +235 -24
- package/src/apis/UsersApi.ts +47 -3
- package/src/apis/V11GetApi.ts +94 -6
- package/src/apis/V11PostApi.ts +94 -6
- package/src/apis/V20GetApi.ts +47 -3
- package/src/models/CoverCta.ts +2 -3
- package/src/models/DeleteRetweet.ts +73 -0
- package/src/models/DeleteRetweetResponseResult.ts +72 -0
- package/src/models/ErrorResponse.ts +73 -0
- package/src/models/Extensions.ts +109 -0
- package/src/models/ListTweetsTimeline.ts +2 -3
- package/src/models/MediaExtended.ts +2 -3
- package/src/models/PostCreateTweetRequestFeatures.ts +18 -27
- package/src/models/PostCreateTweetRequestVariablesMedia.ts +11 -4
- package/src/models/PostCreateTweetRequestVariablesMediaMediaEntitiesInner.ts +75 -0
- package/src/models/UserResults.ts +2 -3
- package/src/models/index.ts +5 -0
- package/tools/openapi-generator-config.yaml +1 -1
- package/twitter-openapi/.vscode/launch.json +8 -0
- package/twitter-openapi/dist/compatible/openapi-3.0.yaml +5017 -34
- package/twitter-openapi/dist/docs/openapi-3.0.yaml +6815 -34
- package/twitter-openapi/src/config/component/security_schemes.yaml +148 -0
- package/twitter-openapi/src/config/placeholder.json +145 -112
- package/twitter-openapi/src/openapi/paths/timeline.yaml +0 -2
- package/twitter-openapi/src/openapi/schemas/content.yaml +0 -1
- package/twitter-openapi/src/openapi/schemas/general.yaml +2 -2
- package/twitter-openapi/src/openapi/schemas/instruction.yaml +0 -1
- package/twitter-openapi/src/openapi/schemas/tweet.yaml +1 -1
- package/twitter-openapi/src/openapi/schemas/user.yaml +0 -2
- 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.py +35 -31
- package/twitter-openapi/tools/build_config.py +7 -10
- package/twitter-openapi/dist/compatible/paths/bookmarks.yaml +0 -107
- package/twitter-openapi/dist/compatible/paths/follow.yaml +0 -301
- package/twitter-openapi/dist/compatible/paths/other.yaml +0 -99
- package/twitter-openapi/dist/compatible/paths/post.yaml +0 -714
- package/twitter-openapi/dist/compatible/paths/profile.yaml +0 -126
- package/twitter-openapi/dist/compatible/paths/timeline.yaml +0 -416
- package/twitter-openapi/dist/compatible/paths/tweet.yaml +0 -397
- package/twitter-openapi/dist/compatible/paths/user.yaml +0 -233
- package/twitter-openapi/dist/compatible/paths/usertweets.yaml +0 -504
- package/twitter-openapi/dist/compatible/paths/v1.1-get.yaml +0 -242
- package/twitter-openapi/dist/compatible/paths/v1.1-post.yaml +0 -237
- package/twitter-openapi/dist/compatible/paths/v2.0-get.yaml +0 -302
- package/twitter-openapi/dist/compatible/resources/parameters.yaml +0 -13
- package/twitter-openapi/dist/compatible/response/error.yaml +0 -90
- package/twitter-openapi/dist/compatible/schemas/content.yaml +0 -214
- package/twitter-openapi/dist/compatible/schemas/error.yaml +0 -94
- package/twitter-openapi/dist/compatible/schemas/general.yaml +0 -13
- package/twitter-openapi/dist/compatible/schemas/instruction.yaml +0 -286
- package/twitter-openapi/dist/compatible/schemas/timeline.yaml +0 -27
- package/twitter-openapi/dist/compatible/schemas/tweet.yaml +0 -508
- package/twitter-openapi/dist/compatible/schemas/typename.yaml +0 -23
- package/twitter-openapi/dist/compatible/schemas/user.yaml +0 -222
- package/twitter-openapi/dist/docs/paths/bookmarks.yaml +0 -201
- package/twitter-openapi/dist/docs/paths/follow.yaml +0 -587
- package/twitter-openapi/dist/docs/paths/other.yaml +0 -99
- package/twitter-openapi/dist/docs/paths/post.yaml +0 -692
- package/twitter-openapi/dist/docs/paths/profile.yaml +0 -134
- package/twitter-openapi/dist/docs/paths/timeline.yaml +0 -811
- package/twitter-openapi/dist/docs/paths/tweet.yaml +0 -797
- package/twitter-openapi/dist/docs/paths/user.yaml +0 -338
- package/twitter-openapi/dist/docs/paths/usertweets.yaml +0 -1046
- package/twitter-openapi/dist/docs/paths/v1.1-get.yaml +0 -242
- package/twitter-openapi/dist/docs/paths/v1.1-post.yaml +0 -237
- package/twitter-openapi/dist/docs/paths/v2.0-get.yaml +0 -302
- package/twitter-openapi/dist/docs/resources/parameters.yaml +0 -13
- package/twitter-openapi/dist/docs/response/error.yaml +0 -90
- package/twitter-openapi/dist/docs/schemas/content.yaml +0 -214
- package/twitter-openapi/dist/docs/schemas/error.yaml +0 -94
- package/twitter-openapi/dist/docs/schemas/general.yaml +0 -13
- package/twitter-openapi/dist/docs/schemas/instruction.yaml +0 -286
- package/twitter-openapi/dist/docs/schemas/timeline.yaml +0 -27
- package/twitter-openapi/dist/docs/schemas/tweet.yaml +0 -508
- package/twitter-openapi/dist/docs/schemas/typename.yaml +0 -23
- package/twitter-openapi/dist/docs/schemas/user.yaml +0 -222
|
@@ -1,126 +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: ^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)?$
|
|
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
|
-
additionalProperties: true
|
|
52
|
-
type: object
|
|
53
|
-
rest_id:
|
|
54
|
-
pattern: ^[0-9]+$
|
|
55
|
-
type: string
|
|
56
|
-
required:
|
|
57
|
-
- __typename
|
|
58
|
-
- id
|
|
59
|
-
- legacy
|
|
60
|
-
- profilemodules
|
|
61
|
-
- rest_id
|
|
62
|
-
info:
|
|
63
|
-
title: Twitter OpenAPI
|
|
64
|
-
version: 0.0.1
|
|
65
|
-
openapi: 3.0.3
|
|
66
|
-
paths:
|
|
67
|
-
/graphql/{pathQueryId}/ProfileSpotlightsQuery:
|
|
68
|
-
get:
|
|
69
|
-
description: get user by screen name
|
|
70
|
-
operationId: getProfileSpotlightsQuery
|
|
71
|
-
parameters:
|
|
72
|
-
- in: path
|
|
73
|
-
name: pathQueryId
|
|
74
|
-
required: true
|
|
75
|
-
schema:
|
|
76
|
-
default: 9zwVLJ48lmVUk8u_Gh9DmA
|
|
77
|
-
example: 9zwVLJ48lmVUk8u_Gh9DmA
|
|
78
|
-
type: string
|
|
79
|
-
- in: query
|
|
80
|
-
name: variables
|
|
81
|
-
required: true
|
|
82
|
-
schema:
|
|
83
|
-
default: '{"screen_name": "elonmusk"}'
|
|
84
|
-
example: '{"screen_name": "elonmusk"}'
|
|
85
|
-
type: string
|
|
86
|
-
- in: query
|
|
87
|
-
name: features
|
|
88
|
-
required: true
|
|
89
|
-
schema:
|
|
90
|
-
default: '{}'
|
|
91
|
-
example: '{}'
|
|
92
|
-
type: string
|
|
93
|
-
responses:
|
|
94
|
-
'200':
|
|
95
|
-
content:
|
|
96
|
-
application/json:
|
|
97
|
-
schema:
|
|
98
|
-
oneOf:
|
|
99
|
-
- $ref: '#/components/schemas/ProfileResponse'
|
|
100
|
-
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
101
|
-
description: Successful operation
|
|
102
|
-
headers:
|
|
103
|
-
x-connection-hash:
|
|
104
|
-
schema:
|
|
105
|
-
type: string
|
|
106
|
-
x-rate-limit-limit:
|
|
107
|
-
schema:
|
|
108
|
-
type: integer
|
|
109
|
-
x-rate-limit-remaining:
|
|
110
|
-
schema:
|
|
111
|
-
type: integer
|
|
112
|
-
x-rate-limit-reset:
|
|
113
|
-
schema:
|
|
114
|
-
type: integer
|
|
115
|
-
x-response-time:
|
|
116
|
-
schema:
|
|
117
|
-
type: integer
|
|
118
|
-
x-tfe-preserve-body:
|
|
119
|
-
schema:
|
|
120
|
-
type: boolean
|
|
121
|
-
x-transaction-id:
|
|
122
|
-
schema:
|
|
123
|
-
type: string
|
|
124
|
-
x-twitter-response-tags:
|
|
125
|
-
schema:
|
|
126
|
-
type: string
|
|
@@ -1,416 +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
|
-
ListLatestTweetsTimelineResponse:
|
|
16
|
-
properties:
|
|
17
|
-
data:
|
|
18
|
-
$ref: '#/components/schemas/ListTweetsTimelineData'
|
|
19
|
-
required:
|
|
20
|
-
- data
|
|
21
|
-
ListTweetsTimeline:
|
|
22
|
-
properties:
|
|
23
|
-
timeline:
|
|
24
|
-
$ref: ./../schemas/timeline.yaml#/components/schemas/Timeline
|
|
25
|
-
required:
|
|
26
|
-
- timeline
|
|
27
|
-
ListTweetsTimelineData:
|
|
28
|
-
properties:
|
|
29
|
-
list:
|
|
30
|
-
$ref: '#/components/schemas/ListTweetsTimelineList'
|
|
31
|
-
required:
|
|
32
|
-
- list
|
|
33
|
-
ListTweetsTimelineList:
|
|
34
|
-
properties:
|
|
35
|
-
tweets_timeline:
|
|
36
|
-
$ref: '#/components/schemas/ListTweetsTimeline'
|
|
37
|
-
required:
|
|
38
|
-
- tweets_timeline
|
|
39
|
-
SearchByRawQuery:
|
|
40
|
-
properties:
|
|
41
|
-
search_timeline:
|
|
42
|
-
$ref: '#/components/schemas/SearchTimeline'
|
|
43
|
-
required:
|
|
44
|
-
- search_timeline
|
|
45
|
-
SearchTimeline:
|
|
46
|
-
properties:
|
|
47
|
-
timeline:
|
|
48
|
-
$ref: ./../schemas/timeline.yaml#/components/schemas/Timeline
|
|
49
|
-
required:
|
|
50
|
-
- timeline
|
|
51
|
-
SearchTimelineData:
|
|
52
|
-
properties:
|
|
53
|
-
search_by_raw_query:
|
|
54
|
-
$ref: '#/components/schemas/SearchByRawQuery'
|
|
55
|
-
required:
|
|
56
|
-
- search_by_raw_query
|
|
57
|
-
SearchTimelineResponse:
|
|
58
|
-
properties:
|
|
59
|
-
data:
|
|
60
|
-
$ref: '#/components/schemas/SearchTimelineData'
|
|
61
|
-
required:
|
|
62
|
-
- data
|
|
63
|
-
TimelineResponse:
|
|
64
|
-
properties:
|
|
65
|
-
data:
|
|
66
|
-
$ref: '#/components/schemas/HomeTimelineResponseData'
|
|
67
|
-
required:
|
|
68
|
-
- data
|
|
69
|
-
info:
|
|
70
|
-
title: Twitter OpenAPI
|
|
71
|
-
version: 0.0.1
|
|
72
|
-
openapi: 3.0.3
|
|
73
|
-
paths:
|
|
74
|
-
/graphql/{pathQueryId}/HomeLatestTimeline:
|
|
75
|
-
get:
|
|
76
|
-
description: get tweet list of timeline
|
|
77
|
-
operationId: getHomeLatestTimeline
|
|
78
|
-
parameters:
|
|
79
|
-
- in: path
|
|
80
|
-
name: pathQueryId
|
|
81
|
-
required: true
|
|
82
|
-
schema:
|
|
83
|
-
default: zhX91JE87mWvfprhYE97xA
|
|
84
|
-
example: zhX91JE87mWvfprhYE97xA
|
|
85
|
-
type: string
|
|
86
|
-
- in: query
|
|
87
|
-
name: variables
|
|
88
|
-
required: true
|
|
89
|
-
schema:
|
|
90
|
-
default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
|
91
|
-
true, "requestContext": "launch"}'
|
|
92
|
-
example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
|
93
|
-
true, "requestContext": "launch"}'
|
|
94
|
-
type: string
|
|
95
|
-
- in: query
|
|
96
|
-
name: features
|
|
97
|
-
required: true
|
|
98
|
-
schema:
|
|
99
|
-
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
100
|
-
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
101
|
-
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
102
|
-
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
103
|
-
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
104
|
-
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
105
|
-
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
106
|
-
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
107
|
-
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
108
|
-
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
109
|
-
false}'
|
|
110
|
-
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
111
|
-
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
112
|
-
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
113
|
-
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
114
|
-
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
115
|
-
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
116
|
-
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
117
|
-
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
118
|
-
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
119
|
-
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
120
|
-
false}'
|
|
121
|
-
type: string
|
|
122
|
-
responses:
|
|
123
|
-
'200':
|
|
124
|
-
content:
|
|
125
|
-
application/json:
|
|
126
|
-
schema:
|
|
127
|
-
oneOf:
|
|
128
|
-
- $ref: '#/components/schemas/TimelineResponse'
|
|
129
|
-
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
130
|
-
description: Successful operation
|
|
131
|
-
headers:
|
|
132
|
-
x-connection-hash:
|
|
133
|
-
schema:
|
|
134
|
-
type: string
|
|
135
|
-
x-rate-limit-limit:
|
|
136
|
-
schema:
|
|
137
|
-
type: integer
|
|
138
|
-
x-rate-limit-remaining:
|
|
139
|
-
schema:
|
|
140
|
-
type: integer
|
|
141
|
-
x-rate-limit-reset:
|
|
142
|
-
schema:
|
|
143
|
-
type: integer
|
|
144
|
-
x-response-time:
|
|
145
|
-
schema:
|
|
146
|
-
type: integer
|
|
147
|
-
x-tfe-preserve-body:
|
|
148
|
-
schema:
|
|
149
|
-
type: boolean
|
|
150
|
-
x-transaction-id:
|
|
151
|
-
schema:
|
|
152
|
-
type: string
|
|
153
|
-
x-twitter-response-tags:
|
|
154
|
-
schema:
|
|
155
|
-
type: string
|
|
156
|
-
tags:
|
|
157
|
-
- tweet
|
|
158
|
-
/graphql/{pathQueryId}/HomeTimeline:
|
|
159
|
-
get:
|
|
160
|
-
description: get tweet list of timeline
|
|
161
|
-
operationId: getHomeTimeline
|
|
162
|
-
parameters:
|
|
163
|
-
- in: path
|
|
164
|
-
name: pathQueryId
|
|
165
|
-
required: true
|
|
166
|
-
schema:
|
|
167
|
-
default: HCosKfLNW1AcOo3la3mMgg
|
|
168
|
-
example: HCosKfLNW1AcOo3la3mMgg
|
|
169
|
-
type: string
|
|
170
|
-
- in: query
|
|
171
|
-
name: variables
|
|
172
|
-
required: true
|
|
173
|
-
schema:
|
|
174
|
-
default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
|
175
|
-
true, "requestContext": "launch", "withCommunity": true}'
|
|
176
|
-
example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
|
177
|
-
true, "requestContext": "launch", "withCommunity": true}'
|
|
178
|
-
type: string
|
|
179
|
-
- in: query
|
|
180
|
-
name: features
|
|
181
|
-
required: true
|
|
182
|
-
schema:
|
|
183
|
-
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
184
|
-
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
185
|
-
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
186
|
-
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
187
|
-
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
188
|
-
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
189
|
-
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
190
|
-
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
191
|
-
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
192
|
-
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
193
|
-
false}'
|
|
194
|
-
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
195
|
-
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
196
|
-
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
197
|
-
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
198
|
-
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
199
|
-
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
200
|
-
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
201
|
-
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
202
|
-
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
203
|
-
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
204
|
-
false}'
|
|
205
|
-
type: string
|
|
206
|
-
responses:
|
|
207
|
-
'200':
|
|
208
|
-
content:
|
|
209
|
-
application/json:
|
|
210
|
-
schema:
|
|
211
|
-
oneOf:
|
|
212
|
-
- $ref: '#/components/schemas/TimelineResponse'
|
|
213
|
-
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
214
|
-
description: Successful operation
|
|
215
|
-
headers:
|
|
216
|
-
x-connection-hash:
|
|
217
|
-
schema:
|
|
218
|
-
type: string
|
|
219
|
-
x-rate-limit-limit:
|
|
220
|
-
schema:
|
|
221
|
-
type: integer
|
|
222
|
-
x-rate-limit-remaining:
|
|
223
|
-
schema:
|
|
224
|
-
type: integer
|
|
225
|
-
x-rate-limit-reset:
|
|
226
|
-
schema:
|
|
227
|
-
type: integer
|
|
228
|
-
x-response-time:
|
|
229
|
-
schema:
|
|
230
|
-
type: integer
|
|
231
|
-
x-tfe-preserve-body:
|
|
232
|
-
schema:
|
|
233
|
-
type: boolean
|
|
234
|
-
x-transaction-id:
|
|
235
|
-
schema:
|
|
236
|
-
type: string
|
|
237
|
-
x-twitter-response-tags:
|
|
238
|
-
schema:
|
|
239
|
-
type: string
|
|
240
|
-
tags:
|
|
241
|
-
- tweet
|
|
242
|
-
/graphql/{pathQueryId}/ListLatestTweetsTimeline:
|
|
243
|
-
get:
|
|
244
|
-
description: get tweet list of timeline
|
|
245
|
-
operationId: getListLatestTweetsTimeline
|
|
246
|
-
parameters:
|
|
247
|
-
- in: path
|
|
248
|
-
name: pathQueryId
|
|
249
|
-
required: true
|
|
250
|
-
schema:
|
|
251
|
-
default: 2TemLyqrMpTeAmysdbnVqw
|
|
252
|
-
example: 2TemLyqrMpTeAmysdbnVqw
|
|
253
|
-
type: string
|
|
254
|
-
- in: query
|
|
255
|
-
name: variables
|
|
256
|
-
required: true
|
|
257
|
-
schema:
|
|
258
|
-
default: '{"listId": "53044119", "count": 20}'
|
|
259
|
-
example: '{"listId": "53044119", "count": 20}'
|
|
260
|
-
type: string
|
|
261
|
-
- in: query
|
|
262
|
-
name: features
|
|
263
|
-
required: true
|
|
264
|
-
schema:
|
|
265
|
-
default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
266
|
-
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
267
|
-
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
268
|
-
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
269
|
-
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
270
|
-
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
271
|
-
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
272
|
-
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
273
|
-
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
274
|
-
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
275
|
-
false}'
|
|
276
|
-
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
277
|
-
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
|
278
|
-
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
279
|
-
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
|
280
|
-
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
|
281
|
-
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
282
|
-
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
283
|
-
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
284
|
-
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
|
285
|
-
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
|
286
|
-
false}'
|
|
287
|
-
type: string
|
|
288
|
-
responses:
|
|
289
|
-
'200':
|
|
290
|
-
content:
|
|
291
|
-
application/json:
|
|
292
|
-
schema:
|
|
293
|
-
oneOf:
|
|
294
|
-
- $ref: '#/components/schemas/ListLatestTweetsTimelineResponse'
|
|
295
|
-
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
296
|
-
description: Successful operation
|
|
297
|
-
headers:
|
|
298
|
-
x-connection-hash:
|
|
299
|
-
schema:
|
|
300
|
-
type: string
|
|
301
|
-
x-rate-limit-limit:
|
|
302
|
-
schema:
|
|
303
|
-
type: integer
|
|
304
|
-
x-rate-limit-remaining:
|
|
305
|
-
schema:
|
|
306
|
-
type: integer
|
|
307
|
-
x-rate-limit-reset:
|
|
308
|
-
schema:
|
|
309
|
-
type: integer
|
|
310
|
-
x-response-time:
|
|
311
|
-
schema:
|
|
312
|
-
type: integer
|
|
313
|
-
x-tfe-preserve-body:
|
|
314
|
-
schema:
|
|
315
|
-
type: boolean
|
|
316
|
-
x-transaction-id:
|
|
317
|
-
schema:
|
|
318
|
-
type: string
|
|
319
|
-
x-twitter-response-tags:
|
|
320
|
-
schema:
|
|
321
|
-
type: string
|
|
322
|
-
tags:
|
|
323
|
-
- tweet
|
|
324
|
-
/graphql/{pathQueryId}/SearchTimeline:
|
|
325
|
-
get:
|
|
326
|
-
description: search tweet list. product:[Top, Latest, People, Photos, Videos]
|
|
327
|
-
operationId: getSearchTimeline
|
|
328
|
-
parameters:
|
|
329
|
-
- in: path
|
|
330
|
-
name: pathQueryId
|
|
331
|
-
required: true
|
|
332
|
-
schema:
|
|
333
|
-
default: L1VfBERtzc3VkBBT0YAYHA
|
|
334
|
-
example: L1VfBERtzc3VkBBT0YAYHA
|
|
335
|
-
type: string
|
|
336
|
-
- in: query
|
|
337
|
-
name: variables
|
|
338
|
-
required: true
|
|
339
|
-
schema:
|
|
340
|
-
default: '{"rawQuery": "elonmusk", "count": 20, "querySource": "typed_query",
|
|
341
|
-
"product": "Top"}'
|
|
342
|
-
example: '{"rawQuery": "elonmusk", "count": 20, "querySource": "typed_query",
|
|
343
|
-
"product": "Top"}'
|
|
344
|
-
type: string
|
|
345
|
-
- in: query
|
|
346
|
-
name: features
|
|
347
|
-
required: true
|
|
348
|
-
schema:
|
|
349
|
-
default: '{"rweb_lists_timeline_redesign_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
350
|
-
true, "verified_phone_label_enabled": false, "creator_subscriptions_tweet_preview_api_enabled":
|
|
351
|
-
true, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
352
|
-
false, "tweetypie_unmention_optimization_enabled": true, "responsive_web_edit_tweet_api_enabled":
|
|
353
|
-
true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled": true,
|
|
354
|
-
"view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
355
|
-
true, "responsive_web_twitter_article_tweet_consumption_enabled": false,
|
|
356
|
-
"tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
357
|
-
true, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
358
|
-
true, "longform_notetweets_rich_text_read_enabled": true, "longform_notetweets_inline_media_enabled":
|
|
359
|
-
true, "responsive_web_media_download_video_enabled": false, "responsive_web_enhance_cards_enabled":
|
|
360
|
-
false}'
|
|
361
|
-
example: '{"rweb_lists_timeline_redesign_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
362
|
-
true, "verified_phone_label_enabled": false, "creator_subscriptions_tweet_preview_api_enabled":
|
|
363
|
-
true, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
364
|
-
false, "tweetypie_unmention_optimization_enabled": true, "responsive_web_edit_tweet_api_enabled":
|
|
365
|
-
true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled": true,
|
|
366
|
-
"view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
367
|
-
true, "responsive_web_twitter_article_tweet_consumption_enabled": false,
|
|
368
|
-
"tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
369
|
-
true, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
370
|
-
true, "longform_notetweets_rich_text_read_enabled": true, "longform_notetweets_inline_media_enabled":
|
|
371
|
-
true, "responsive_web_media_download_video_enabled": false, "responsive_web_enhance_cards_enabled":
|
|
372
|
-
false}'
|
|
373
|
-
type: string
|
|
374
|
-
- in: query
|
|
375
|
-
name: fieldToggles
|
|
376
|
-
required: true
|
|
377
|
-
schema:
|
|
378
|
-
default: '{"withArticleRichContentState": false}'
|
|
379
|
-
example: '{"withArticleRichContentState": false}'
|
|
380
|
-
type: string
|
|
381
|
-
responses:
|
|
382
|
-
'200':
|
|
383
|
-
content:
|
|
384
|
-
application/json:
|
|
385
|
-
schema:
|
|
386
|
-
oneOf:
|
|
387
|
-
- $ref: '#/components/schemas/SearchTimelineResponse'
|
|
388
|
-
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
389
|
-
description: Successful operation
|
|
390
|
-
headers:
|
|
391
|
-
x-connection-hash:
|
|
392
|
-
schema:
|
|
393
|
-
type: string
|
|
394
|
-
x-rate-limit-limit:
|
|
395
|
-
schema:
|
|
396
|
-
type: integer
|
|
397
|
-
x-rate-limit-remaining:
|
|
398
|
-
schema:
|
|
399
|
-
type: integer
|
|
400
|
-
x-rate-limit-reset:
|
|
401
|
-
schema:
|
|
402
|
-
type: integer
|
|
403
|
-
x-response-time:
|
|
404
|
-
schema:
|
|
405
|
-
type: integer
|
|
406
|
-
x-tfe-preserve-body:
|
|
407
|
-
schema:
|
|
408
|
-
type: boolean
|
|
409
|
-
x-transaction-id:
|
|
410
|
-
schema:
|
|
411
|
-
type: string
|
|
412
|
-
x-twitter-response-tags:
|
|
413
|
-
schema:
|
|
414
|
-
type: string
|
|
415
|
-
tags:
|
|
416
|
-
- tweet
|