mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 23:50:26 +01:00
add tag
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
e6c0ebfb57
commit
dceaa10a43
15 changed files with 65 additions and 0 deletions
7
dist/openapi-3.0.yaml
vendored
7
dist/openapi-3.0.yaml
vendored
|
|
@ -64,3 +64,10 @@ security:
|
||||||
- CookieCt0: []
|
- CookieCt0: []
|
||||||
servers:
|
servers:
|
||||||
- url: https://twitter.com/i/api/graphql
|
- url: https://twitter.com/i/api/graphql
|
||||||
|
tags:
|
||||||
|
- description: response User
|
||||||
|
name: User
|
||||||
|
- description: response User list
|
||||||
|
name: UserList
|
||||||
|
- description: response tweet
|
||||||
|
name: Tweet
|
||||||
|
|
|
||||||
2
dist/paths/bookmarks.yaml
vendored
2
dist/paths/bookmarks.yaml
vendored
|
|
@ -134,3 +134,5 @@ paths:
|
||||||
x-xss-protection:
|
x-xss-protection:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
|
tags:
|
||||||
|
- Tweet
|
||||||
|
|
|
||||||
4
dist/paths/follow.yaml
vendored
4
dist/paths/follow.yaml
vendored
|
|
@ -150,6 +150,8 @@ paths:
|
||||||
x-xss-protection:
|
x-xss-protection:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
|
tags:
|
||||||
|
- UserList
|
||||||
/JpFFCTBPxYVlDqMUr9twzQ/Followers:
|
/JpFFCTBPxYVlDqMUr9twzQ/Followers:
|
||||||
get:
|
get:
|
||||||
description: get user list of following
|
description: get user list of following
|
||||||
|
|
@ -262,3 +264,5 @@ paths:
|
||||||
x-xss-protection:
|
x-xss-protection:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
|
tags:
|
||||||
|
- UserList
|
||||||
|
|
|
||||||
6
dist/paths/timeline.yaml
vendored
6
dist/paths/timeline.yaml
vendored
|
|
@ -158,6 +158,8 @@ paths:
|
||||||
x-xss-protection:
|
x-xss-protection:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
|
tags:
|
||||||
|
- Tweet
|
||||||
/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
|
/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
|
||||||
get:
|
get:
|
||||||
description: get tweet list of timeline
|
description: get tweet list of timeline
|
||||||
|
|
@ -270,6 +272,8 @@ paths:
|
||||||
x-xss-protection:
|
x-xss-protection:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
|
tags:
|
||||||
|
- Tweet
|
||||||
/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
|
/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
|
||||||
get:
|
get:
|
||||||
description: get tweet list of timeline
|
description: get tweet list of timeline
|
||||||
|
|
@ -382,3 +386,5 @@ paths:
|
||||||
x-xss-protection:
|
x-xss-protection:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
|
tags:
|
||||||
|
- Tweet
|
||||||
|
|
|
||||||
2
dist/paths/tweet.yaml
vendored
2
dist/paths/tweet.yaml
vendored
|
|
@ -131,3 +131,5 @@ paths:
|
||||||
x-xss-protection:
|
x-xss-protection:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
|
tags:
|
||||||
|
- Tweet
|
||||||
|
|
|
||||||
2
dist/paths/user.yaml
vendored
2
dist/paths/user.yaml
vendored
|
|
@ -120,3 +120,5 @@ paths:
|
||||||
x-xss-protection:
|
x-xss-protection:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
|
tags:
|
||||||
|
- User
|
||||||
|
|
|
||||||
8
dist/paths/usertweets.yaml
vendored
8
dist/paths/usertweets.yaml
vendored
|
|
@ -145,6 +145,8 @@ paths:
|
||||||
x-xss-protection:
|
x-xss-protection:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
|
tags:
|
||||||
|
- Tweet
|
||||||
/HuTx74BxAnezK1gWvYY7zg/UserTweets:
|
/HuTx74BxAnezK1gWvYY7zg/UserTweets:
|
||||||
get:
|
get:
|
||||||
description: get user tweets
|
description: get user tweets
|
||||||
|
|
@ -258,6 +260,8 @@ paths:
|
||||||
x-xss-protection:
|
x-xss-protection:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
|
tags:
|
||||||
|
- Tweet
|
||||||
/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
|
/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
|
||||||
get:
|
get:
|
||||||
description: get user replies tweets
|
description: get user replies tweets
|
||||||
|
|
@ -370,6 +374,8 @@ paths:
|
||||||
x-xss-protection:
|
x-xss-protection:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
|
tags:
|
||||||
|
- Tweet
|
||||||
/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
|
/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
|
||||||
get:
|
get:
|
||||||
description: get user media tweets
|
description: get user media tweets
|
||||||
|
|
@ -483,3 +489,5 @@ paths:
|
||||||
x-xss-protection:
|
x-xss-protection:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
|
tags:
|
||||||
|
- Tweet
|
||||||
|
|
|
||||||
3
dist/schemas/tweet.yaml
vendored
3
dist/schemas/tweet.yaml
vendored
|
|
@ -34,6 +34,8 @@ components:
|
||||||
type: boolean
|
type: boolean
|
||||||
legacy:
|
legacy:
|
||||||
$ref: '#/components/schemas/TweetLegacy'
|
$ref: '#/components/schemas/TweetLegacy'
|
||||||
|
quoted_status_result:
|
||||||
|
$ref: ./content.yaml#/components/schemas/ItemResult
|
||||||
rest_id:
|
rest_id:
|
||||||
pattern: ^[0-9]+$
|
pattern: ^[0-9]+$
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -55,6 +57,7 @@ components:
|
||||||
- is_translatable
|
- is_translatable
|
||||||
- legacy
|
- legacy
|
||||||
- views
|
- views
|
||||||
|
- quoted_status_result
|
||||||
TweetLegacy:
|
TweetLegacy:
|
||||||
properties:
|
properties:
|
||||||
bookmark_count:
|
bookmark_count:
|
||||||
|
|
|
||||||
|
|
@ -55,3 +55,10 @@ security:
|
||||||
- ClientLanguage: []
|
- ClientLanguage: []
|
||||||
- CookieAuthToken: []
|
- CookieAuthToken: []
|
||||||
- CookieCt0: []
|
- CookieCt0: []
|
||||||
|
tags:
|
||||||
|
- name: User
|
||||||
|
description: response User
|
||||||
|
- name: UserList
|
||||||
|
description: response User list
|
||||||
|
- name: Tweet
|
||||||
|
description: response tweet
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,8 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/BookmarksResponse"
|
$ref: "#/components/schemas/BookmarksResponse"
|
||||||
|
tags:
|
||||||
|
- "Tweet"
|
||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,8 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/FollowResponse"
|
$ref: "#/components/schemas/FollowResponse"
|
||||||
|
tags:
|
||||||
|
- "UserList"
|
||||||
|
|
||||||
/{{FollowersQuery}}/Followers:
|
/{{FollowersQuery}}/Followers:
|
||||||
get:
|
get:
|
||||||
|
|
@ -27,6 +29,8 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/FollowResponse"
|
$ref: "#/components/schemas/FollowResponse"
|
||||||
|
tags:
|
||||||
|
- "UserList"
|
||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,8 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/TimelineResponse"
|
$ref: "#/components/schemas/TimelineResponse"
|
||||||
|
tags:
|
||||||
|
- "Tweet"
|
||||||
|
|
||||||
/{{HomeLatestTimelineQuery}}/HomeLatestTimeline:
|
/{{HomeLatestTimelineQuery}}/HomeLatestTimeline:
|
||||||
get:
|
get:
|
||||||
|
|
@ -27,6 +29,8 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/TimelineResponse"
|
$ref: "#/components/schemas/TimelineResponse"
|
||||||
|
tags:
|
||||||
|
- "Tweet"
|
||||||
|
|
||||||
/{{ListLatestTweetsTimelineQuery}}/ListLatestTweetsTimeline:
|
/{{ListLatestTweetsTimelineQuery}}/ListLatestTweetsTimeline:
|
||||||
get:
|
get:
|
||||||
|
|
@ -39,6 +43,8 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ListTweetsTimelineResponse"
|
$ref: "#/components/schemas/ListTweetsTimelineResponse"
|
||||||
|
tags:
|
||||||
|
- "Tweet"
|
||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,8 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/TweetDetailResponse"
|
$ref: "#/components/schemas/TweetDetailResponse"
|
||||||
|
tags:
|
||||||
|
- "Tweet"
|
||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,8 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/UserResponse"
|
$ref: "#/components/schemas/UserResponse"
|
||||||
|
tags:
|
||||||
|
- "User"
|
||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,8 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/UserTweetsResponse"
|
$ref: "#/components/schemas/UserTweetsResponse"
|
||||||
|
tags:
|
||||||
|
- "Tweet"
|
||||||
|
|
||||||
/{{UserTweetsAndRepliesQuery}}/UserTweetsAndReplies:
|
/{{UserTweetsAndRepliesQuery}}/UserTweetsAndReplies:
|
||||||
get:
|
get:
|
||||||
|
|
@ -27,6 +29,8 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/UserTweetsResponse"
|
$ref: "#/components/schemas/UserTweetsResponse"
|
||||||
|
tags:
|
||||||
|
- "Tweet"
|
||||||
|
|
||||||
/{{UserMediaQuery}}/UserMedia:
|
/{{UserMediaQuery}}/UserMedia:
|
||||||
get:
|
get:
|
||||||
|
|
@ -39,6 +43,8 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/UserTweetsResponse"
|
$ref: "#/components/schemas/UserTweetsResponse"
|
||||||
|
tags:
|
||||||
|
- "Tweet"
|
||||||
|
|
||||||
/{{LikesQuery}}/Likes:
|
/{{LikesQuery}}/Likes:
|
||||||
get:
|
get:
|
||||||
|
|
@ -51,6 +57,8 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/UserTweetsResponse"
|
$ref: "#/components/schemas/UserTweetsResponse"
|
||||||
|
tags:
|
||||||
|
- "Tweet"
|
||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue