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,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/{pathQueryId}/Bookmarks:
72
- $ref: ./paths/bookmarks.yaml#/paths/~1graphql~1{pathQueryId}~1Bookmarks
73
- /graphql/{pathQueryId}/CreateRetweet:
74
- $ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1CreateRetweet
75
- /graphql/{pathQueryId}/CreateTweet:
76
- $ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1CreateTweet
77
- /graphql/{pathQueryId}/DeleteRetweet:
78
- $ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1DeleteRetweet
79
- /graphql/{pathQueryId}/DeleteTweet:
80
- $ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1DeleteTweet
81
- /graphql/{pathQueryId}/FavoriteTweet:
82
- $ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1FavoriteTweet
83
- /graphql/{pathQueryId}/Followers:
84
- $ref: ./paths/follow.yaml#/paths/~1graphql~1{pathQueryId}~1Followers
85
- /graphql/{pathQueryId}/Following:
86
- $ref: ./paths/follow.yaml#/paths/~1graphql~1{pathQueryId}~1Following
87
- /graphql/{pathQueryId}/HomeLatestTimeline:
88
- $ref: ./paths/timeline.yaml#/paths/~1graphql~1{pathQueryId}~1HomeLatestTimeline
89
- /graphql/{pathQueryId}/HomeTimeline:
90
- $ref: ./paths/timeline.yaml#/paths/~1graphql~1{pathQueryId}~1HomeTimeline
91
- /graphql/{pathQueryId}/Likes:
92
- $ref: ./paths/usertweets.yaml#/paths/~1graphql~1{pathQueryId}~1Likes
93
- /graphql/{pathQueryId}/ListLatestTweetsTimeline:
94
- $ref: ./paths/timeline.yaml#/paths/~1graphql~1{pathQueryId}~1ListLatestTweetsTimeline
95
- /graphql/{pathQueryId}/ProfileSpotlightsQuery:
96
- $ref: ./paths/profile.yaml#/paths/~1graphql~1{pathQueryId}~1ProfileSpotlightsQuery
97
- /graphql/{pathQueryId}/TweetDetail:
98
- $ref: ./paths/tweet.yaml#/paths/~1graphql~1{pathQueryId}~1TweetDetail
99
- /graphql/{pathQueryId}/UnfavoriteTweet:
100
- $ref: ./paths/post.yaml#/paths/~1graphql~1{pathQueryId}~1UnfavoriteTweet
101
- /graphql/{pathQueryId}/UserByScreenName:
102
- $ref: ./paths/user.yaml#/paths/~1graphql~1{pathQueryId}~1UserByScreenName
103
- /graphql/{pathQueryId}/UserMedia:
104
- $ref: ./paths/usertweets.yaml#/paths/~1graphql~1{pathQueryId}~1UserMedia
105
- /graphql/{pathQueryId}/UserTweets:
106
- $ref: ./paths/usertweets.yaml#/paths/~1graphql~1{pathQueryId}~1UserTweets
107
- /graphql/{pathQueryId}/UserTweetsAndReplies:
108
- $ref: ./paths/usertweets.yaml#/paths/~1graphql~1{pathQueryId}~1UserTweetsAndReplies
109
- /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,218 +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/{pathQueryId}/Followers:
42
- get:
43
- description: get user list of followers
44
- operationId: getFollowers
45
- parameters:
46
- - in: path
47
- name: pathQueryId
48
- required: true
49
- schema:
50
- default: djdTXDIk2qhd4OStqlUFeQ
51
- example: djdTXDIk2qhd4OStqlUFeQ
52
- type: string
53
- - in: query
54
- name: queryId
55
- required: true
56
- schema:
57
- default: '"djdTXDIk2qhd4OStqlUFeQ"'
58
- example: '"djdTXDIk2qhd4OStqlUFeQ"'
59
- type: string
60
- - in: query
61
- name: variables
62
- required: true
63
- schema:
64
- default: '{"userId": "44196397", "count": 20, "includePromotedContent":
65
- false}'
66
- example: '{"userId": "44196397", "count": 20, "includePromotedContent":
67
- false}'
68
- type: string
69
- - in: query
70
- name: features
71
- required: true
72
- schema:
73
- default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
74
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
75
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
76
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
77
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
78
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
79
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
80
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
81
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
82
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
83
- false}'
84
- example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
85
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
86
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
87
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
88
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
89
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
90
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
91
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
92
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
93
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
94
- false}'
95
- type: string
96
- responses:
97
- '200':
98
- content:
99
- application/json:
100
- schema:
101
- $ref: '#/components/schemas/FollowResponse'
102
- description: Successful operation
103
- headers:
104
- x-connection-hash:
105
- schema:
106
- type: string
107
- x-rate-limit-limit:
108
- schema:
109
- type: integer
110
- x-rate-limit-remaining:
111
- schema:
112
- type: integer
113
- x-rate-limit-reset:
114
- schema:
115
- type: integer
116
- x-response-time:
117
- schema:
118
- type: integer
119
- x-tfe-preserve-body:
120
- schema:
121
- type: boolean
122
- x-transaction-id:
123
- schema:
124
- type: string
125
- x-twitter-response-tags:
126
- schema:
127
- type: string
128
- tags:
129
- - user-list
130
- /graphql/{pathQueryId}/Following:
131
- get:
132
- description: get user list of following
133
- operationId: getFollowing
134
- parameters:
135
- - in: path
136
- name: pathQueryId
137
- required: true
138
- schema:
139
- default: IWP6Zt14sARO29lJT35bBw
140
- example: IWP6Zt14sARO29lJT35bBw
141
- type: string
142
- - in: query
143
- name: queryId
144
- required: true
145
- schema:
146
- default: '"IWP6Zt14sARO29lJT35bBw"'
147
- example: '"IWP6Zt14sARO29lJT35bBw"'
148
- type: string
149
- - in: query
150
- name: variables
151
- required: true
152
- schema:
153
- default: '{"userId": "44196397", "count": 20, "includePromotedContent":
154
- false}'
155
- example: '{"userId": "44196397", "count": 20, "includePromotedContent":
156
- false}'
157
- type: string
158
- - in: query
159
- name: features
160
- required: true
161
- schema:
162
- default: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
163
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
164
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
165
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
166
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
167
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
168
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
169
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
170
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
171
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
172
- false}'
173
- example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
174
- true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
175
- true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
176
- false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
177
- true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
178
- true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
179
- true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
180
- false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
181
- false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
182
- false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
183
- false}'
184
- type: string
185
- responses:
186
- '200':
187
- content:
188
- application/json:
189
- schema:
190
- $ref: '#/components/schemas/FollowResponse'
191
- description: Successful operation
192
- headers:
193
- x-connection-hash:
194
- schema:
195
- type: string
196
- x-rate-limit-limit:
197
- schema:
198
- type: integer
199
- x-rate-limit-remaining:
200
- schema:
201
- type: integer
202
- x-rate-limit-reset:
203
- schema:
204
- type: integer
205
- x-response-time:
206
- schema:
207
- type: integer
208
- x-tfe-preserve-body:
209
- schema:
210
- type: boolean
211
- x-transaction-id:
212
- schema:
213
- type: string
214
- x-twitter-response-tags:
215
- schema:
216
- type: string
217
- tags:
218
- - 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