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:
parent
133cc17ed3
commit
9fd57625e8
10 changed files with 526 additions and 46 deletions
|
|
@ -18,43 +18,34 @@ components:
|
|||
schemas: {}
|
||||
|
||||
securitySchemes:
|
||||
BearerAuth:
|
||||
type: http
|
||||
scheme: bearer
|
||||
description: "AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA"
|
||||
# Moved to Parameters because it is not working as Security
|
||||
# BearerAuth:
|
||||
# type: http
|
||||
# scheme: bearer
|
||||
# description: "AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA"
|
||||
# AuthType:
|
||||
# type: apiKey
|
||||
# in: header
|
||||
# name: x-twitter-auth-type
|
||||
# description: "OAuth2Session"
|
||||
|
||||
CsrfToken:
|
||||
type: apiKey
|
||||
in: header
|
||||
name: x-csrf-token
|
||||
|
||||
ActiveUser:
|
||||
type: apiKey
|
||||
in: header
|
||||
name: x-twitter-active-user
|
||||
description: "yes"
|
||||
|
||||
AuthType:
|
||||
type: apiKey
|
||||
in: header
|
||||
name: x-twitter-auth-type
|
||||
description: "OAuth2Session"
|
||||
|
||||
ClientLanguage:
|
||||
type: apiKey
|
||||
in: header
|
||||
name: x-twitter-client-language
|
||||
description: "en"
|
||||
|
||||
CookieAuthToken:
|
||||
type: apiKey
|
||||
in: cookie
|
||||
name: auth_token
|
||||
description: "document.cookie.split('; ').find(row => row.startsWith('ct0='));"
|
||||
|
||||
CookieCt0:
|
||||
type: apiKey
|
||||
in: cookie
|
||||
name: ct0
|
||||
description: "document.cookie.split('; ').find(row => row.startsWith('ct0='));"
|
||||
|
||||
CookieAuthToken:
|
||||
type: apiKey
|
||||
in: cookie
|
||||
name: auth_token
|
||||
description: "HttpOnly cookie"
|
||||
|
||||
tags:
|
||||
- name: timeline
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue