mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-12 08:00:27 +01:00
parent
b95b73080e
commit
85cd1e120d
3 changed files with 125 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue