1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-09 14:50:25 +01:00
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2025-05-07 23:07:17 +09:00
parent 7475af1c88
commit 594667fc68
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
3 changed files with 2 additions and 160 deletions

View file

@ -4968,14 +4968,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/aoDbu3RHznuiSkQ9aNM67Q/CreateBookmark
example: /i/api/graphql/aoDbu3RHznuiSkQ9aNM67Q/CreateBookmark
type: string
queryId:
default: aoDbu3RHznuiSkQ9aNM67Q
example: aoDbu3RHznuiSkQ9aNM67Q
@ -4990,8 +4982,6 @@ paths:
- tweet_id
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
@ -5047,14 +5037,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet
example: /i/api/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet
type: string
queryId:
default: ojPdsZsimiJrUGLR1sjUtA
example: ojPdsZsimiJrUGLR1sjUtA
@ -5074,8 +5056,6 @@ paths:
- dark_request
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
@ -5131,14 +5111,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/IID9x6WsdMnTlXnzXGq8ng/CreateTweet
example: /i/api/graphql/IID9x6WsdMnTlXnzXGq8ng/CreateTweet
type: string
features:
properties:
articles_preview_enabled:
@ -5370,8 +5342,6 @@ paths:
- dark_request
type: object
required:
- '@path'
- '@method'
- queryId
- variables
- features
@ -5428,14 +5398,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/Wlmlj2-xzyS1GN3a6cj-mQ/DeleteBookmark
example: /i/api/graphql/Wlmlj2-xzyS1GN3a6cj-mQ/DeleteBookmark
type: string
queryId:
default: Wlmlj2-xzyS1GN3a6cj-mQ
example: Wlmlj2-xzyS1GN3a6cj-mQ
@ -5450,8 +5412,6 @@ paths:
- tweet_id
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
@ -5507,14 +5467,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet
example: /i/api/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet
type: string
queryId:
default: iQtK4dl5hBmXewYZuEOKVw
example: iQtK4dl5hBmXewYZuEOKVw
@ -5534,8 +5486,6 @@ paths:
- dark_request
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
@ -5591,14 +5541,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet
example: /i/api/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet
type: string
queryId:
default: VaenaVgh5q5ih7kvyVjgtg
example: VaenaVgh5q5ih7kvyVjgtg
@ -5618,8 +5560,6 @@ paths:
- dark_request
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
@ -5675,14 +5615,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet
example: /i/api/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet
type: string
queryId:
default: lI07N6Otwv1PhnEgXILM7A
example: lI07N6Otwv1PhnEgXILM7A
@ -5697,8 +5629,6 @@ paths:
- tweet_id
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
@ -7083,14 +7013,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet
example: /i/api/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet
type: string
queryId:
default: ZYKSe-w7KEslx3JhSIk5LA
example: ZYKSe-w7KEslx3JhSIk5LA
@ -7110,8 +7032,6 @@ paths:
- dark_request
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body

View file

@ -5524,14 +5524,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/aoDbu3RHznuiSkQ9aNM67Q/CreateBookmark
example: /i/api/graphql/aoDbu3RHznuiSkQ9aNM67Q/CreateBookmark
type: string
queryId:
default: aoDbu3RHznuiSkQ9aNM67Q
example: aoDbu3RHznuiSkQ9aNM67Q
@ -5546,8 +5538,6 @@ paths:
- tweet_id
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
@ -5603,14 +5593,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet
example: /i/api/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet
type: string
queryId:
default: ojPdsZsimiJrUGLR1sjUtA
example: ojPdsZsimiJrUGLR1sjUtA
@ -5630,8 +5612,6 @@ paths:
- dark_request
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
@ -5687,14 +5667,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/IID9x6WsdMnTlXnzXGq8ng/CreateTweet
example: /i/api/graphql/IID9x6WsdMnTlXnzXGq8ng/CreateTweet
type: string
features:
properties:
articles_preview_enabled:
@ -5926,8 +5898,6 @@ paths:
- dark_request
type: object
required:
- '@path'
- '@method'
- queryId
- variables
- features
@ -5984,14 +5954,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/Wlmlj2-xzyS1GN3a6cj-mQ/DeleteBookmark
example: /i/api/graphql/Wlmlj2-xzyS1GN3a6cj-mQ/DeleteBookmark
type: string
queryId:
default: Wlmlj2-xzyS1GN3a6cj-mQ
example: Wlmlj2-xzyS1GN3a6cj-mQ
@ -6006,8 +5968,6 @@ paths:
- tweet_id
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
@ -6063,14 +6023,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet
example: /i/api/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet
type: string
queryId:
default: iQtK4dl5hBmXewYZuEOKVw
example: iQtK4dl5hBmXewYZuEOKVw
@ -6090,8 +6042,6 @@ paths:
- dark_request
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
@ -6147,14 +6097,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet
example: /i/api/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet
type: string
queryId:
default: VaenaVgh5q5ih7kvyVjgtg
example: VaenaVgh5q5ih7kvyVjgtg
@ -6174,8 +6116,6 @@ paths:
- dark_request
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
@ -6231,14 +6171,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet
example: /i/api/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet
type: string
queryId:
default: lI07N6Otwv1PhnEgXILM7A
example: lI07N6Otwv1PhnEgXILM7A
@ -6253,8 +6185,6 @@ paths:
- tweet_id
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
@ -9522,14 +9452,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet
example: /i/api/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet
type: string
queryId:
default: ZYKSe-w7KEslx3JhSIk5LA
example: ZYKSe-w7KEslx3JhSIk5LA
@ -9549,8 +9471,6 @@ paths:
- dark_request
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body

View file

@ -48,6 +48,7 @@ class Config:
split=-1,
schemaType=None,
contentType="application/json",
ignoreKeys=["@path", "@method"],
),
]
for key in ["post"]
@ -66,6 +67,7 @@ class Config:
split=2,
schemaType=None,
contentType="application/x-www-form-urlencoded",
ignoreKeys=["@path", "@method"],
),
]
for key in ["v1.1-post", "v2.0-post"]