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

add Browser Schemes

Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-09-20 10:44:15 +09:00
parent b2b556f907
commit 9aebe6384e
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA

View file

@ -34,6 +34,86 @@ paths:
type: string type: string
default: "en" default: "en"
description: "language code." description: "language code."
# Browser Schemes
- name: Accept
in: header
required: true
schema:
type: string
default: "*/*"
description: "*/*"
- name: Accept-Encoding
in: header
required: true
schema:
type: string
default: "gzip, deflate, br"
description: "gzip, deflate, br"
- name: Accept-Language
in: header
required: true
schema:
type: string
default: "en-US,en;q=0.9"
description: "en-US,en;q=0.9"
- name: Cache-Control
in: header
required: true
schema:
type: string
default: "no-cache"
description: "no-cache"
- name: Pragma
in: header
required: true
schema:
type: string
default: "no-cache"
description: "no-cache"
- name: Sec-Ch-Ua
in: header
required: true
schema:
type: string
default: '"Chromium";v="116", "Not)A;Brand";v="24", "Google Chrome";v="116"'
description: '"Chromium";v="116", "Not)A;Brand";v="24", "Google Chrome";v="116"'
- name: Sec-Ch-Ua-Mobile
in: header
required: true
schema:
type: string
default: "?0"
description: "?0"
- name: Sec-Ch-Ua-Platform
in: header
required: true
schema:
type: string
default: '"Windows"'
description: '"Windows"'
- name: Sec-Fetch-Dest
in: header
required: true
schema:
type: string
default: "empty"
description: "empty"
- name: Sec-Fetch-Mode
in: header
required: true
schema:
type: string
default: "cors"
description: "cors"
- name: Sec-Fetch-Site
in: header
required: true
schema:
type: string
default: "same-origin"
description: "same-origin"
responses: responses:
"200": "200":
description: "" description: ""
@ -60,8 +140,76 @@ components:
name: x-twitter-client-language name: x-twitter-client-language
type: apiKey type: apiKey
# Browser Schemes
Accept:
description: "*/*"
in: header
name: Accept
type: apiKey
AcceptEncoding:
description: "gzip, deflate, br"
in: header
name: Accept-Encoding
type: apiKey
AcceptLanguage:
description: "en-US,en;q=0.9"
in: header
name: Accept-Language
type: apiKey
CacheControl:
description: "no-cache"
in: header
name: Cache-Control
type: apiKey
Pragma:
description: "no-cache"
in: header
name: Pragma
type: apiKey
SecChUa:
description: '"Chromium";v="116", "Not)A;Brand";v="24", "Google Chrome";v="116"'
in: header
name: Sec-Ch-Ua
type: apiKey
SecChUaMobile:
description: "?0"
in: header
name: Sec-Ch-Ua-Mobile
type: apiKey
SecChUaPlatform:
description: '"Windows"'
in: header
name: Sec-Ch-Ua-Platform
type: apiKey
SecFetchDest:
description: "empty"
in: header
name: Sec-Fetch-Dest
type: apiKey
SecFetchMode:
description: "cors"
in: header
name: Sec-Fetch-Mode
type: apiKey
SecFetchSite:
description: "same-origin"
in: header
name: Sec-Fetch-Site
type: apiKey
security: security:
- UserAgent: [] - UserAgent: []
- BearerAuth: [] - BearerAuth: []
- ActiveUser: [] - ActiveUser: []
- ClientLanguage: [] - ClientLanguage: []
- Accept: []
- AcceptEncoding: []
- AcceptLanguage: []
- CacheControl: []
- Pragma: []
- SecChUa: []
- SecChUaMobile: []
- SecChUaPlatform: []
- SecFetchDest: []
- SecFetchMode: []
- SecFetchSite: []