1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-12 08:00:27 +01:00
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-07-09 23:45:24 +09:00
parent b95b73080e
commit 85cd1e120d
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
3 changed files with 125 additions and 2 deletions

View file

@ -32,6 +32,20 @@ paths:
tags:
- "user-list"
/graphql/{pathQueryId}/FollowersYouKnow:
get:
operationId: getFollowersYouKnow
description: "get followers you know"
responses:
"200":
description: Successful operation
content:
application/json:
schema:
$ref: "#/components/schemas/FollowResponse"
tags:
- "user-list"
components:
schemas:
FollowResponse:

View file

@ -42,7 +42,21 @@ paths:
content:
application/json:
schema:
$ref: "#/components/schemas/ListTweetsTimelineResponse"
$ref: "#/components/schemas/ListLatestTweetsTimelineResponse"
tags:
- "tweet"
/graphql/{pathQueryId}/SearchTimeline:
get:
operationId: getSearchTimeline
description: search tweet list. product:[Top, Latest, People, Photos, Videos]
responses:
"200":
description: Successful operation
content:
application/json:
schema:
$ref: "#/components/schemas/SearchTimelineResponse"
tags:
- "tweet"
@ -69,7 +83,7 @@ components:
home_timeline_urt:
$ref: "./../schemas/timeline.yaml#/components/schemas/Timeline"
ListTweetsTimelineResponse:
ListLatestTweetsTimelineResponse:
required:
- "data"
properties:
@ -96,3 +110,31 @@ components:
properties:
timeline:
$ref: "./../schemas/timeline.yaml#/components/schemas/Timeline"
SearchTimelineResponse:
required:
- "data"
properties:
data:
$ref: "#/components/schemas/SearchTimelineData"
SearchTimelineData:
required:
- "search_by_raw_query"
properties:
search_by_raw_query:
$ref: "#/components/schemas/SearchByRawQuery"
SearchByRawQuery:
required:
- "search_timeline"
properties:
search_timeline:
$ref: "#/components/schemas/SearchTimeline"
SearchTimeline:
required:
- "timeline"
properties:
timeline:
$ref: "./../schemas/timeline.yaml#/components/schemas/Timeline"