From cf5c7a72e6fd2197ec80accb3ec207d46134f37c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=B5=E3=81=81?= Date: Fri, 21 Apr 2023 21:15:04 +0900 Subject: [PATCH] update Following MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ふぁ --- dist/openapi-3.0.yaml | 4 +- dist/paths/follow.yaml | 224 ++++++++++++++++++------------------ src/config/placeholder.json | 2 +- 3 files changed, 115 insertions(+), 115 deletions(-) diff --git a/dist/openapi-3.0.yaml b/dist/openapi-3.0.yaml index 4368e1b..73e8964 100644 --- a/dist/openapi-3.0.yaml +++ b/dist/openapi-3.0.yaml @@ -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: diff --git a/dist/paths/follow.yaml b/dist/paths/follow.yaml index 8c1b452..3b398f5 100644 --- a/dist/paths/follow.yaml +++ b/dist/paths/follow.yaml @@ -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 diff --git a/src/config/placeholder.json b/src/config/placeholder.json index f7000f6..fe9e6b9 100644 --- a/src/config/placeholder.json +++ b/src/config/placeholder.json @@ -332,7 +332,7 @@ } }, "Following": { - "Query": "b22I8WSfQ8H4Ev8486xAlQ", + "Query": "IWP6Zt14sARO29lJT35bBw", "Variables": { "userId": "44196397", "count": 20,