twitter-openapi-typescript-generated 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +34 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +3 -3
- package/dist/apis/DefaultApi.d.ts.map +1 -1
- package/dist/apis/DefaultApi.js +1 -1
- package/dist/apis/DefaultApi.js.map +1 -1
- package/dist/apis/OtherApi.d.ts +3 -3
- package/dist/apis/OtherApi.d.ts.map +1 -1
- package/dist/apis/OtherApi.js +1 -1
- package/dist/apis/OtherApi.js.map +1 -1
- package/dist/apis/PostApi.d.ts +13 -13
- package/dist/apis/PostApi.d.ts.map +1 -1
- package/dist/apis/PostApi.js +6 -6
- package/dist/apis/PostApi.js.map +1 -1
- package/dist/apis/TweetApi.d.ts +35 -21
- package/dist/apis/TweetApi.d.ts.map +1 -1
- package/dist/apis/TweetApi.js +99 -10
- package/dist/apis/TweetApi.js.map +1 -1
- package/dist/apis/UserApi.d.ts +5 -18
- package/dist/apis/UserApi.d.ts.map +1 -1
- package/dist/apis/UserApi.js +2 -85
- package/dist/apis/UserApi.js.map +1 -1
- package/dist/apis/UserListApi.d.ts +23 -23
- package/dist/apis/UserListApi.d.ts.map +1 -1
- package/dist/apis/UserListApi.js +53 -53
- package/dist/apis/UserListApi.js.map +1 -1
- package/dist/apis/UsersApi.d.ts +32 -0
- package/dist/apis/UsersApi.d.ts.map +1 -0
- package/dist/apis/UsersApi.js +164 -0
- package/dist/apis/UsersApi.js.map +1 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.d.ts.map +1 -1
- package/dist/apis/index.js +1 -0
- package/dist/apis/index.js.map +1 -1
- package/dist/models/CursorType.d.ts +27 -0
- package/dist/models/CursorType.d.ts.map +1 -0
- package/dist/models/CursorType.js +40 -0
- package/dist/models/CursorType.js.map +1 -0
- package/dist/models/Entities.d.ts +12 -6
- package/dist/models/Entities.d.ts.map +1 -1
- package/dist/models/ErrorExtensions.d.ts +63 -0
- package/dist/models/ErrorExtensions.d.ts.map +1 -0
- package/dist/models/ErrorExtensions.js +67 -0
- package/dist/models/ErrorExtensions.js.map +1 -0
- package/dist/models/Errors.d.ts +32 -0
- package/dist/models/Errors.d.ts.map +1 -0
- package/dist/models/Errors.js +51 -0
- package/dist/models/Errors.js.map +1 -0
- package/dist/models/GetBookmarks200Response.d.ts +23 -0
- package/dist/models/GetBookmarks200Response.d.ts.map +1 -0
- package/dist/models/GetBookmarks200Response.js +57 -0
- package/dist/models/GetBookmarks200Response.js.map +1 -0
- package/dist/models/GetFavoriters200Response.d.ts +23 -0
- package/dist/models/GetFavoriters200Response.d.ts.map +1 -0
- package/dist/models/GetFavoriters200Response.js +57 -0
- package/dist/models/GetFavoriters200Response.js.map +1 -0
- package/dist/models/GetFollowers200Response.d.ts +23 -0
- package/dist/models/GetFollowers200Response.d.ts.map +1 -0
- package/dist/models/GetFollowers200Response.js +57 -0
- package/dist/models/GetFollowers200Response.js.map +1 -0
- package/dist/models/GetHomeLatestTimeline200Response.d.ts +23 -0
- package/dist/models/GetHomeLatestTimeline200Response.d.ts.map +1 -0
- package/dist/models/GetHomeLatestTimeline200Response.js +57 -0
- package/dist/models/GetHomeLatestTimeline200Response.js.map +1 -0
- package/dist/models/GetLikes200Response.d.ts +23 -0
- package/dist/models/GetLikes200Response.d.ts.map +1 -0
- package/dist/models/GetLikes200Response.js +57 -0
- package/dist/models/GetLikes200Response.js.map +1 -0
- package/dist/models/GetListLatestTweetsTimeline200Response.d.ts +23 -0
- package/dist/models/GetListLatestTweetsTimeline200Response.d.ts.map +1 -0
- package/dist/models/GetListLatestTweetsTimeline200Response.js +57 -0
- package/dist/models/GetListLatestTweetsTimeline200Response.js.map +1 -0
- package/dist/models/GetProfileSpotlightsQuery200Response.d.ts +23 -0
- package/dist/models/GetProfileSpotlightsQuery200Response.d.ts.map +1 -0
- package/dist/models/GetProfileSpotlightsQuery200Response.js +57 -0
- package/dist/models/GetProfileSpotlightsQuery200Response.js.map +1 -0
- package/dist/models/GetRetweeters200Response.d.ts +23 -0
- package/dist/models/GetRetweeters200Response.d.ts.map +1 -0
- package/dist/models/GetRetweeters200Response.js +57 -0
- package/dist/models/GetRetweeters200Response.js.map +1 -0
- package/dist/models/GetSearchTimeline200Response.d.ts +23 -0
- package/dist/models/GetSearchTimeline200Response.d.ts.map +1 -0
- package/dist/models/GetSearchTimeline200Response.js +57 -0
- package/dist/models/GetSearchTimeline200Response.js.map +1 -0
- package/dist/models/GetTweetDetail200Response.d.ts +23 -0
- package/dist/models/GetTweetDetail200Response.d.ts.map +1 -0
- package/dist/models/GetTweetDetail200Response.js +57 -0
- package/dist/models/GetTweetDetail200Response.js.map +1 -0
- package/dist/models/GetUserByRestId200Response.d.ts +23 -0
- package/dist/models/GetUserByRestId200Response.d.ts.map +1 -0
- package/dist/models/GetUserByRestId200Response.js +57 -0
- package/dist/models/GetUserByRestId200Response.js.map +1 -0
- package/dist/models/GetUserHighlightsTweets200Response.d.ts +23 -0
- package/dist/models/GetUserHighlightsTweets200Response.d.ts.map +1 -0
- package/dist/models/GetUserHighlightsTweets200Response.js +57 -0
- package/dist/models/GetUserHighlightsTweets200Response.js.map +1 -0
- package/dist/models/GetUsersByRestIds200Response.d.ts +23 -0
- package/dist/models/GetUsersByRestIds200Response.d.ts.map +1 -0
- package/dist/models/GetUsersByRestIds200Response.js +57 -0
- package/dist/models/GetUsersByRestIds200Response.js.map +1 -0
- package/dist/models/ItemContentUnion.d.ts +5 -5
- package/dist/models/ItemContentUnion.js +9 -9
- package/dist/models/ItemContentUnion.js.map +1 -1
- package/dist/models/Location.d.ts +38 -0
- package/dist/models/Location.d.ts.map +1 -0
- package/dist/models/Location.js +54 -0
- package/dist/models/Location.js.map +1 -0
- package/dist/models/Media.d.ts +8 -4
- package/dist/models/Media.d.ts.map +1 -1
- package/dist/models/MediaOriginalInfo.d.ts +4 -2
- package/dist/models/MediaOriginalInfo.d.ts.map +1 -1
- package/dist/models/ModelError.d.ts +89 -0
- package/dist/models/ModelError.d.ts.map +1 -0
- package/dist/models/ModelError.js +81 -0
- package/dist/models/ModelError.js.map +1 -0
- package/dist/models/ModuleEntry.d.ts +4 -2
- package/dist/models/ModuleEntry.d.ts.map +1 -1
- package/dist/models/Other200Response.d.ts +22 -0
- package/dist/models/Other200Response.d.ts.map +1 -0
- package/dist/models/Other200Response.js +53 -0
- package/dist/models/Other200Response.js.map +1 -0
- package/dist/models/PostCreateRetweet200Response.d.ts +23 -0
- package/dist/models/PostCreateRetweet200Response.d.ts.map +1 -0
- package/dist/models/PostCreateRetweet200Response.js +57 -0
- package/dist/models/PostCreateRetweet200Response.js.map +1 -0
- package/dist/models/PostCreateTweet200Response.d.ts +23 -0
- package/dist/models/PostCreateTweet200Response.d.ts.map +1 -0
- package/dist/models/PostCreateTweet200Response.js +57 -0
- package/dist/models/PostCreateTweet200Response.js.map +1 -0
- package/dist/models/PostDeleteRetweet200Response.d.ts +23 -0
- package/dist/models/PostDeleteRetweet200Response.d.ts.map +1 -0
- package/dist/models/PostDeleteRetweet200Response.js +57 -0
- package/dist/models/PostDeleteRetweet200Response.js.map +1 -0
- package/dist/models/PostDeleteTweet200Response.d.ts +23 -0
- package/dist/models/PostDeleteTweet200Response.d.ts.map +1 -0
- package/dist/models/PostDeleteTweet200Response.js +57 -0
- package/dist/models/PostDeleteTweet200Response.js.map +1 -0
- package/dist/models/PostFavoriteTweet200Response.d.ts +23 -0
- package/dist/models/PostFavoriteTweet200Response.d.ts.map +1 -0
- package/dist/models/PostFavoriteTweet200Response.js +57 -0
- package/dist/models/PostFavoriteTweet200Response.js.map +1 -0
- package/dist/models/PostUnfavoriteTweet200Response.d.ts +23 -0
- package/dist/models/PostUnfavoriteTweet200Response.d.ts.map +1 -0
- package/dist/models/PostUnfavoriteTweet200Response.js +57 -0
- package/dist/models/PostUnfavoriteTweet200Response.js.map +1 -0
- package/dist/models/Timeline.d.ts +8 -4
- package/dist/models/Timeline.d.ts.map +1 -1
- package/dist/models/TimelineMessagePrompt.d.ts +1 -0
- package/dist/models/TimelineMessagePrompt.d.ts.map +1 -1
- package/dist/models/TimelineMessagePrompt.js +13 -6
- package/dist/models/TimelineMessagePrompt.js.map +1 -1
- package/dist/models/TimelinePrompt.d.ts +1 -0
- package/dist/models/TimelinePrompt.d.ts.map +1 -1
- package/dist/models/TimelinePrompt.js +13 -6
- package/dist/models/TimelinePrompt.js.map +1 -1
- package/dist/models/TimelineShowAlert.d.ts +8 -4
- package/dist/models/TimelineShowAlert.d.ts.map +1 -1
- package/dist/models/TimelineShowAlertRichText.d.ts +4 -2
- package/dist/models/TimelineShowAlertRichText.d.ts.map +1 -1
- package/dist/models/TimelineTimelineCursor.d.ts +3 -13
- package/dist/models/TimelineTimelineCursor.d.ts.map +1 -1
- package/dist/models/TimelineTimelineCursor.js +4 -13
- package/dist/models/TimelineTimelineCursor.js.map +1 -1
- package/dist/models/TimelineTimelineItem.d.ts +8 -4
- package/dist/models/TimelineTimelineItem.d.ts.map +1 -1
- package/dist/models/TimelineTimelineModule.d.ts +12 -6
- package/dist/models/TimelineTimelineModule.d.ts.map +1 -1
- package/dist/models/TimelineTweet.d.ts +4 -2
- package/dist/models/TimelineTweet.d.ts.map +1 -1
- package/dist/models/Tracing.d.ts +32 -0
- package/dist/models/Tracing.d.ts.map +1 -0
- package/dist/models/Tracing.js +51 -0
- package/dist/models/Tracing.js.map +1 -0
- package/dist/models/Tweet.d.ts +5 -3
- package/dist/models/Tweet.d.ts.map +1 -1
- package/dist/models/Tweet.js +1 -2
- package/dist/models/Tweet.js.map +1 -1
- package/dist/models/TweetTombstone.d.ts +1 -0
- package/dist/models/TweetTombstone.d.ts.map +1 -1
- package/dist/models/TweetTombstone.js +13 -6
- package/dist/models/TweetTombstone.js.map +1 -1
- package/dist/models/TypeName.d.ts +3 -0
- package/dist/models/TypeName.d.ts.map +1 -1
- package/dist/models/TypeName.js +4 -1
- package/dist/models/TypeName.js.map +1 -1
- package/dist/models/User.d.ts +8 -4
- package/dist/models/User.d.ts.map +1 -1
- package/dist/models/UserHighlightsTweetsData.d.ts +33 -0
- package/dist/models/UserHighlightsTweetsData.d.ts.map +1 -0
- package/dist/models/UserHighlightsTweetsData.js +52 -0
- package/dist/models/UserHighlightsTweetsData.js.map +1 -0
- package/dist/models/UserHighlightsTweetsResponse.d.ts +33 -0
- package/dist/models/UserHighlightsTweetsResponse.d.ts.map +1 -0
- package/dist/models/UserHighlightsTweetsResponse.js +52 -0
- package/dist/models/UserHighlightsTweetsResponse.js.map +1 -0
- package/dist/models/UserHighlightsTweetsResult.d.ts +40 -0
- package/dist/models/UserHighlightsTweetsResult.d.ts.map +1 -0
- package/dist/models/UserHighlightsTweetsResult.js +56 -0
- package/dist/models/UserHighlightsTweetsResult.js.map +1 -0
- package/dist/models/UserHighlightsTweetsTimeline.d.ts +33 -0
- package/dist/models/UserHighlightsTweetsTimeline.d.ts.map +1 -0
- package/dist/models/UserHighlightsTweetsTimeline.js +52 -0
- package/dist/models/UserHighlightsTweetsTimeline.js.map +1 -0
- package/dist/models/UserHighlightsTweetsUser.d.ts +33 -0
- package/dist/models/UserHighlightsTweetsUser.d.ts.map +1 -0
- package/dist/models/UserHighlightsTweetsUser.js +52 -0
- package/dist/models/UserHighlightsTweetsUser.js.map +1 -0
- package/dist/models/UserLegacy.d.ts +9 -7
- package/dist/models/UserLegacy.d.ts.map +1 -1
- package/dist/models/UserLegacy.js +5 -10
- package/dist/models/UserLegacy.js.map +1 -1
- package/dist/models/UserResultByScreenNameResult.d.ts +4 -2
- package/dist/models/UserResultByScreenNameResult.d.ts.map +1 -1
- package/dist/models/UserResults.d.ts +3 -3
- package/dist/models/UserResults.d.ts.map +1 -1
- package/dist/models/UserResults.js +3 -3
- package/dist/models/UserResults.js.map +1 -1
- package/dist/models/UserUnavailable.d.ts +39 -0
- package/dist/models/UserUnavailable.d.ts.map +1 -0
- package/dist/models/UserUnavailable.js +55 -0
- package/dist/models/UserUnavailable.js.map +1 -0
- package/dist/models/UserUnion.d.ts +27 -0
- package/dist/models/UserUnion.d.ts.map +1 -0
- package/dist/models/UserUnion.js +65 -0
- package/dist/models/UserUnion.js.map +1 -0
- package/dist/models/index.d.ts +33 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +33 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +6 -6
- package/src/apis/OtherApi.ts +6 -6
- package/src/apis/PostApi.ts +36 -36
- package/src/apis/TweetApi.ts +144 -48
- package/src/apis/UserApi.ts +9 -96
- package/src/apis/UserListApi.ts +70 -70
- package/src/apis/UsersApi.ts +114 -0
- package/src/apis/index.ts +1 -0
- package/src/models/CursorType.ts +41 -0
- package/src/models/Entities.ts +6 -6
- package/src/models/ErrorExtensions.ts +118 -0
- package/src/models/Errors.ts +66 -0
- package/src/models/GetBookmarks200Response.ts +65 -0
- package/src/models/GetFavoriters200Response.ts +65 -0
- package/src/models/GetFollowers200Response.ts +65 -0
- package/src/models/GetHomeLatestTimeline200Response.ts +65 -0
- package/src/models/GetLikes200Response.ts +65 -0
- package/src/models/GetListLatestTweetsTimeline200Response.ts +65 -0
- package/src/models/GetProfileSpotlightsQuery200Response.ts +65 -0
- package/src/models/GetRetweeters200Response.ts +65 -0
- package/src/models/GetSearchTimeline200Response.ts +65 -0
- package/src/models/GetTweetDetail200Response.ts +65 -0
- package/src/models/GetUserByRestId200Response.ts +65 -0
- package/src/models/GetUserHighlightsTweets200Response.ts +65 -0
- package/src/models/GetUsersByRestIds200Response.ts +65 -0
- package/src/models/ItemContentUnion.ts +10 -10
- package/src/models/Location.ts +75 -0
- package/src/models/Media.ts +4 -4
- package/src/models/MediaOriginalInfo.ts +2 -2
- package/src/models/ModelError.ts +166 -0
- package/src/models/ModuleEntry.ts +2 -2
- package/src/models/Other200Response.ts +55 -0
- package/src/models/PostCreateRetweet200Response.ts +65 -0
- package/src/models/PostCreateTweet200Response.ts +65 -0
- package/src/models/PostDeleteRetweet200Response.ts +65 -0
- package/src/models/PostDeleteTweet200Response.ts +65 -0
- package/src/models/PostFavoriteTweet200Response.ts +65 -0
- package/src/models/PostUnfavoriteTweet200Response.ts +65 -0
- package/src/models/Timeline.ts +4 -4
- package/src/models/TimelineMessagePrompt.ts +3 -0
- package/src/models/TimelinePrompt.ts +3 -0
- package/src/models/TimelineShowAlert.ts +4 -4
- package/src/models/TimelineShowAlertRichText.ts +2 -2
- package/src/models/TimelineTimelineCursor.ts +10 -18
- package/src/models/TimelineTimelineItem.ts +4 -4
- package/src/models/TimelineTimelineModule.ts +6 -6
- package/src/models/TimelineTweet.ts +2 -2
- package/src/models/Tracing.ts +66 -0
- package/src/models/Tweet.ts +4 -5
- package/src/models/TweetTombstone.ts +3 -0
- package/src/models/TypeName.ts +4 -1
- package/src/models/User.ts +4 -4
- package/src/models/UserHighlightsTweetsData.ts +73 -0
- package/src/models/UserHighlightsTweetsResponse.ts +73 -0
- package/src/models/UserHighlightsTweetsResult.ts +88 -0
- package/src/models/UserHighlightsTweetsTimeline.ts +73 -0
- package/src/models/UserHighlightsTweetsUser.ts +73 -0
- package/src/models/UserLegacy.ts +12 -17
- package/src/models/UserResultByScreenNameResult.ts +2 -2
- package/src/models/UserResults.ts +9 -9
- package/src/models/UserUnavailable.ts +82 -0
- package/src/models/UserUnion.ts +72 -0
- package/src/models/index.ts +33 -0
- package/tools/openapi-generator-config.yaml +1 -1
- package/twitter-openapi/.github/workflows/test-build.yaml +87 -0
- package/twitter-openapi/.github/workflows/test-python.yaml +100 -0
- package/twitter-openapi/.vscode/launch.json +25 -0
- package/twitter-openapi/.vscode/settings.json +1 -1
- package/twitter-openapi/.vscode/tasks.json +45 -0
- package/twitter-openapi/CONTRIBUTING.md +13 -0
- package/twitter-openapi/README.md +2 -2
- package/twitter-openapi/dist/compatible/openapi-3.0.yaml +7 -3
- package/twitter-openapi/dist/compatible/paths/bookmarks.yaml +3 -1
- package/twitter-openapi/dist/compatible/paths/follow.yaml +9 -3
- package/twitter-openapi/dist/compatible/paths/other.yaml +2 -1
- package/twitter-openapi/dist/compatible/paths/post.yaml +18 -6
- package/twitter-openapi/dist/compatible/paths/profile.yaml +5 -2
- package/twitter-openapi/dist/compatible/paths/timeline.yaml +12 -4
- package/twitter-openapi/dist/compatible/paths/tweet.yaml +11 -5
- package/twitter-openapi/dist/compatible/paths/user.yaml +10 -4
- package/twitter-openapi/dist/compatible/paths/usertweets.yaml +140 -4
- package/twitter-openapi/dist/compatible/schemas/content.yaml +21 -15
- package/twitter-openapi/dist/compatible/schemas/error.yaml +94 -0
- package/twitter-openapi/dist/compatible/schemas/instruction.yaml +4 -8
- package/twitter-openapi/dist/compatible/schemas/timeline.yaml +2 -0
- package/twitter-openapi/dist/compatible/schemas/tweet.yaml +8 -1
- package/twitter-openapi/dist/compatible/schemas/typename.yaml +3 -0
- package/twitter-openapi/dist/compatible/schemas/user.yaml +23 -7
- package/twitter-openapi/dist/docs/openapi-3.0.yaml +7 -3
- package/twitter-openapi/dist/docs/paths/bookmarks.yaml +3 -1
- package/twitter-openapi/dist/docs/paths/follow.yaml +9 -3
- package/twitter-openapi/dist/docs/paths/other.yaml +2 -1
- package/twitter-openapi/dist/docs/paths/post.yaml +18 -6
- package/twitter-openapi/dist/docs/paths/profile.yaml +5 -2
- package/twitter-openapi/dist/docs/paths/timeline.yaml +12 -4
- package/twitter-openapi/dist/docs/paths/tweet.yaml +11 -5
- package/twitter-openapi/dist/docs/paths/user.yaml +10 -4
- package/twitter-openapi/dist/docs/paths/usertweets.yaml +250 -4
- package/twitter-openapi/dist/docs/schemas/content.yaml +21 -15
- package/twitter-openapi/dist/docs/schemas/error.yaml +94 -0
- package/twitter-openapi/dist/docs/schemas/instruction.yaml +4 -8
- package/twitter-openapi/dist/docs/schemas/timeline.yaml +2 -0
- package/twitter-openapi/dist/docs/schemas/tweet.yaml +8 -1
- package/twitter-openapi/dist/docs/schemas/typename.yaml +3 -0
- package/twitter-openapi/dist/docs/schemas/user.yaml +23 -7
- package/twitter-openapi/src/config/placeholder.json +36 -1
- package/twitter-openapi/src/openapi/openapi-3.0.yaml +5 -3
- package/twitter-openapi/src/openapi/paths/bookmarks.yaml +3 -1
- package/twitter-openapi/src/openapi/paths/follow.yaml +9 -3
- package/twitter-openapi/src/openapi/paths/other.yaml +2 -1
- package/twitter-openapi/src/openapi/paths/post.yaml +18 -6
- package/twitter-openapi/src/openapi/paths/profile.yaml +6 -3
- package/twitter-openapi/src/openapi/paths/timeline.yaml +12 -4
- package/twitter-openapi/src/openapi/paths/tweet.yaml +11 -5
- package/twitter-openapi/src/openapi/paths/user.yaml +10 -4
- package/twitter-openapi/src/openapi/paths/usertweets.yaml +66 -4
- package/twitter-openapi/src/openapi/schemas/content.yaml +26 -19
- package/twitter-openapi/src/openapi/schemas/error.yaml +99 -0
- package/twitter-openapi/src/openapi/schemas/instruction.yaml +7 -11
- package/twitter-openapi/src/openapi/schemas/timeline.yaml +4 -2
- package/twitter-openapi/src/openapi/schemas/tweet.yaml +16 -9
- package/twitter-openapi/src/openapi/schemas/typename.yaml +3 -0
- package/twitter-openapi/src/openapi/schemas/user.yaml +33 -10
- package/twitter-openapi/test/dart-dio/openapi-generator-config.yaml +2 -0
- package/twitter-openapi/test/local.sh +6 -0
- package/twitter-openapi/test/python/openapi-generator-config.yaml +4 -0
- package/twitter-openapi/test/python/test_serialize.py +160 -0
- package/twitter-openapi/test/typescript-fetch/openapi-generator-config.yaml +4 -0
- package/twitter-openapi/tools/__pycache__/build_config.cpython-310.pyc +0 -0
- package/twitter-openapi/tools/__pycache__/hooks.cpython-310.pyc +0 -0
- package/twitter-openapi/tools/build_config.py +1 -1
- package/twitter-openapi/tools/hooks.py +23 -0
- package/twitter-openapi/tools/login.py +17 -0
|
@@ -5,8 +5,10 @@ components:
|
|
|
5
5
|
__typename:
|
|
6
6
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
7
7
|
affiliates_highlighted_label:
|
|
8
|
+
additionalProperties: true
|
|
8
9
|
type: object
|
|
9
10
|
business_account:
|
|
11
|
+
additionalProperties: true
|
|
10
12
|
type: object
|
|
11
13
|
has_graduated_access:
|
|
12
14
|
type: boolean
|
|
@@ -14,7 +16,7 @@ components:
|
|
|
14
16
|
default: false
|
|
15
17
|
type: boolean
|
|
16
18
|
id:
|
|
17
|
-
pattern: ^[
|
|
19
|
+
pattern: ^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)?$
|
|
18
20
|
type: string
|
|
19
21
|
is_blue_verified:
|
|
20
22
|
default: false
|
|
@@ -68,6 +70,7 @@ components:
|
|
|
68
70
|
description:
|
|
69
71
|
type: string
|
|
70
72
|
entities:
|
|
73
|
+
additionalProperties: true
|
|
71
74
|
type: object
|
|
72
75
|
fast_followers_count:
|
|
73
76
|
type: integer
|
|
@@ -162,10 +165,7 @@ components:
|
|
|
162
165
|
- entities
|
|
163
166
|
- fast_followers_count
|
|
164
167
|
- favourites_count
|
|
165
|
-
- follow_request_sent
|
|
166
|
-
- followed_by
|
|
167
168
|
- followers_count
|
|
168
|
-
- following
|
|
169
169
|
- friends_count
|
|
170
170
|
- has_custom_timelines
|
|
171
171
|
- is_translator
|
|
@@ -175,12 +175,10 @@ components:
|
|
|
175
175
|
- muting
|
|
176
176
|
- name
|
|
177
177
|
- normal_followers_count
|
|
178
|
-
- notifications
|
|
179
178
|
- pinned_tweet_ids_str
|
|
180
179
|
- possibly_sensitive
|
|
181
180
|
- profile_image_url_https
|
|
182
181
|
- profile_interstitial_type
|
|
183
|
-
- protected
|
|
184
182
|
- screen_name
|
|
185
183
|
- status
|
|
186
184
|
- statuses_count
|
|
@@ -196,9 +194,27 @@ components:
|
|
|
196
194
|
UserResults:
|
|
197
195
|
properties:
|
|
198
196
|
result:
|
|
199
|
-
$ref: '#/components/schemas/
|
|
197
|
+
$ref: '#/components/schemas/UserUnion'
|
|
200
198
|
required:
|
|
201
199
|
- result
|
|
200
|
+
UserUnavailable:
|
|
201
|
+
properties:
|
|
202
|
+
__typename:
|
|
203
|
+
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
204
|
+
reason:
|
|
205
|
+
type: string
|
|
206
|
+
required:
|
|
207
|
+
- __typename
|
|
208
|
+
- reason
|
|
209
|
+
UserUnion:
|
|
210
|
+
discriminator:
|
|
211
|
+
mapping":
|
|
212
|
+
User: '#/components/schemas/User'
|
|
213
|
+
UserUnavailable: '#/components/schemas/UserUnavailable'
|
|
214
|
+
propertyName: __typename
|
|
215
|
+
oneOf:
|
|
216
|
+
- $ref: '#/components/schemas/User'
|
|
217
|
+
- $ref: '#/components/schemas/UserUnavailable'
|
|
202
218
|
info:
|
|
203
219
|
title: Twitter OpenAPI
|
|
204
220
|
version: 0.0.1
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"highlights_tweets_tab_ui_enabled": true,
|
|
116
116
|
"creator_subscriptions_tweet_preview_api_enabled": true,
|
|
117
117
|
"responsive_web_graphql_skip_user_profile_image_extensions_enabled": false,
|
|
118
|
-
"responsive_web_graphql_timeline_navigation_enabled":true
|
|
118
|
+
"responsive_web_graphql_timeline_navigation_enabled": true
|
|
119
119
|
}
|
|
120
120
|
},
|
|
121
121
|
"UsersByRestIds": {
|
|
@@ -201,6 +201,41 @@
|
|
|
201
201
|
"responsive_web_enhance_cards_enabled": false
|
|
202
202
|
}
|
|
203
203
|
},
|
|
204
|
+
"UserHighlightsTweets": {
|
|
205
|
+
"queryId": "sTveqh05FMMAFfDNpRc_Jg",
|
|
206
|
+
"variables": {
|
|
207
|
+
"userId": "44196397",
|
|
208
|
+
"count": 20,
|
|
209
|
+
"includePromotedContent": true,
|
|
210
|
+
"withVoice": true
|
|
211
|
+
},
|
|
212
|
+
"features": {
|
|
213
|
+
"rweb_lists_timeline_redesign_enabled": true,
|
|
214
|
+
"responsive_web_graphql_exclude_directive_enabled": true,
|
|
215
|
+
"verified_phone_label_enabled": false,
|
|
216
|
+
"creator_subscriptions_tweet_preview_api_enabled": true,
|
|
217
|
+
"responsive_web_graphql_timeline_navigation_enabled": true,
|
|
218
|
+
"responsive_web_graphql_skip_user_profile_image_extensions_enabled": false,
|
|
219
|
+
"tweetypie_unmention_optimization_enabled": true,
|
|
220
|
+
"responsive_web_edit_tweet_api_enabled": true,
|
|
221
|
+
"graphql_is_translatable_rweb_tweet_is_translatable_enabled": true,
|
|
222
|
+
"view_counts_everywhere_api_enabled": true,
|
|
223
|
+
"longform_notetweets_consumption_enabled": true,
|
|
224
|
+
"responsive_web_twitter_article_tweet_consumption_enabled": false,
|
|
225
|
+
"tweet_awards_web_tipping_enabled": false,
|
|
226
|
+
"freedom_of_speech_not_reach_fetch_enabled": true,
|
|
227
|
+
"standardized_nudges_misinfo": true,
|
|
228
|
+
"tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled": true,
|
|
229
|
+
"longform_notetweets_rich_text_read_enabled": true,
|
|
230
|
+
"longform_notetweets_inline_media_enabled": true,
|
|
231
|
+
"responsive_web_media_download_video_enabled": false,
|
|
232
|
+
"responsive_web_enhance_cards_enabled": false
|
|
233
|
+
},
|
|
234
|
+
"fieldToggles": {
|
|
235
|
+
"withAuxiliaryUserLabels": false,
|
|
236
|
+
"withArticleRichContentState": false
|
|
237
|
+
}
|
|
238
|
+
},
|
|
204
239
|
"UserMedia": {
|
|
205
240
|
"queryId": "YqiE3JL1KNgf9nSljYdxaA",
|
|
206
241
|
"variables": {
|
|
@@ -56,11 +56,13 @@ security:
|
|
|
56
56
|
- AuthType: []
|
|
57
57
|
tags:
|
|
58
58
|
- name: user
|
|
59
|
-
description:
|
|
59
|
+
description: Responses containing User objects.
|
|
60
|
+
- name: users
|
|
61
|
+
description: Responses containing List[User] objects.
|
|
60
62
|
- name: user-list
|
|
61
|
-
description:
|
|
63
|
+
description: Responses containing instruction objects.
|
|
62
64
|
- name: tweet
|
|
63
|
-
description:
|
|
65
|
+
description: Responses containing instruction objects.
|
|
64
66
|
- name: post
|
|
65
67
|
description: post
|
|
66
68
|
- name: v1.1-get
|
|
@@ -14,7 +14,9 @@ paths:
|
|
|
14
14
|
content:
|
|
15
15
|
application/json:
|
|
16
16
|
schema:
|
|
17
|
-
|
|
17
|
+
oneOf:
|
|
18
|
+
- $ref: "#/components/schemas/FollowResponse"
|
|
19
|
+
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
|
18
20
|
tags:
|
|
19
21
|
- "user-list"
|
|
20
22
|
|
|
@@ -28,7 +30,9 @@ paths:
|
|
|
28
30
|
content:
|
|
29
31
|
application/json:
|
|
30
32
|
schema:
|
|
31
|
-
|
|
33
|
+
oneOf:
|
|
34
|
+
- $ref: "#/components/schemas/FollowResponse"
|
|
35
|
+
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
|
32
36
|
tags:
|
|
33
37
|
- "user-list"
|
|
34
38
|
|
|
@@ -42,7 +46,9 @@ paths:
|
|
|
42
46
|
content:
|
|
43
47
|
application/json:
|
|
44
48
|
schema:
|
|
45
|
-
|
|
49
|
+
oneOf:
|
|
50
|
+
- $ref: "#/components/schemas/FollowResponse"
|
|
51
|
+
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
|
46
52
|
tags:
|
|
47
53
|
- "user-list"
|
|
48
54
|
|
|
@@ -14,7 +14,9 @@ paths:
|
|
|
14
14
|
content:
|
|
15
15
|
application/json:
|
|
16
16
|
schema:
|
|
17
|
-
|
|
17
|
+
oneOf:
|
|
18
|
+
- $ref: "#/components/schemas/FavoriteTweetResponseData"
|
|
19
|
+
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
|
18
20
|
tags:
|
|
19
21
|
- "post"
|
|
20
22
|
|
|
@@ -28,7 +30,9 @@ paths:
|
|
|
28
30
|
content:
|
|
29
31
|
application/json:
|
|
30
32
|
schema:
|
|
31
|
-
|
|
33
|
+
oneOf:
|
|
34
|
+
- $ref: "#/components/schemas/UnfavoriteTweetResponseData"
|
|
35
|
+
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
|
32
36
|
tags:
|
|
33
37
|
- "post"
|
|
34
38
|
|
|
@@ -42,7 +46,9 @@ paths:
|
|
|
42
46
|
content:
|
|
43
47
|
application/json:
|
|
44
48
|
schema:
|
|
45
|
-
|
|
49
|
+
oneOf:
|
|
50
|
+
- $ref: "#/components/schemas/CreateRetweetResponse"
|
|
51
|
+
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
|
46
52
|
tags:
|
|
47
53
|
- "post"
|
|
48
54
|
|
|
@@ -56,7 +62,9 @@ paths:
|
|
|
56
62
|
content:
|
|
57
63
|
application/json:
|
|
58
64
|
schema:
|
|
59
|
-
|
|
65
|
+
oneOf:
|
|
66
|
+
- $ref: "#/components/schemas/DeleteRetweetResponse"
|
|
67
|
+
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
|
60
68
|
tags:
|
|
61
69
|
- "post"
|
|
62
70
|
|
|
@@ -70,7 +78,9 @@ paths:
|
|
|
70
78
|
content:
|
|
71
79
|
application/json:
|
|
72
80
|
schema:
|
|
73
|
-
|
|
81
|
+
oneOf:
|
|
82
|
+
- $ref: "#/components/schemas/CreateTweetResponse"
|
|
83
|
+
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
|
74
84
|
tags:
|
|
75
85
|
- "post"
|
|
76
86
|
|
|
@@ -84,7 +94,9 @@ paths:
|
|
|
84
94
|
content:
|
|
85
95
|
application/json:
|
|
86
96
|
schema:
|
|
87
|
-
|
|
97
|
+
oneOf:
|
|
98
|
+
- $ref: "#/components/schemas/DeleteTweetResponse"
|
|
99
|
+
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
|
88
100
|
tags:
|
|
89
101
|
- "post"
|
|
90
102
|
|
|
@@ -14,7 +14,9 @@ paths:
|
|
|
14
14
|
content:
|
|
15
15
|
application/json:
|
|
16
16
|
schema:
|
|
17
|
-
|
|
17
|
+
oneOf:
|
|
18
|
+
- $ref: "#/components/schemas/ProfileResponse"
|
|
19
|
+
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
|
18
20
|
|
|
19
21
|
components:
|
|
20
22
|
schemas:
|
|
@@ -39,7 +41,7 @@ components:
|
|
|
39
41
|
properties:
|
|
40
42
|
id:
|
|
41
43
|
type: string
|
|
42
|
-
pattern: "^[
|
|
44
|
+
pattern: "^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)?$" # base64
|
|
43
45
|
result:
|
|
44
46
|
$ref: "#/components/schemas/UserResultByScreenNameResult"
|
|
45
47
|
|
|
@@ -59,7 +61,8 @@ components:
|
|
|
59
61
|
legacy:
|
|
60
62
|
$ref: "#/components/schemas/UserResultByScreenNameLegacy"
|
|
61
63
|
profilemodules:
|
|
62
|
-
type: object
|
|
64
|
+
type: object
|
|
65
|
+
additionalProperties: true # todo
|
|
63
66
|
rest_id:
|
|
64
67
|
type: string
|
|
65
68
|
pattern: "^[0-9]+$"
|
|
@@ -14,7 +14,9 @@ paths:
|
|
|
14
14
|
content:
|
|
15
15
|
application/json:
|
|
16
16
|
schema:
|
|
17
|
-
|
|
17
|
+
oneOf:
|
|
18
|
+
- $ref: "#/components/schemas/TimelineResponse"
|
|
19
|
+
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
|
18
20
|
tags:
|
|
19
21
|
- "tweet"
|
|
20
22
|
|
|
@@ -28,7 +30,9 @@ paths:
|
|
|
28
30
|
content:
|
|
29
31
|
application/json:
|
|
30
32
|
schema:
|
|
31
|
-
|
|
33
|
+
oneOf:
|
|
34
|
+
- $ref: "#/components/schemas/TimelineResponse"
|
|
35
|
+
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
|
32
36
|
tags:
|
|
33
37
|
- "tweet"
|
|
34
38
|
|
|
@@ -42,7 +46,9 @@ paths:
|
|
|
42
46
|
content:
|
|
43
47
|
application/json:
|
|
44
48
|
schema:
|
|
45
|
-
|
|
49
|
+
oneOf:
|
|
50
|
+
- $ref: "#/components/schemas/ListLatestTweetsTimelineResponse"
|
|
51
|
+
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
|
46
52
|
tags:
|
|
47
53
|
- "tweet"
|
|
48
54
|
|
|
@@ -56,7 +62,9 @@ paths:
|
|
|
56
62
|
content:
|
|
57
63
|
application/json:
|
|
58
64
|
schema:
|
|
59
|
-
|
|
65
|
+
oneOf:
|
|
66
|
+
- $ref: "#/components/schemas/SearchTimelineResponse"
|
|
67
|
+
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
|
60
68
|
tags:
|
|
61
69
|
- "tweet"
|
|
62
70
|
|
|
@@ -14,13 +14,15 @@ paths:
|
|
|
14
14
|
content:
|
|
15
15
|
application/json:
|
|
16
16
|
schema:
|
|
17
|
-
|
|
17
|
+
oneOf:
|
|
18
|
+
- $ref: "#/components/schemas/TweetDetailResponse"
|
|
19
|
+
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
|
18
20
|
tags:
|
|
19
21
|
- "tweet"
|
|
20
22
|
|
|
21
23
|
/graphql/{pathQueryId}/Favoriters:
|
|
22
24
|
get:
|
|
23
|
-
operationId:
|
|
25
|
+
operationId: getFavoriters
|
|
24
26
|
description: get tweet favoriters
|
|
25
27
|
responses:
|
|
26
28
|
"200":
|
|
@@ -28,13 +30,15 @@ paths:
|
|
|
28
30
|
content:
|
|
29
31
|
application/json:
|
|
30
32
|
schema:
|
|
31
|
-
|
|
33
|
+
oneOf:
|
|
34
|
+
- $ref: "#/components/schemas/TweetFavoritersResponse"
|
|
35
|
+
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
|
32
36
|
tags:
|
|
33
37
|
- "user-list"
|
|
34
38
|
|
|
35
39
|
/graphql/{pathQueryId}/Retweeters:
|
|
36
40
|
get:
|
|
37
|
-
operationId:
|
|
41
|
+
operationId: getRetweeters
|
|
38
42
|
description: get tweet retweeters
|
|
39
43
|
responses:
|
|
40
44
|
"200":
|
|
@@ -42,7 +46,9 @@ paths:
|
|
|
42
46
|
content:
|
|
43
47
|
application/json:
|
|
44
48
|
schema:
|
|
45
|
-
|
|
49
|
+
oneOf:
|
|
50
|
+
- $ref: "#/components/schemas/TweetRetweetersResponse"
|
|
51
|
+
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
|
46
52
|
tags:
|
|
47
53
|
- "user-list"
|
|
48
54
|
|
|
@@ -14,7 +14,9 @@ paths:
|
|
|
14
14
|
content:
|
|
15
15
|
application/json:
|
|
16
16
|
schema:
|
|
17
|
-
|
|
17
|
+
oneOf:
|
|
18
|
+
- $ref: "#/components/schemas/UserResponse"
|
|
19
|
+
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
|
18
20
|
tags:
|
|
19
21
|
- "user"
|
|
20
22
|
|
|
@@ -28,7 +30,9 @@ paths:
|
|
|
28
30
|
content:
|
|
29
31
|
application/json:
|
|
30
32
|
schema:
|
|
31
|
-
|
|
33
|
+
oneOf:
|
|
34
|
+
- $ref: "#/components/schemas/UserResponse"
|
|
35
|
+
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
|
32
36
|
tags:
|
|
33
37
|
- "user"
|
|
34
38
|
|
|
@@ -42,9 +46,11 @@ paths:
|
|
|
42
46
|
content:
|
|
43
47
|
application/json:
|
|
44
48
|
schema:
|
|
45
|
-
|
|
49
|
+
oneOf:
|
|
50
|
+
- $ref: "#/components/schemas/UsersResponse"
|
|
51
|
+
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
|
46
52
|
tags:
|
|
47
|
-
- "
|
|
53
|
+
- "users"
|
|
48
54
|
|
|
49
55
|
components:
|
|
50
56
|
schemas:
|
|
@@ -14,7 +14,9 @@ paths:
|
|
|
14
14
|
content:
|
|
15
15
|
application/json:
|
|
16
16
|
schema:
|
|
17
|
-
|
|
17
|
+
oneOf:
|
|
18
|
+
- $ref: "#/components/schemas/UserTweetsResponse"
|
|
19
|
+
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
|
18
20
|
tags:
|
|
19
21
|
- "tweet"
|
|
20
22
|
|
|
@@ -28,7 +30,25 @@ paths:
|
|
|
28
30
|
content:
|
|
29
31
|
application/json:
|
|
30
32
|
schema:
|
|
31
|
-
|
|
33
|
+
oneOf:
|
|
34
|
+
- $ref: "#/components/schemas/UserTweetsResponse"
|
|
35
|
+
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
|
36
|
+
tags:
|
|
37
|
+
- "tweet"
|
|
38
|
+
|
|
39
|
+
/graphql/{pathQueryId}/UserHighlightsTweets:
|
|
40
|
+
get:
|
|
41
|
+
operationId: getUserHighlightsTweets
|
|
42
|
+
description: "get user highlights tweets"
|
|
43
|
+
responses:
|
|
44
|
+
"200":
|
|
45
|
+
description: Successful operation
|
|
46
|
+
content:
|
|
47
|
+
application/json:
|
|
48
|
+
schema:
|
|
49
|
+
oneOf:
|
|
50
|
+
- $ref: "#/components/schemas/UserHighlightsTweetsResponse"
|
|
51
|
+
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
|
32
52
|
tags:
|
|
33
53
|
- "tweet"
|
|
34
54
|
|
|
@@ -42,7 +62,9 @@ paths:
|
|
|
42
62
|
content:
|
|
43
63
|
application/json:
|
|
44
64
|
schema:
|
|
45
|
-
|
|
65
|
+
oneOf:
|
|
66
|
+
- $ref: "#/components/schemas/UserTweetsResponse"
|
|
67
|
+
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
|
46
68
|
tags:
|
|
47
69
|
- "tweet"
|
|
48
70
|
|
|
@@ -56,7 +78,9 @@ paths:
|
|
|
56
78
|
content:
|
|
57
79
|
application/json:
|
|
58
80
|
schema:
|
|
59
|
-
|
|
81
|
+
oneOf:
|
|
82
|
+
- $ref: "#/components/schemas/UserTweetsResponse"
|
|
83
|
+
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
|
60
84
|
tags:
|
|
61
85
|
- "tweet"
|
|
62
86
|
|
|
@@ -92,3 +116,41 @@ components:
|
|
|
92
116
|
$ref: "./../schemas/typename.yaml#/components/schemas/TypeName" # User
|
|
93
117
|
timeline_v2:
|
|
94
118
|
$ref: "./../schemas/timeline.yaml#/components/schemas/TimelineV2"
|
|
119
|
+
|
|
120
|
+
UserHighlightsTweetsResponse:
|
|
121
|
+
required:
|
|
122
|
+
- "data"
|
|
123
|
+
properties:
|
|
124
|
+
data:
|
|
125
|
+
$ref: "#/components/schemas/UserHighlightsTweetsData"
|
|
126
|
+
|
|
127
|
+
UserHighlightsTweetsData:
|
|
128
|
+
required:
|
|
129
|
+
- "user"
|
|
130
|
+
properties:
|
|
131
|
+
user:
|
|
132
|
+
$ref: "#/components/schemas/UserHighlightsTweetsUser"
|
|
133
|
+
|
|
134
|
+
UserHighlightsTweetsUser:
|
|
135
|
+
required:
|
|
136
|
+
- "result"
|
|
137
|
+
properties:
|
|
138
|
+
result:
|
|
139
|
+
$ref: "#/components/schemas/UserHighlightsTweetsResult"
|
|
140
|
+
|
|
141
|
+
UserHighlightsTweetsResult:
|
|
142
|
+
required:
|
|
143
|
+
- "timeline"
|
|
144
|
+
- "__typename"
|
|
145
|
+
properties:
|
|
146
|
+
timeline:
|
|
147
|
+
$ref: "#/components/schemas/UserHighlightsTweetsTimeline"
|
|
148
|
+
__typename:
|
|
149
|
+
$ref: "./../schemas/typename.yaml#/components/schemas/TypeName" # User
|
|
150
|
+
|
|
151
|
+
UserHighlightsTweetsTimeline:
|
|
152
|
+
required:
|
|
153
|
+
- "timeline"
|
|
154
|
+
properties:
|
|
155
|
+
timeline:
|
|
156
|
+
$ref: "./../schemas/timeline.yaml#/components/schemas/Timeline"
|
|
@@ -23,6 +23,10 @@ components:
|
|
|
23
23
|
enum:
|
|
24
24
|
[TimelineTimelineItem, TimelineTimelineCursor, TimelineTimelineModule]
|
|
25
25
|
|
|
26
|
+
CursorType:
|
|
27
|
+
type: string
|
|
28
|
+
enum: [Top, Bottom, ShowMore, ShowMoreThreads, Gap] # Gap???
|
|
29
|
+
|
|
26
30
|
TimelineTimelineItem:
|
|
27
31
|
required:
|
|
28
32
|
- "__typename"
|
|
@@ -32,14 +36,15 @@ components:
|
|
|
32
36
|
__typename:
|
|
33
37
|
$ref: "./typename.yaml#/components/schemas/TypeName" # TimelineTimelineItem
|
|
34
38
|
entryType:
|
|
35
|
-
type: string # enum
|
|
36
39
|
$ref: "#/components/schemas/ContentEntryType" # TimelineTimelineItem
|
|
37
40
|
itemContent:
|
|
38
41
|
$ref: "#/components/schemas/ItemContentUnion"
|
|
39
42
|
clientEventInfo:
|
|
40
|
-
type: object
|
|
43
|
+
type: object
|
|
44
|
+
additionalProperties: true # todo
|
|
41
45
|
feedbackInfo:
|
|
42
|
-
type: object
|
|
46
|
+
type: object
|
|
47
|
+
additionalProperties: true # todo
|
|
43
48
|
|
|
44
49
|
TimelineTimelineModule:
|
|
45
50
|
required:
|
|
@@ -50,9 +55,9 @@ components:
|
|
|
50
55
|
- "clientEventInfo"
|
|
51
56
|
properties:
|
|
52
57
|
__typename:
|
|
58
|
+
type: string
|
|
53
59
|
$ref: "./typename.yaml#/components/schemas/TypeName" # TimelineTimelineModule
|
|
54
60
|
entryType:
|
|
55
|
-
type: string # enum
|
|
56
61
|
$ref: "#/components/schemas/ContentEntryType" # TimelineTimelineCursor
|
|
57
62
|
displayType:
|
|
58
63
|
type: string # enum
|
|
@@ -61,12 +66,15 @@ components:
|
|
|
61
66
|
items:
|
|
62
67
|
$ref: "#/components/schemas/ModuleItem"
|
|
63
68
|
footer:
|
|
64
|
-
type: object
|
|
69
|
+
type: object
|
|
70
|
+
additionalProperties: true # todo
|
|
65
71
|
header:
|
|
66
|
-
type: object
|
|
72
|
+
type: object
|
|
73
|
+
additionalProperties: true # todo
|
|
67
74
|
|
|
68
75
|
clientEventInfo:
|
|
69
|
-
type: object
|
|
76
|
+
type: object
|
|
77
|
+
additionalProperties: true # todo
|
|
70
78
|
|
|
71
79
|
TimelineTimelineCursor:
|
|
72
80
|
required:
|
|
@@ -77,14 +85,11 @@ components:
|
|
|
77
85
|
__typename:
|
|
78
86
|
$ref: "./typename.yaml#/components/schemas/TypeName" # TimelineTimelineCursor
|
|
79
87
|
entryType:
|
|
80
|
-
type: string # enum
|
|
81
88
|
$ref: "#/components/schemas/ContentEntryType" # null | TimelineTimelineCursor
|
|
82
89
|
itemType:
|
|
83
|
-
type: string # enum
|
|
84
90
|
$ref: "#/components/schemas/ContentEntryType" # null | TimelineTimelineCursor
|
|
85
91
|
cursorType:
|
|
86
|
-
|
|
87
|
-
enum: [Top, Bottom, ShowMore, ShowMoreThreads, Gap] # Gap???
|
|
92
|
+
$ref: "#/components/schemas/CursorType"
|
|
88
93
|
value:
|
|
89
94
|
type: string
|
|
90
95
|
|
|
@@ -97,7 +102,7 @@ components:
|
|
|
97
102
|
properties:
|
|
98
103
|
entryId:
|
|
99
104
|
type: string
|
|
100
|
-
pattern:
|
|
105
|
+
pattern: "^(([a-z]+|[0-9]+|[0-9a-f]+)(-|$))+"
|
|
101
106
|
item:
|
|
102
107
|
$ref: "#/components/schemas/ModuleEntry"
|
|
103
108
|
|
|
@@ -107,7 +112,8 @@ components:
|
|
|
107
112
|
- "itemContent"
|
|
108
113
|
properties:
|
|
109
114
|
clientEventInfo:
|
|
110
|
-
type: object
|
|
115
|
+
type: object
|
|
116
|
+
additionalProperties: true # todo
|
|
111
117
|
itemContent:
|
|
112
118
|
$ref: "#/components/schemas/ItemContentUnion"
|
|
113
119
|
|
|
@@ -122,7 +128,7 @@ components:
|
|
|
122
128
|
- $ref: "#/components/schemas/TimelineMessagePrompt"
|
|
123
129
|
|
|
124
130
|
discriminator:
|
|
125
|
-
propertyName:
|
|
131
|
+
propertyName: __typename
|
|
126
132
|
mapping": # deprecated
|
|
127
133
|
TimelineTweet: "#/components/schemas/TimelineTweet"
|
|
128
134
|
TimelineTimelineCursor: "#/components/schemas/TimelineTimelineCursor"
|
|
@@ -151,7 +157,6 @@ components:
|
|
|
151
157
|
__typename:
|
|
152
158
|
$ref: "./typename.yaml#/components/schemas/TypeName" # TimelineTweet
|
|
153
159
|
itemType:
|
|
154
|
-
type: string # enum
|
|
155
160
|
$ref: "#/components/schemas/ContentItemType" # TimelineTweet
|
|
156
161
|
tweetDisplayType:
|
|
157
162
|
type: string
|
|
@@ -160,7 +165,8 @@ components:
|
|
|
160
165
|
SocialContext:
|
|
161
166
|
$ref: "#/components/schemas/SocialContext"
|
|
162
167
|
promotedMetadata:
|
|
163
|
-
type: object
|
|
168
|
+
type: object
|
|
169
|
+
additionalProperties: true # todo
|
|
164
170
|
|
|
165
171
|
TimelineUser:
|
|
166
172
|
required:
|
|
@@ -173,7 +179,6 @@ components:
|
|
|
173
179
|
__typename:
|
|
174
180
|
$ref: "./typename.yaml#/components/schemas/TypeName" # TimelineUser
|
|
175
181
|
itemType:
|
|
176
|
-
type: string # enum
|
|
177
182
|
$ref: "#/components/schemas/ContentItemType" # TimelineUser
|
|
178
183
|
SocialContext:
|
|
179
184
|
$ref: "#/components/schemas/SocialContext"
|
|
@@ -201,12 +206,14 @@ components:
|
|
|
201
206
|
type:
|
|
202
207
|
type: string # enum
|
|
203
208
|
|
|
204
|
-
TimelinePrompt:
|
|
209
|
+
TimelinePrompt:
|
|
205
210
|
properties:
|
|
206
211
|
__typename:
|
|
207
212
|
$ref: "./typename.yaml#/components/schemas/TypeName" # TimelinePrompt
|
|
213
|
+
additionalProperties: true # todo
|
|
208
214
|
|
|
209
|
-
TimelineMessagePrompt:
|
|
215
|
+
TimelineMessagePrompt:
|
|
210
216
|
properties:
|
|
211
217
|
__typename:
|
|
212
218
|
$ref: "./typename.yaml#/components/schemas/TypeName" # TimelineMessagePrompt
|
|
219
|
+
additionalProperties: true # todo
|