1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 23:50:26 +01:00
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-05-11 11:54:07 +09:00
parent a384b69c2a
commit ee7bc73066
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
20 changed files with 994 additions and 56 deletions

View file

@ -1,6 +1,20 @@
components:
schemas: {}
securitySchemes:
ActiveUser:
description: 'yes'
in: header
name: x-twitter-active-user
type: apiKey
BearerAuth:
description: AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
scheme: bearer
type: http
ClientLanguage:
description: en
in: header
name: x-twitter-client-language
type: apiKey
CookieAuthToken:
description: HttpOnly cookie
in: cookie
@ -16,6 +30,12 @@ components:
in: header
name: x-csrf-token
type: apiKey
UserAgent:
description: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/112.0.0.0 Safari/537.36
in: header
name: user-agent
type: apiKey
authType:
description: OAuth2Session if you are logged in
in: header

View file

@ -110,8 +110,8 @@ paths:
name: user_id
required: true
schema:
default: '17152334'
example: '17152334'
default: '"17152334"'
example: '"17152334"'
type: object
- in: query
name: count
@ -190,8 +190,8 @@ paths:
name: q
required: true
schema:
default: '"aaa"'
example: '"aaa"'
default: '"test"'
example: '"test"'
type: object
- in: query
name: src

View file

@ -103,8 +103,8 @@ paths:
name: user_id
required: true
schema:
default: '44196397'
example: '44196397'
default: '"44196397"'
example: '"44196397"'
type: object
responses:
'200':
@ -239,8 +239,8 @@ paths:
name: user_id
required: true
schema:
default: '44196397'
example: '44196397'
default: '"44196397"'
example: '"44196397"'
type: object
responses:
'200':