1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-09 14:50:25 +01:00
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2025-05-02 01:57:51 +09:00
parent de523dc052
commit c7d323f781
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
12 changed files with 678 additions and 1112 deletions

1
.vscode/tasks.json vendored
View file

@ -24,6 +24,7 @@
"command": [
".venv/Scripts/activate;",
"python tools/build.py;",
"scoop reset temurin17-jdk;",
"java -jar openapi-generator-cli.jar generate -c test/python/openapi-generator-config.yaml -g python;",
"python -m pip install ./python_generated;"
]

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

Binary file not shown.

View file

@ -1,8 +1,8 @@
{
"HomeTimeline": {
"@path": "/i/api/graphql/ci_OQZ2k0rG0Ax_lXRiWVA/HomeTimeline",
"@path": "/i/api/graphql/Q_P3YVnmHunGFkZ8ISM-7w/HomeTimeline",
"@method": "GET",
"queryId": "ci_OQZ2k0rG0Ax_lXRiWVA",
"queryId": "Q_P3YVnmHunGFkZ8ISM-7w",
"variables": {
"count": 20,
"includePromotedContent": true,
@ -15,7 +15,6 @@
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
@ -47,9 +46,9 @@
}
},
"HomeLatestTimeline": {
"@path": "/i/api/graphql/nMyTQqsJiUGBKLGNSQamAA/HomeLatestTimeline",
"@path": "/i/api/graphql/CRprHpVA12yhsub-KRERIg/HomeLatestTimeline",
"@method": "GET",
"queryId": "nMyTQqsJiUGBKLGNSQamAA",
"queryId": "CRprHpVA12yhsub-KRERIg",
"variables": {
"count": 20,
"includePromotedContent": true,
@ -61,7 +60,6 @@
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
@ -93,9 +91,9 @@
}
},
"ListLatestTweetsTimeline": {
"@path": "/i/api/graphql/LSefrrxhpeX8HITbKfWz9g/ListLatestTweetsTimeline",
"@path": "/i/api/graphql/BkauSnPUDQTeeJsxq17opA/ListLatestTweetsTimeline",
"@method": "GET",
"queryId": "LSefrrxhpeX8HITbKfWz9g",
"queryId": "BkauSnPUDQTeeJsxq17opA",
"variables": {
"listId": "1539453138322673664",
"count": 20
@ -104,7 +102,6 @@
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
@ -136,9 +133,9 @@
}
},
"UserByScreenName": {
"@path": "/i/api/graphql/32pL5BWe9WKeSK1MoPvFQQ/UserByScreenName",
"@path": "/i/api/graphql/1VOOyvKkiI3FMmkeDNxM9A/UserByScreenName",
"@method": "GET",
"queryId": "32pL5BWe9WKeSK1MoPvFQQ",
"queryId": "1VOOyvKkiI3FMmkeDNxM9A",
"variables": {
"screen_name": "elonmusk"
},
@ -146,7 +143,6 @@
"hidden_profile_subscriptions_enabled": true,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_enabled": true,
"responsive_web_graphql_exclude_directive_enabled": true,
"verified_phone_label_enabled": false,
"subscriptions_verification_info_is_identity_verified_enabled": true,
"subscriptions_verification_info_verified_since_enabled": true,
@ -182,16 +178,15 @@
}
},
"UsersByRestIds": {
"@path": "/i/api/graphql/PyRggX3LQweP9nSF6PHliA/UsersByRestIds",
"@path": "/i/api/graphql/XArUHrueMW0KQdZUdqidrA/UsersByRestIds",
"@method": "GET",
"queryId": "PyRggX3LQweP9nSF6PHliA",
"queryId": "XArUHrueMW0KQdZUdqidrA",
"variables": {
"userIds": ["44196397"]
},
"features": {
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_enabled": true,
"responsive_web_graphql_exclude_directive_enabled": true,
"verified_phone_label_enabled": false,
"responsive_web_graphql_skip_user_profile_image_extensions_enabled": false,
"responsive_web_graphql_timeline_navigation_enabled": true
@ -207,9 +202,9 @@
"features": {}
},
"UserTweets": {
"@path": "/i/api/graphql/M3Hpkrb8pjWkEuGdLeXMOA/UserTweets",
"@path": "/i/api/graphql/HeWHY26ItCfUmm1e6ITjeA/UserTweets",
"@method": "GET",
"queryId": "M3Hpkrb8pjWkEuGdLeXMOA",
"queryId": "HeWHY26ItCfUmm1e6ITjeA",
"variables": {
"userId": "44196397",
"count": 40,
@ -221,7 +216,6 @@
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
@ -256,9 +250,9 @@
}
},
"UserTweetsAndReplies": {
"@path": "/i/api/graphql/pz0IHaV_t7T4HJavqqqcIA/UserTweetsAndReplies",
"@path": "/i/api/graphql/OAx9yEcW3JA9bPo63pcYlA/UserTweetsAndReplies",
"@method": "GET",
"queryId": "pz0IHaV_t7T4HJavqqqcIA",
"queryId": "OAx9yEcW3JA9bPo63pcYlA",
"variables": {
"userId": "44196397",
"count": 40,
@ -270,7 +264,6 @@
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
@ -353,9 +346,9 @@
}
},
"UserMedia": {
"@path": "/i/api/graphql/8B9DqlaGvYyOvTCzzZWtNA/UserMedia",
"@path": "/i/api/graphql/vFPc2LVIu7so2uA_gHQAdg/UserMedia",
"@method": "GET",
"queryId": "8B9DqlaGvYyOvTCzzZWtNA",
"queryId": "vFPc2LVIu7so2uA_gHQAdg",
"variables": {
"userId": "44196397",
"count": 40,
@ -368,7 +361,6 @@
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
@ -403,11 +395,11 @@
}
},
"Likes": {
"@path": "/i/api/graphql/uxjTlmrTI61zreSIV1urbw/Likes",
"@path": "/i/api/graphql/eQl7iWsCr2fChppuJdAeRw/Likes",
"@method": "GET",
"queryId": "uxjTlmrTI61zreSIV1urbw",
"queryId": "eQl7iWsCr2fChppuJdAeRw",
"variables": {
"userId": "44196397",
"userId": "1787148517779406848",
"count": 20,
"includePromotedContent": false,
"withClientEventToken": false,
@ -418,7 +410,6 @@
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
@ -438,7 +429,7 @@
"responsive_web_twitter_article_tweet_consumption_enabled": true,
"tweet_awards_web_tipping_enabled": false,
"responsive_web_grok_show_grok_translated_post": false,
"responsive_web_grok_analysis_button_from_backend": false,
"responsive_web_grok_analysis_button_from_backend": true,
"creator_subscriptions_quote_tweet_preview_enabled": false,
"freedom_of_speech_not_reach_fetch_enabled": true,
"standardized_nudges_misinfo": true,
@ -453,9 +444,9 @@
}
},
"Bookmarks": {
"@path": "/i/api/graphql/ztCdjqsvvdL0dE8R5ME0hQ/Bookmarks",
"@path": "/i/api/graphql/-LGfdImKeQz0xS_jjUwzlA/Bookmarks",
"@method": "GET",
"queryId": "ztCdjqsvvdL0dE8R5ME0hQ",
"queryId": "-LGfdImKeQz0xS_jjUwzlA",
"variables": {
"count": 20,
"includePromotedContent": true
@ -464,7 +455,6 @@
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
@ -496,9 +486,9 @@
}
},
"TweetDetail": {
"@path": "/i/api/graphql/b9Yw90FMr_zUb8DvA8r2ug/TweetDetail",
"@path": "/i/api/graphql/_8aYOgEDz35BrBcBal1-_w/TweetDetail",
"@method": "GET",
"queryId": "b9Yw90FMr_zUb8DvA8r2ug",
"queryId": "_8aYOgEDz35BrBcBal1-_w",
"variables": {
"focalTweetId": "1349129669258448897",
"referrer": "home",
@ -514,7 +504,6 @@
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
@ -594,9 +583,9 @@
}
},
"SearchTimeline": {
"@path": "/i/api/graphql/fL2MBiqXPk5pSrOS5ACLdA/SearchTimeline",
"@path": "/i/api/graphql/AIdc203rPpK_k_2KWSdm7g/SearchTimeline",
"@method": "GET",
"queryId": "fL2MBiqXPk5pSrOS5ACLdA",
"queryId": "AIdc203rPpK_k_2KWSdm7g",
"variables": {
"rawQuery": "elonmusk",
"count": 20,
@ -607,7 +596,6 @@
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
@ -639,9 +627,9 @@
}
},
"Favoriters": {
"@path": "/i/api/graphql/q-g2cgR9LuLM6rvXQ-oxFw/Favoriters",
"@path": "/i/api/graphql/4AzoFlLkEcs2bx5pO1mvsQ/Favoriters",
"@method": "GET",
"queryId": "q-g2cgR9LuLM6rvXQ-oxFw",
"queryId": "4AzoFlLkEcs2bx5pO1mvsQ",
"variables": {
"tweetId": "1349129669258448897",
"count": 20,
@ -651,7 +639,6 @@
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
@ -683,9 +670,9 @@
}
},
"Retweeters": {
"@path": "/i/api/graphql/jyA1POBpkjVzqwOD7_6Jtw/Retweeters",
"@path": "/i/api/graphql/i-CI8t2pJD15euZJErEDrg/Retweeters",
"@method": "GET",
"queryId": "jyA1POBpkjVzqwOD7_6Jtw",
"queryId": "i-CI8t2pJD15euZJErEDrg",
"variables": {
"tweetId": "1349129669258448897",
"count": 20,
@ -695,7 +682,6 @@
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
@ -727,9 +713,9 @@
}
},
"Followers": {
"@path": "/i/api/graphql/jqZ0_HJBA6mnu18iTZYm9w/Followers",
"@path": "/i/api/graphql/Elc_-qTARceHpztqhI9PQA/Followers",
"@method": "GET",
"queryId": "jqZ0_HJBA6mnu18iTZYm9w",
"queryId": "Elc_-qTARceHpztqhI9PQA",
"variables": {
"userId": "44196397",
"count": 20,
@ -739,7 +725,6 @@
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
@ -771,9 +756,9 @@
}
},
"Following": {
"@path": "/i/api/graphql/4QHbs4wmzgtU91f-t96_Eg/Following",
"@path": "/i/api/graphql/C1qZ6bs-L3oc_TKSZyxkXQ/Following",
"@method": "GET",
"queryId": "4QHbs4wmzgtU91f-t96_Eg",
"queryId": "C1qZ6bs-L3oc_TKSZyxkXQ",
"variables": {
"userId": "44196397",
"count": 20,
@ -783,7 +768,6 @@
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
@ -815,9 +799,9 @@
}
},
"BlueVerifiedFollowers": {
"@path": "/i/api/graphql/GHg0X_FjrJoISwwLPWi1LQ/BlueVerifiedFollowers",
"@path": "/i/api/graphql/ZpmVpf_fBIUgdPErpq2wWg/BlueVerifiedFollowers",
"@method": "GET",
"queryId": "GHg0X_FjrJoISwwLPWi1LQ",
"queryId": "ZpmVpf_fBIUgdPErpq2wWg",
"variables": {
"userId": "1347135745706708993",
"count": 20,
@ -827,7 +811,6 @@
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
@ -859,9 +842,9 @@
}
},
"FollowersYouKnow": {
"@path": "/i/api/graphql/Ba2FhuJKy1jPCGz80ouhzg/FollowersYouKnow",
"@path": "/i/api/graphql/25T3tmcTp4XRUrFhlMa56Q/FollowersYouKnow",
"@method": "GET",
"queryId": "Ba2FhuJKy1jPCGz80ouhzg",
"queryId": "25T3tmcTp4XRUrFhlMa56Q",
"variables": {
"userId": "44196397",
"count": 20,
@ -871,7 +854,6 @@
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
@ -903,9 +885,9 @@
}
},
"CreateTweet": {
"@path": "/i/api/graphql/xT36w0XM3A8jDynpkram2A/CreateTweet",
"@path": "/i/api/graphql/IID9x6WsdMnTlXnzXGq8ng/CreateTweet",
"@method": "POST",
"queryId": "xT36w0XM3A8jDynpkram2A",
"queryId": "IID9x6WsdMnTlXnzXGq8ng",
"variables": {
"tweet_text": "test",
"media": {
@ -932,26 +914,33 @@
"attachment_url?": "https://x.com/elonmusk/status/1349129669258448897"
},
"features": {
"premium_content_api_read_enabled": false,
"communities_web_enable_tweet_community_results_fetch": true,
"c9s_tweet_anatomy_moderator_badge_enabled": true,
"responsive_web_grok_analyze_button_fetch_trends_enabled": false,
"responsive_web_grok_analyze_post_followups_enabled": true,
"responsive_web_jetfuel_frame": false,
"responsive_web_grok_share_attachment_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": true,
"tweet_awards_web_tipping_enabled": false,
"responsive_web_grok_show_grok_translated_post": false,
"responsive_web_grok_analysis_button_from_backend": false,
"creator_subscriptions_quote_tweet_preview_enabled": false,
"longform_notetweets_rich_text_read_enabled": true,
"longform_notetweets_inline_media_enabled": true,
"articles_preview_enabled": true,
"rweb_video_timestamps_enabled": true,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_enabled": true,
"responsive_web_graphql_exclude_directive_enabled": true,
"verified_phone_label_enabled": false,
"articles_preview_enabled": true,
"responsive_web_graphql_skip_user_profile_image_extensions_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,
"responsive_web_graphql_skip_user_profile_image_extensions_enabled": false,
"responsive_web_grok_image_annotation_enabled": true,
"responsive_web_graphql_timeline_navigation_enabled": true,
"responsive_web_enhance_cards_enabled": false
}
@ -1127,13 +1116,12 @@
"queryId": "xF6sXnKJfS2AOylzxRjf6A"
},
"PinnedTimelines": {
"@path": "/i/api/graphql/5gi2JbcGqn-TZeacb6CXQg/PinnedTimelines",
"@path": "/i/api/graphql/1OlNf_fYz6q0vmZQFAEEIQ/PinnedTimelines",
"@method": "GET",
"queryId": "5gi2JbcGqn-TZeacb6CXQg",
"queryId": "1OlNf_fYz6q0vmZQFAEEIQ",
"features": {
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_enabled": true,
"responsive_web_graphql_exclude_directive_enabled": true,
"verified_phone_label_enabled": false,
"responsive_web_graphql_skip_user_profile_image_extensions_enabled": false,
"responsive_web_graphql_timeline_navigation_enabled": true
@ -1188,14 +1176,13 @@
"queryId": "Z2BA99jFw6TxaJM5v7Irmg"
},
"ExplorePage": {
"@path": "/i/api/graphql/Pclwdha3s_tQ5dMomFhRrg/ExplorePage",
"@path": "/i/api/graphql/ItOJ-_L-1xsKOeJQ8Yo_IA/ExplorePage",
"@method": "GET",
"queryId": "Pclwdha3s_tQ5dMomFhRrg",
"queryId": "ItOJ-_L-1xsKOeJQ8Yo_IA",
"features": {
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
@ -1237,14 +1224,13 @@
"queryId": "xfgycRkhqXy90CmTQZ7Kig"
},
"CommunitiesRankedTimeline": {
"@path": "/i/api/graphql/D1b67ecmt-bT3bRpgaCjMQ/CommunitiesRankedTimeline",
"@path": "/i/api/graphql/kfS8etmgv74Ra6OUtZ5XTg/CommunitiesRankedTimeline",
"@method": "GET",
"queryId": "D1b67ecmt-bT3bRpgaCjMQ",
"queryId": "kfS8etmgv74Ra6OUtZ5XTg",
"features": {
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
@ -1280,14 +1266,13 @@
}
},
"BirdwatchFetchGlobalTimeline": {
"@path": "/i/api/graphql/6pP3Lh7hO-PRqk8SlwkQhg/BirdwatchFetchGlobalTimeline",
"@path": "/i/api/graphql/AwCPKucS8O5dzoLepqaXWQ/BirdwatchFetchGlobalTimeline",
"@method": "GET",
"queryId": "6pP3Lh7hO-PRqk8SlwkQhg",
"queryId": "AwCPKucS8O5dzoLepqaXWQ",
"features": {
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
@ -1364,9 +1349,9 @@
}
},
"FetchDraftTweets": {
"@path": "/i/api/graphql/fMp3izG_gCZKVk3Aa1vVKw/FetchDraftTweets",
"@path": "/i/api/graphql/_wZic234DLvY-ej1LADArQ/FetchDraftTweets",
"@method": "GET",
"queryId": "fMp3izG_gCZKVk3Aa1vVKw",
"queryId": "_wZic234DLvY-ej1LADArQ",
"ascending": false
},
"useFetchAnalyticsQuery": {
@ -1393,14 +1378,13 @@
"queryId": "_gBQBgClVuMQb8efxWkbbQ"
},
"GenericTimelineById": {
"@path": "/i/api/graphql/AUBQvpgGDhTkrW5h66irTA/GenericTimelineById",
"@path": "/i/api/graphql/CT0YFEFf5GOYa5DJcxM91w/GenericTimelineById",
"@method": "GET",
"queryId": "AUBQvpgGDhTkrW5h66irTA",
"queryId": "CT0YFEFf5GOYa5DJcxM91w",
"features": {
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
@ -1536,12 +1520,11 @@
"queryId": "xFxU-O8hEYe74ovNVU74jA"
},
"CommunitiesFetchOneQuery": {
"@path": "/i/api/graphql/qoO_JjXzufVpsHld_wO9bw/CommunitiesFetchOneQuery",
"@path": "/i/api/graphql/yl50sLRZmPfKAvxW7H_z0g/CommunitiesFetchOneQuery",
"@method": "GET",
"queryId": "qoO_JjXzufVpsHld_wO9bw",
"queryId": "yl50sLRZmPfKAvxW7H_z0g",
"features": {
"profile_label_improvements_pcf_label_in_post_enabled": true,
"responsive_web_graphql_exclude_directive_enabled": true,
"responsive_web_graphql_skip_user_profile_image_extensions_enabled": false,
"responsive_web_graphql_timeline_navigation_enabled": true,
"rweb_tipjar_consumption_enabled": true,
@ -1558,13 +1541,13 @@
}
},
"CommunityTweetsTimeline": {
"@path": "/i/api/graphql/9Aek_FuJnKEtOZuUzMb--A/CommunityTweetsTimeline",
"@path": "/i/api/graphql/vkWYuV0FQ7oqkmXxHFdq9g/CommunityTweetsTimeline",
"@method": "GET",
"queryId": "9Aek_FuJnKEtOZuUzMb--A",
"queryId": "vkWYuV0FQ7oqkmXxHFdq9g",
"features": {
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
@ -1583,12 +1566,12 @@
"longform_notetweets_consumption_enabled": true,
"responsive_web_twitter_article_tweet_consumption_enabled": true,
"tweet_awards_web_tipping_enabled": false,
"responsive_web_grok_show_grok_translated_post": false,
"responsive_web_grok_analysis_button_from_backend": false,
"creator_subscriptions_quote_tweet_preview_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,
"rweb_video_timestamps_enabled": true,
"longform_notetweets_rich_text_read_enabled": true,
"longform_notetweets_inline_media_enabled": true,
"responsive_web_grok_image_annotation_enabled": true,
@ -1596,14 +1579,13 @@
}
},
"CommunityMediaTimeline": {
"@path": "/i/api/graphql/HfMuDHto2j3NKUeiLjKWHA",
"@path": "/i/api/graphql/JHPQYzZrkCYV3xgbQlm6Pw/CommunityMediaTimeline",
"@method": "GET",
"queryId": "HfMuDHto2j3NKUeiLjKWHA",
"queryId": "JHPQYzZrkCYV3xgbQlm6Pw",
"features": {
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
@ -1635,13 +1617,13 @@
}
},
"CommunityAboutTimeline": {
"@path": "/i/api/graphql/Cr3qPw53XABLDuzCFJmnhA",
"@path": "/i/api/graphql/ogJ8qzamg6ualogwgFECUQ/CommunityAboutTimeline",
"@method": "GET",
"queryId": "Cr3qPw53XABLDuzCFJmnhA",
"queryId": "ogJ8qzamg6ualogwgFECUQ",
"features": {
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
@ -1660,12 +1642,12 @@
"longform_notetweets_consumption_enabled": true,
"responsive_web_twitter_article_tweet_consumption_enabled": true,
"tweet_awards_web_tipping_enabled": false,
"responsive_web_grok_show_grok_translated_post": false,
"responsive_web_grok_analysis_button_from_backend": false,
"creator_subscriptions_quote_tweet_preview_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,
"rweb_video_timestamps_enabled": true,
"longform_notetweets_rich_text_read_enabled": true,
"longform_notetweets_inline_media_enabled": true,
"responsive_web_grok_image_annotation_enabled": true,
@ -1711,24 +1693,23 @@
}
},
"isEligibleForVoButtonUpsellQuery": {
"@path": "/i/api/graphql/BuWF9hiwmUyFdGo3J4DqbA",
"@path": "/i/api/graphql/BuWF9hiwmUyFdGo3J4DqbA/isEligibleForVoButtonUpsellQuery",
"@method": "GET",
"queryId": "BuWF9hiwmUyFdGo3J4DqbA"
},
"isEligibleForAnalyticsUpsellQuery": {
"@path": "/i/api/graphql/I_tJ_DO6WLqG0em8EQsVVg",
"@path": "/i/api/graphql/I_tJ_DO6WLqG0em8EQsVVg/isEligibleForAnalyticsUpsellQuery",
"@method": "GET",
"queryId": "I_tJ_DO6WLqG0em8EQsVVg"
},
"NotificationsTimeline": {
"@path": "/i/api/graphql/WERRji0vXRGrMiQ8LPZ3sw",
"@path": "/i/api/graphql/gaBVLalXDBRDJz6maKgdWg/NotificationsTimeline",
"@method": "GET",
"queryId": "WERRji0vXRGrMiQ8LPZ3sw",
"queryId": "gaBVLalXDBRDJz6maKgdWg",
"features": {
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
@ -1760,19 +1741,18 @@
}
},
"TopicCarouselQuery": {
"@path": "/i/api/graphql/byVjaS0CUtBqAao_lhZFgA",
"@path": "/i/api/graphql/byVjaS0CUtBqAao_lhZFgA/TopicCarouselQuery",
"@method": "GET",
"queryId": "byVjaS0CUtBqAao_lhZFgA"
},
"CommunitiesExploreTimeline": {
"@path": "/i/api/graphql/WD5si_oxsmp1axMAKeD9YA",
"@path": "/i/api/graphql/MrXjwvEJaFDUOYOanV3uCg/CommunitiesExploreTimeline",
"@method": "GET",
"queryId": "WD5si_oxsmp1axMAKeD9YA",
"queryId": "MrXjwvEJaFDUOYOanV3uCg",
"features": {
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
@ -1802,5 +1782,223 @@
"responsive_web_grok_image_annotation_enabled": true,
"responsive_web_enhance_cards_enabled": false
}
},
"BookmarkSearchTimeline": {
"@path": "/i/api/graphql/Uy1jaXW9cbaYFJNNp7ypGQ/BookmarkSearchTimeline",
"@method": "GET",
"queryId": "Uy1jaXW9cbaYFJNNp7ypGQ",
"features": {
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
"premium_content_api_read_enabled": false,
"communities_web_enable_tweet_community_results_fetch": true,
"c9s_tweet_anatomy_moderator_badge_enabled": true,
"responsive_web_grok_analyze_button_fetch_trends_enabled": false,
"responsive_web_grok_analyze_post_followups_enabled": true,
"responsive_web_jetfuel_frame": false,
"responsive_web_grok_share_attachment_enabled": true,
"articles_preview_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": true,
"tweet_awards_web_tipping_enabled": false,
"responsive_web_grok_show_grok_translated_post": false,
"responsive_web_grok_analysis_button_from_backend": false,
"creator_subscriptions_quote_tweet_preview_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_grok_image_annotation_enabled": true,
"responsive_web_enhance_cards_enabled": false
}
},
"CommunityDiscoveryTimeline": {
"@path": "/i/api/graphql/RKUKyKdZ75G_a0Psa859YQ/CommunityDiscoveryTimeline",
"@method": "GET",
"queryId": "RKUKyKdZ75G_a0Psa859YQ",
"features": {
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
"premium_content_api_read_enabled": false,
"communities_web_enable_tweet_community_results_fetch": true,
"c9s_tweet_anatomy_moderator_badge_enabled": true,
"responsive_web_grok_analyze_button_fetch_trends_enabled": false,
"responsive_web_grok_analyze_post_followups_enabled": true,
"responsive_web_jetfuel_frame": false,
"responsive_web_grok_share_attachment_enabled": true,
"articles_preview_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": true,
"tweet_awards_web_tipping_enabled": false,
"responsive_web_grok_show_grok_translated_post": false,
"responsive_web_grok_analysis_button_from_backend": false,
"creator_subscriptions_quote_tweet_preview_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_grok_image_annotation_enabled": true,
"responsive_web_enhance_cards_enabled": false
}
},
"CommunitiesSearchQuery": {
"@path": "/i/api/graphql/daVUkhfHn7-Z8llpYVKJSw/CommunitiesSearchQuery",
"@method": "GET",
"queryId": "daVUkhfHn7-Z8llpYVKJSw"
},
"GlobalCommunitiesPostSearchTimeline": {
"@path": "/i/api/graphql/l5ijS9yNk_UfvQ5nquRcCQ/GlobalCommunitiesPostSearchTimeline",
"@method": "GET",
"queryId": "l5ijS9yNk_UfvQ5nquRcCQ",
"features": {
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
"premium_content_api_read_enabled": false,
"communities_web_enable_tweet_community_results_fetch": true,
"c9s_tweet_anatomy_moderator_badge_enabled": true,
"responsive_web_grok_analyze_button_fetch_trends_enabled": false,
"responsive_web_grok_analyze_post_followups_enabled": true,
"responsive_web_jetfuel_frame": false,
"responsive_web_grok_share_attachment_enabled": true,
"articles_preview_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": true,
"tweet_awards_web_tipping_enabled": false,
"responsive_web_grok_show_grok_translated_post": false,
"responsive_web_grok_analysis_button_from_backend": false,
"creator_subscriptions_quote_tweet_preview_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_grok_image_annotation_enabled": true,
"responsive_web_enhance_cards_enabled": false
}
},
"GlobalCommunitiesLatestPostSearchTimeline": {
"@path": "/i/api/graphql/lw9zIRngx4n3pxZmrCVUfQ/GlobalCommunitiesLatestPostSearchTimeline",
"@method": "GET",
"queryId": "lw9zIRngx4n3pxZmrCVUfQ",
"features": {
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
"premium_content_api_read_enabled": false,
"communities_web_enable_tweet_community_results_fetch": true,
"c9s_tweet_anatomy_moderator_badge_enabled": true,
"responsive_web_grok_analyze_button_fetch_trends_enabled": false,
"responsive_web_grok_analyze_post_followups_enabled": true,
"responsive_web_jetfuel_frame": false,
"responsive_web_grok_share_attachment_enabled": true,
"articles_preview_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": true,
"tweet_awards_web_tipping_enabled": false,
"responsive_web_grok_show_grok_translated_post": false,
"responsive_web_grok_analysis_button_from_backend": false,
"creator_subscriptions_quote_tweet_preview_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_grok_image_annotation_enabled": true,
"responsive_web_enhance_cards_enabled": false
}
},
"membersSliceTimeline_Query": {
"@path": "/i/api/graphql/V7OdnMvujMPsCctT_daznQ/membersSliceTimeline_Query",
"@method": "GET",
"queryId": "V7OdnMvujMPsCctT_daznQ",
"features": {
"responsive_web_graphql_timeline_navigation_enabled": true
}
},
"CombinedLists": {
"@path": "/i/api/graphql/ulFO9MUgZ5uJP_2l7cKciA/CombinedLists",
"@method": "GET",
"queryId": "ulFO9MUgZ5uJP_2l7cKciA",
"features": {
"rweb_video_screen_enabled": false,
"profile_label_improvements_pcf_label_in_post_enabled": true,
"rweb_tipjar_consumption_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,
"premium_content_api_read_enabled": false,
"communities_web_enable_tweet_community_results_fetch": true,
"c9s_tweet_anatomy_moderator_badge_enabled": true,
"responsive_web_grok_analyze_button_fetch_trends_enabled": false,
"responsive_web_grok_analyze_post_followups_enabled": true,
"responsive_web_jetfuel_frame": false,
"responsive_web_grok_share_attachment_enabled": true,
"articles_preview_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": true,
"tweet_awards_web_tipping_enabled": false,
"responsive_web_grok_show_grok_translated_post": false,
"responsive_web_grok_analysis_button_from_backend": false,
"creator_subscriptions_quote_tweet_preview_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_grok_image_annotation_enabled": true,
"responsive_web_enhance_cards_enabled": false
}
},
"FetchScheduledTweets": {
"@path": "/i/api/graphql/ffT6na2E9ReT4yfB5uzw_g/FetchScheduledTweets",
"@method": "GET",
"queryId": "ffT6na2E9ReT4yfB5uzw_g"
},
"BlueVerifiedProfileEditCalloutQuery": {
"@path": "/i/api/graphql/myAwUDICwB5gFdJhNB7xsg/BlueVerifiedProfileEditCalloutQuery",
"@method": "GET",
"queryId": "myAwUDICwB5gFdJhNB7xsg"
},
"useFetchProfileSections_profileSectionsCountQuery": {
"@path": "/i/api/graphql/B06uJ_vmlBVxEs7gCT6Dxw/useFetchProfileSections_profileSectionsCountQuery",
"@method": "GET",
"queryId": "B06uJ_vmlBVxEs7gCT6Dxw"
}
}

View file

@ -108,7 +108,7 @@ components:
TweetFavoritersResponseData:
properties:
favoriters_timeline:
$ref: "./../schemas/timeline.yaml#/components/schemas/TimelineV2"
$ref: "./../schemas/timeline.yaml#/components/schemas/TimelineResult"
TweetRetweetersResponse:
required:
@ -124,4 +124,4 @@ components:
TweetRetweetersResponseData:
properties:
retweeters_timeline:
$ref: "./../schemas/timeline.yaml#/components/schemas/TimelineV2"
$ref: "./../schemas/timeline.yaml#/components/schemas/TimelineResult"

View file

@ -97,9 +97,19 @@ components:
- "result"
properties:
result:
$ref: "#/components/schemas/UserTweetsResult"
$ref: "#/components/schemas/UserTweetsResultV1"
UserTweetsResult:
UserTweetsResultV1:
required:
- "__typename"
- "timeline"
properties:
__typename:
$ref: "./../schemas/typename.yaml#/components/schemas/TypeName" # User
timeline:
$ref: "./../schemas/timeline.yaml#/components/schemas/TimelineResult"
UserTweetsResultV2:
required:
- "__typename"
- "timeline_v2"
@ -107,7 +117,7 @@ components:
__typename:
$ref: "./../schemas/typename.yaml#/components/schemas/TypeName" # User
timeline_v2:
$ref: "./../schemas/timeline.yaml#/components/schemas/TimelineV2"
$ref: "./../schemas/timeline.yaml#/components/schemas/TimelineResult"
UserHighlightsTweetsResponse:
required:

View file

@ -276,6 +276,7 @@ components:
- "Conversation"
- "List"
- "Community"
- "Facepile"
text:
type: string
landingUrl:
@ -458,12 +459,9 @@ components:
TimelineTrend:
required:
- "__typename"
- "itemType"
- "name"
- "trend_url"
- "trend_metadata"
- "thumbnail_image"
- "images"
properties:
__typename:
$ref: "./typename.yaml#/components/schemas/TypeName" # TimelineTrend

View file

@ -6,7 +6,7 @@ info:
paths: {}
components:
schemas:
TimelineV2:
TimelineResult:
properties:
timeline:
$ref: "#/components/schemas/Timeline"

View file

@ -709,6 +709,8 @@ components:
enum: [BirdwatchV1Icon]
callToAction:
$ref: "#/components/schemas/BirdwatchPivotCallToAction"
titleDetail:
type: string
BirdwatchPivotFooter:
required:
@ -1582,7 +1584,7 @@ components:
GrokShareAttachmentItem:
required:
- "media_urls"
- message
- "message"
properties:
media_urls:
type: array
@ -1591,6 +1593,15 @@ components:
format: uri
message:
type: string
analysis_post_id_results:
$ref: "#/components/schemas/AnalysisResults"
AnalysisResults:
required:
- "result"
properties:
result:
$ref: "#/components/schemas/Tweet"
TweetPreviewDisplay:
required:

View file

@ -60,6 +60,12 @@ def find_name(x):
return [x["name"]]
def get_transaction_id(key):
return ct.generate_transaction_id(
method=placeholder[key]["@method"], path=placeholder[key]["@path"]
)
def get_kwargs(key, additional):
kwargs = {"path_query_id": placeholder[key]["queryId"], "_headers": {}}
if placeholder[key].get("variables") is not None:
@ -69,9 +75,7 @@ def get_kwargs(key, additional):
if placeholder[key].get("fieldToggles") is not None:
kwargs["field_toggles"] = json.dumps(placeholder[key]["fieldToggles"])
if placeholder[key].get("@path") is not None:
kwargs["_headers"]["x-client-transaction-id"] = ct.generate_transaction_id(
method=placeholder[key]["@method"], path=placeholder[key]["@path"]
)
kwargs["_headers"]["x-client-transaction-id"] = get_transaction_id(key)
return kwargs
@ -367,10 +371,7 @@ if __name__ == "__main__":
try:
logger.info("Try: Self UserTweets Test")
kwargs = get_kwargs("UserTweets", {"userId": id})
headers = get_header()
res = pt.TweetApi(api_client).get_user_tweets_with_http_info(
_headers=headers, **kwargs
)
res = pt.TweetApi(api_client).get_user_tweets_with_http_info(**kwargs)
data = res.data.to_dict()
rate = match_rate(

View file

@ -18,14 +18,14 @@ class Config:
getParamHook = AddParametersOnContent(
split=-1,
contentType="application/json",
ignoreKeys=["queryId"],
ignoreKeys=["queryId", "@path", "@method"],
)
else:
# ["parameters"][0]["schema"]
getParamHook = AddParametersOnParameters(
split=-1,
schemaType="string",
ignoreKeys=["queryId"],
ignoreKeys=["queryId", "@path", "@method"],
)
return {