1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 15:40:26 +01:00
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-07-09 23:45:24 +09:00
parent b95b73080e
commit 85cd1e120d
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
3 changed files with 125 additions and 2 deletions

View file

@ -302,6 +302,40 @@
"responsive_web_enhance_cards_enabled": false
}
},
"SearchTimeline": {
"queryId": "L1VfBERtzc3VkBBT0YAYHA",
"variables": {
"rawQuery": "elonmusk",
"count": 20,
"querySource": "typed_query",
"product": "Top"
},
"features": {
"rweb_lists_timeline_redesign_enabled": true,
"responsive_web_graphql_exclude_directive_enabled": true,
"verified_phone_label_enabled": false,
"creator_subscriptions_tweet_preview_api_enabled": true,
"responsive_web_graphql_timeline_navigation_enabled": true,
"responsive_web_graphql_skip_user_profile_image_extensions_enabled": false,
"tweetypie_unmention_optimization_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,
"responsive_web_twitter_article_tweet_consumption_enabled": false,
"tweet_awards_web_tipping_enabled": false,
"freedom_of_speech_not_reach_fetch_enabled": true,
"standardized_nudges_misinfo": true,
"tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled": true,
"longform_notetweets_rich_text_read_enabled": true,
"longform_notetweets_inline_media_enabled": true,
"responsive_web_media_download_video_enabled": false,
"responsive_web_enhance_cards_enabled": false
},
"fieldToggles": {
"withArticleRichContentState": false
}
},
"Favoriters": {
"queryId": "rUyh8HWk8IXv_fvVKj3QjA",
"variables": {
@ -420,6 +454,39 @@
"responsive_web_enhance_cards_enabled": false
}
},
"FollowersYouKnow": {
"queryId": "W9Iz6TVLymzCWjG2uOFKZg",
"variables": {
"userId": "44196397",
"count": 20,
"includePromotedContent": false
},
"features": {
"rweb_lists_timeline_redesign_enabled": true,
"responsive_web_graphql_exclude_directive_enabled": true,
"verified_phone_label_enabled": false,
"creator_subscriptions_tweet_preview_api_enabled": true,
"responsive_web_graphql_timeline_navigation_enabled": true,
"responsive_web_graphql_skip_user_profile_image_extensions_enabled": false,
"tweetypie_unmention_optimization_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,
"responsive_web_twitter_article_tweet_consumption_enabled": false,
"tweet_awards_web_tipping_enabled": false,
"freedom_of_speech_not_reach_fetch_enabled": true,
"standardized_nudges_misinfo": true,
"tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled": true,
"longform_notetweets_rich_text_read_enabled": true,
"longform_notetweets_inline_media_enabled": true,
"responsive_web_media_download_video_enabled": false,
"responsive_web_enhance_cards_enabled": false
},
"fieldToggles": {
"withArticleRichContentState": false
}
},
"CreateTweet": {
"queryId": "1RyAhNwby-gzGCRVsMxKbQ",
"variables": {

View file

@ -32,6 +32,20 @@ paths:
tags:
- "user-list"
/graphql/{pathQueryId}/FollowersYouKnow:
get:
operationId: getFollowersYouKnow
description: "get followers you know"
responses:
"200":
description: Successful operation
content:
application/json:
schema:
$ref: "#/components/schemas/FollowResponse"
tags:
- "user-list"
components:
schemas:
FollowResponse:

View file

@ -42,7 +42,21 @@ paths:
content:
application/json:
schema:
$ref: "#/components/schemas/ListTweetsTimelineResponse"
$ref: "#/components/schemas/ListLatestTweetsTimelineResponse"
tags:
- "tweet"
/graphql/{pathQueryId}/SearchTimeline:
get:
operationId: getSearchTimeline
description: search tweet list. product:[Top, Latest, People, Photos, Videos]
responses:
"200":
description: Successful operation
content:
application/json:
schema:
$ref: "#/components/schemas/SearchTimelineResponse"
tags:
- "tweet"
@ -69,7 +83,7 @@ components:
home_timeline_urt:
$ref: "./../schemas/timeline.yaml#/components/schemas/Timeline"
ListTweetsTimelineResponse:
ListLatestTweetsTimelineResponse:
required:
- "data"
properties:
@ -96,3 +110,31 @@ components:
properties:
timeline:
$ref: "./../schemas/timeline.yaml#/components/schemas/Timeline"
SearchTimelineResponse:
required:
- "data"
properties:
data:
$ref: "#/components/schemas/SearchTimelineData"
SearchTimelineData:
required:
- "search_by_raw_query"
properties:
search_by_raw_query:
$ref: "#/components/schemas/SearchByRawQuery"
SearchByRawQuery:
required:
- "search_timeline"
properties:
search_timeline:
$ref: "#/components/schemas/SearchTimeline"
SearchTimeline:
required:
- "timeline"
properties:
timeline:
$ref: "./../schemas/timeline.yaml#/components/schemas/Timeline"