1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 23:50:26 +01:00

update header

Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-04-20 04:09:50 +09:00
parent 133cc17ed3
commit 9fd57625e8
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
10 changed files with 526 additions and 46 deletions

36
dist/paths/user.yaml vendored
View file

@ -43,6 +43,42 @@ paths:
default: sLVLhk0bGj3MVFEKTdax1w
example: sLVLhk0bGj3MVFEKTdax1w
type: string
- in: header
name: authorization
required: true
schema:
default: Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
description: It is a constant value and does not need to be changed.
type: string
- in: header
name: x-twitter-active-user
required: true
schema:
default: 'yes'
description: Unknown what this value means.
type: string
- in: header
name: x-twitter-auth-type
required: true
schema:
default: OAuth2Session
description: Unknown what this value means.
type: string
- in: header
name: x-twitter-client-language
required: true
schema:
default: en
description: language code.
type: string
- in: header
name: user-agent
required: true
schema:
default: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/112.0.0.0 Safari/537.36
description: UserAgent, some APIs may be rejected if changed.
type: string
responses:
'200':
content: