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
|
@@ -181,7 +181,9 @@ paths:
|
|
|
181
181
|
content:
|
|
182
182
|
application/json:
|
|
183
183
|
schema:
|
|
184
|
-
|
|
184
|
+
oneOf:
|
|
185
|
+
- $ref: '#/components/schemas/CreateRetweetResponse'
|
|
186
|
+
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
185
187
|
description: Successful operation
|
|
186
188
|
headers:
|
|
187
189
|
x-connection-hash:
|
|
@@ -375,7 +377,9 @@ paths:
|
|
|
375
377
|
content:
|
|
376
378
|
application/json:
|
|
377
379
|
schema:
|
|
378
|
-
|
|
380
|
+
oneOf:
|
|
381
|
+
- $ref: '#/components/schemas/CreateTweetResponse'
|
|
382
|
+
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
379
383
|
description: Successful operation
|
|
380
384
|
headers:
|
|
381
385
|
x-connection-hash:
|
|
@@ -449,7 +453,9 @@ paths:
|
|
|
449
453
|
content:
|
|
450
454
|
application/json:
|
|
451
455
|
schema:
|
|
452
|
-
|
|
456
|
+
oneOf:
|
|
457
|
+
- $ref: '#/components/schemas/DeleteRetweetResponse'
|
|
458
|
+
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
453
459
|
description: Successful operation
|
|
454
460
|
headers:
|
|
455
461
|
x-connection-hash:
|
|
@@ -523,7 +529,9 @@ paths:
|
|
|
523
529
|
content:
|
|
524
530
|
application/json:
|
|
525
531
|
schema:
|
|
526
|
-
|
|
532
|
+
oneOf:
|
|
533
|
+
- $ref: '#/components/schemas/DeleteTweetResponse'
|
|
534
|
+
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
527
535
|
description: Successful operation
|
|
528
536
|
headers:
|
|
529
537
|
x-connection-hash:
|
|
@@ -597,7 +605,9 @@ paths:
|
|
|
597
605
|
content:
|
|
598
606
|
application/json:
|
|
599
607
|
schema:
|
|
600
|
-
|
|
608
|
+
oneOf:
|
|
609
|
+
- $ref: '#/components/schemas/FavoriteTweetResponseData'
|
|
610
|
+
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
601
611
|
description: Successful operation
|
|
602
612
|
headers:
|
|
603
613
|
x-connection-hash:
|
|
@@ -671,7 +681,9 @@ paths:
|
|
|
671
681
|
content:
|
|
672
682
|
application/json:
|
|
673
683
|
schema:
|
|
674
|
-
|
|
684
|
+
oneOf:
|
|
685
|
+
- $ref: '#/components/schemas/UnfavoriteTweetResponseData'
|
|
686
|
+
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
675
687
|
description: Successful operation
|
|
676
688
|
headers:
|
|
677
689
|
x-connection-hash:
|
|
@@ -15,7 +15,7 @@ components:
|
|
|
15
15
|
UserResultByScreenName:
|
|
16
16
|
properties:
|
|
17
17
|
id:
|
|
18
|
-
pattern: ^[
|
|
18
|
+
pattern: ^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)?$
|
|
19
19
|
type: string
|
|
20
20
|
result:
|
|
21
21
|
$ref: '#/components/schemas/UserResultByScreenNameResult'
|
|
@@ -48,6 +48,7 @@ components:
|
|
|
48
48
|
legacy:
|
|
49
49
|
$ref: '#/components/schemas/UserResultByScreenNameLegacy'
|
|
50
50
|
profilemodules:
|
|
51
|
+
additionalProperties: true
|
|
51
52
|
type: object
|
|
52
53
|
rest_id:
|
|
53
54
|
pattern: ^[0-9]+$
|
|
@@ -94,7 +95,9 @@ paths:
|
|
|
94
95
|
content:
|
|
95
96
|
application/json:
|
|
96
97
|
schema:
|
|
97
|
-
|
|
98
|
+
oneOf:
|
|
99
|
+
- $ref: '#/components/schemas/ProfileResponse'
|
|
100
|
+
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
98
101
|
description: Successful operation
|
|
99
102
|
headers:
|
|
100
103
|
x-connection-hash:
|
|
@@ -124,7 +124,9 @@ paths:
|
|
|
124
124
|
content:
|
|
125
125
|
application/json:
|
|
126
126
|
schema:
|
|
127
|
-
|
|
127
|
+
oneOf:
|
|
128
|
+
- $ref: '#/components/schemas/TimelineResponse'
|
|
129
|
+
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
128
130
|
description: Successful operation
|
|
129
131
|
headers:
|
|
130
132
|
x-connection-hash:
|
|
@@ -206,7 +208,9 @@ paths:
|
|
|
206
208
|
content:
|
|
207
209
|
application/json:
|
|
208
210
|
schema:
|
|
209
|
-
|
|
211
|
+
oneOf:
|
|
212
|
+
- $ref: '#/components/schemas/TimelineResponse'
|
|
213
|
+
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
210
214
|
description: Successful operation
|
|
211
215
|
headers:
|
|
212
216
|
x-connection-hash:
|
|
@@ -286,7 +290,9 @@ paths:
|
|
|
286
290
|
content:
|
|
287
291
|
application/json:
|
|
288
292
|
schema:
|
|
289
|
-
|
|
293
|
+
oneOf:
|
|
294
|
+
- $ref: '#/components/schemas/ListLatestTweetsTimelineResponse'
|
|
295
|
+
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
290
296
|
description: Successful operation
|
|
291
297
|
headers:
|
|
292
298
|
x-connection-hash:
|
|
@@ -377,7 +383,9 @@ paths:
|
|
|
377
383
|
content:
|
|
378
384
|
application/json:
|
|
379
385
|
schema:
|
|
380
|
-
|
|
386
|
+
oneOf:
|
|
387
|
+
- $ref: '#/components/schemas/SearchTimelineResponse'
|
|
388
|
+
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
381
389
|
description: Successful operation
|
|
382
390
|
headers:
|
|
383
391
|
x-connection-hash:
|
|
@@ -44,7 +44,7 @@ paths:
|
|
|
44
44
|
/graphql/{pathQueryId}/Favoriters:
|
|
45
45
|
get:
|
|
46
46
|
description: get tweet favoriters
|
|
47
|
-
operationId:
|
|
47
|
+
operationId: getFavoriters
|
|
48
48
|
parameters:
|
|
49
49
|
- in: path
|
|
50
50
|
name: pathQueryId
|
|
@@ -96,7 +96,9 @@ paths:
|
|
|
96
96
|
content:
|
|
97
97
|
application/json:
|
|
98
98
|
schema:
|
|
99
|
-
|
|
99
|
+
oneOf:
|
|
100
|
+
- $ref: '#/components/schemas/TweetFavoritersResponse'
|
|
101
|
+
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
100
102
|
description: Successful operation
|
|
101
103
|
headers:
|
|
102
104
|
x-connection-hash:
|
|
@@ -128,7 +130,7 @@ paths:
|
|
|
128
130
|
/graphql/{pathQueryId}/Retweeters:
|
|
129
131
|
get:
|
|
130
132
|
description: get tweet retweeters
|
|
131
|
-
operationId:
|
|
133
|
+
operationId: getRetweeters
|
|
132
134
|
parameters:
|
|
133
135
|
- in: path
|
|
134
136
|
name: pathQueryId
|
|
@@ -180,7 +182,9 @@ paths:
|
|
|
180
182
|
content:
|
|
181
183
|
application/json:
|
|
182
184
|
schema:
|
|
183
|
-
|
|
185
|
+
oneOf:
|
|
186
|
+
- $ref: '#/components/schemas/TweetRetweetersResponse'
|
|
187
|
+
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
184
188
|
description: Successful operation
|
|
185
189
|
headers:
|
|
186
190
|
x-connection-hash:
|
|
@@ -266,7 +270,9 @@ paths:
|
|
|
266
270
|
content:
|
|
267
271
|
application/json:
|
|
268
272
|
schema:
|
|
269
|
-
|
|
273
|
+
oneOf:
|
|
274
|
+
- $ref: '#/components/schemas/TweetDetailResponse'
|
|
275
|
+
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
270
276
|
description: Successful operation
|
|
271
277
|
headers:
|
|
272
278
|
x-connection-hash:
|
|
@@ -68,7 +68,9 @@ paths:
|
|
|
68
68
|
content:
|
|
69
69
|
application/json:
|
|
70
70
|
schema:
|
|
71
|
-
|
|
71
|
+
oneOf:
|
|
72
|
+
- $ref: '#/components/schemas/UserResponse'
|
|
73
|
+
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
72
74
|
description: Successful operation
|
|
73
75
|
headers:
|
|
74
76
|
x-connection-hash:
|
|
@@ -132,7 +134,9 @@ paths:
|
|
|
132
134
|
content:
|
|
133
135
|
application/json:
|
|
134
136
|
schema:
|
|
135
|
-
|
|
137
|
+
oneOf:
|
|
138
|
+
- $ref: '#/components/schemas/UserResponse'
|
|
139
|
+
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
136
140
|
description: Successful operation
|
|
137
141
|
headers:
|
|
138
142
|
x-connection-hash:
|
|
@@ -196,7 +200,9 @@ paths:
|
|
|
196
200
|
content:
|
|
197
201
|
application/json:
|
|
198
202
|
schema:
|
|
199
|
-
|
|
203
|
+
oneOf:
|
|
204
|
+
- $ref: '#/components/schemas/UsersResponse'
|
|
205
|
+
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
200
206
|
description: Successful operation
|
|
201
207
|
headers:
|
|
202
208
|
x-connection-hash:
|
|
@@ -224,4 +230,4 @@ paths:
|
|
|
224
230
|
schema:
|
|
225
231
|
type: string
|
|
226
232
|
tags:
|
|
227
|
-
-
|
|
233
|
+
- users
|
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
components:
|
|
2
2
|
schemas:
|
|
3
|
+
UserHighlightsTweetsData:
|
|
4
|
+
properties:
|
|
5
|
+
user:
|
|
6
|
+
$ref: '#/components/schemas/UserHighlightsTweetsUser'
|
|
7
|
+
required:
|
|
8
|
+
- user
|
|
9
|
+
UserHighlightsTweetsResponse:
|
|
10
|
+
properties:
|
|
11
|
+
data:
|
|
12
|
+
$ref: '#/components/schemas/UserHighlightsTweetsData'
|
|
13
|
+
required:
|
|
14
|
+
- data
|
|
15
|
+
UserHighlightsTweetsResult:
|
|
16
|
+
properties:
|
|
17
|
+
__typename:
|
|
18
|
+
$ref: ./../schemas/typename.yaml#/components/schemas/TypeName
|
|
19
|
+
timeline:
|
|
20
|
+
$ref: '#/components/schemas/UserHighlightsTweetsTimeline'
|
|
21
|
+
required:
|
|
22
|
+
- timeline
|
|
23
|
+
- __typename
|
|
24
|
+
UserHighlightsTweetsTimeline:
|
|
25
|
+
properties:
|
|
26
|
+
timeline:
|
|
27
|
+
$ref: ./../schemas/timeline.yaml#/components/schemas/Timeline
|
|
28
|
+
required:
|
|
29
|
+
- timeline
|
|
30
|
+
UserHighlightsTweetsUser:
|
|
31
|
+
properties:
|
|
32
|
+
result:
|
|
33
|
+
$ref: '#/components/schemas/UserHighlightsTweetsResult'
|
|
34
|
+
required:
|
|
35
|
+
- result
|
|
3
36
|
UserTweetsData:
|
|
4
37
|
properties:
|
|
5
38
|
user:
|
|
@@ -87,7 +120,104 @@ paths:
|
|
|
87
120
|
content:
|
|
88
121
|
application/json:
|
|
89
122
|
schema:
|
|
90
|
-
|
|
123
|
+
oneOf:
|
|
124
|
+
- $ref: '#/components/schemas/UserTweetsResponse'
|
|
125
|
+
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
126
|
+
description: Successful operation
|
|
127
|
+
headers:
|
|
128
|
+
x-connection-hash:
|
|
129
|
+
schema:
|
|
130
|
+
type: string
|
|
131
|
+
x-rate-limit-limit:
|
|
132
|
+
schema:
|
|
133
|
+
type: integer
|
|
134
|
+
x-rate-limit-remaining:
|
|
135
|
+
schema:
|
|
136
|
+
type: integer
|
|
137
|
+
x-rate-limit-reset:
|
|
138
|
+
schema:
|
|
139
|
+
type: integer
|
|
140
|
+
x-response-time:
|
|
141
|
+
schema:
|
|
142
|
+
type: integer
|
|
143
|
+
x-tfe-preserve-body:
|
|
144
|
+
schema:
|
|
145
|
+
type: boolean
|
|
146
|
+
x-transaction-id:
|
|
147
|
+
schema:
|
|
148
|
+
type: string
|
|
149
|
+
x-twitter-response-tags:
|
|
150
|
+
schema:
|
|
151
|
+
type: string
|
|
152
|
+
tags:
|
|
153
|
+
- tweet
|
|
154
|
+
/graphql/{pathQueryId}/UserHighlightsTweets:
|
|
155
|
+
get:
|
|
156
|
+
description: get user highlights tweets
|
|
157
|
+
operationId: getUserHighlightsTweets
|
|
158
|
+
parameters:
|
|
159
|
+
- in: path
|
|
160
|
+
name: pathQueryId
|
|
161
|
+
required: true
|
|
162
|
+
schema:
|
|
163
|
+
default: sTveqh05FMMAFfDNpRc_Jg
|
|
164
|
+
example: sTveqh05FMMAFfDNpRc_Jg
|
|
165
|
+
type: string
|
|
166
|
+
- in: query
|
|
167
|
+
name: variables
|
|
168
|
+
required: true
|
|
169
|
+
schema:
|
|
170
|
+
default: '{"userId": "44196397", "count": 20, "includePromotedContent":
|
|
171
|
+
true, "withVoice": true}'
|
|
172
|
+
example: '{"userId": "44196397", "count": 20, "includePromotedContent":
|
|
173
|
+
true, "withVoice": true}'
|
|
174
|
+
type: string
|
|
175
|
+
- in: query
|
|
176
|
+
name: features
|
|
177
|
+
required: true
|
|
178
|
+
schema:
|
|
179
|
+
default: '{"rweb_lists_timeline_redesign_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
180
|
+
true, "verified_phone_label_enabled": false, "creator_subscriptions_tweet_preview_api_enabled":
|
|
181
|
+
true, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
182
|
+
false, "tweetypie_unmention_optimization_enabled": true, "responsive_web_edit_tweet_api_enabled":
|
|
183
|
+
true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled": true,
|
|
184
|
+
"view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
185
|
+
true, "responsive_web_twitter_article_tweet_consumption_enabled": false,
|
|
186
|
+
"tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
187
|
+
true, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
188
|
+
true, "longform_notetweets_rich_text_read_enabled": true, "longform_notetweets_inline_media_enabled":
|
|
189
|
+
true, "responsive_web_media_download_video_enabled": false, "responsive_web_enhance_cards_enabled":
|
|
190
|
+
false}'
|
|
191
|
+
example: '{"rweb_lists_timeline_redesign_enabled": true, "responsive_web_graphql_exclude_directive_enabled":
|
|
192
|
+
true, "verified_phone_label_enabled": false, "creator_subscriptions_tweet_preview_api_enabled":
|
|
193
|
+
true, "responsive_web_graphql_timeline_navigation_enabled": true, "responsive_web_graphql_skip_user_profile_image_extensions_enabled":
|
|
194
|
+
false, "tweetypie_unmention_optimization_enabled": true, "responsive_web_edit_tweet_api_enabled":
|
|
195
|
+
true, "graphql_is_translatable_rweb_tweet_is_translatable_enabled": true,
|
|
196
|
+
"view_counts_everywhere_api_enabled": true, "longform_notetweets_consumption_enabled":
|
|
197
|
+
true, "responsive_web_twitter_article_tweet_consumption_enabled": false,
|
|
198
|
+
"tweet_awards_web_tipping_enabled": false, "freedom_of_speech_not_reach_fetch_enabled":
|
|
199
|
+
true, "standardized_nudges_misinfo": true, "tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":
|
|
200
|
+
true, "longform_notetweets_rich_text_read_enabled": true, "longform_notetweets_inline_media_enabled":
|
|
201
|
+
true, "responsive_web_media_download_video_enabled": false, "responsive_web_enhance_cards_enabled":
|
|
202
|
+
false}'
|
|
203
|
+
type: string
|
|
204
|
+
- in: query
|
|
205
|
+
name: fieldToggles
|
|
206
|
+
required: true
|
|
207
|
+
schema:
|
|
208
|
+
default: '{"withAuxiliaryUserLabels": false, "withArticleRichContentState":
|
|
209
|
+
false}'
|
|
210
|
+
example: '{"withAuxiliaryUserLabels": false, "withArticleRichContentState":
|
|
211
|
+
false}'
|
|
212
|
+
type: string
|
|
213
|
+
responses:
|
|
214
|
+
'200':
|
|
215
|
+
content:
|
|
216
|
+
application/json:
|
|
217
|
+
schema:
|
|
218
|
+
oneOf:
|
|
219
|
+
- $ref: '#/components/schemas/UserHighlightsTweetsResponse'
|
|
220
|
+
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
91
221
|
description: Successful operation
|
|
92
222
|
headers:
|
|
93
223
|
x-connection-hash:
|
|
@@ -171,7 +301,9 @@ paths:
|
|
|
171
301
|
content:
|
|
172
302
|
application/json:
|
|
173
303
|
schema:
|
|
174
|
-
|
|
304
|
+
oneOf:
|
|
305
|
+
- $ref: '#/components/schemas/UserTweetsResponse'
|
|
306
|
+
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
175
307
|
description: Successful operation
|
|
176
308
|
headers:
|
|
177
309
|
x-connection-hash:
|
|
@@ -255,7 +387,9 @@ paths:
|
|
|
255
387
|
content:
|
|
256
388
|
application/json:
|
|
257
389
|
schema:
|
|
258
|
-
|
|
390
|
+
oneOf:
|
|
391
|
+
- $ref: '#/components/schemas/UserTweetsResponse'
|
|
392
|
+
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
259
393
|
description: Successful operation
|
|
260
394
|
headers:
|
|
261
395
|
x-connection-hash:
|
|
@@ -337,7 +471,9 @@ paths:
|
|
|
337
471
|
content:
|
|
338
472
|
application/json:
|
|
339
473
|
schema:
|
|
340
|
-
|
|
474
|
+
oneOf:
|
|
475
|
+
- $ref: '#/components/schemas/UserTweetsResponse'
|
|
476
|
+
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
|
341
477
|
description: Successful operation
|
|
342
478
|
headers:
|
|
343
479
|
x-connection-hash:
|
|
@@ -25,6 +25,14 @@ components:
|
|
|
25
25
|
- $ref: '#/components/schemas/TimelineTimelineItem'
|
|
26
26
|
- $ref: '#/components/schemas/TimelineTimelineModule'
|
|
27
27
|
- $ref: '#/components/schemas/TimelineTimelineCursor'
|
|
28
|
+
CursorType:
|
|
29
|
+
enum:
|
|
30
|
+
- Top
|
|
31
|
+
- Bottom
|
|
32
|
+
- ShowMore
|
|
33
|
+
- ShowMoreThreads
|
|
34
|
+
- Gap
|
|
35
|
+
type: string
|
|
28
36
|
ItemContentUnion:
|
|
29
37
|
discriminator:
|
|
30
38
|
mapping":
|
|
@@ -33,7 +41,7 @@ components:
|
|
|
33
41
|
TimelineTimelineCursor: '#/components/schemas/TimelineTimelineCursor'
|
|
34
42
|
TimelineTweet: '#/components/schemas/TimelineTweet'
|
|
35
43
|
TimelineUser: '#/components/schemas/TimelineUser'
|
|
36
|
-
propertyName:
|
|
44
|
+
propertyName: __typename
|
|
37
45
|
oneOf:
|
|
38
46
|
- $ref: '#/components/schemas/TimelineTweet'
|
|
39
47
|
- $ref: '#/components/schemas/TimelineTimelineCursor'
|
|
@@ -51,6 +59,7 @@ components:
|
|
|
51
59
|
ModuleEntry:
|
|
52
60
|
properties:
|
|
53
61
|
clientEventInfo:
|
|
62
|
+
additionalProperties: true
|
|
54
63
|
type: object
|
|
55
64
|
itemContent:
|
|
56
65
|
$ref: '#/components/schemas/ItemContentUnion'
|
|
@@ -60,7 +69,7 @@ components:
|
|
|
60
69
|
ModuleItem:
|
|
61
70
|
properties:
|
|
62
71
|
entryId:
|
|
63
|
-
pattern: ^[a-z
|
|
72
|
+
pattern: ^(([a-z]+|[0-9]+|[0-9a-f]+)(-|$))+
|
|
64
73
|
type: string
|
|
65
74
|
item:
|
|
66
75
|
$ref: '#/components/schemas/ModuleEntry'
|
|
@@ -77,10 +86,12 @@ components:
|
|
|
77
86
|
type: string
|
|
78
87
|
type: object
|
|
79
88
|
TimelineMessagePrompt:
|
|
89
|
+
additionalProperties: true
|
|
80
90
|
properties:
|
|
81
91
|
__typename:
|
|
82
92
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
83
93
|
TimelinePrompt:
|
|
94
|
+
additionalProperties: true
|
|
84
95
|
properties:
|
|
85
96
|
__typename:
|
|
86
97
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
@@ -89,19 +100,11 @@ components:
|
|
|
89
100
|
__typename:
|
|
90
101
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
91
102
|
cursorType:
|
|
92
|
-
|
|
93
|
-
- Top
|
|
94
|
-
- Bottom
|
|
95
|
-
- ShowMore
|
|
96
|
-
- ShowMoreThreads
|
|
97
|
-
- Gap
|
|
98
|
-
type: string
|
|
103
|
+
$ref: '#/components/schemas/CursorType'
|
|
99
104
|
entryType:
|
|
100
105
|
$ref: '#/components/schemas/ContentEntryType'
|
|
101
|
-
type: string
|
|
102
106
|
itemType:
|
|
103
107
|
$ref: '#/components/schemas/ContentEntryType'
|
|
104
|
-
type: string
|
|
105
108
|
value:
|
|
106
109
|
type: string
|
|
107
110
|
required:
|
|
@@ -113,11 +116,12 @@ components:
|
|
|
113
116
|
__typename:
|
|
114
117
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
115
118
|
clientEventInfo:
|
|
119
|
+
additionalProperties: true
|
|
116
120
|
type: object
|
|
117
121
|
entryType:
|
|
118
122
|
$ref: '#/components/schemas/ContentEntryType'
|
|
119
|
-
type: string
|
|
120
123
|
feedbackInfo:
|
|
124
|
+
additionalProperties: true
|
|
121
125
|
type: object
|
|
122
126
|
itemContent:
|
|
123
127
|
$ref: '#/components/schemas/ItemContentUnion'
|
|
@@ -129,16 +133,19 @@ components:
|
|
|
129
133
|
properties:
|
|
130
134
|
__typename:
|
|
131
135
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
136
|
+
type: string
|
|
132
137
|
clientEventInfo:
|
|
138
|
+
additionalProperties: true
|
|
133
139
|
type: object
|
|
134
140
|
displayType:
|
|
135
141
|
type: string
|
|
136
142
|
entryType:
|
|
137
143
|
$ref: '#/components/schemas/ContentEntryType'
|
|
138
|
-
type: string
|
|
139
144
|
footer:
|
|
145
|
+
additionalProperties: true
|
|
140
146
|
type: object
|
|
141
147
|
header:
|
|
148
|
+
additionalProperties: true
|
|
142
149
|
type: object
|
|
143
150
|
items:
|
|
144
151
|
items:
|
|
@@ -157,8 +164,8 @@ components:
|
|
|
157
164
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
158
165
|
itemType:
|
|
159
166
|
$ref: '#/components/schemas/ContentItemType'
|
|
160
|
-
type: string
|
|
161
167
|
promotedMetadata:
|
|
168
|
+
additionalProperties: true
|
|
162
169
|
type: object
|
|
163
170
|
tweetDisplayType:
|
|
164
171
|
type: string
|
|
@@ -177,7 +184,6 @@ components:
|
|
|
177
184
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
|
178
185
|
itemType:
|
|
179
186
|
$ref: '#/components/schemas/ContentItemType'
|
|
180
|
-
type: string
|
|
181
187
|
userDisplayType:
|
|
182
188
|
type: string
|
|
183
189
|
user_results:
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
components:
|
|
2
|
+
schemas:
|
|
3
|
+
Error:
|
|
4
|
+
properties:
|
|
5
|
+
code:
|
|
6
|
+
type: integer
|
|
7
|
+
extensions:
|
|
8
|
+
$ref: '#/components/schemas/ErrorExtensions'
|
|
9
|
+
kind:
|
|
10
|
+
type: string
|
|
11
|
+
locations:
|
|
12
|
+
items:
|
|
13
|
+
$ref: '#/components/schemas/Location'
|
|
14
|
+
type: array
|
|
15
|
+
message:
|
|
16
|
+
type: string
|
|
17
|
+
name:
|
|
18
|
+
type: string
|
|
19
|
+
path:
|
|
20
|
+
items:
|
|
21
|
+
type: string
|
|
22
|
+
type: array
|
|
23
|
+
retry_after:
|
|
24
|
+
type: integer
|
|
25
|
+
source:
|
|
26
|
+
type: string
|
|
27
|
+
tracing:
|
|
28
|
+
$ref: '#/components/schemas/Tracing'
|
|
29
|
+
required:
|
|
30
|
+
- message
|
|
31
|
+
- locations
|
|
32
|
+
- path
|
|
33
|
+
- extensions
|
|
34
|
+
- code
|
|
35
|
+
- kind
|
|
36
|
+
- name
|
|
37
|
+
- source
|
|
38
|
+
- retry_after
|
|
39
|
+
- tracing
|
|
40
|
+
type: object
|
|
41
|
+
ErrorExtensions:
|
|
42
|
+
properties:
|
|
43
|
+
code:
|
|
44
|
+
type: integer
|
|
45
|
+
kind:
|
|
46
|
+
type: string
|
|
47
|
+
name:
|
|
48
|
+
type: string
|
|
49
|
+
retry_after:
|
|
50
|
+
type: integer
|
|
51
|
+
source:
|
|
52
|
+
type: string
|
|
53
|
+
tracing:
|
|
54
|
+
$ref: '#/components/schemas/Tracing'
|
|
55
|
+
required:
|
|
56
|
+
- name
|
|
57
|
+
- source
|
|
58
|
+
- retry_after
|
|
59
|
+
- code
|
|
60
|
+
- kind
|
|
61
|
+
- tracing
|
|
62
|
+
type: object
|
|
63
|
+
Errors:
|
|
64
|
+
properties:
|
|
65
|
+
errors:
|
|
66
|
+
items:
|
|
67
|
+
$ref: '#/components/schemas/Error'
|
|
68
|
+
type: array
|
|
69
|
+
required:
|
|
70
|
+
- errors
|
|
71
|
+
type: object
|
|
72
|
+
Location:
|
|
73
|
+
properties:
|
|
74
|
+
column:
|
|
75
|
+
type: integer
|
|
76
|
+
line:
|
|
77
|
+
type: integer
|
|
78
|
+
required:
|
|
79
|
+
- line
|
|
80
|
+
- column
|
|
81
|
+
type: object
|
|
82
|
+
Tracing:
|
|
83
|
+
properties:
|
|
84
|
+
trace_id:
|
|
85
|
+
pattern: ^[0-9a-f]{16}$
|
|
86
|
+
type: string
|
|
87
|
+
required:
|
|
88
|
+
- trace_id
|
|
89
|
+
type: object
|
|
90
|
+
info:
|
|
91
|
+
title: Twitter OpenAPI
|
|
92
|
+
version: 0.0.1
|
|
93
|
+
openapi: 3.0.3
|
|
94
|
+
paths: {}
|