diff --git a/src/config/placeholder.json b/src/config/placeholder.json index 001bc66..37c98da 100644 --- a/src/config/placeholder.json +++ b/src/config/placeholder.json @@ -121,7 +121,9 @@ "UsersByRestIds": { "queryId": "GD4q8bBE2i6cqWw2iT74Gg", "variables": { - "userIds": ["44196397"] + "userIds": [ + "44196397" + ] }, "features": { "responsive_web_graphql_exclude_directive_enabled": true, @@ -365,6 +367,36 @@ "responsive_web_enhance_cards_enabled": false } }, + "TweetResultByRestId": { + "queryId": "0hWvDhmW8YQ-S_ib3azIrw", + "variables": { + "tweetId": "1691730070669517096", + "withCommunity": false, + "includePromotedContent": false, + "withVoice": false + }, + "features": { + "creator_subscriptions_tweet_preview_api_enabled": true, + "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_graphql_exclude_directive_enabled": true, + "verified_phone_label_enabled": false, + "responsive_web_media_download_video_enabled": false, + "responsive_web_graphql_skip_user_profile_image_extensions_enabled": false, + "responsive_web_graphql_timeline_navigation_enabled": true, + "responsive_web_enhance_cards_enabled": false + } + }, "SearchTimeline": { "queryId": "L1VfBERtzc3VkBBT0YAYHA", "variables": { @@ -722,4 +754,4 @@ "include_ext_edit_control": true, "ext": "mediaStats,highlightedLabel,hasNftAvatar,voiceInfo,birdwatchPivot,enrichments,superFollowMetadata,unmentionInfo,editControl,vibe" } -} +} \ No newline at end of file diff --git a/src/openapi/paths/tweet.yaml b/src/openapi/paths/tweet.yaml index 87ddd4a..022bfdb 100644 --- a/src/openapi/paths/tweet.yaml +++ b/src/openapi/paths/tweet.yaml @@ -20,6 +20,22 @@ paths: tags: - "tweet" + /graphql/{pathQueryId}/TweetResultByRestId: + get: + operationId: getTweetResultByRestId + description: get TweetResultByRestId + responses: + "200": + description: Successful operation + content: + application/json: + schema: + oneOf: + - $ref: "#/components/schemas/TweetResultByRestIdResponse" + - $ref: "./../schemas/error.yaml#/components/schemas/Errors" + # tags: + # - "tweet" + /graphql/{pathQueryId}/Favoriters: get: operationId: getFavoriters @@ -68,6 +84,20 @@ components: threaded_conversation_with_injections_v2: $ref: "./../schemas/timeline.yaml#/components/schemas/Timeline" + TweetResultByRestIdResponse: + required: + - "data" + properties: + data: + $ref: "#/components/schemas/TweetResultByRestIdData" + + TweetResultByRestIdData: + required: + - "tweetResult" + properties: + tweetResult: + $ref: "./../schemas/content.yaml#/components/schemas/ItemResult" + TweetFavoritersResponse: required: - "data"