mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 15:40:26 +01:00
commit
769c24e485
5 changed files with 129 additions and 9 deletions
34
dist/compatible/openapi-3.0.yaml
vendored
34
dist/compatible/openapi-3.0.yaml
vendored
|
|
@ -522,6 +522,16 @@ components:
|
||||||
- $ref: '#/components/schemas/TimelineTimelineItem'
|
- $ref: '#/components/schemas/TimelineTimelineItem'
|
||||||
- $ref: '#/components/schemas/TimelineTimelineModule'
|
- $ref: '#/components/schemas/TimelineTimelineModule'
|
||||||
- $ref: '#/components/schemas/TimelineTimelineCursor'
|
- $ref: '#/components/schemas/TimelineTimelineCursor'
|
||||||
|
ConversationControl:
|
||||||
|
properties:
|
||||||
|
mode:
|
||||||
|
enum:
|
||||||
|
- Community
|
||||||
|
- Verified
|
||||||
|
- ByInvitation
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- mode
|
||||||
CoverCta:
|
CoverCta:
|
||||||
properties:
|
properties:
|
||||||
Text:
|
Text:
|
||||||
|
|
@ -2310,7 +2320,7 @@ components:
|
||||||
bookmarked:
|
bookmarked:
|
||||||
type: boolean
|
type: boolean
|
||||||
conversation_control:
|
conversation_control:
|
||||||
additionalProperties: true
|
$ref: '#/components/schemas/ConversationControl'
|
||||||
conversation_id_str:
|
conversation_id_str:
|
||||||
pattern: ^[0-9]+$
|
pattern: ^[0-9]+$
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -4357,6 +4367,24 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
variables:
|
variables:
|
||||||
properties:
|
properties:
|
||||||
|
attachment_url:
|
||||||
|
default: https://x.com/elonmusk/status/1349129669258448897
|
||||||
|
example: https://x.com/elonmusk/status/1349129669258448897
|
||||||
|
type: string
|
||||||
|
conversation_control:
|
||||||
|
properties:
|
||||||
|
conversation_control:
|
||||||
|
properties:
|
||||||
|
mode:
|
||||||
|
default: Community
|
||||||
|
example: Community
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- mode
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- conversation_control
|
||||||
|
type: object
|
||||||
dark_request:
|
dark_request:
|
||||||
default: false
|
default: false
|
||||||
example: false
|
example: false
|
||||||
|
|
@ -4375,7 +4403,9 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
tagged_users:
|
tagged_users:
|
||||||
items:
|
items:
|
||||||
type: object
|
default: '44196397'
|
||||||
|
example: '44196397'
|
||||||
|
type: string
|
||||||
type: array
|
type: array
|
||||||
required:
|
required:
|
||||||
- media_id
|
- media_id
|
||||||
|
|
|
||||||
34
dist/compatible_discriminator/openapi-3.0.yaml
vendored
34
dist/compatible_discriminator/openapi-3.0.yaml
vendored
|
|
@ -522,6 +522,16 @@ components:
|
||||||
- $ref: '#/components/schemas/TimelineTimelineItem'
|
- $ref: '#/components/schemas/TimelineTimelineItem'
|
||||||
- $ref: '#/components/schemas/TimelineTimelineModule'
|
- $ref: '#/components/schemas/TimelineTimelineModule'
|
||||||
- $ref: '#/components/schemas/TimelineTimelineCursor'
|
- $ref: '#/components/schemas/TimelineTimelineCursor'
|
||||||
|
ConversationControl:
|
||||||
|
properties:
|
||||||
|
mode:
|
||||||
|
enum:
|
||||||
|
- Community
|
||||||
|
- Verified
|
||||||
|
- ByInvitation
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- mode
|
||||||
CoverCta:
|
CoverCta:
|
||||||
properties:
|
properties:
|
||||||
Text:
|
Text:
|
||||||
|
|
@ -2310,7 +2320,7 @@ components:
|
||||||
bookmarked:
|
bookmarked:
|
||||||
type: boolean
|
type: boolean
|
||||||
conversation_control:
|
conversation_control:
|
||||||
additionalProperties: true
|
$ref: '#/components/schemas/ConversationControl'
|
||||||
conversation_id_str:
|
conversation_id_str:
|
||||||
pattern: ^[0-9]+$
|
pattern: ^[0-9]+$
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -4351,6 +4361,24 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
variables:
|
variables:
|
||||||
properties:
|
properties:
|
||||||
|
attachment_url:
|
||||||
|
default: https://x.com/elonmusk/status/1349129669258448897
|
||||||
|
example: https://x.com/elonmusk/status/1349129669258448897
|
||||||
|
type: string
|
||||||
|
conversation_control:
|
||||||
|
properties:
|
||||||
|
conversation_control:
|
||||||
|
properties:
|
||||||
|
mode:
|
||||||
|
default: Community
|
||||||
|
example: Community
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- mode
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- conversation_control
|
||||||
|
type: object
|
||||||
dark_request:
|
dark_request:
|
||||||
default: false
|
default: false
|
||||||
example: false
|
example: false
|
||||||
|
|
@ -4369,7 +4397,9 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
tagged_users:
|
tagged_users:
|
||||||
items:
|
items:
|
||||||
type: object
|
default: '44196397'
|
||||||
|
example: '44196397'
|
||||||
|
type: string
|
||||||
type: array
|
type: array
|
||||||
required:
|
required:
|
||||||
- media_id
|
- media_id
|
||||||
|
|
|
||||||
34
dist/docs/openapi-3.0.yaml
vendored
34
dist/docs/openapi-3.0.yaml
vendored
|
|
@ -522,6 +522,16 @@ components:
|
||||||
- $ref: '#/components/schemas/TimelineTimelineItem'
|
- $ref: '#/components/schemas/TimelineTimelineItem'
|
||||||
- $ref: '#/components/schemas/TimelineTimelineModule'
|
- $ref: '#/components/schemas/TimelineTimelineModule'
|
||||||
- $ref: '#/components/schemas/TimelineTimelineCursor'
|
- $ref: '#/components/schemas/TimelineTimelineCursor'
|
||||||
|
ConversationControl:
|
||||||
|
properties:
|
||||||
|
mode:
|
||||||
|
enum:
|
||||||
|
- Community
|
||||||
|
- Verified
|
||||||
|
- ByInvitation
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- mode
|
||||||
CoverCta:
|
CoverCta:
|
||||||
properties:
|
properties:
|
||||||
Text:
|
Text:
|
||||||
|
|
@ -2310,7 +2320,7 @@ components:
|
||||||
bookmarked:
|
bookmarked:
|
||||||
type: boolean
|
type: boolean
|
||||||
conversation_control:
|
conversation_control:
|
||||||
additionalProperties: true
|
$ref: '#/components/schemas/ConversationControl'
|
||||||
conversation_id_str:
|
conversation_id_str:
|
||||||
pattern: ^[0-9]+$
|
pattern: ^[0-9]+$
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -4463,6 +4473,24 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
variables:
|
variables:
|
||||||
properties:
|
properties:
|
||||||
|
attachment_url:
|
||||||
|
default: https://x.com/elonmusk/status/1349129669258448897
|
||||||
|
example: https://x.com/elonmusk/status/1349129669258448897
|
||||||
|
type: string
|
||||||
|
conversation_control:
|
||||||
|
properties:
|
||||||
|
conversation_control:
|
||||||
|
properties:
|
||||||
|
mode:
|
||||||
|
default: Community
|
||||||
|
example: Community
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- mode
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- conversation_control
|
||||||
|
type: object
|
||||||
dark_request:
|
dark_request:
|
||||||
default: false
|
default: false
|
||||||
example: false
|
example: false
|
||||||
|
|
@ -4481,7 +4509,9 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
tagged_users:
|
tagged_users:
|
||||||
items:
|
items:
|
||||||
type: object
|
default: '44196397'
|
||||||
|
example: '44196397'
|
||||||
|
type: string
|
||||||
type: array
|
type: array
|
||||||
required:
|
required:
|
||||||
- media_id
|
- media_id
|
||||||
|
|
|
||||||
|
|
@ -698,7 +698,7 @@
|
||||||
"media_entities": [
|
"media_entities": [
|
||||||
{
|
{
|
||||||
"media_id": "1111111111111111111",
|
"media_id": "1111111111111111111",
|
||||||
"tagged_users": []
|
"tagged_users": ["44196397"]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"possibly_sensitive": false
|
"possibly_sensitive": false
|
||||||
|
|
@ -709,7 +709,13 @@
|
||||||
"exclude_reply_user_ids": []
|
"exclude_reply_user_ids": []
|
||||||
},
|
},
|
||||||
"dark_request": false,
|
"dark_request": false,
|
||||||
"disallowed_reply_options?": {}
|
"disallowed_reply_options?": {},
|
||||||
|
"conversation_control?": {
|
||||||
|
"conversation_control": {
|
||||||
|
"mode": "Community"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"attachment_url?": "https://x.com/elonmusk/status/1349129669258448897"
|
||||||
},
|
},
|
||||||
"features": {
|
"features": {
|
||||||
"communities_web_enable_tweet_community_results_fetch": true,
|
"communities_web_enable_tweet_community_results_fetch": true,
|
||||||
|
|
@ -1046,5 +1052,21 @@
|
||||||
"features": {
|
"features": {
|
||||||
"responsive_web_graphql_timeline_navigation_enabled": true
|
"responsive_web_graphql_timeline_navigation_enabled": true
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"CreateDraftTweet": {
|
||||||
|
"queryId": "cH9HZWz_EW9gnswvA4ZRiQ",
|
||||||
|
"variables": {
|
||||||
|
"post_tweet_request": {
|
||||||
|
"attachment_url": "https://x.com/elonmusk/status/1349129669258448897",
|
||||||
|
"auto_populate_reply_metadata": false,
|
||||||
|
"status": "test",
|
||||||
|
"exclude_reply_user_ids": [],
|
||||||
|
"media_ids": []
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"FetchDraftTweets": {
|
||||||
|
"queryId": "fMp3izG_gCZKVk3Aa1vVKw",
|
||||||
|
"ascending": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -932,7 +932,7 @@ components:
|
||||||
type: string
|
type: string
|
||||||
pattern: "^[0-9]+$"
|
pattern: "^[0-9]+$"
|
||||||
conversation_control:
|
conversation_control:
|
||||||
additionalProperties: true # todo
|
$ref: "#/components/schemas/ConversationControl"
|
||||||
limited_actions:
|
limited_actions:
|
||||||
type: string
|
type: string
|
||||||
enum:
|
enum:
|
||||||
|
|
@ -1332,6 +1332,14 @@ components:
|
||||||
type: string
|
type: string
|
||||||
enum: [crop, fit]
|
enum: [crop, fit]
|
||||||
|
|
||||||
|
ConversationControl:
|
||||||
|
required:
|
||||||
|
- "mode"
|
||||||
|
properties:
|
||||||
|
mode:
|
||||||
|
type: string
|
||||||
|
enum: [Community, Verified, ByInvitation]
|
||||||
|
|
||||||
Timestamp:
|
Timestamp:
|
||||||
required:
|
required:
|
||||||
- "indices"
|
- "indices"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue