mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 23:50:26 +01:00
update Following
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
7046bb21b0
commit
cf5c7a72e6
3 changed files with 115 additions and 115 deletions
4
dist/openapi-3.0.yaml
vendored
4
dist/openapi-3.0.yaml
vendored
|
|
@ -38,14 +38,14 @@ paths:
|
|||
$ref: ./paths/timeline.yaml#/paths/~1HCosKfLNW1AcOo3la3mMgg~1HomeTimeline
|
||||
/HuTx74BxAnezK1gWvYY7zg/UserTweets:
|
||||
$ref: ./paths/usertweets.yaml#/paths/~1HuTx74BxAnezK1gWvYY7zg~1UserTweets
|
||||
/IWP6Zt14sARO29lJT35bBw/Following:
|
||||
$ref: ./paths/follow.yaml#/paths/~1IWP6Zt14sARO29lJT35bBw~1Following
|
||||
/JpFFCTBPxYVlDqMUr9twzQ/Followers:
|
||||
$ref: ./paths/follow.yaml#/paths/~1JpFFCTBPxYVlDqMUr9twzQ~1Followers
|
||||
/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
|
||||
$ref: ./paths/usertweets.yaml#/paths/~1RIWc55YCNyUJ-U3HHGYkdg~1UserTweetsAndReplies
|
||||
/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
|
||||
$ref: ./paths/usertweets.yaml#/paths/~1YqiE3JL1KNgf9nSljYdxaA~1UserMedia
|
||||
/b22I8WSfQ8H4Ev8486xAlQ/Following:
|
||||
$ref: ./paths/follow.yaml#/paths/~1b22I8WSfQ8H4Ev8486xAlQ~1Following
|
||||
/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
|
||||
$ref: ./paths/user.yaml#/paths/~1sLVLhk0bGj3MVFEKTdax1w~1UserByScreenName
|
||||
/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
|
||||
|
|
|
|||
224
dist/paths/follow.yaml
vendored
224
dist/paths/follow.yaml
vendored
|
|
@ -38,6 +38,118 @@ info:
|
|||
version: 0.0.1
|
||||
openapi: 3.0.3
|
||||
paths:
|
||||
/IWP6Zt14sARO29lJT35bBw/Following:
|
||||
get:
|
||||
description: get user list of followers
|
||||
operationId: getFollowers
|
||||
parameters:
|
||||
- in: query
|
||||
name: variables
|
||||
required: true
|
||||
schema:
|
||||
example: '{"userId": "44196397", "count": 20, "includePromotedContent":
|
||||
false}'
|
||||
type: string
|
||||
- in: query
|
||||
name: features
|
||||
required: true
|
||||
schema:
|
||||
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||
false}'
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
schema:
|
||||
default: IWP6Zt14sARO29lJT35bBw
|
||||
example: IWP6Zt14sARO29lJT35bBw
|
||||
type: string
|
||||
- in: header
|
||||
name: authorization
|
||||
required: true
|
||||
schema:
|
||||
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
||||
description: It is a constant value and does not need to be changed.
|
||||
type: string
|
||||
- in: header
|
||||
name: x-twitter-active-user
|
||||
required: true
|
||||
schema:
|
||||
default: 'yes'
|
||||
description: Unknown what this value means.
|
||||
type: string
|
||||
- in: header
|
||||
name: x-twitter-auth-type
|
||||
required: true
|
||||
schema:
|
||||
default: OAuth2Session
|
||||
description: Unknown what this value means.
|
||||
type: string
|
||||
- in: header
|
||||
name: x-twitter-client-language
|
||||
required: true
|
||||
schema:
|
||||
default: en
|
||||
description: language code.
|
||||
type: string
|
||||
- in: header
|
||||
name: user-agent
|
||||
required: true
|
||||
schema:
|
||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
||||
description: UserAgent, some APIs may be rejected if changed.
|
||||
type: string
|
||||
responses:
|
||||
'200':
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/FollowResponse'
|
||||
description: Successful operation
|
||||
headers:
|
||||
x-connection-hash:
|
||||
schema:
|
||||
type: string
|
||||
x-content-type-options:
|
||||
schema:
|
||||
type: string
|
||||
x-frame-options:
|
||||
schema:
|
||||
type: string
|
||||
x-rate-limit-limit:
|
||||
schema:
|
||||
type: integer
|
||||
x-rate-limit-remaining:
|
||||
schema:
|
||||
type: integer
|
||||
x-rate-limit-reset:
|
||||
schema:
|
||||
type: integer
|
||||
x-response-time:
|
||||
schema:
|
||||
type: integer
|
||||
x-tfe-preserve-body:
|
||||
schema:
|
||||
type: boolean
|
||||
x-transaction-id:
|
||||
schema:
|
||||
type: string
|
||||
x-twitter-response-tags:
|
||||
schema:
|
||||
type: string
|
||||
x-xss-protection:
|
||||
schema:
|
||||
type: integer
|
||||
/JpFFCTBPxYVlDqMUr9twzQ/Followers:
|
||||
get:
|
||||
description: get user list of following
|
||||
|
|
@ -150,115 +262,3 @@ paths:
|
|||
x-xss-protection:
|
||||
schema:
|
||||
type: integer
|
||||
/b22I8WSfQ8H4Ev8486xAlQ/Following:
|
||||
get:
|
||||
description: get user list of followers
|
||||
operationId: getFollowers
|
||||
parameters:
|
||||
- in: query
|
||||
name: variables
|
||||
required: true
|
||||
schema:
|
||||
example: '{"userId": "44196397", "count": 20, "includePromotedContent":
|
||||
false}'
|
||||
type: string
|
||||
- in: query
|
||||
name: features
|
||||
required: true
|
||||
schema:
|
||||
example: '{"blue_business_profile_image_shape_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
||||
true, "verified_phone_label_enabled": false, "responsive_web_graphql_timeline_navigation_enabled":
|
||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
||||
false, "tweetypie_unmention_optimization_enabled": true, "vibe_api_enabled":
|
||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
||||
true, "tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
||||
false, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
||||
false, "interactive_text_enabled": true, "responsive_web_text_conversations_enabled":
|
||||
false, "longform_notetweets_rich_text_read_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||
false}'
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
schema:
|
||||
default: b22I8WSfQ8H4Ev8486xAlQ
|
||||
example: b22I8WSfQ8H4Ev8486xAlQ
|
||||
type: string
|
||||
- in: header
|
||||
name: authorization
|
||||
required: true
|
||||
schema:
|
||||
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
||||
description: It is a constant value and does not need to be changed.
|
||||
type: string
|
||||
- in: header
|
||||
name: x-twitter-active-user
|
||||
required: true
|
||||
schema:
|
||||
default: 'yes'
|
||||
description: Unknown what this value means.
|
||||
type: string
|
||||
- in: header
|
||||
name: x-twitter-auth-type
|
||||
required: true
|
||||
schema:
|
||||
default: OAuth2Session
|
||||
description: Unknown what this value means.
|
||||
type: string
|
||||
- in: header
|
||||
name: x-twitter-client-language
|
||||
required: true
|
||||
schema:
|
||||
default: en
|
||||
description: language code.
|
||||
type: string
|
||||
- in: header
|
||||
name: user-agent
|
||||
required: true
|
||||
schema:
|
||||
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
|
||||
like Gecko) Chrome/112.0.0.0 Safari/537.36
|
||||
description: UserAgent, some APIs may be rejected if changed.
|
||||
type: string
|
||||
responses:
|
||||
'200':
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/FollowResponse'
|
||||
description: Successful operation
|
||||
headers:
|
||||
x-connection-hash:
|
||||
schema:
|
||||
type: string
|
||||
x-content-type-options:
|
||||
schema:
|
||||
type: string
|
||||
x-frame-options:
|
||||
schema:
|
||||
type: string
|
||||
x-rate-limit-limit:
|
||||
schema:
|
||||
type: integer
|
||||
x-rate-limit-remaining:
|
||||
schema:
|
||||
type: integer
|
||||
x-rate-limit-reset:
|
||||
schema:
|
||||
type: integer
|
||||
x-response-time:
|
||||
schema:
|
||||
type: integer
|
||||
x-tfe-preserve-body:
|
||||
schema:
|
||||
type: boolean
|
||||
x-transaction-id:
|
||||
schema:
|
||||
type: string
|
||||
x-twitter-response-tags:
|
||||
schema:
|
||||
type: string
|
||||
x-xss-protection:
|
||||
schema:
|
||||
type: integer
|
||||
|
|
|
|||
|
|
@ -332,7 +332,7 @@
|
|||
}
|
||||
},
|
||||
"Following": {
|
||||
"Query": "b22I8WSfQ8H4Ev8486xAlQ",
|
||||
"Query": "IWP6Zt14sARO29lJT35bBw",
|
||||
"Variables": {
|
||||
"userId": "44196397",
|
||||
"count": 20,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue