mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 23:50:26 +01:00
add API
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
b2fa9766a0
commit
e0c99ad92d
4 changed files with 113 additions and 80 deletions
|
|
@ -62,7 +62,7 @@ components:
|
||||||
in: cookie
|
in: cookie
|
||||||
name: auth_token
|
name: auth_token
|
||||||
|
|
||||||
CookieAuthCt0:
|
CookieCt0:
|
||||||
type: apiKey
|
type: apiKey
|
||||||
in: cookie
|
in: cookie
|
||||||
name: ct0
|
name: ct0
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,7 @@ get:
|
||||||
type: string
|
type: string
|
||||||
default: "37RUvMgTiEVYYfrRTVDxpw"
|
default: "37RUvMgTiEVYYfrRTVDxpw"
|
||||||
example: "'37RUvMgTiEVYYfrRTVDxpw'"
|
example: "'37RUvMgTiEVYYfrRTVDxpw'"
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful operation
|
description: Successful operation
|
||||||
|
|
@ -54,6 +55,16 @@ get:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "./../../components/schemas/Timeline.yaml#/TimelineResponse"
|
$ref: "./../../components/schemas/Timeline.yaml#/TimelineResponse"
|
||||||
|
|
||||||
|
security:
|
||||||
|
- bearerAuth: []
|
||||||
|
- CsrfToken: []
|
||||||
|
- ActiveUser: []
|
||||||
|
- AuthType: []
|
||||||
|
- ClientLanguage: []
|
||||||
|
- CookieAuthToken: []
|
||||||
|
- CookieCt0: []
|
||||||
|
|
||||||
tags:
|
tags:
|
||||||
- "timeline"
|
- "timeline"
|
||||||
- "login-required"
|
- "login-required"
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,7 @@ get:
|
||||||
type: string
|
type: string
|
||||||
default: "BntFPEOxs3GYdPaS6CjUcg"
|
default: "BntFPEOxs3GYdPaS6CjUcg"
|
||||||
example: "'BntFPEOxs3GYdPaS6CjUcg'"
|
example: "'BntFPEOxs3GYdPaS6CjUcg'"
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful operation
|
description: Successful operation
|
||||||
|
|
@ -57,6 +58,16 @@ get:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "./../../components/schemas/Timeline.yaml#/TimelineResponse"
|
$ref: "./../../components/schemas/Timeline.yaml#/TimelineResponse"
|
||||||
|
|
||||||
|
security:
|
||||||
|
- bearerAuth: []
|
||||||
|
- CsrfToken: []
|
||||||
|
- ActiveUser: []
|
||||||
|
- AuthType: []
|
||||||
|
- ClientLanguage: []
|
||||||
|
- CookieAuthToken: []
|
||||||
|
- CookieCt0: []
|
||||||
|
|
||||||
tags:
|
tags:
|
||||||
- "timeline"
|
- "timeline"
|
||||||
- "login-required"
|
- "login-required"
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,7 @@ get:
|
||||||
type: string
|
type: string
|
||||||
default: "VEwO8c1TYdm5zjxCOIiwFw"
|
default: "VEwO8c1TYdm5zjxCOIiwFw"
|
||||||
example: "'VEwO8c1TYdm5zjxCOIiwFw'"
|
example: "'VEwO8c1TYdm5zjxCOIiwFw'"
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful operation
|
description: Successful operation
|
||||||
|
|
@ -54,6 +55,16 @@ get:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "./../../components/schemas/Timeline.yaml#/ListTweetsTimelineResponse"
|
$ref: "./../../components/schemas/Timeline.yaml#/ListTweetsTimelineResponse"
|
||||||
|
|
||||||
|
security:
|
||||||
|
- bearerAuth: []
|
||||||
|
- CsrfToken: []
|
||||||
|
- ActiveUser: []
|
||||||
|
- AuthType: []
|
||||||
|
- ClientLanguage: []
|
||||||
|
- CookieAuthToken: []
|
||||||
|
- CookieCt0: []
|
||||||
|
|
||||||
tags:
|
tags:
|
||||||
- "timeline"
|
- "timeline"
|
||||||
- "login-required"
|
- "login-required"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue