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: []
|
- CookieCt0: []
|
||||||
servers:
|
servers:
|
||||||
- url: https://twitter.com/i/api/graphql
|
- 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:
|
x-xss-protection:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
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:
|
x-xss-protection:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
|
||||||
- follow
|
|
||||||
- graphql
|
|
||||||
/b22I8WSfQ8H4Ev8486xAlQ/Following:
|
/b22I8WSfQ8H4Ev8486xAlQ/Following:
|
||||||
get:
|
get:
|
||||||
description: get user list of followers
|
description: get user list of followers
|
||||||
|
|
@ -265,6 +262,3 @@ paths:
|
||||||
x-xss-protection:
|
x-xss-protection:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
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:
|
x-xss-protection:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
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:
|
x-xss-protection:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
|
||||||
- timeline
|
|
||||||
- login-required
|
|
||||||
- graphql
|
|
||||||
/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
|
/HCosKfLNW1AcOo3la3mMgg/HomeTimeline:
|
||||||
get:
|
get:
|
||||||
description: get tweet list of timeline
|
description: get tweet list of timeline
|
||||||
|
|
@ -274,10 +270,6 @@ paths:
|
||||||
x-xss-protection:
|
x-xss-protection:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
|
||||||
- timeline
|
|
||||||
- login-required
|
|
||||||
- graphql
|
|
||||||
/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
|
/zhX91JE87mWvfprhYE97xA/HomeLatestTimeline:
|
||||||
get:
|
get:
|
||||||
description: get tweet list of timeline
|
description: get tweet list of timeline
|
||||||
|
|
@ -390,7 +382,3 @@ paths:
|
||||||
x-xss-protection:
|
x-xss-protection:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
|
||||||
- timeline
|
|
||||||
- login-required
|
|
||||||
- graphql
|
|
||||||
|
|
|
||||||
17
dist/paths/tweet.yaml
vendored
17
dist/paths/tweet.yaml
vendored
|
|
@ -1,17 +1,17 @@
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
BookmarksResponseData:
|
TweetDetailResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
$ref: '#/components/schemas/TweetDetailResponseData'
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
TweetDetailResponseData:
|
||||||
properties:
|
properties:
|
||||||
threaded_conversation_with_injections_v2:
|
threaded_conversation_with_injections_v2:
|
||||||
$ref: ./../schemas/timeline.yaml#/components/schemas/Timeline
|
$ref: ./../schemas/timeline.yaml#/components/schemas/Timeline
|
||||||
required:
|
required:
|
||||||
- threaded_conversation_with_injections_v2
|
- threaded_conversation_with_injections_v2
|
||||||
TweetDetailResponse:
|
|
||||||
properties:
|
|
||||||
data:
|
|
||||||
$ref: '#/components/schemas/BookmarksResponseData'
|
|
||||||
required:
|
|
||||||
- data
|
|
||||||
info:
|
info:
|
||||||
title: Twitter OpenAPI
|
title: Twitter OpenAPI
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
|
|
@ -131,6 +131,3 @@ paths:
|
||||||
x-xss-protection:
|
x-xss-protection:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
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:
|
x-xss-protection:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
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:
|
x-xss-protection:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
|
||||||
- user
|
|
||||||
- graphql
|
|
||||||
/HuTx74BxAnezK1gWvYY7zg/UserTweets:
|
/HuTx74BxAnezK1gWvYY7zg/UserTweets:
|
||||||
get:
|
get:
|
||||||
description: get user tweets
|
description: get user tweets
|
||||||
|
|
@ -261,9 +258,6 @@ paths:
|
||||||
x-xss-protection:
|
x-xss-protection:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
|
||||||
- user
|
|
||||||
- graphql
|
|
||||||
/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
|
/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
|
||||||
get:
|
get:
|
||||||
description: get user replies tweets
|
description: get user replies tweets
|
||||||
|
|
@ -376,9 +370,6 @@ paths:
|
||||||
x-xss-protection:
|
x-xss-protection:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
|
||||||
- user
|
|
||||||
- graphql
|
|
||||||
/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
|
/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
|
||||||
get:
|
get:
|
||||||
description: get user media tweets
|
description: get user media tweets
|
||||||
|
|
@ -492,6 +483,3 @@ paths:
|
||||||
x-xss-protection:
|
x-xss-protection:
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
|
||||||
- user
|
|
||||||
- graphql
|
|
||||||
|
|
|
||||||
|
|
@ -47,36 +47,6 @@ components:
|
||||||
name: auth_token
|
name: auth_token
|
||||||
description: "HttpOnly cookie"
|
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:
|
security:
|
||||||
- bearerAuth: []
|
- bearerAuth: []
|
||||||
- CsrfToken: []
|
- CsrfToken: []
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/BookmarksResponse"
|
$ref: "#/components/schemas/BookmarksResponse"
|
||||||
tags:
|
|
||||||
- "bookmark"
|
|
||||||
- "graphql"
|
|
||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/FollowResponse"
|
$ref: "#/components/schemas/FollowResponse"
|
||||||
tags:
|
|
||||||
- "follow"
|
|
||||||
- "graphql"
|
|
||||||
|
|
||||||
/{{FollowersQuery}}/Followers:
|
/{{FollowersQuery}}/Followers:
|
||||||
get:
|
get:
|
||||||
|
|
@ -30,9 +27,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/FollowResponse"
|
$ref: "#/components/schemas/FollowResponse"
|
||||||
tags:
|
|
||||||
- "follow"
|
|
||||||
- "graphql"
|
|
||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ProfileResponse"
|
$ref: "#/components/schemas/ProfileResponse"
|
||||||
tags:
|
|
||||||
- "user"
|
|
||||||
- "graphql"
|
|
||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
|
|
|
||||||
|
|
@ -15,10 +15,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/TimelineResponse"
|
$ref: "#/components/schemas/TimelineResponse"
|
||||||
tags:
|
|
||||||
- "timeline"
|
|
||||||
- "login-required"
|
|
||||||
- "graphql"
|
|
||||||
|
|
||||||
/{{HomeLatestTimelineQuery}}/HomeLatestTimeline:
|
/{{HomeLatestTimelineQuery}}/HomeLatestTimeline:
|
||||||
get:
|
get:
|
||||||
|
|
@ -31,10 +27,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/TimelineResponse"
|
$ref: "#/components/schemas/TimelineResponse"
|
||||||
tags:
|
|
||||||
- "timeline"
|
|
||||||
- "login-required"
|
|
||||||
- "graphql"
|
|
||||||
|
|
||||||
/{{ListLatestTweetsTimelineQuery}}/ListLatestTweetsTimeline:
|
/{{ListLatestTweetsTimelineQuery}}/ListLatestTweetsTimeline:
|
||||||
get:
|
get:
|
||||||
|
|
@ -47,10 +39,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/ListTweetsTimelineResponse"
|
$ref: "#/components/schemas/ListTweetsTimelineResponse"
|
||||||
tags:
|
|
||||||
- "timeline"
|
|
||||||
- "login-required"
|
|
||||||
- "graphql"
|
|
||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/TweetDetailResponse"
|
$ref: "#/components/schemas/TweetDetailResponse"
|
||||||
tags:
|
|
||||||
- "bookmark"
|
|
||||||
- "graphql"
|
|
||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
|
|
@ -26,9 +23,9 @@ components:
|
||||||
- "data"
|
- "data"
|
||||||
properties:
|
properties:
|
||||||
data:
|
data:
|
||||||
$ref: "#/components/schemas/BookmarksResponseData"
|
$ref: "#/components/schemas/TweetDetailResponseData"
|
||||||
|
|
||||||
BookmarksResponseData:
|
TweetDetailResponseData:
|
||||||
required:
|
required:
|
||||||
- "threaded_conversation_with_injections_v2"
|
- "threaded_conversation_with_injections_v2"
|
||||||
properties:
|
properties:
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/UserResponse"
|
$ref: "#/components/schemas/UserResponse"
|
||||||
tags:
|
|
||||||
- "user"
|
|
||||||
- "graphql"
|
|
||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/UserTweetsResponse"
|
$ref: "#/components/schemas/UserTweetsResponse"
|
||||||
tags:
|
|
||||||
- "user"
|
|
||||||
- "graphql"
|
|
||||||
|
|
||||||
/{{UserTweetsAndRepliesQuery}}/UserTweetsAndReplies:
|
/{{UserTweetsAndRepliesQuery}}/UserTweetsAndReplies:
|
||||||
get:
|
get:
|
||||||
|
|
@ -30,9 +27,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/UserTweetsResponse"
|
$ref: "#/components/schemas/UserTweetsResponse"
|
||||||
tags:
|
|
||||||
- "user"
|
|
||||||
- "graphql"
|
|
||||||
|
|
||||||
/{{UserMediaQuery}}/UserMedia:
|
/{{UserMediaQuery}}/UserMedia:
|
||||||
get:
|
get:
|
||||||
|
|
@ -45,9 +39,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/UserTweetsResponse"
|
$ref: "#/components/schemas/UserTweetsResponse"
|
||||||
tags:
|
|
||||||
- "user"
|
|
||||||
- "graphql"
|
|
||||||
|
|
||||||
/{{LikesQuery}}/Likes:
|
/{{LikesQuery}}/Likes:
|
||||||
get:
|
get:
|
||||||
|
|
@ -60,9 +51,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/UserTweetsResponse"
|
$ref: "#/components/schemas/UserTweetsResponse"
|
||||||
tags:
|
|
||||||
- "user"
|
|
||||||
- "graphql"
|
|
||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue