From 9052b3a16afd8f8e49223d6eb8750ace6a03c52a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=B5=E3=81=81?= Date: Tue, 18 Apr 2023 02:24:01 +0900 Subject: [PATCH] add UserTweetsAndReplies Likes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ふぁ --- openapi/openapi-3.0.yaml | 272 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 269 insertions(+), 3 deletions(-) diff --git a/openapi/openapi-3.0.yaml b/openapi/openapi-3.0.yaml index 1a3564e..2635d75 100644 --- a/openapi/openapi-3.0.yaml +++ b/openapi/openapi-3.0.yaml @@ -269,7 +269,6 @@ paths: $ref: "#/components/headers/x-twitter-response-tags" x-xss-protection: $ref: "#/components/headers/x-xss-protection" - tags: - "timeline" - "login-required" @@ -332,7 +331,6 @@ paths: type: string default: "HuTx74BxAnezK1gWvYY7zg" example: "'HuTx74BxAnezK1gWvYY7zg'" - responses: "200": description: Successful operation @@ -363,7 +361,276 @@ paths: $ref: "#/components/headers/x-twitter-response-tags" x-xss-protection: $ref: "#/components/headers/x-xss-protection" + tags: + - "user" + - "graphql" + /RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies: + get: + operationId: getUserTweetsAndReplies + description: "get user replies tweets" + parameters: + - name: variables + in: query + required: true + schema: + type: string + example: ''' + { + "userId": "44196397", + "count": 20, + "includePromotedContent": false, + "withClientEventToken": false, + "withBirdwatchNotes": false, + "withVoice": true, + "withV2Timeline": true + } + ''' + - name: features + in: query + required: true + schema: + type: string + 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 + } + ''' + - name: queryId + in: query + required: true + schema: + type: string + default: "YqiE3JL1KNgf9nSljYdxaA" + example: "'YqiE3JL1KNgf9nSljYdxaA'" + responses: + "200": + description: Successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/UserTweetsResponse" + headers: + x-connection-hash: + $ref: "#/components/headers/x-connection-hash" + x-content-type-options: + $ref: "#/components/headers/x-content-type-options" + x-frame-options: + $ref: "#/components/headers/x-frame-options" + x-rate-limit-limit: + $ref: "#/components/headers/x-rate-limit-limit" + x-rate-limit-remaining: + $ref: "#/components/headers/x-rate-limit-remaining" + x-rate-limit-reset: + $ref: "#/components/headers/x-rate-limit-reset" + x-response-time: + $ref: "#/components/headers/x-response-time" + x-tfe-preserve-body: + $ref: "#/components/headers/x-tfe-preserve-body" + x-transaction-id: + $ref: "#/components/headers/x-transaction-id" + x-twitter-response-tags: + $ref: "#/components/headers/x-twitter-response-tags" + x-xss-protection: + $ref: "#/components/headers/x-xss-protection" + tags: + - "user" + - "graphql" + + /YqiE3JL1KNgf9nSljYdxaA/UserMedia: + get: + operationId: getUserMedia + description: "get user media tweets" + parameters: + - name: variables + in: query + required: true + schema: + type: string + example: ''' + { + "userId": "44196397", + "count": 20, + "includePromotedContent": false, + "withClientEventToken": false, + "withBirdwatchNotes": false, + "withVoice": true, + "withV2Timeline": true + } + ''' + - name: features + in: query + required: true + schema: + type: string + 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 + } + ''' + - name: queryId + in: query + required: true + schema: + type: string + default: "YqiE3JL1KNgf9nSljYdxaA" + example: "'YqiE3JL1KNgf9nSljYdxaA'" + responses: + "200": + description: Successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/UserTweetsResponse" + headers: + x-connection-hash: + $ref: "#/components/headers/x-connection-hash" + x-content-type-options: + $ref: "#/components/headers/x-content-type-options" + x-frame-options: + $ref: "#/components/headers/x-frame-options" + x-rate-limit-limit: + $ref: "#/components/headers/x-rate-limit-limit" + x-rate-limit-remaining: + $ref: "#/components/headers/x-rate-limit-remaining" + x-rate-limit-reset: + $ref: "#/components/headers/x-rate-limit-reset" + x-response-time: + $ref: "#/components/headers/x-response-time" + x-tfe-preserve-body: + $ref: "#/components/headers/x-tfe-preserve-body" + x-transaction-id: + $ref: "#/components/headers/x-transaction-id" + x-twitter-response-tags: + $ref: "#/components/headers/x-twitter-response-tags" + x-xss-protection: + $ref: "#/components/headers/x-xss-protection" + tags: + - "user" + - "graphql" + + /5fmEkRT-1AdHqEsbVgehMg/Likes: + get: + operationId: getLikes + description: "get user likes tweets" + parameters: + - name: variables + in: query + required: true + schema: + type: string + example: ''' + { + "userId": "44196397", + "count": 20, + "includePromotedContent": false, + "withClientEventToken": false, + "withBirdwatchNotes": false, + "withVoice": true, + "withV2Timeline": true + } + ''' + - name: features + in: query + required: true + schema: + type: string + 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 + } + ''' + - name: queryId + in: query + required: true + schema: + type: string + default: "YqiE3JL1KNgf9nSljYdxaA" + example: "'YqiE3JL1KNgf9nSljYdxaA'" + responses: + "200": + description: Successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/UserTweetsResponse" + headers: + x-connection-hash: + $ref: "#/components/headers/x-connection-hash" + x-content-type-options: + $ref: "#/components/headers/x-content-type-options" + x-frame-options: + $ref: "#/components/headers/x-frame-options" + x-rate-limit-limit: + $ref: "#/components/headers/x-rate-limit-limit" + x-rate-limit-remaining: + $ref: "#/components/headers/x-rate-limit-remaining" + x-rate-limit-reset: + $ref: "#/components/headers/x-rate-limit-reset" + x-response-time: + $ref: "#/components/headers/x-response-time" + x-tfe-preserve-body: + $ref: "#/components/headers/x-tfe-preserve-body" + x-transaction-id: + $ref: "#/components/headers/x-transaction-id" + x-twitter-response-tags: + $ref: "#/components/headers/x-twitter-response-tags" + x-xss-protection: + $ref: "#/components/headers/x-xss-protection" tags: - "user" - "graphql" @@ -437,7 +704,6 @@ paths: $ref: "#/components/headers/x-twitter-response-tags" x-xss-protection: $ref: "#/components/headers/x-xss-protection" - tags: - "user" - "graphql"