mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 23:50:26 +01:00
commit
a4947b33ab
10 changed files with 404 additions and 217 deletions
2
.github/workflows/test-build.yaml
vendored
2
.github/workflows/test-build.yaml
vendored
|
|
@ -39,7 +39,7 @@ jobs:
|
||||||
|
|
||||||
- name: Get Openapi Generator
|
- name: Get Openapi Generator
|
||||||
run: |
|
run: |
|
||||||
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.4.0/openapi-generator-cli-7.4.0.jar -O openapi-generator-cli.jar --no-verbose
|
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.9.0/openapi-generator-cli-7.9.0.jar -O openapi-generator-cli.jar --no-verbose
|
||||||
if: steps.openapi-generator-cache.outputs.cache-hit != 'true'
|
if: steps.openapi-generator-cache.outputs.cache-hit != 'true'
|
||||||
|
|
||||||
# Python Setup
|
# Python Setup
|
||||||
|
|
|
||||||
2
.github/workflows/test-python.yaml
vendored
2
.github/workflows/test-python.yaml
vendored
|
|
@ -40,7 +40,7 @@ jobs:
|
||||||
|
|
||||||
- name: Get Openapi Generator
|
- name: Get Openapi Generator
|
||||||
run: |
|
run: |
|
||||||
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.4.0/openapi-generator-cli-7.4.0.jar -O openapi-generator-cli.jar --no-verbose
|
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.9.0/openapi-generator-cli-7.9.0.jar -O openapi-generator-cli.jar --no-verbose
|
||||||
if: steps.openapi-generator-cache.outputs.cache-hit != 'true'
|
if: steps.openapi-generator-cache.outputs.cache-hit != 'true'
|
||||||
|
|
||||||
# Python Setup
|
# Python Setup
|
||||||
|
|
|
||||||
4
.vscode/tasks.json
vendored
4
.vscode/tasks.json
vendored
|
|
@ -31,14 +31,14 @@
|
||||||
"command": [
|
"command": [
|
||||||
"python3 -m venv .venv;",
|
"python3 -m venv .venv;",
|
||||||
".venv/bin/python3 -m pip install -r requirements.txt;",
|
".venv/bin/python3 -m pip install -r requirements.txt;",
|
||||||
"wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.8.0/openapi-generator-cli-7.8.0.jar -O openapi-generator-cli.jar;"
|
"wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.9.0/openapi-generator-cli-7.9.0.jar -O openapi-generator-cli.jar;"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"windows": {
|
"windows": {
|
||||||
"command": [
|
"command": [
|
||||||
"python -m venv .venv;",
|
"python -m venv .venv;",
|
||||||
".venv/Scripts/python -m pip install -r requirements.txt;",
|
".venv/Scripts/python -m pip install -r requirements.txt;",
|
||||||
"Invoke-WebRequest https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.8.0/openapi-generator-cli-7.8.0.jar -OutFile openapi-generator-cli.jar;"
|
"Invoke-WebRequest https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.9.0/openapi-generator-cli-7.9.0.jar -OutFile openapi-generator-cli.jar;"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
161
dist/compatible/openapi-3.0.yaml
vendored
161
dist/compatible/openapi-3.0.yaml
vendored
|
|
@ -1703,6 +1703,7 @@ components:
|
||||||
- Sparkle
|
- Sparkle
|
||||||
- Conversation
|
- Conversation
|
||||||
- List
|
- List
|
||||||
|
- Community
|
||||||
type: string
|
type: string
|
||||||
landingUrl:
|
landingUrl:
|
||||||
$ref: '#/components/schemas/SocialContextLandingUrl'
|
$ref: '#/components/schemas/SocialContextLandingUrl'
|
||||||
|
|
@ -2913,8 +2914,6 @@ components:
|
||||||
properties:
|
properties:
|
||||||
user:
|
user:
|
||||||
$ref: '#/components/schemas/UserResults'
|
$ref: '#/components/schemas/UserResults'
|
||||||
required:
|
|
||||||
- user
|
|
||||||
UserResultByScreenName:
|
UserResultByScreenName:
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
|
|
@ -3211,7 +3210,7 @@ components:
|
||||||
type: apiKey
|
type: apiKey
|
||||||
UserAgent:
|
UserAgent:
|
||||||
description: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
|
description: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
|
||||||
Gecko) Chrome/129.0.0.0 Safari/537.36
|
Gecko) Chrome/130.0.0.0 Safari/537.36
|
||||||
in: header
|
in: header
|
||||||
name: user-agent
|
name: user-agent
|
||||||
type: apiKey
|
type: apiKey
|
||||||
|
|
@ -4002,8 +4001,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: QUjXply7fA7fk05FRyajEg
|
default: L7vvM2UluPgWOW4GDvWyvw
|
||||||
example: QUjXply7fA7fk05FRyajEg
|
example: L7vvM2UluPgWOW4GDvWyvw
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -4788,8 +4787,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: LLkw5EcVutJL6y-2gkz22A
|
default: riUYr3PwuHNe4tCmzjPNrg
|
||||||
example: LLkw5EcVutJL6y-2gkz22A
|
example: riUYr3PwuHNe4tCmzjPNrg
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -4804,30 +4803,34 @@ paths:
|
||||||
name: features
|
name: features
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: '{"responsive_web_graphql_exclude_directive_enabled": true, "verified_phone_label_enabled":
|
default: '{"rweb_tipjar_consumption_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
||||||
false, "creator_subscriptions_tweet_preview_api_enabled": true, "responsive_web_graphql_timeline_navigation_enabled":
|
true, "verified_phone_label_enabled": false, "creator_subscriptions_tweet_preview_api_enabled":
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
true, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
||||||
false, "c9s_tweet_anatomy_moderator_badge_enabled": true, "tweetypie_unmention_optimization_enabled":
|
false, "communities_web_enable_tweet_community_results_fetch": true, "c9s_tweet_anatomy_moderator_badge_enabled":
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
true, "articles_preview_enabled": true, "responsive_web_edit_tweet_api_enabled":
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_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,
|
true, "responsive_web_twitter_article_tweet_consumption_enabled": true,
|
||||||
"tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
"tweet_awards_web_tipping_enabled": false, "creator_subscriptions_quote_tweet_preview_enabled":
|
||||||
true, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_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, "rweb_video_timestamps_enabled": true, "longform_notetweets_rich_text_read_enabled":
|
||||||
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_media_download_video_enabled":
|
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
false, "responsive_web_enhance_cards_enabled": false}'
|
false}'
|
||||||
example: '{"responsive_web_graphql_exclude_directive_enabled": true, "verified_phone_label_enabled":
|
example: '{"rweb_tipjar_consumption_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
||||||
false, "creator_subscriptions_tweet_preview_api_enabled": true, "responsive_web_graphql_timeline_navigation_enabled":
|
true, "verified_phone_label_enabled": false, "creator_subscriptions_tweet_preview_api_enabled":
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
true, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
||||||
false, "c9s_tweet_anatomy_moderator_badge_enabled": true, "tweetypie_unmention_optimization_enabled":
|
false, "communities_web_enable_tweet_community_results_fetch": true, "c9s_tweet_anatomy_moderator_badge_enabled":
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
true, "articles_preview_enabled": true, "responsive_web_edit_tweet_api_enabled":
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_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,
|
true, "responsive_web_twitter_article_tweet_consumption_enabled": true,
|
||||||
"tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
"tweet_awards_web_tipping_enabled": false, "creator_subscriptions_quote_tweet_preview_enabled":
|
||||||
true, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_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, "rweb_video_timestamps_enabled": true, "longform_notetweets_rich_text_read_enabled":
|
||||||
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_media_download_video_enabled":
|
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
false, "responsive_web_enhance_cards_enabled": false}'
|
false}'
|
||||||
type: string
|
type: string
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
|
@ -5144,8 +5147,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: DiTkXJgLqBBxCs7zaYsbtA
|
default: HyuV8ml52TYmyUjyrDq1CQ
|
||||||
example: DiTkXJgLqBBxCs7zaYsbtA
|
example: HyuV8ml52TYmyUjyrDq1CQ
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -5234,19 +5237,19 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: HJFjzBgCs16TqxewQOeLNg
|
default: E6AtJXVPtK7nIHAntKc5fA
|
||||||
example: HJFjzBgCs16TqxewQOeLNg
|
example: E6AtJXVPtK7nIHAntKc5fA
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
||||||
true, "requestContext": "launch", "withCommunity": true, "seenTweetIds":
|
true, "requestContext": "launch", "seenTweetIds": ["1349129669258448897"],
|
||||||
["1349129669258448897"]}'
|
"withCommunity": true}'
|
||||||
example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
||||||
true, "requestContext": "launch", "withCommunity": true, "seenTweetIds":
|
true, "requestContext": "launch", "seenTweetIds": ["1349129669258448897"],
|
||||||
["1349129669258448897"]}'
|
"withCommunity": true}'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: features
|
name: features
|
||||||
|
|
@ -5326,8 +5329,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: aeJWz--kknVBOl7wQ7gh7Q
|
default: px6_YxfWkXo0odY84iqqmw
|
||||||
example: aeJWz--kknVBOl7wQ7gh7Q
|
example: px6_YxfWkXo0odY84iqqmw
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -5373,6 +5376,13 @@ paths:
|
||||||
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_enhance_cards_enabled":
|
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
false}'
|
false}'
|
||||||
type: string
|
type: string
|
||||||
|
- in: query
|
||||||
|
name: fieldToggles
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"withArticlePlainText": false}'
|
||||||
|
example: '{"withArticlePlainText": false}'
|
||||||
|
type: string
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -5418,8 +5428,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: Pa45JvqZuKcW1plybfgBlQ
|
default: f-Lsj0rHCztXcgdo585UUw
|
||||||
example: Pa45JvqZuKcW1plybfgBlQ
|
example: f-Lsj0rHCztXcgdo585UUw
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -5566,8 +5576,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: 8019obfgnveiPiJuS2Rtow
|
default: rPcOnVhyaTBQrVgPuY7x7A
|
||||||
example: 8019obfgnveiPiJuS2Rtow
|
example: rPcOnVhyaTBQrVgPuY7x7A
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -5656,8 +5666,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: UN1i3zUiCWa-6r-Uaho4fw
|
default: MJpyQGqgklrVl_0X9gNy3A
|
||||||
example: UN1i3zUiCWa-6r-Uaho4fw
|
example: MJpyQGqgklrVl_0X9gNy3A
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -5746,21 +5756,21 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: QuBlQ6SxNAQCt6-kBiCXCQ
|
default: nBS-WpgA6ZG0CyNHD517JQ
|
||||||
example: QuBlQ6SxNAQCt6-kBiCXCQ
|
example: nBS-WpgA6ZG0CyNHD517JQ
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: '{"focalTweetId": "1349129669258448897", "referrer": "home", "with_rux_injections":
|
default: '{"focalTweetId": "1349129669258448897", "referrer": "home", "with_rux_injections":
|
||||||
false, "includePromotedContent": true, "withCommunity": true, "withQuickPromoteEligibilityTweetFields":
|
false, "rankingMode": "Relevance", "includePromotedContent": true, "withCommunity":
|
||||||
true, "withBirdwatchNotes": true, "withVoice": true, "withV2Timeline":
|
true, "withQuickPromoteEligibilityTweetFields": true, "withBirdwatchNotes":
|
||||||
true}'
|
true, "withVoice": true}'
|
||||||
example: '{"focalTweetId": "1349129669258448897", "referrer": "home", "with_rux_injections":
|
example: '{"focalTweetId": "1349129669258448897", "referrer": "home", "with_rux_injections":
|
||||||
false, "includePromotedContent": true, "withCommunity": true, "withQuickPromoteEligibilityTweetFields":
|
false, "rankingMode": "Relevance", "includePromotedContent": true, "withCommunity":
|
||||||
true, "withBirdwatchNotes": true, "withVoice": true, "withV2Timeline":
|
true, "withQuickPromoteEligibilityTweetFields": true, "withBirdwatchNotes":
|
||||||
true}'
|
true, "withVoice": true}'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: features
|
name: features
|
||||||
|
|
@ -5800,9 +5810,9 @@ paths:
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: '{"withArticleRichContentState": true, "withArticlePlainText":
|
default: '{"withArticleRichContentState": true, "withArticlePlainText":
|
||||||
false}'
|
false, "withGrokAnalyze": false, "withDisallowedReplyControls": false}'
|
||||||
example: '{"withArticleRichContentState": true, "withArticlePlainText":
|
example: '{"withArticleRichContentState": true, "withArticlePlainText":
|
||||||
false}'
|
false, "withGrokAnalyze": false, "withDisallowedReplyControls": false}'
|
||||||
type: string
|
type: string
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
|
@ -6096,15 +6106,15 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: Yka-W8dz7RaEuQNkroPkYw
|
default: BQ6xjFU6Mgm-WhEP3OiT9w
|
||||||
example: Yka-W8dz7RaEuQNkroPkYw
|
example: BQ6xjFU6Mgm-WhEP3OiT9w
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: '{"screen_name": "elonmusk", "withSafetyModeUserFields": true}'
|
default: '{"screen_name": "elonmusk"}'
|
||||||
example: '{"screen_name": "elonmusk", "withSafetyModeUserFields": true}'
|
example: '{"screen_name": "elonmusk"}'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: features
|
name: features
|
||||||
|
|
@ -6269,8 +6279,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: dexO_2tohK86JDudXXG3Yw
|
default: HaouMjBviBKKTYZGV_9qtg
|
||||||
example: dexO_2tohK86JDudXXG3Yw
|
example: HaouMjBviBKKTYZGV_9qtg
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -6316,6 +6326,13 @@ paths:
|
||||||
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_enhance_cards_enabled":
|
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
false}'
|
false}'
|
||||||
type: string
|
type: string
|
||||||
|
- in: query
|
||||||
|
name: fieldToggles
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"withArticlePlainText": false}'
|
||||||
|
example: '{"withArticlePlainText": false}'
|
||||||
|
type: string
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -6361,8 +6378,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: E3opETHurmVJflFsUBVuUQ
|
default: Tg82Ez_kxVaJf7OPbUdbCg
|
||||||
example: E3opETHurmVJflFsUBVuUQ
|
example: Tg82Ez_kxVaJf7OPbUdbCg
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -6408,6 +6425,13 @@ paths:
|
||||||
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_enhance_cards_enabled":
|
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
false}'
|
false}'
|
||||||
type: string
|
type: string
|
||||||
|
- in: query
|
||||||
|
name: fieldToggles
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"withArticlePlainText": false}'
|
||||||
|
example: '{"withArticlePlainText": false}'
|
||||||
|
type: string
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -6453,8 +6477,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: bt4TKuFz4T7Ckk-VvQVSow
|
default: HmWGzuzXoI6uFqqX6QNhEg
|
||||||
example: bt4TKuFz4T7Ckk-VvQVSow
|
example: HmWGzuzXoI6uFqqX6QNhEg
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -6498,6 +6522,13 @@ paths:
|
||||||
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_enhance_cards_enabled":
|
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
false}'
|
false}'
|
||||||
type: string
|
type: string
|
||||||
|
- in: query
|
||||||
|
name: fieldToggles
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"withArticlePlainText": false}'
|
||||||
|
example: '{"withArticlePlainText": false}'
|
||||||
|
type: string
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -6543,8 +6574,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: GYBpHkmyXjeuX9IeNJmweA
|
default: lc85bOG5T3IIS4u485VtBg
|
||||||
example: GYBpHkmyXjeuX9IeNJmweA
|
example: lc85bOG5T3IIS4u485VtBg
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
|
||||||
161
dist/compatible_discriminator/openapi-3.0.yaml
vendored
161
dist/compatible_discriminator/openapi-3.0.yaml
vendored
|
|
@ -1703,6 +1703,7 @@ components:
|
||||||
- Sparkle
|
- Sparkle
|
||||||
- Conversation
|
- Conversation
|
||||||
- List
|
- List
|
||||||
|
- Community
|
||||||
type: string
|
type: string
|
||||||
landingUrl:
|
landingUrl:
|
||||||
$ref: '#/components/schemas/SocialContextLandingUrl'
|
$ref: '#/components/schemas/SocialContextLandingUrl'
|
||||||
|
|
@ -2913,8 +2914,6 @@ components:
|
||||||
properties:
|
properties:
|
||||||
user:
|
user:
|
||||||
$ref: '#/components/schemas/UserResults'
|
$ref: '#/components/schemas/UserResults'
|
||||||
required:
|
|
||||||
- user
|
|
||||||
UserResultByScreenName:
|
UserResultByScreenName:
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
|
|
@ -3211,7 +3210,7 @@ components:
|
||||||
type: apiKey
|
type: apiKey
|
||||||
UserAgent:
|
UserAgent:
|
||||||
description: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
|
description: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
|
||||||
Gecko) Chrome/129.0.0.0 Safari/537.36
|
Gecko) Chrome/130.0.0.0 Safari/537.36
|
||||||
in: header
|
in: header
|
||||||
name: user-agent
|
name: user-agent
|
||||||
type: apiKey
|
type: apiKey
|
||||||
|
|
@ -4002,8 +4001,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: QUjXply7fA7fk05FRyajEg
|
default: L7vvM2UluPgWOW4GDvWyvw
|
||||||
example: QUjXply7fA7fk05FRyajEg
|
example: L7vvM2UluPgWOW4GDvWyvw
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -4772,8 +4771,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: LLkw5EcVutJL6y-2gkz22A
|
default: riUYr3PwuHNe4tCmzjPNrg
|
||||||
example: LLkw5EcVutJL6y-2gkz22A
|
example: riUYr3PwuHNe4tCmzjPNrg
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -4788,30 +4787,34 @@ paths:
|
||||||
name: features
|
name: features
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: '{"responsive_web_graphql_exclude_directive_enabled": true, "verified_phone_label_enabled":
|
default: '{"rweb_tipjar_consumption_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
||||||
false, "creator_subscriptions_tweet_preview_api_enabled": true, "responsive_web_graphql_timeline_navigation_enabled":
|
true, "verified_phone_label_enabled": false, "creator_subscriptions_tweet_preview_api_enabled":
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
true, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
||||||
false, "c9s_tweet_anatomy_moderator_badge_enabled": true, "tweetypie_unmention_optimization_enabled":
|
false, "communities_web_enable_tweet_community_results_fetch": true, "c9s_tweet_anatomy_moderator_badge_enabled":
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
true, "articles_preview_enabled": true, "responsive_web_edit_tweet_api_enabled":
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_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,
|
true, "responsive_web_twitter_article_tweet_consumption_enabled": true,
|
||||||
"tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
"tweet_awards_web_tipping_enabled": false, "creator_subscriptions_quote_tweet_preview_enabled":
|
||||||
true, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_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, "rweb_video_timestamps_enabled": true, "longform_notetweets_rich_text_read_enabled":
|
||||||
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_media_download_video_enabled":
|
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
false, "responsive_web_enhance_cards_enabled": false}'
|
false}'
|
||||||
example: '{"responsive_web_graphql_exclude_directive_enabled": true, "verified_phone_label_enabled":
|
example: '{"rweb_tipjar_consumption_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
||||||
false, "creator_subscriptions_tweet_preview_api_enabled": true, "responsive_web_graphql_timeline_navigation_enabled":
|
true, "verified_phone_label_enabled": false, "creator_subscriptions_tweet_preview_api_enabled":
|
||||||
true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
true, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
||||||
false, "c9s_tweet_anatomy_moderator_badge_enabled": true, "tweetypie_unmention_optimization_enabled":
|
false, "communities_web_enable_tweet_community_results_fetch": true, "c9s_tweet_anatomy_moderator_badge_enabled":
|
||||||
true, "responsive_web_edit_tweet_api_enabled": true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled":
|
true, "articles_preview_enabled": true, "responsive_web_edit_tweet_api_enabled":
|
||||||
true, "view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_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,
|
true, "responsive_web_twitter_article_tweet_consumption_enabled": true,
|
||||||
"tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
"tweet_awards_web_tipping_enabled": false, "creator_subscriptions_quote_tweet_preview_enabled":
|
||||||
true, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_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, "rweb_video_timestamps_enabled": true, "longform_notetweets_rich_text_read_enabled":
|
||||||
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_media_download_video_enabled":
|
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
false, "responsive_web_enhance_cards_enabled": false}'
|
false}'
|
||||||
type: string
|
type: string
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
|
@ -5120,8 +5123,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: DiTkXJgLqBBxCs7zaYsbtA
|
default: HyuV8ml52TYmyUjyrDq1CQ
|
||||||
example: DiTkXJgLqBBxCs7zaYsbtA
|
example: HyuV8ml52TYmyUjyrDq1CQ
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -5208,19 +5211,19 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: HJFjzBgCs16TqxewQOeLNg
|
default: E6AtJXVPtK7nIHAntKc5fA
|
||||||
example: HJFjzBgCs16TqxewQOeLNg
|
example: E6AtJXVPtK7nIHAntKc5fA
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
default: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
||||||
true, "requestContext": "launch", "withCommunity": true, "seenTweetIds":
|
true, "requestContext": "launch", "seenTweetIds": ["1349129669258448897"],
|
||||||
["1349129669258448897"]}'
|
"withCommunity": true}'
|
||||||
example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
example: '{"count": 20, "includePromotedContent": true, "latestControlAvailable":
|
||||||
true, "requestContext": "launch", "withCommunity": true, "seenTweetIds":
|
true, "requestContext": "launch", "seenTweetIds": ["1349129669258448897"],
|
||||||
["1349129669258448897"]}'
|
"withCommunity": true}'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: features
|
name: features
|
||||||
|
|
@ -5298,8 +5301,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: aeJWz--kknVBOl7wQ7gh7Q
|
default: px6_YxfWkXo0odY84iqqmw
|
||||||
example: aeJWz--kknVBOl7wQ7gh7Q
|
example: px6_YxfWkXo0odY84iqqmw
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -5345,6 +5348,13 @@ paths:
|
||||||
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_enhance_cards_enabled":
|
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
false}'
|
false}'
|
||||||
type: string
|
type: string
|
||||||
|
- in: query
|
||||||
|
name: fieldToggles
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"withArticlePlainText": false}'
|
||||||
|
example: '{"withArticlePlainText": false}'
|
||||||
|
type: string
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -5388,8 +5398,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: Pa45JvqZuKcW1plybfgBlQ
|
default: f-Lsj0rHCztXcgdo585UUw
|
||||||
example: Pa45JvqZuKcW1plybfgBlQ
|
example: f-Lsj0rHCztXcgdo585UUw
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -5532,8 +5542,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: 8019obfgnveiPiJuS2Rtow
|
default: rPcOnVhyaTBQrVgPuY7x7A
|
||||||
example: 8019obfgnveiPiJuS2Rtow
|
example: rPcOnVhyaTBQrVgPuY7x7A
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -5620,8 +5630,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: UN1i3zUiCWa-6r-Uaho4fw
|
default: MJpyQGqgklrVl_0X9gNy3A
|
||||||
example: UN1i3zUiCWa-6r-Uaho4fw
|
example: MJpyQGqgklrVl_0X9gNy3A
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -5708,21 +5718,21 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: QuBlQ6SxNAQCt6-kBiCXCQ
|
default: nBS-WpgA6ZG0CyNHD517JQ
|
||||||
example: QuBlQ6SxNAQCt6-kBiCXCQ
|
example: nBS-WpgA6ZG0CyNHD517JQ
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: '{"focalTweetId": "1349129669258448897", "referrer": "home", "with_rux_injections":
|
default: '{"focalTweetId": "1349129669258448897", "referrer": "home", "with_rux_injections":
|
||||||
false, "includePromotedContent": true, "withCommunity": true, "withQuickPromoteEligibilityTweetFields":
|
false, "rankingMode": "Relevance", "includePromotedContent": true, "withCommunity":
|
||||||
true, "withBirdwatchNotes": true, "withVoice": true, "withV2Timeline":
|
true, "withQuickPromoteEligibilityTweetFields": true, "withBirdwatchNotes":
|
||||||
true}'
|
true, "withVoice": true}'
|
||||||
example: '{"focalTweetId": "1349129669258448897", "referrer": "home", "with_rux_injections":
|
example: '{"focalTweetId": "1349129669258448897", "referrer": "home", "with_rux_injections":
|
||||||
false, "includePromotedContent": true, "withCommunity": true, "withQuickPromoteEligibilityTweetFields":
|
false, "rankingMode": "Relevance", "includePromotedContent": true, "withCommunity":
|
||||||
true, "withBirdwatchNotes": true, "withVoice": true, "withV2Timeline":
|
true, "withQuickPromoteEligibilityTweetFields": true, "withBirdwatchNotes":
|
||||||
true}'
|
true, "withVoice": true}'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: features
|
name: features
|
||||||
|
|
@ -5762,9 +5772,9 @@ paths:
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: '{"withArticleRichContentState": true, "withArticlePlainText":
|
default: '{"withArticleRichContentState": true, "withArticlePlainText":
|
||||||
false}'
|
false, "withGrokAnalyze": false, "withDisallowedReplyControls": false}'
|
||||||
example: '{"withArticleRichContentState": true, "withArticlePlainText":
|
example: '{"withArticleRichContentState": true, "withArticlePlainText":
|
||||||
false}'
|
false, "withGrokAnalyze": false, "withDisallowedReplyControls": false}'
|
||||||
type: string
|
type: string
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
|
@ -6050,15 +6060,15 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: Yka-W8dz7RaEuQNkroPkYw
|
default: BQ6xjFU6Mgm-WhEP3OiT9w
|
||||||
example: Yka-W8dz7RaEuQNkroPkYw
|
example: BQ6xjFU6Mgm-WhEP3OiT9w
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: '{"screen_name": "elonmusk", "withSafetyModeUserFields": true}'
|
default: '{"screen_name": "elonmusk"}'
|
||||||
example: '{"screen_name": "elonmusk", "withSafetyModeUserFields": true}'
|
example: '{"screen_name": "elonmusk"}'
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: features
|
name: features
|
||||||
|
|
@ -6219,8 +6229,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: dexO_2tohK86JDudXXG3Yw
|
default: HaouMjBviBKKTYZGV_9qtg
|
||||||
example: dexO_2tohK86JDudXXG3Yw
|
example: HaouMjBviBKKTYZGV_9qtg
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -6266,6 +6276,13 @@ paths:
|
||||||
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_enhance_cards_enabled":
|
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
false}'
|
false}'
|
||||||
type: string
|
type: string
|
||||||
|
- in: query
|
||||||
|
name: fieldToggles
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"withArticlePlainText": false}'
|
||||||
|
example: '{"withArticlePlainText": false}'
|
||||||
|
type: string
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -6309,8 +6326,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: E3opETHurmVJflFsUBVuUQ
|
default: Tg82Ez_kxVaJf7OPbUdbCg
|
||||||
example: E3opETHurmVJflFsUBVuUQ
|
example: Tg82Ez_kxVaJf7OPbUdbCg
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -6356,6 +6373,13 @@ paths:
|
||||||
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_enhance_cards_enabled":
|
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
false}'
|
false}'
|
||||||
type: string
|
type: string
|
||||||
|
- in: query
|
||||||
|
name: fieldToggles
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"withArticlePlainText": false}'
|
||||||
|
example: '{"withArticlePlainText": false}'
|
||||||
|
type: string
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -6399,8 +6423,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: bt4TKuFz4T7Ckk-VvQVSow
|
default: HmWGzuzXoI6uFqqX6QNhEg
|
||||||
example: bt4TKuFz4T7Ckk-VvQVSow
|
example: HmWGzuzXoI6uFqqX6QNhEg
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -6444,6 +6468,13 @@ paths:
|
||||||
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_enhance_cards_enabled":
|
true, "longform_notetweets_inline_media_enabled": true, "responsive_web_enhance_cards_enabled":
|
||||||
false}'
|
false}'
|
||||||
type: string
|
type: string
|
||||||
|
- in: query
|
||||||
|
name: fieldToggles
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
default: '{"withArticlePlainText": false}'
|
||||||
|
example: '{"withArticlePlainText": false}'
|
||||||
|
type: string
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -6487,8 +6518,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: GYBpHkmyXjeuX9IeNJmweA
|
default: lc85bOG5T3IIS4u485VtBg
|
||||||
example: GYBpHkmyXjeuX9IeNJmweA
|
example: lc85bOG5T3IIS4u485VtBg
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
|
||||||
174
dist/docs/openapi-3.0.yaml
vendored
174
dist/docs/openapi-3.0.yaml
vendored
|
|
@ -1703,6 +1703,7 @@ components:
|
||||||
- Sparkle
|
- Sparkle
|
||||||
- Conversation
|
- Conversation
|
||||||
- List
|
- List
|
||||||
|
- Community
|
||||||
type: string
|
type: string
|
||||||
landingUrl:
|
landingUrl:
|
||||||
$ref: '#/components/schemas/SocialContextLandingUrl'
|
$ref: '#/components/schemas/SocialContextLandingUrl'
|
||||||
|
|
@ -2913,8 +2914,6 @@ components:
|
||||||
properties:
|
properties:
|
||||||
user:
|
user:
|
||||||
$ref: '#/components/schemas/UserResults'
|
$ref: '#/components/schemas/UserResults'
|
||||||
required:
|
|
||||||
- user
|
|
||||||
UserResultByScreenName:
|
UserResultByScreenName:
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
|
|
@ -3211,7 +3210,7 @@ components:
|
||||||
type: apiKey
|
type: apiKey
|
||||||
UserAgent:
|
UserAgent:
|
||||||
description: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
|
description: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
|
||||||
Gecko) Chrome/129.0.0.0 Safari/537.36
|
Gecko) Chrome/130.0.0.0 Safari/537.36
|
||||||
in: header
|
in: header
|
||||||
name: user-agent
|
name: user-agent
|
||||||
type: apiKey
|
type: apiKey
|
||||||
|
|
@ -4002,8 +4001,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: QUjXply7fA7fk05FRyajEg
|
default: L7vvM2UluPgWOW4GDvWyvw
|
||||||
example: QUjXply7fA7fk05FRyajEg
|
example: L7vvM2UluPgWOW4GDvWyvw
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
|
|
@ -4894,8 +4893,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: LLkw5EcVutJL6y-2gkz22A
|
default: riUYr3PwuHNe4tCmzjPNrg
|
||||||
example: LLkw5EcVutJL6y-2gkz22A
|
example: riUYr3PwuHNe4tCmzjPNrg
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
|
|
@ -4925,10 +4924,22 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
|
articles_preview_enabled:
|
||||||
|
default: true
|
||||||
|
example: true
|
||||||
|
type: boolean
|
||||||
c9s_tweet_anatomy_moderator_badge_enabled:
|
c9s_tweet_anatomy_moderator_badge_enabled:
|
||||||
default: true
|
default: true
|
||||||
example: true
|
example: true
|
||||||
type: boolean
|
type: boolean
|
||||||
|
communities_web_enable_tweet_community_results_fetch:
|
||||||
|
default: true
|
||||||
|
example: true
|
||||||
|
type: boolean
|
||||||
|
creator_subscriptions_quote_tweet_preview_enabled:
|
||||||
|
default: false
|
||||||
|
example: false
|
||||||
|
type: boolean
|
||||||
creator_subscriptions_tweet_preview_api_enabled:
|
creator_subscriptions_tweet_preview_api_enabled:
|
||||||
default: true
|
default: true
|
||||||
example: true
|
example: true
|
||||||
|
|
@ -4973,14 +4984,14 @@ paths:
|
||||||
default: true
|
default: true
|
||||||
example: true
|
example: true
|
||||||
type: boolean
|
type: boolean
|
||||||
responsive_web_media_download_video_enabled:
|
|
||||||
default: false
|
|
||||||
example: false
|
|
||||||
type: boolean
|
|
||||||
responsive_web_twitter_article_tweet_consumption_enabled:
|
responsive_web_twitter_article_tweet_consumption_enabled:
|
||||||
default: true
|
default: true
|
||||||
example: true
|
example: true
|
||||||
type: boolean
|
type: boolean
|
||||||
|
rweb_tipjar_consumption_enabled:
|
||||||
|
default: true
|
||||||
|
example: true
|
||||||
|
type: boolean
|
||||||
rweb_video_timestamps_enabled:
|
rweb_video_timestamps_enabled:
|
||||||
default: true
|
default: true
|
||||||
example: true
|
example: true
|
||||||
|
|
@ -4997,10 +5008,6 @@ paths:
|
||||||
default: true
|
default: true
|
||||||
example: true
|
example: true
|
||||||
type: boolean
|
type: boolean
|
||||||
tweetypie_unmention_optimization_enabled:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
verified_phone_label_enabled:
|
verified_phone_label_enabled:
|
||||||
default: false
|
default: false
|
||||||
example: false
|
example: false
|
||||||
|
|
@ -5010,26 +5017,28 @@ paths:
|
||||||
example: true
|
example: true
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
|
- rweb_tipjar_consumption_enabled
|
||||||
- responsive_web_graphql_exclude_directive_enabled
|
- responsive_web_graphql_exclude_directive_enabled
|
||||||
- verified_phone_label_enabled
|
- verified_phone_label_enabled
|
||||||
- creator_subscriptions_tweet_preview_api_enabled
|
- creator_subscriptions_tweet_preview_api_enabled
|
||||||
- responsive_web_graphql_timeline_navigation_enabled
|
- responsive_web_graphql_timeline_navigation_enabled
|
||||||
- responsive_web_graphql_skip_user_profile_image_extensions_enabled
|
- responsive_web_graphql_skip_user_profile_image_extensions_enabled
|
||||||
|
- communities_web_enable_tweet_community_results_fetch
|
||||||
- c9s_tweet_anatomy_moderator_badge_enabled
|
- c9s_tweet_anatomy_moderator_badge_enabled
|
||||||
- tweetypie_unmention_optimization_enabled
|
- articles_preview_enabled
|
||||||
- responsive_web_edit_tweet_api_enabled
|
- responsive_web_edit_tweet_api_enabled
|
||||||
- graphql_is_translatable_rweb_tweet_is_translatable_enabled
|
- graphql_is_translatable_rweb_tweet_is_translatable_enabled
|
||||||
- view_counts_everywhere_api_enabled
|
- view_counts_everywhere_api_enabled
|
||||||
- longform_notetweets_consumption_enabled
|
- longform_notetweets_consumption_enabled
|
||||||
- responsive_web_twitter_article_tweet_consumption_enabled
|
- responsive_web_twitter_article_tweet_consumption_enabled
|
||||||
- tweet_awards_web_tipping_enabled
|
- tweet_awards_web_tipping_enabled
|
||||||
|
- creator_subscriptions_quote_tweet_preview_enabled
|
||||||
- freedom_of_speech_not_reach_fetch_enabled
|
- freedom_of_speech_not_reach_fetch_enabled
|
||||||
- standardized_nudges_misinfo
|
- standardized_nudges_misinfo
|
||||||
- tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled
|
- tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled
|
||||||
- rweb_video_timestamps_enabled
|
- rweb_video_timestamps_enabled
|
||||||
- longform_notetweets_rich_text_read_enabled
|
- longform_notetweets_rich_text_read_enabled
|
||||||
- longform_notetweets_inline_media_enabled
|
- longform_notetweets_inline_media_enabled
|
||||||
- responsive_web_media_download_video_enabled
|
|
||||||
- responsive_web_enhance_cards_enabled
|
- responsive_web_enhance_cards_enabled
|
||||||
type: object
|
type: object
|
||||||
in: query
|
in: query
|
||||||
|
|
@ -5668,8 +5677,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: DiTkXJgLqBBxCs7zaYsbtA
|
default: HyuV8ml52TYmyUjyrDq1CQ
|
||||||
example: DiTkXJgLqBBxCs7zaYsbtA
|
example: HyuV8ml52TYmyUjyrDq1CQ
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
|
|
@ -5876,8 +5885,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: HJFjzBgCs16TqxewQOeLNg
|
default: E6AtJXVPtK7nIHAntKc5fA
|
||||||
example: HJFjzBgCs16TqxewQOeLNg
|
example: E6AtJXVPtK7nIHAntKc5fA
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
|
|
@ -5914,8 +5923,8 @@ paths:
|
||||||
- includePromotedContent
|
- includePromotedContent
|
||||||
- latestControlAvailable
|
- latestControlAvailable
|
||||||
- requestContext
|
- requestContext
|
||||||
- withCommunity
|
|
||||||
- seenTweetIds
|
- seenTweetIds
|
||||||
|
- withCommunity
|
||||||
type: object
|
type: object
|
||||||
in: query
|
in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -6089,8 +6098,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: aeJWz--kknVBOl7wQ7gh7Q
|
default: px6_YxfWkXo0odY84iqqmw
|
||||||
example: aeJWz--kknVBOl7wQ7gh7Q
|
example: px6_YxfWkXo0odY84iqqmw
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
|
|
@ -6260,6 +6269,20 @@ paths:
|
||||||
in: query
|
in: query
|
||||||
name: features
|
name: features
|
||||||
required: true
|
required: true
|
||||||
|
- content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
properties:
|
||||||
|
withArticlePlainText:
|
||||||
|
default: false
|
||||||
|
example: false
|
||||||
|
type: boolean
|
||||||
|
required:
|
||||||
|
- withArticlePlainText
|
||||||
|
type: object
|
||||||
|
in: query
|
||||||
|
name: fieldToggles
|
||||||
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -6305,8 +6328,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: Pa45JvqZuKcW1plybfgBlQ
|
default: f-Lsj0rHCztXcgdo585UUw
|
||||||
example: Pa45JvqZuKcW1plybfgBlQ
|
example: f-Lsj0rHCztXcgdo585UUw
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
|
|
@ -6564,8 +6587,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: 8019obfgnveiPiJuS2Rtow
|
default: rPcOnVhyaTBQrVgPuY7x7A
|
||||||
example: 8019obfgnveiPiJuS2Rtow
|
example: rPcOnVhyaTBQrVgPuY7x7A
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
|
|
@ -6760,8 +6783,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: UN1i3zUiCWa-6r-Uaho4fw
|
default: MJpyQGqgklrVl_0X9gNy3A
|
||||||
example: UN1i3zUiCWa-6r-Uaho4fw
|
example: MJpyQGqgklrVl_0X9gNy3A
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
|
|
@ -6961,8 +6984,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: QuBlQ6SxNAQCt6-kBiCXCQ
|
default: nBS-WpgA6ZG0CyNHD517JQ
|
||||||
example: QuBlQ6SxNAQCt6-kBiCXCQ
|
example: nBS-WpgA6ZG0CyNHD517JQ
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
|
|
@ -6976,6 +6999,10 @@ paths:
|
||||||
default: true
|
default: true
|
||||||
example: true
|
example: true
|
||||||
type: boolean
|
type: boolean
|
||||||
|
rankingMode:
|
||||||
|
default: Relevance
|
||||||
|
example: Relevance
|
||||||
|
type: string
|
||||||
referrer:
|
referrer:
|
||||||
default: home
|
default: home
|
||||||
example: home
|
example: home
|
||||||
|
|
@ -6992,10 +7019,6 @@ paths:
|
||||||
default: true
|
default: true
|
||||||
example: true
|
example: true
|
||||||
type: boolean
|
type: boolean
|
||||||
withV2Timeline:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
withVoice:
|
withVoice:
|
||||||
default: true
|
default: true
|
||||||
example: true
|
example: true
|
||||||
|
|
@ -7008,12 +7031,12 @@ paths:
|
||||||
- focalTweetId
|
- focalTweetId
|
||||||
- referrer
|
- referrer
|
||||||
- with_rux_injections
|
- with_rux_injections
|
||||||
|
- rankingMode
|
||||||
- includePromotedContent
|
- includePromotedContent
|
||||||
- withCommunity
|
- withCommunity
|
||||||
- withQuickPromoteEligibilityTweetFields
|
- withQuickPromoteEligibilityTweetFields
|
||||||
- withBirdwatchNotes
|
- withBirdwatchNotes
|
||||||
- withVoice
|
- withVoice
|
||||||
- withV2Timeline
|
|
||||||
type: object
|
type: object
|
||||||
in: query
|
in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -7154,9 +7177,19 @@ paths:
|
||||||
default: true
|
default: true
|
||||||
example: true
|
example: true
|
||||||
type: boolean
|
type: boolean
|
||||||
|
withDisallowedReplyControls:
|
||||||
|
default: false
|
||||||
|
example: false
|
||||||
|
type: boolean
|
||||||
|
withGrokAnalyze:
|
||||||
|
default: false
|
||||||
|
example: false
|
||||||
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- withArticleRichContentState
|
- withArticleRichContentState
|
||||||
- withArticlePlainText
|
- withArticlePlainText
|
||||||
|
- withGrokAnalyze
|
||||||
|
- withDisallowedReplyControls
|
||||||
type: object
|
type: object
|
||||||
in: query
|
in: query
|
||||||
name: fieldToggles
|
name: fieldToggles
|
||||||
|
|
@ -7631,8 +7664,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: Yka-W8dz7RaEuQNkroPkYw
|
default: BQ6xjFU6Mgm-WhEP3OiT9w
|
||||||
example: Yka-W8dz7RaEuQNkroPkYw
|
example: BQ6xjFU6Mgm-WhEP3OiT9w
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
|
|
@ -7642,13 +7675,8 @@ paths:
|
||||||
default: elonmusk
|
default: elonmusk
|
||||||
example: elonmusk
|
example: elonmusk
|
||||||
type: string
|
type: string
|
||||||
withSafetyModeUserFields:
|
|
||||||
default: true
|
|
||||||
example: true
|
|
||||||
type: boolean
|
|
||||||
required:
|
required:
|
||||||
- screen_name
|
- screen_name
|
||||||
- withSafetyModeUserFields
|
|
||||||
type: object
|
type: object
|
||||||
in: query
|
in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -7982,8 +8010,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: dexO_2tohK86JDudXXG3Yw
|
default: HaouMjBviBKKTYZGV_9qtg
|
||||||
example: dexO_2tohK86JDudXXG3Yw
|
example: HaouMjBviBKKTYZGV_9qtg
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
|
|
@ -8153,6 +8181,20 @@ paths:
|
||||||
in: query
|
in: query
|
||||||
name: features
|
name: features
|
||||||
required: true
|
required: true
|
||||||
|
- content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
properties:
|
||||||
|
withArticlePlainText:
|
||||||
|
default: false
|
||||||
|
example: false
|
||||||
|
type: boolean
|
||||||
|
required:
|
||||||
|
- withArticlePlainText
|
||||||
|
type: object
|
||||||
|
in: query
|
||||||
|
name: fieldToggles
|
||||||
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -8198,8 +8240,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: E3opETHurmVJflFsUBVuUQ
|
default: Tg82Ez_kxVaJf7OPbUdbCg
|
||||||
example: E3opETHurmVJflFsUBVuUQ
|
example: Tg82Ez_kxVaJf7OPbUdbCg
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
|
|
@ -8364,6 +8406,20 @@ paths:
|
||||||
in: query
|
in: query
|
||||||
name: features
|
name: features
|
||||||
required: true
|
required: true
|
||||||
|
- content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
properties:
|
||||||
|
withArticlePlainText:
|
||||||
|
default: false
|
||||||
|
example: false
|
||||||
|
type: boolean
|
||||||
|
required:
|
||||||
|
- withArticlePlainText
|
||||||
|
type: object
|
||||||
|
in: query
|
||||||
|
name: fieldToggles
|
||||||
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -8409,8 +8465,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: bt4TKuFz4T7Ckk-VvQVSow
|
default: HmWGzuzXoI6uFqqX6QNhEg
|
||||||
example: bt4TKuFz4T7Ckk-VvQVSow
|
example: HmWGzuzXoI6uFqqX6QNhEg
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
|
|
@ -8575,6 +8631,20 @@ paths:
|
||||||
in: query
|
in: query
|
||||||
name: features
|
name: features
|
||||||
required: true
|
required: true
|
||||||
|
- content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
properties:
|
||||||
|
withArticlePlainText:
|
||||||
|
default: false
|
||||||
|
example: false
|
||||||
|
type: boolean
|
||||||
|
required:
|
||||||
|
- withArticlePlainText
|
||||||
|
type: object
|
||||||
|
in: query
|
||||||
|
name: fieldToggles
|
||||||
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
content:
|
content:
|
||||||
|
|
@ -8620,8 +8690,8 @@ paths:
|
||||||
name: pathQueryId
|
name: pathQueryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: GYBpHkmyXjeuX9IeNJmweA
|
default: lc85bOG5T3IIS4u485VtBg
|
||||||
example: GYBpHkmyXjeuX9IeNJmweA
|
example: lc85bOG5T3IIS4u485VtBg
|
||||||
type: string
|
type: string
|
||||||
- content:
|
- content:
|
||||||
application/json:
|
application/json:
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
{
|
{
|
||||||
"HomeTimeline": {
|
"HomeTimeline": {
|
||||||
"queryId": "HJFjzBgCs16TqxewQOeLNg",
|
"queryId": "E6AtJXVPtK7nIHAntKc5fA",
|
||||||
"variables": {
|
"variables": {
|
||||||
"count": 20,
|
"count": 20,
|
||||||
"includePromotedContent": true,
|
"includePromotedContent": true,
|
||||||
"latestControlAvailable": true,
|
"latestControlAvailable": true,
|
||||||
"requestContext": "launch",
|
"requestContext": "launch",
|
||||||
"withCommunity": true,
|
"seenTweetIds": ["1349129669258448897"],
|
||||||
"seenTweetIds": ["1349129669258448897"]
|
"withCommunity": true
|
||||||
},
|
},
|
||||||
"features": {
|
"features": {
|
||||||
"rweb_tipjar_consumption_enabled": true,
|
"rweb_tipjar_consumption_enabled": true,
|
||||||
|
|
@ -36,7 +36,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"HomeLatestTimeline": {
|
"HomeLatestTimeline": {
|
||||||
"queryId": "DiTkXJgLqBBxCs7zaYsbtA",
|
"queryId": "HyuV8ml52TYmyUjyrDq1CQ",
|
||||||
"variables": {
|
"variables": {
|
||||||
"count": 20,
|
"count": 20,
|
||||||
"includePromotedContent": true,
|
"includePromotedContent": true,
|
||||||
|
|
@ -71,7 +71,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ListLatestTweetsTimeline": {
|
"ListLatestTweetsTimeline": {
|
||||||
"queryId": "Pa45JvqZuKcW1plybfgBlQ",
|
"queryId": "f-Lsj0rHCztXcgdo585UUw",
|
||||||
"variables": {
|
"variables": {
|
||||||
"listId": "1539453138322673664",
|
"listId": "1539453138322673664",
|
||||||
"count": 20
|
"count": 20
|
||||||
|
|
@ -103,10 +103,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"UserByScreenName": {
|
"UserByScreenName": {
|
||||||
"queryId": "Yka-W8dz7RaEuQNkroPkYw",
|
"queryId": "BQ6xjFU6Mgm-WhEP3OiT9w",
|
||||||
"variables": {
|
"variables": {
|
||||||
"screen_name": "elonmusk",
|
"screen_name": "elonmusk"
|
||||||
"withSafetyModeUserFields": true
|
|
||||||
},
|
},
|
||||||
"features": {
|
"features": {
|
||||||
"hidden_profile_subscriptions_enabled": true,
|
"hidden_profile_subscriptions_enabled": true,
|
||||||
|
|
@ -145,7 +144,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"UsersByRestIds": {
|
"UsersByRestIds": {
|
||||||
"queryId": "GYBpHkmyXjeuX9IeNJmweA",
|
"queryId": "lc85bOG5T3IIS4u485VtBg",
|
||||||
"variables": {
|
"variables": {
|
||||||
"userIds": ["44196397"]
|
"userIds": ["44196397"]
|
||||||
},
|
},
|
||||||
|
|
@ -165,7 +164,7 @@
|
||||||
"features": {}
|
"features": {}
|
||||||
},
|
},
|
||||||
"UserTweets": {
|
"UserTweets": {
|
||||||
"queryId": "E3opETHurmVJflFsUBVuUQ",
|
"queryId": "Tg82Ez_kxVaJf7OPbUdbCg",
|
||||||
"variables": {
|
"variables": {
|
||||||
"userId": "44196397",
|
"userId": "44196397",
|
||||||
"count": 40,
|
"count": 40,
|
||||||
|
|
@ -198,10 +197,13 @@
|
||||||
"longform_notetweets_rich_text_read_enabled": true,
|
"longform_notetweets_rich_text_read_enabled": true,
|
||||||
"longform_notetweets_inline_media_enabled": true,
|
"longform_notetweets_inline_media_enabled": true,
|
||||||
"responsive_web_enhance_cards_enabled": false
|
"responsive_web_enhance_cards_enabled": false
|
||||||
|
},
|
||||||
|
"fieldToggles": {
|
||||||
|
"withArticlePlainText": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"UserTweetsAndReplies": {
|
"UserTweetsAndReplies": {
|
||||||
"queryId": "bt4TKuFz4T7Ckk-VvQVSow",
|
"queryId": "HmWGzuzXoI6uFqqX6QNhEg",
|
||||||
"variables": {
|
"variables": {
|
||||||
"userId": "44196397",
|
"userId": "44196397",
|
||||||
"count": 40,
|
"count": 40,
|
||||||
|
|
@ -234,6 +236,9 @@
|
||||||
"longform_notetweets_rich_text_read_enabled": true,
|
"longform_notetweets_rich_text_read_enabled": true,
|
||||||
"longform_notetweets_inline_media_enabled": true,
|
"longform_notetweets_inline_media_enabled": true,
|
||||||
"responsive_web_enhance_cards_enabled": false
|
"responsive_web_enhance_cards_enabled": false
|
||||||
|
},
|
||||||
|
"fieldToggles": {
|
||||||
|
"withArticlePlainText": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"UserHighlightsTweets": {
|
"UserHighlightsTweets": {
|
||||||
|
|
@ -271,7 +276,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"UserMedia": {
|
"UserMedia": {
|
||||||
"queryId": "dexO_2tohK86JDudXXG3Yw",
|
"queryId": "HaouMjBviBKKTYZGV_9qtg",
|
||||||
"variables": {
|
"variables": {
|
||||||
"userId": "44196397",
|
"userId": "44196397",
|
||||||
"count": 40,
|
"count": 40,
|
||||||
|
|
@ -305,10 +310,13 @@
|
||||||
"longform_notetweets_rich_text_read_enabled": true,
|
"longform_notetweets_rich_text_read_enabled": true,
|
||||||
"longform_notetweets_inline_media_enabled": true,
|
"longform_notetweets_inline_media_enabled": true,
|
||||||
"responsive_web_enhance_cards_enabled": false
|
"responsive_web_enhance_cards_enabled": false
|
||||||
|
},
|
||||||
|
"fieldToggles": {
|
||||||
|
"withArticlePlainText": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Likes": {
|
"Likes": {
|
||||||
"queryId": "aeJWz--kknVBOl7wQ7gh7Q",
|
"queryId": "px6_YxfWkXo0odY84iqqmw",
|
||||||
"variables": {
|
"variables": {
|
||||||
"userId": "44196397",
|
"userId": "44196397",
|
||||||
"count": 20,
|
"count": 20,
|
||||||
|
|
@ -342,10 +350,13 @@
|
||||||
"longform_notetweets_rich_text_read_enabled": true,
|
"longform_notetweets_rich_text_read_enabled": true,
|
||||||
"longform_notetweets_inline_media_enabled": true,
|
"longform_notetweets_inline_media_enabled": true,
|
||||||
"responsive_web_enhance_cards_enabled": false
|
"responsive_web_enhance_cards_enabled": false
|
||||||
|
},
|
||||||
|
"fieldToggles": {
|
||||||
|
"withArticlePlainText": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Bookmarks": {
|
"Bookmarks": {
|
||||||
"queryId": "QUjXply7fA7fk05FRyajEg",
|
"queryId": "L7vvM2UluPgWOW4GDvWyvw",
|
||||||
"variables": {
|
"variables": {
|
||||||
"count": 20,
|
"count": 20,
|
||||||
"includePromotedContent": true
|
"includePromotedContent": true
|
||||||
|
|
@ -378,17 +389,17 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"TweetDetail": {
|
"TweetDetail": {
|
||||||
"queryId": "QuBlQ6SxNAQCt6-kBiCXCQ",
|
"queryId": "nBS-WpgA6ZG0CyNHD517JQ",
|
||||||
"variables": {
|
"variables": {
|
||||||
"focalTweetId": "1349129669258448897",
|
"focalTweetId": "1349129669258448897",
|
||||||
"referrer": "home",
|
"referrer": "home",
|
||||||
"with_rux_injections": false,
|
"with_rux_injections": false,
|
||||||
|
"rankingMode": "Relevance",
|
||||||
"includePromotedContent": true,
|
"includePromotedContent": true,
|
||||||
"withCommunity": true,
|
"withCommunity": true,
|
||||||
"withQuickPromoteEligibilityTweetFields": true,
|
"withQuickPromoteEligibilityTweetFields": true,
|
||||||
"withBirdwatchNotes": true,
|
"withBirdwatchNotes": true,
|
||||||
"withVoice": true,
|
"withVoice": true
|
||||||
"withV2Timeline": true
|
|
||||||
},
|
},
|
||||||
"features": {
|
"features": {
|
||||||
"rweb_tipjar_consumption_enabled": true,
|
"rweb_tipjar_consumption_enabled": true,
|
||||||
|
|
@ -417,7 +428,9 @@
|
||||||
},
|
},
|
||||||
"fieldToggles": {
|
"fieldToggles": {
|
||||||
"withArticleRichContentState": true,
|
"withArticleRichContentState": true,
|
||||||
"withArticlePlainText": false
|
"withArticlePlainText": false,
|
||||||
|
"withGrokAnalyze": false,
|
||||||
|
"withDisallowedReplyControls": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"TweetResultByRestId": {
|
"TweetResultByRestId": {
|
||||||
|
|
@ -461,7 +474,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"SearchTimeline": {
|
"SearchTimeline": {
|
||||||
"queryId": "UN1i3zUiCWa-6r-Uaho4fw",
|
"queryId": "MJpyQGqgklrVl_0X9gNy3A",
|
||||||
"variables": {
|
"variables": {
|
||||||
"rawQuery": "elonmusk",
|
"rawQuery": "elonmusk",
|
||||||
"count": 20,
|
"count": 20,
|
||||||
|
|
@ -495,38 +508,40 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Favoriters": {
|
"Favoriters": {
|
||||||
"queryId": "LLkw5EcVutJL6y-2gkz22A",
|
"queryId": "riUYr3PwuHNe4tCmzjPNrg",
|
||||||
"variables": {
|
"variables": {
|
||||||
"tweetId": "1349129669258448897",
|
"tweetId": "1349129669258448897",
|
||||||
"count": 20,
|
"count": 20,
|
||||||
"includePromotedContent": true
|
"includePromotedContent": true
|
||||||
},
|
},
|
||||||
"features": {
|
"features": {
|
||||||
|
"rweb_tipjar_consumption_enabled": true,
|
||||||
"responsive_web_graphql_exclude_directive_enabled": true,
|
"responsive_web_graphql_exclude_directive_enabled": true,
|
||||||
"verified_phone_label_enabled": false,
|
"verified_phone_label_enabled": false,
|
||||||
"creator_subscriptions_tweet_preview_api_enabled": true,
|
"creator_subscriptions_tweet_preview_api_enabled": true,
|
||||||
"responsive_web_graphql_timeline_navigation_enabled": true,
|
"responsive_web_graphql_timeline_navigation_enabled": true,
|
||||||
"responsive_web_graphql_skip_user_profile_image_extensions_enabled": false,
|
"responsive_web_graphql_skip_user_profile_image_extensions_enabled": false,
|
||||||
|
"communities_web_enable_tweet_community_results_fetch": true,
|
||||||
"c9s_tweet_anatomy_moderator_badge_enabled": true,
|
"c9s_tweet_anatomy_moderator_badge_enabled": true,
|
||||||
"tweetypie_unmention_optimization_enabled": true,
|
"articles_preview_enabled": true,
|
||||||
"responsive_web_edit_tweet_api_enabled": true,
|
"responsive_web_edit_tweet_api_enabled": true,
|
||||||
"graphql_is_translatable_rweb_tweet_is_translatable_enabled": true,
|
"graphql_is_translatable_rweb_tweet_is_translatable_enabled": true,
|
||||||
"view_counts_everywhere_api_enabled": true,
|
"view_counts_everywhere_api_enabled": true,
|
||||||
"longform_notetweets_consumption_enabled": true,
|
"longform_notetweets_consumption_enabled": true,
|
||||||
"responsive_web_twitter_article_tweet_consumption_enabled": true,
|
"responsive_web_twitter_article_tweet_consumption_enabled": true,
|
||||||
"tweet_awards_web_tipping_enabled": false,
|
"tweet_awards_web_tipping_enabled": false,
|
||||||
|
"creator_subscriptions_quote_tweet_preview_enabled": false,
|
||||||
"freedom_of_speech_not_reach_fetch_enabled": true,
|
"freedom_of_speech_not_reach_fetch_enabled": true,
|
||||||
"standardized_nudges_misinfo": true,
|
"standardized_nudges_misinfo": true,
|
||||||
"tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled": true,
|
"tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled": true,
|
||||||
"rweb_video_timestamps_enabled": true,
|
"rweb_video_timestamps_enabled": true,
|
||||||
"longform_notetweets_rich_text_read_enabled": true,
|
"longform_notetweets_rich_text_read_enabled": true,
|
||||||
"longform_notetweets_inline_media_enabled": true,
|
"longform_notetweets_inline_media_enabled": true,
|
||||||
"responsive_web_media_download_video_enabled": false,
|
|
||||||
"responsive_web_enhance_cards_enabled": false
|
"responsive_web_enhance_cards_enabled": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Retweeters": {
|
"Retweeters": {
|
||||||
"queryId": "8019obfgnveiPiJuS2Rtow",
|
"queryId": "rPcOnVhyaTBQrVgPuY7x7A",
|
||||||
"variables": {
|
"variables": {
|
||||||
"tweetId": "1349129669258448897",
|
"tweetId": "1349129669258448897",
|
||||||
"count": 20,
|
"count": 20,
|
||||||
|
|
@ -939,7 +954,7 @@
|
||||||
"queryId": "Z2BA99jFw6TxaJM5v7Irmg"
|
"queryId": "Z2BA99jFw6TxaJM5v7Irmg"
|
||||||
},
|
},
|
||||||
"ExplorePage": {
|
"ExplorePage": {
|
||||||
"queryId": "IK_dxB178qS4T8cvA2G_UA",
|
"queryId": "8YAZZkK7Ca09HoBzmd-9GQ",
|
||||||
"features": {
|
"features": {
|
||||||
"rweb_tipjar_consumption_enabled": true,
|
"rweb_tipjar_consumption_enabled": true,
|
||||||
"responsive_web_graphql_exclude_directive_enabled": true,
|
"responsive_web_graphql_exclude_directive_enabled": true,
|
||||||
|
|
@ -973,7 +988,7 @@
|
||||||
"queryId": "xfgycRkhqXy90CmTQZ7Kig"
|
"queryId": "xfgycRkhqXy90CmTQZ7Kig"
|
||||||
},
|
},
|
||||||
"CommunitiesRankedTimeline": {
|
"CommunitiesRankedTimeline": {
|
||||||
"queryId": "ruTkdk9a7c2U99VzD4MtMw",
|
"queryId": "NVJIUjvGDC3o814fGgkU3g",
|
||||||
"features": {
|
"features": {
|
||||||
"rweb_tipjar_consumption_enabled": true,
|
"rweb_tipjar_consumption_enabled": true,
|
||||||
"responsive_web_graphql_exclude_directive_enabled": true,
|
"responsive_web_graphql_exclude_directive_enabled": true,
|
||||||
|
|
@ -998,10 +1013,14 @@
|
||||||
"longform_notetweets_rich_text_read_enabled": true,
|
"longform_notetweets_rich_text_read_enabled": true,
|
||||||
"longform_notetweets_inline_media_enabled": true,
|
"longform_notetweets_inline_media_enabled": true,
|
||||||
"responsive_web_enhance_cards_enabled": false
|
"responsive_web_enhance_cards_enabled": false
|
||||||
|
},
|
||||||
|
"variables": {
|
||||||
|
"withCommunity": true,
|
||||||
|
"count": 20
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"BirdwatchFetchGlobalTimeline": {
|
"BirdwatchFetchGlobalTimeline": {
|
||||||
"queryId": "Hu5em3YzOCFtiBOxT3qvEQ",
|
"queryId": "9TNlnKM4cSOwNE4txrtnJQ",
|
||||||
"features": {
|
"features": {
|
||||||
"rweb_tipjar_consumption_enabled": true,
|
"rweb_tipjar_consumption_enabled": true,
|
||||||
"responsive_web_graphql_exclude_directive_enabled": true,
|
"responsive_web_graphql_exclude_directive_enabled": true,
|
||||||
|
|
@ -1066,5 +1085,17 @@
|
||||||
"FetchDraftTweets": {
|
"FetchDraftTweets": {
|
||||||
"queryId": "fMp3izG_gCZKVk3Aa1vVKw",
|
"queryId": "fMp3izG_gCZKVk3Aa1vVKw",
|
||||||
"ascending": false
|
"ascending": false
|
||||||
|
},
|
||||||
|
"useFetchAnalyticsQuery": {
|
||||||
|
"queryId": "5JkoDLRvQrXv2QV4U5gKFg"
|
||||||
|
},
|
||||||
|
"QuickPromoteEligibility": {
|
||||||
|
"queryId": "LtpCXh66W-uXh7u7XSRA8Q"
|
||||||
|
},
|
||||||
|
"TweetActivityQuery": {
|
||||||
|
"queryId": "vnwexpl0q33_Bky-SROVww",
|
||||||
|
"features": {
|
||||||
|
"responsive_web_tweet_analytics_m3_enabled": false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -62,8 +62,6 @@ components:
|
||||||
$ref: "#/components/schemas/UserResponseData"
|
$ref: "#/components/schemas/UserResponseData"
|
||||||
|
|
||||||
UserResponseData:
|
UserResponseData:
|
||||||
required:
|
|
||||||
- "user"
|
|
||||||
properties:
|
properties:
|
||||||
user:
|
user:
|
||||||
$ref: "./../schemas/user.yaml#/components/schemas/UserResults"
|
$ref: "./../schemas/user.yaml#/components/schemas/UserResults"
|
||||||
|
|
|
||||||
|
|
@ -263,6 +263,7 @@ components:
|
||||||
- "Sparkle"
|
- "Sparkle"
|
||||||
- "Conversation"
|
- "Conversation"
|
||||||
- "List"
|
- "List"
|
||||||
|
- "Community"
|
||||||
text:
|
text:
|
||||||
type: string
|
type: string
|
||||||
landingUrl:
|
landingUrl:
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ from rich.rule import Rule
|
||||||
def main():
|
def main():
|
||||||
print(Rule(characters="="))
|
print(Rule(characters="="))
|
||||||
print(
|
print(
|
||||||
"Chrome DevTools の Network タブで「表示されているものをすべてfetch としてコピー」したコードを`input.js`に貼り付けてください。"
|
"Chrome DevTools の Network タブで検索窓に「graphql」と入力し「表示されているものをすべてfetch としてコピー」したコードを`input.js`に貼り付けてください。"
|
||||||
)
|
)
|
||||||
print("Enter を押すと続行します。")
|
print("Enter を押すと続行します。")
|
||||||
print(Rule(characters="="))
|
print(Rule(characters="="))
|
||||||
|
|
@ -68,6 +68,7 @@ def main():
|
||||||
body_json = json.loads(body_json_str)
|
body_json = json.loads(body_json_str)
|
||||||
features = body_json.get("features", None)
|
features = body_json.get("features", None)
|
||||||
variables = body_json.get("variables", None)
|
variables = body_json.get("variables", None)
|
||||||
|
fieldToggles = body_json.get("fieldToggles", None)
|
||||||
else:
|
else:
|
||||||
# GET リクエストの場合、まず URL を抽出
|
# GET リクエストの場合、まず URL を抽出
|
||||||
url_match = re.search(r'"(https?://[^"]+)"', fetch_code)
|
url_match = re.search(r'"(https?://[^"]+)"', fetch_code)
|
||||||
|
|
@ -88,16 +89,38 @@ def main():
|
||||||
features_json_str = query_dict.get("features", [None])[0]
|
features_json_str = query_dict.get("features", [None])[0]
|
||||||
if features_json_str is None:
|
if features_json_str is None:
|
||||||
features = None
|
features = None
|
||||||
variables = None
|
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
features = json.loads(features_json_str)
|
features = json.loads(features_json_str)
|
||||||
except json.JSONDecodeError:
|
except json.JSONDecodeError:
|
||||||
|
features = None
|
||||||
print(
|
print(
|
||||||
"features の JSON パースに失敗しました。features は None として続行します。"
|
"features の JSON パースに失敗しました。features は None として続行します。"
|
||||||
)
|
)
|
||||||
features = None
|
|
||||||
|
variables_json_str = query_dict.get("variables", [None])[0]
|
||||||
|
if variables_json_str is None:
|
||||||
|
variables = None
|
||||||
|
else:
|
||||||
|
try:
|
||||||
|
variables = json.loads(variables_json_str)
|
||||||
|
except json.JSONDecodeError:
|
||||||
variables = None
|
variables = None
|
||||||
|
print(
|
||||||
|
"variables の JSON パースに失敗しました。variables は None として続行します。"
|
||||||
|
)
|
||||||
|
|
||||||
|
fieldToggles_json_str = query_dict.get("fieldToggles", [None])[0]
|
||||||
|
if fieldToggles_json_str is None:
|
||||||
|
fieldToggles = None
|
||||||
|
else:
|
||||||
|
try:
|
||||||
|
fieldToggles = json.loads(fieldToggles_json_str)
|
||||||
|
except json.JSONDecodeError:
|
||||||
|
fieldToggles = None
|
||||||
|
print(
|
||||||
|
"fieldToggles の JSON パースに失敗しました。fieldToggles は None として続行します。"
|
||||||
|
)
|
||||||
|
|
||||||
with open("./src/config/placeholder.json", "r") as f:
|
with open("./src/config/placeholder.json", "r") as f:
|
||||||
placeholder = json.load(f)
|
placeholder = json.load(f)
|
||||||
|
|
@ -123,6 +146,8 @@ def main():
|
||||||
placeholder[endpoint]["queryId"] = query_id
|
placeholder[endpoint]["queryId"] = query_id
|
||||||
if features:
|
if features:
|
||||||
placeholder[endpoint]["features"] = features
|
placeholder[endpoint]["features"] = features
|
||||||
|
if fieldToggles:
|
||||||
|
placeholder[endpoint]["fieldToggles"] = fieldToggles
|
||||||
json.dump(placeholder, f, indent=4)
|
json.dump(placeholder, f, indent=4)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue