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

add window.__INITIAL_STATE__

Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-05-20 17:23:07 +09:00
parent dbd4f43bb7
commit 5007b97d01
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
11 changed files with 521 additions and 4 deletions

98
dist/docs/paths/other.yaml vendored Normal file
View file

@ -0,0 +1,98 @@
components:
schemas:
CommunitiesActions:
properties:
create:
type: boolean
required:
- create
type: object
OneFactorLoginEligibility:
properties:
fetchStatus:
type: string
required:
- fetchStatus
type: object
OtherResponse:
properties:
session:
$ref: '#/components/schemas/Session'
required:
- session
type: object
Session:
properties:
SsoInitTokens:
type: object
communitiesActions:
$ref: '#/components/schemas/CommunitiesActions'
country:
pattern: ^[A-Z]{2}$
type: string
guestId:
pattern: ^[0-9]+$
type: string
hasCommunityMemberships:
type: boolean
isActiveCreator:
type: boolean
isRestrictedSession:
type: boolean
isSuperFollowSubscriber:
type: boolean
language:
pattern: ^[a-z]{2}$
type: string
oneFactorLoginEligibility:
$ref: '#/components/schemas/OneFactorLoginEligibility'
superFollowersCount:
type: integer
superFollowsApplicationStatus:
type: string
userFeatures:
$ref: '#/components/schemas/UserFeatures'
user_id:
pattern: ^[0-9]+$
type: string
required:
- country
- communitiesActions
- isActiveCreator
- isRestrictedSession
- guestId
- hasCommunityMemberships
- language
- oneFactorLoginEligibility
- ssoInitTokens
- superFollowersCount
- superFollowsApplicationStatus
- user_id
- userFeatures
- isSuperFollowSubscriber
type: object
UserFeatures:
properties:
mediatool_studio_library:
type: boolean
required:
- mediatool_studio_library
type: object
info:
title: Twitter OpenAPI
version: 0.0.1
openapi: 3.0.3
paths:
/other:
get:
description: This is not an actual endpoint
operationId: other
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/OtherResponse'
description: Successful operation
tags:
- other