mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-12 08:00:27 +01:00
update builder
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
c22926614e
commit
3419b5c0ab
19 changed files with 539 additions and 480 deletions
|
|
@ -4,7 +4,7 @@ info:
|
|||
version: 0.0.1
|
||||
|
||||
paths:
|
||||
/{{BookmarksQuery}}/Bookmarks:
|
||||
/graphql/{{queryId}}/Bookmarks:
|
||||
get:
|
||||
operationId: getBookmarks
|
||||
description: get bookmarks
|
||||
|
|
@ -16,7 +16,7 @@ paths:
|
|||
schema:
|
||||
$ref: "#/components/schemas/BookmarksResponse"
|
||||
tags:
|
||||
- "Tweet"
|
||||
- "tweet"
|
||||
|
||||
components:
|
||||
schemas:
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ info:
|
|||
version: 0.0.1
|
||||
|
||||
paths:
|
||||
/{{FollowingQuery}}/Following:
|
||||
/graphql/{{queryId}}/Following:
|
||||
get:
|
||||
operationId: getFollowing
|
||||
description: get user list of following
|
||||
|
|
@ -16,9 +16,9 @@ paths:
|
|||
schema:
|
||||
$ref: "#/components/schemas/FollowResponse"
|
||||
tags:
|
||||
- "UserList"
|
||||
- "userList"
|
||||
|
||||
/{{FollowersQuery}}/Followers:
|
||||
/graphql/{{queryId}}/Followers:
|
||||
get:
|
||||
operationId: getFollowers
|
||||
description: get user list of followers
|
||||
|
|
@ -30,7 +30,7 @@ paths:
|
|||
schema:
|
||||
$ref: "#/components/schemas/FollowResponse"
|
||||
tags:
|
||||
- "UserList"
|
||||
- "userList"
|
||||
|
||||
components:
|
||||
schemas:
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ info:
|
|||
version: 0.0.1
|
||||
|
||||
paths:
|
||||
/{{FavoriteTweetQuery}}/FavoriteTweet:
|
||||
/graphql/{{queryId}}/FavoriteTweet:
|
||||
post:
|
||||
operationId: postFavoriteTweet
|
||||
description: favorite Tweet
|
||||
|
|
@ -16,9 +16,9 @@ paths:
|
|||
schema:
|
||||
$ref: "#/components/schemas/FavoriteTweetResponseData"
|
||||
tags:
|
||||
- "Post"
|
||||
- "post"
|
||||
|
||||
/{{UnfavoriteTweetQuery}}/UnfavoriteTweet:
|
||||
/graphql/{{queryId}}/UnfavoriteTweet:
|
||||
post:
|
||||
operationId: postUnfavoriteTweet
|
||||
description: unfavorite Tweet
|
||||
|
|
@ -30,9 +30,9 @@ paths:
|
|||
schema:
|
||||
$ref: "#/components/schemas/UnfavoriteTweetResponseData"
|
||||
tags:
|
||||
- "Post"
|
||||
- "post"
|
||||
|
||||
/{{CreateRetweetQuery}}/CreateRetweet:
|
||||
/graphql/{{queryId}}/CreateRetweet:
|
||||
post:
|
||||
operationId: postCreateRetweet
|
||||
description: create Retweet
|
||||
|
|
@ -44,9 +44,9 @@ paths:
|
|||
schema:
|
||||
$ref: "#/components/schemas/CreateRetweetResponse"
|
||||
tags:
|
||||
- "Post"
|
||||
- "post"
|
||||
|
||||
/{{DeleteRetweetQuery}}/DeleteRetweet:
|
||||
/graphql/{{queryId}}/DeleteRetweet:
|
||||
post:
|
||||
operationId: postDeleteRetweet
|
||||
description: delete Retweet
|
||||
|
|
@ -58,9 +58,9 @@ paths:
|
|||
schema:
|
||||
$ref: "#/components/schemas/DeleteRetweetResponse"
|
||||
tags:
|
||||
- "Post"
|
||||
- "post"
|
||||
|
||||
/{{CreateTweetQuery}}/CreateTweet:
|
||||
/graphql/{{queryId}}/CreateTweet:
|
||||
post:
|
||||
operationId: postCreateTweet
|
||||
description: create Tweet
|
||||
|
|
@ -72,9 +72,9 @@ paths:
|
|||
schema:
|
||||
$ref: "#/components/schemas/CreateTweetResponse"
|
||||
tags:
|
||||
- "Post"
|
||||
- "post"
|
||||
|
||||
/{{DeleteTweetQuery}}/DeleteTweet:
|
||||
/graphql/{{queryId}}/DeleteTweet:
|
||||
post:
|
||||
operationId: postDeleteTweet
|
||||
description: delete Retweet
|
||||
|
|
@ -86,7 +86,7 @@ paths:
|
|||
schema:
|
||||
$ref: "#/components/schemas/DeleteTweetResponse"
|
||||
tags:
|
||||
- "Post"
|
||||
- "post"
|
||||
|
||||
components:
|
||||
schemas:
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ info:
|
|||
version: 0.0.1
|
||||
|
||||
paths:
|
||||
/{{ProfileSpotlightsQueryQuery}}/ProfileSpotlightsQuery:
|
||||
/graphql/{{queryId}}/ProfileSpotlightsQuery:
|
||||
get:
|
||||
operationId: getProfileSpotlightsQuery
|
||||
description: "get user by screen name"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ info:
|
|||
version: 0.0.1
|
||||
|
||||
paths:
|
||||
/{{HomeTimelineQuery}}/HomeTimeline:
|
||||
/graphql/{{queryId}}/HomeTimeline:
|
||||
get:
|
||||
operationId: getHomeTimeline
|
||||
description: get tweet list of timeline
|
||||
|
|
@ -16,9 +16,9 @@ paths:
|
|||
schema:
|
||||
$ref: "#/components/schemas/TimelineResponse"
|
||||
tags:
|
||||
- "Tweet"
|
||||
- "tweet"
|
||||
|
||||
/{{HomeLatestTimelineQuery}}/HomeLatestTimeline:
|
||||
/graphql/{{queryId}}/HomeLatestTimeline:
|
||||
get:
|
||||
operationId: getHomeLatestTimeline
|
||||
description: get tweet list of timeline
|
||||
|
|
@ -30,9 +30,9 @@ paths:
|
|||
schema:
|
||||
$ref: "#/components/schemas/TimelineResponse"
|
||||
tags:
|
||||
- "Tweet"
|
||||
- "tweet"
|
||||
|
||||
/{{ListLatestTweetsTimelineQuery}}/ListLatestTweetsTimeline:
|
||||
/graphql/{{queryId}}/ListLatestTweetsTimeline:
|
||||
get:
|
||||
operationId: getListLatestTweetsTimeline
|
||||
description: get tweet list of timeline
|
||||
|
|
@ -44,7 +44,7 @@ paths:
|
|||
schema:
|
||||
$ref: "#/components/schemas/ListTweetsTimelineResponse"
|
||||
tags:
|
||||
- "Tweet"
|
||||
- "tweet"
|
||||
|
||||
components:
|
||||
schemas:
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ info:
|
|||
version: 0.0.1
|
||||
|
||||
paths:
|
||||
/{{TweetDetailQuery}}/TweetDetail:
|
||||
/graphql/{{queryId}}/TweetDetail:
|
||||
get:
|
||||
operationId: getTweetDetail
|
||||
description: get TweetDetail
|
||||
|
|
@ -16,7 +16,7 @@ paths:
|
|||
schema:
|
||||
$ref: "#/components/schemas/TweetDetailResponse"
|
||||
tags:
|
||||
- "Tweet"
|
||||
- "tweet"
|
||||
|
||||
components:
|
||||
schemas:
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ info:
|
|||
version: 0.0.1
|
||||
|
||||
paths:
|
||||
/{{UserByScreenNameQuery}}/UserByScreenName:
|
||||
/graphql/{{queryId}}/UserByScreenName:
|
||||
get:
|
||||
operationId: getUserByScreenName
|
||||
description: "get user by screen name"
|
||||
|
|
@ -16,7 +16,7 @@ paths:
|
|||
schema:
|
||||
$ref: "#/components/schemas/UserResponse"
|
||||
tags:
|
||||
- "User"
|
||||
- "user"
|
||||
|
||||
components:
|
||||
schemas:
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ info:
|
|||
version: 0.0.1
|
||||
|
||||
paths:
|
||||
/{{UserTweetsQuery}}/UserTweets:
|
||||
/graphql/{{queryId}}/UserTweets:
|
||||
get:
|
||||
operationId: getUserTweets
|
||||
description: "get user tweets"
|
||||
|
|
@ -16,9 +16,9 @@ paths:
|
|||
schema:
|
||||
$ref: "#/components/schemas/UserTweetsResponse"
|
||||
tags:
|
||||
- "Tweet"
|
||||
- "tweet"
|
||||
|
||||
/{{UserTweetsAndRepliesQuery}}/UserTweetsAndReplies:
|
||||
/graphql/{{queryId}}/UserTweetsAndReplies:
|
||||
get:
|
||||
operationId: getUserTweetsAndReplies
|
||||
description: "get user replies tweets"
|
||||
|
|
@ -30,9 +30,9 @@ paths:
|
|||
schema:
|
||||
$ref: "#/components/schemas/UserTweetsResponse"
|
||||
tags:
|
||||
- "Tweet"
|
||||
- "tweet"
|
||||
|
||||
/{{UserMediaQuery}}/UserMedia:
|
||||
/graphql/{{queryId}}/UserMedia:
|
||||
get:
|
||||
operationId: getUserMedia
|
||||
description: "get user media tweets"
|
||||
|
|
@ -44,9 +44,9 @@ paths:
|
|||
schema:
|
||||
$ref: "#/components/schemas/UserTweetsResponse"
|
||||
tags:
|
||||
- "Tweet"
|
||||
- "tweet"
|
||||
|
||||
/{{LikesQuery}}/Likes:
|
||||
/graphql/{{queryId}}/Likes:
|
||||
get:
|
||||
operationId: getLikes
|
||||
description: "get user likes tweets"
|
||||
|
|
@ -58,7 +58,7 @@ paths:
|
|||
schema:
|
||||
$ref: "#/components/schemas/UserTweetsResponse"
|
||||
tags:
|
||||
- "Tweet"
|
||||
- "tweet"
|
||||
|
||||
components:
|
||||
schemas:
|
||||
|
|
|
|||
15
src/openapi/paths/v1.1.yaml
Normal file
15
src/openapi/paths/v1.1.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
openapi: 3.0.3
|
||||
info:
|
||||
title: Twitter OpenAPI
|
||||
version: 0.0.1
|
||||
|
||||
paths:
|
||||
/1.1/friendships/create.json:
|
||||
post:
|
||||
operationId: postCreateFriendships
|
||||
description: post create friendships
|
||||
responses:
|
||||
"200":
|
||||
description: Successful operation
|
||||
tags:
|
||||
- "v1.1"
|
||||
Loading…
Add table
Add a link
Reference in a new issue