mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-12 08:00:27 +01:00
add Bookmarks
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
1b154a8327
commit
bf730c5129
8 changed files with 206 additions and 22 deletions
|
|
@ -295,6 +295,64 @@
|
|||
"responsive_web_enhance_cards_enabled": false
|
||||
}
|
||||
},
|
||||
"Followers": {
|
||||
"Query": "JpFFCTBPxYVlDqMUr9twzQ",
|
||||
"Variables": {
|
||||
"userId": "44196397",
|
||||
"count": 20,
|
||||
"includePromotedContent": false
|
||||
},
|
||||
"Features": {
|
||||
"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
|
||||
}
|
||||
},
|
||||
"Following": {
|
||||
"Query": "b22I8WSfQ8H4Ev8486xAlQ",
|
||||
"Variables": {
|
||||
"userId": "44196397",
|
||||
"count": 20,
|
||||
"includePromotedContent": false
|
||||
},
|
||||
"Features": {
|
||||
"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
|
||||
}
|
||||
},
|
||||
"Template": {
|
||||
"Query": "",
|
||||
"Variables": {},
|
||||
|
|
|
|||
|
|
@ -26,11 +26,18 @@ components:
|
|||
- "data"
|
||||
properties:
|
||||
data:
|
||||
$ref: "#/components/schemas/BookmarksResponseData"
|
||||
$ref: "#/components/schemas/BookmarksData"
|
||||
|
||||
BookmarksResponseData:
|
||||
BookmarksData:
|
||||
required:
|
||||
- "bookmark_timeline_v2"
|
||||
properties:
|
||||
bookmark_timeline_v2:
|
||||
$ref: "#/components/schemas/BookmarksTimeline"
|
||||
|
||||
BookmarksTimeline:
|
||||
required:
|
||||
- "timeline"
|
||||
properties:
|
||||
timeline:
|
||||
$ref: "./../schemas/timeline.yaml#/components/schemas/Timeline"
|
||||
|
|
|
|||
|
|
@ -11,6 +11,10 @@ paths:
|
|||
responses:
|
||||
"200":
|
||||
description: Successful operation
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/FollowResponse"
|
||||
tags:
|
||||
- "follow"
|
||||
- "graphql"
|
||||
|
|
@ -22,6 +26,50 @@ paths:
|
|||
responses:
|
||||
"200":
|
||||
description: Successful operation
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/FollowResponse"
|
||||
tags:
|
||||
- "follow"
|
||||
- "graphql"
|
||||
|
||||
components:
|
||||
schemas:
|
||||
FollowResponse:
|
||||
required:
|
||||
- "data"
|
||||
properties:
|
||||
data:
|
||||
$ref: "#/components/schemas/FollowData"
|
||||
|
||||
FollowData:
|
||||
required:
|
||||
- "user"
|
||||
properties:
|
||||
user:
|
||||
$ref: "#/components/schemas/FollowUser"
|
||||
|
||||
FollowUser:
|
||||
required:
|
||||
- "result"
|
||||
properties:
|
||||
result:
|
||||
$ref: "#/components/schemas/FollowResult"
|
||||
|
||||
FollowResult:
|
||||
required:
|
||||
- "__typename"
|
||||
- "timeline"
|
||||
properties:
|
||||
__typename:
|
||||
$ref: "./../schemas/typename.yaml#/components/schemas/TypeName" # User
|
||||
timeline:
|
||||
$ref: "#/components/schemas/FollowTimeline"
|
||||
|
||||
FollowTimeline:
|
||||
required:
|
||||
- "timeline"
|
||||
properties:
|
||||
timeline:
|
||||
$ref: "./../schemas/timeline.yaml#/components/schemas/Timeline"
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ components:
|
|||
required:
|
||||
- "list"
|
||||
properties:
|
||||
home:
|
||||
list:
|
||||
$ref: "#/components/schemas/ListTweetsTimelineList"
|
||||
|
||||
ListTweetsTimelineList:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue