mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 15:40:26 +01:00
build
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
9aebe6384e
commit
e7329253ca
2 changed files with 436 additions and 258 deletions
78
dist/compatible/openapi-3.0.yaml
vendored
78
dist/compatible/openapi-3.0.yaml
vendored
|
|
@ -1877,6 +1877,21 @@ components:
|
|||
required:
|
||||
- viewCount
|
||||
securitySchemes:
|
||||
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
|
||||
ActiveUser:
|
||||
description: 'yes'
|
||||
in: header
|
||||
|
|
@ -1891,6 +1906,11 @@ components:
|
|||
description: AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
||||
scheme: bearer
|
||||
type: http
|
||||
CacheControl:
|
||||
description: no-cache
|
||||
in: header
|
||||
name: Cache-Control
|
||||
type: apiKey
|
||||
ClientLanguage:
|
||||
description: en
|
||||
in: header
|
||||
|
|
@ -1916,6 +1936,41 @@ components:
|
|||
in: header
|
||||
name: x-guest-token
|
||||
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
|
||||
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
|
||||
|
|
@ -2988,6 +3043,18 @@ paths:
|
|||
properties:
|
||||
media_entities:
|
||||
items:
|
||||
properties:
|
||||
media_id:
|
||||
default: '1111111111111111111'
|
||||
example: '1111111111111111111'
|
||||
type: string
|
||||
tagged_users:
|
||||
items:
|
||||
type: object
|
||||
type: array
|
||||
required:
|
||||
- media_id
|
||||
- tagged_users
|
||||
type: object
|
||||
type: array
|
||||
possibly_sensitive:
|
||||
|
|
@ -5025,6 +5092,17 @@ security:
|
|||
- BearerAuth: []
|
||||
- ActiveUser: []
|
||||
- ClientLanguage: []
|
||||
- Accept: []
|
||||
- AcceptEncoding: []
|
||||
- AcceptLanguage: []
|
||||
- CacheControl: []
|
||||
- Pragma: []
|
||||
- SecChUa: []
|
||||
- SecChUaMobile: []
|
||||
- SecChUaPlatform: []
|
||||
- SecFetchDest: []
|
||||
- SecFetchMode: []
|
||||
- SecFetchSite: []
|
||||
servers:
|
||||
- url: https://twitter.com/i/api
|
||||
tags:
|
||||
|
|
|
|||
262
dist/docs/openapi-3.0.yaml
vendored
262
dist/docs/openapi-3.0.yaml
vendored
|
|
@ -1877,6 +1877,21 @@ components:
|
|||
required:
|
||||
- viewCount
|
||||
securitySchemes:
|
||||
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
|
||||
ActiveUser:
|
||||
description: 'yes'
|
||||
in: header
|
||||
|
|
@ -1891,6 +1906,11 @@ components:
|
|||
description: AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
|
||||
scheme: bearer
|
||||
type: http
|
||||
CacheControl:
|
||||
description: no-cache
|
||||
in: header
|
||||
name: Cache-Control
|
||||
type: apiKey
|
||||
ClientLanguage:
|
||||
description: en
|
||||
in: header
|
||||
|
|
@ -1916,6 +1936,41 @@ components:
|
|||
in: header
|
||||
name: x-guest-token
|
||||
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
|
||||
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
|
||||
|
|
@ -2888,17 +2943,16 @@ paths:
|
|||
default: ojPdsZsimiJrUGLR1sjUtA
|
||||
example: ojPdsZsimiJrUGLR1sjUtA
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
properties:
|
||||
queryId:
|
||||
default: ojPdsZsimiJrUGLR1sjUtA
|
||||
example: ojPdsZsimiJrUGLR1sjUtA
|
||||
type: string
|
||||
- in: query
|
||||
name: variables
|
||||
required: true
|
||||
schema:
|
||||
variables:
|
||||
properties:
|
||||
dark_request:
|
||||
default: false
|
||||
|
|
@ -2912,6 +2966,11 @@ paths:
|
|||
- tweet_id
|
||||
- dark_request
|
||||
type: object
|
||||
required:
|
||||
- queryId
|
||||
- variables
|
||||
description: body
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
content:
|
||||
|
|
@ -2960,54 +3019,12 @@ paths:
|
|||
default: 1RyAhNwby-gzGCRVsMxKbQ
|
||||
example: 1RyAhNwby-gzGCRVsMxKbQ
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
schema:
|
||||
default: 1RyAhNwby-gzGCRVsMxKbQ
|
||||
example: 1RyAhNwby-gzGCRVsMxKbQ
|
||||
type: string
|
||||
- in: query
|
||||
name: variables
|
||||
required: true
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
properties:
|
||||
dark_request:
|
||||
default: false
|
||||
example: false
|
||||
type: boolean
|
||||
media:
|
||||
properties:
|
||||
media_entities:
|
||||
items:
|
||||
type: object
|
||||
type: array
|
||||
possibly_sensitive:
|
||||
default: false
|
||||
example: false
|
||||
type: boolean
|
||||
required:
|
||||
- media_entities
|
||||
- possibly_sensitive
|
||||
type: object
|
||||
semantic_annotation_ids:
|
||||
items:
|
||||
type: object
|
||||
type: array
|
||||
tweet_text:
|
||||
default: test
|
||||
example: test
|
||||
type: string
|
||||
required:
|
||||
- tweet_text
|
||||
- media
|
||||
- semantic_annotation_ids
|
||||
- dark_request
|
||||
type: object
|
||||
- in: query
|
||||
name: features
|
||||
required: true
|
||||
schema:
|
||||
features:
|
||||
properties:
|
||||
blue_business_profile_image_shape_enabled:
|
||||
default: true
|
||||
|
|
@ -3106,6 +3123,62 @@ paths:
|
|||
- responsive_web_graphql_timeline_navigation_enabled
|
||||
- responsive_web_enhance_cards_enabled
|
||||
type: object
|
||||
queryId:
|
||||
default: 1RyAhNwby-gzGCRVsMxKbQ
|
||||
example: 1RyAhNwby-gzGCRVsMxKbQ
|
||||
type: string
|
||||
variables:
|
||||
properties:
|
||||
dark_request:
|
||||
default: false
|
||||
example: false
|
||||
type: boolean
|
||||
media:
|
||||
properties:
|
||||
media_entities:
|
||||
items:
|
||||
properties:
|
||||
media_id:
|
||||
default: '1111111111111111111'
|
||||
example: '1111111111111111111'
|
||||
type: string
|
||||
tagged_users:
|
||||
items:
|
||||
type: object
|
||||
type: array
|
||||
required:
|
||||
- media_id
|
||||
- tagged_users
|
||||
type: object
|
||||
type: array
|
||||
possibly_sensitive:
|
||||
default: false
|
||||
example: false
|
||||
type: boolean
|
||||
required:
|
||||
- media_entities
|
||||
- possibly_sensitive
|
||||
type: object
|
||||
semantic_annotation_ids:
|
||||
items:
|
||||
type: object
|
||||
type: array
|
||||
tweet_text:
|
||||
default: test
|
||||
example: test
|
||||
type: string
|
||||
required:
|
||||
- tweet_text
|
||||
- media
|
||||
- semantic_annotation_ids
|
||||
- dark_request
|
||||
type: object
|
||||
required:
|
||||
- queryId
|
||||
- variables
|
||||
- features
|
||||
description: body
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
content:
|
||||
|
|
@ -3154,17 +3227,16 @@ paths:
|
|||
default: iQtK4dl5hBmXewYZuEOKVw
|
||||
example: iQtK4dl5hBmXewYZuEOKVw
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
properties:
|
||||
queryId:
|
||||
default: iQtK4dl5hBmXewYZuEOKVw
|
||||
example: iQtK4dl5hBmXewYZuEOKVw
|
||||
type: string
|
||||
- in: query
|
||||
name: variables
|
||||
required: true
|
||||
schema:
|
||||
variables:
|
||||
properties:
|
||||
dark_request:
|
||||
default: false
|
||||
|
|
@ -3178,6 +3250,11 @@ paths:
|
|||
- source_tweet_id
|
||||
- dark_request
|
||||
type: object
|
||||
required:
|
||||
- queryId
|
||||
- variables
|
||||
description: body
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
content:
|
||||
|
|
@ -3226,17 +3303,16 @@ paths:
|
|||
default: VaenaVgh5q5ih7kvyVjgtg
|
||||
example: VaenaVgh5q5ih7kvyVjgtg
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
properties:
|
||||
queryId:
|
||||
default: VaenaVgh5q5ih7kvyVjgtg
|
||||
example: VaenaVgh5q5ih7kvyVjgtg
|
||||
type: string
|
||||
- in: query
|
||||
name: variables
|
||||
required: true
|
||||
schema:
|
||||
variables:
|
||||
properties:
|
||||
dark_request:
|
||||
default: false
|
||||
|
|
@ -3250,6 +3326,11 @@ paths:
|
|||
- tweet_id
|
||||
- dark_request
|
||||
type: object
|
||||
required:
|
||||
- queryId
|
||||
- variables
|
||||
description: body
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
content:
|
||||
|
|
@ -3298,17 +3379,16 @@ paths:
|
|||
default: lI07N6Otwv1PhnEgXILM7A
|
||||
example: lI07N6Otwv1PhnEgXILM7A
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
properties:
|
||||
queryId:
|
||||
default: lI07N6Otwv1PhnEgXILM7A
|
||||
example: lI07N6Otwv1PhnEgXILM7A
|
||||
type: string
|
||||
- in: query
|
||||
name: variables
|
||||
required: true
|
||||
schema:
|
||||
variables:
|
||||
properties:
|
||||
dark_request:
|
||||
default: false
|
||||
|
|
@ -3322,6 +3402,11 @@ paths:
|
|||
- tweet_id
|
||||
- dark_request
|
||||
type: object
|
||||
required:
|
||||
- queryId
|
||||
- variables
|
||||
description: body
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
content:
|
||||
|
|
@ -5661,17 +5746,16 @@ paths:
|
|||
default: ZYKSe-w7KEslx3JhSIk5LA
|
||||
example: ZYKSe-w7KEslx3JhSIk5LA
|
||||
type: string
|
||||
- in: query
|
||||
name: queryId
|
||||
required: true
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
properties:
|
||||
queryId:
|
||||
default: ZYKSe-w7KEslx3JhSIk5LA
|
||||
example: ZYKSe-w7KEslx3JhSIk5LA
|
||||
type: string
|
||||
- in: query
|
||||
name: variables
|
||||
required: true
|
||||
schema:
|
||||
variables:
|
||||
properties:
|
||||
dark_request:
|
||||
default: false
|
||||
|
|
@ -5685,6 +5769,11 @@ paths:
|
|||
- tweet_id
|
||||
- dark_request
|
||||
type: object
|
||||
required:
|
||||
- queryId
|
||||
- variables
|
||||
description: body
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
content:
|
||||
|
|
@ -6833,6 +6922,17 @@ security:
|
|||
- BearerAuth: []
|
||||
- ActiveUser: []
|
||||
- ClientLanguage: []
|
||||
- Accept: []
|
||||
- AcceptEncoding: []
|
||||
- AcceptLanguage: []
|
||||
- CacheControl: []
|
||||
- Pragma: []
|
||||
- SecChUa: []
|
||||
- SecChUaMobile: []
|
||||
- SecChUaPlatform: []
|
||||
- SecFetchDest: []
|
||||
- SecFetchMode: []
|
||||
- SecFetchSite: []
|
||||
servers:
|
||||
- url: https://twitter.com/i/api
|
||||
tags:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue