mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 23:50:26 +01:00
Merge branch 'main' of https://github.com/fa0311/twitter-openapi
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
commit
48e7b33775
16 changed files with 9 additions and 150 deletions
27
dist/openapi-3.0.yaml
vendored
27
dist/openapi-3.0.yaml
vendored
|
|
@ -64,30 +64,3 @@ security:
|
|||
- CookieCt0: []
|
||||
servers:
|
||||
- url: https://twitter.com/i/api/graphql
|
||||
tags:
|
||||
- description: timeline
|
||||
name: timeline
|
||||
- description: tweet
|
||||
name: tweet
|
||||
- description: user
|
||||
name: user
|
||||
- description: bookmark
|
||||
name: bookmark
|
||||
- description: follow
|
||||
name: follow
|
||||
- description: search
|
||||
name: search
|
||||
- description: dm
|
||||
name: dm
|
||||
- description: settings
|
||||
name: settings
|
||||
- description: notify
|
||||
name: notify
|
||||
- description: login session required
|
||||
name: login required
|
||||
- description: graphql
|
||||
name: graphql
|
||||
- description: login flow
|
||||
name: login-flow
|
||||
- description: report flow
|
||||
name: report-flow
|
||||
|
|
|
|||
3
dist/paths/bookmarks.yaml
vendored
3
dist/paths/bookmarks.yaml
vendored
|
|
@ -134,6 +134,3 @@ paths:
|
|||
x-xss-protection:
|
||||
schema:
|
||||
type: integer
|
||||
tags:
|
||||
- bookmark
|
||||
- graphql
|
||||
|
|
|
|||
6
dist/paths/follow.yaml
vendored
6
dist/paths/follow.yaml
vendored
|
|
@ -150,9 +150,6 @@ paths:
|
|||
x-xss-protection:
|
||||
schema:
|
||||
type: integer
|
||||
tags:
|
||||
- follow
|
||||
- graphql
|
||||
/b22I8WSfQ8H4Ev8486xAlQ/Following:
|
||||
get:
|
||||
description: get user list of followers
|
||||
|
|
@ -265,6 +262,3 @@ paths:
|
|||
x-xss-protection:
|
||||
schema:
|
||||
type: integer
|
||||
tags:
|
||||
- follow
|
||||
- graphql
|
||||
|
|
|
|||
3
dist/paths/profile.yaml
vendored
3
dist/paths/profile.yaml
vendored
|
|
@ -164,6 +164,3 @@ paths:
|
|||
x-xss-protection:
|
||||
schema:
|
||||
type: integer
|
||||
tags:
|
||||
- user
|
||||
- graphql
|
||||
|
|
|
|||
12
dist/paths/timeline.yaml
vendored
12
dist/paths/timeline.yaml
vendored
|
|
@ -158,10 +158,6 @@ paths:
|
|||
x-xss-protection:
|
||||
schema:
|
||||
type: integer
|
||||
tags:
|
||||
- timeline
|
||||
- login-required
|
||||
- graphql
|
||||
/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
|
||||
get:
|
||||
description: get tweet list of timeline
|
||||
|
|
@ -274,10 +270,6 @@ paths:
|
|||
x-xss-protection:
|
||||
schema:
|
||||
type: integer
|
||||
tags:
|
||||
- timeline
|
||||
- login-required
|
||||
- graphql
|
||||
/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
|
||||
get:
|
||||
description: get tweet list of timeline
|
||||
|
|
@ -390,7 +382,3 @@ paths:
|
|||
x-xss-protection:
|
||||
schema:
|
||||
type: integer
|
||||
tags:
|
||||
- timeline
|
||||
- login-required
|
||||
- graphql
|
||||
|
|
|
|||
17
dist/paths/tweet.yaml
vendored
17
dist/paths/tweet.yaml
vendored
|
|
@ -1,17 +1,17 @@
|
|||
components:
|
||||
schemas:
|
||||
BookmarksResponseData:
|
||||
TweetDetailResponse:
|
||||
properties:
|
||||
data:
|
||||
$ref: '#/components/schemas/TweetDetailResponseData'
|
||||
required:
|
||||
- data
|
||||
TweetDetailResponseData:
|
||||
properties:
|
||||
threaded_conversation_with_injections_v2:
|
||||
$ref: ./../schemas/timeline.yaml#/components/schemas/Timeline
|
||||
required:
|
||||
- threaded_conversation_with_injections_v2
|
||||
TweetDetailResponse:
|
||||
properties:
|
||||
data:
|
||||
$ref: '#/components/schemas/BookmarksResponseData'
|
||||
required:
|
||||
- data
|
||||
info:
|
||||
title: Twitter OpenAPI
|
||||
version: 0.0.1
|
||||
|
|
@ -131,6 +131,3 @@ paths:
|
|||
x-xss-protection:
|
||||
schema:
|
||||
type: integer
|
||||
tags:
|
||||
- bookmark
|
||||
- graphql
|
||||
|
|
|
|||
3
dist/paths/user.yaml
vendored
3
dist/paths/user.yaml
vendored
|
|
@ -120,6 +120,3 @@ paths:
|
|||
x-xss-protection:
|
||||
schema:
|
||||
type: integer
|
||||
tags:
|
||||
- user
|
||||
- graphql
|
||||
|
|
|
|||
12
dist/paths/usertweets.yaml
vendored
12
dist/paths/usertweets.yaml
vendored
|
|
@ -145,9 +145,6 @@ paths:
|
|||
x-xss-protection:
|
||||
schema:
|
||||
type: integer
|
||||
tags:
|
||||
- user
|
||||
- graphql
|
||||
/HuTx74BxAnezK1gWvYY7zg/UserTweets:
|
||||
get:
|
||||
description: get user tweets
|
||||
|
|
@ -261,9 +258,6 @@ paths:
|
|||
x-xss-protection:
|
||||
schema:
|
||||
type: integer
|
||||
tags:
|
||||
- user
|
||||
- graphql
|
||||
/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
|
||||
get:
|
||||
description: get user replies tweets
|
||||
|
|
@ -376,9 +370,6 @@ paths:
|
|||
x-xss-protection:
|
||||
schema:
|
||||
type: integer
|
||||
tags:
|
||||
- user
|
||||
- graphql
|
||||
/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
|
||||
get:
|
||||
description: get user media tweets
|
||||
|
|
@ -492,6 +483,3 @@ paths:
|
|||
x-xss-protection:
|
||||
schema:
|
||||
type: integer
|
||||
tags:
|
||||
- user
|
||||
- graphql
|
||||
|
|
|
|||
|
|
@ -47,36 +47,6 @@ components:
|
|||
name: auth_token
|
||||
description: "HttpOnly cookie"
|
||||
|
||||
tags:
|
||||
- name: timeline
|
||||
description: timeline
|
||||
- name: tweet
|
||||
description: tweet
|
||||
- name: user
|
||||
description: user
|
||||
- name: bookmark
|
||||
description: bookmark
|
||||
- name: follow
|
||||
description: follow
|
||||
- name: search
|
||||
description: search
|
||||
- name: dm
|
||||
description: dm
|
||||
- name: settings
|
||||
description: settings
|
||||
- name: notify
|
||||
description: notify
|
||||
|
||||
# ===
|
||||
- name: login required
|
||||
description: login session required
|
||||
- name: graphql
|
||||
description: graphql
|
||||
- name: login-flow
|
||||
description: login flow
|
||||
- name: report-flow
|
||||
description: report flow
|
||||
|
||||
security:
|
||||
- bearerAuth: []
|
||||
- CsrfToken: []
|
||||
|
|
|
|||
|
|
@ -15,9 +15,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/BookmarksResponse"
|
||||
tags:
|
||||
- "bookmark"
|
||||
- "graphql"
|
||||
|
||||
components:
|
||||
schemas:
|
||||
|
|
|
|||
|
|
@ -15,9 +15,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/FollowResponse"
|
||||
tags:
|
||||
- "follow"
|
||||
- "graphql"
|
||||
|
||||
/{{FollowersQuery}}/Followers:
|
||||
get:
|
||||
|
|
@ -30,9 +27,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/FollowResponse"
|
||||
tags:
|
||||
- "follow"
|
||||
- "graphql"
|
||||
|
||||
components:
|
||||
schemas:
|
||||
|
|
|
|||
|
|
@ -15,9 +15,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ProfileResponse"
|
||||
tags:
|
||||
- "user"
|
||||
- "graphql"
|
||||
|
||||
components:
|
||||
schemas:
|
||||
|
|
|
|||
|
|
@ -15,10 +15,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/TimelineResponse"
|
||||
tags:
|
||||
- "timeline"
|
||||
- "login-required"
|
||||
- "graphql"
|
||||
|
||||
/{{HomeLatestTimelineQuery}}/HomeLatestTimeline:
|
||||
get:
|
||||
|
|
@ -31,10 +27,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/TimelineResponse"
|
||||
tags:
|
||||
- "timeline"
|
||||
- "login-required"
|
||||
- "graphql"
|
||||
|
||||
/{{ListLatestTweetsTimelineQuery}}/ListLatestTweetsTimeline:
|
||||
get:
|
||||
|
|
@ -47,10 +39,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ListTweetsTimelineResponse"
|
||||
tags:
|
||||
- "timeline"
|
||||
- "login-required"
|
||||
- "graphql"
|
||||
|
||||
components:
|
||||
schemas:
|
||||
|
|
|
|||
|
|
@ -15,9 +15,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/TweetDetailResponse"
|
||||
tags:
|
||||
- "bookmark"
|
||||
- "graphql"
|
||||
|
||||
components:
|
||||
schemas:
|
||||
|
|
@ -26,9 +23,9 @@ components:
|
|||
- "data"
|
||||
properties:
|
||||
data:
|
||||
$ref: "#/components/schemas/BookmarksResponseData"
|
||||
$ref: "#/components/schemas/TweetDetailResponseData"
|
||||
|
||||
BookmarksResponseData:
|
||||
TweetDetailResponseData:
|
||||
required:
|
||||
- "threaded_conversation_with_injections_v2"
|
||||
properties:
|
||||
|
|
|
|||
|
|
@ -15,9 +15,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/UserResponse"
|
||||
tags:
|
||||
- "user"
|
||||
- "graphql"
|
||||
|
||||
components:
|
||||
schemas:
|
||||
|
|
|
|||
|
|
@ -15,9 +15,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/UserTweetsResponse"
|
||||
tags:
|
||||
- "user"
|
||||
- "graphql"
|
||||
|
||||
/{{UserTweetsAndRepliesQuery}}/UserTweetsAndReplies:
|
||||
get:
|
||||
|
|
@ -30,9 +27,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/UserTweetsResponse"
|
||||
tags:
|
||||
- "user"
|
||||
- "graphql"
|
||||
|
||||
/{{UserMediaQuery}}/UserMedia:
|
||||
get:
|
||||
|
|
@ -45,9 +39,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/UserTweetsResponse"
|
||||
tags:
|
||||
- "user"
|
||||
- "graphql"
|
||||
|
||||
/{{LikesQuery}}/Likes:
|
||||
get:
|
||||
|
|
@ -60,9 +51,6 @@ paths:
|
|||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/UserTweetsResponse"
|
||||
tags:
|
||||
- "user"
|
||||
- "graphql"
|
||||
|
||||
components:
|
||||
schemas:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue