mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 23:50:26 +01:00
build
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
9a59a994a7
commit
112a13efc3
16 changed files with 256 additions and 4 deletions
4
dist/compatible/paths/bookmarks.yaml
vendored
4
dist/compatible/paths/bookmarks.yaml
vendored
|
|
@ -74,7 +74,9 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/BookmarksResponse'
|
oneOf:
|
||||||
|
- $ref: '#/components/schemas/BookmarksResponse'
|
||||||
|
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
||||||
description: Successful operation
|
description: Successful operation
|
||||||
headers:
|
headers:
|
||||||
x-connection-hash:
|
x-connection-hash:
|
||||||
|
|
|
||||||
2
dist/compatible/paths/profile.yaml
vendored
2
dist/compatible/paths/profile.yaml
vendored
|
|
@ -15,6 +15,7 @@ components:
|
||||||
UserResultByScreenName:
|
UserResultByScreenName:
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
|
pattern: ^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)?$
|
||||||
type: string
|
type: string
|
||||||
result:
|
result:
|
||||||
$ref: '#/components/schemas/UserResultByScreenNameResult'
|
$ref: '#/components/schemas/UserResultByScreenNameResult'
|
||||||
|
|
@ -47,6 +48,7 @@ components:
|
||||||
legacy:
|
legacy:
|
||||||
$ref: '#/components/schemas/UserResultByScreenNameLegacy'
|
$ref: '#/components/schemas/UserResultByScreenNameLegacy'
|
||||||
profilemodules:
|
profilemodules:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
rest_id:
|
rest_id:
|
||||||
pattern: ^[0-9]+$
|
pattern: ^[0-9]+$
|
||||||
|
|
|
||||||
12
dist/compatible/schemas/content.yaml
vendored
12
dist/compatible/schemas/content.yaml
vendored
|
|
@ -51,6 +51,7 @@ components:
|
||||||
ModuleEntry:
|
ModuleEntry:
|
||||||
properties:
|
properties:
|
||||||
clientEventInfo:
|
clientEventInfo:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
itemContent:
|
itemContent:
|
||||||
$ref: '#/components/schemas/ItemContentUnion'
|
$ref: '#/components/schemas/ItemContentUnion'
|
||||||
|
|
@ -60,6 +61,7 @@ components:
|
||||||
ModuleItem:
|
ModuleItem:
|
||||||
properties:
|
properties:
|
||||||
entryId:
|
entryId:
|
||||||
|
pattern: ^(([a-z]+|[0-9]+|[0-9a-f]+)(-|$))+
|
||||||
type: string
|
type: string
|
||||||
item:
|
item:
|
||||||
$ref: '#/components/schemas/ModuleEntry'
|
$ref: '#/components/schemas/ModuleEntry'
|
||||||
|
|
@ -76,10 +78,12 @@ components:
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
TimelineMessagePrompt:
|
TimelineMessagePrompt:
|
||||||
|
additionalProperties: true
|
||||||
properties:
|
properties:
|
||||||
__typename:
|
__typename:
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
||||||
TimelinePrompt:
|
TimelinePrompt:
|
||||||
|
additionalProperties: true
|
||||||
properties:
|
properties:
|
||||||
__typename:
|
__typename:
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
||||||
|
|
@ -110,10 +114,12 @@ components:
|
||||||
__typename:
|
__typename:
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
||||||
clientEventInfo:
|
clientEventInfo:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
entryType:
|
entryType:
|
||||||
$ref: '#/components/schemas/ContentEntryType'
|
$ref: '#/components/schemas/ContentEntryType'
|
||||||
feedbackInfo:
|
feedbackInfo:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
itemContent:
|
itemContent:
|
||||||
$ref: '#/components/schemas/ItemContentUnion'
|
$ref: '#/components/schemas/ItemContentUnion'
|
||||||
|
|
@ -124,17 +130,20 @@ components:
|
||||||
TimelineTimelineModule:
|
TimelineTimelineModule:
|
||||||
properties:
|
properties:
|
||||||
__typename:
|
__typename:
|
||||||
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
||||||
type: string
|
type: string
|
||||||
value: TimelineTimelineModule
|
|
||||||
clientEventInfo:
|
clientEventInfo:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
displayType:
|
displayType:
|
||||||
type: string
|
type: string
|
||||||
entryType:
|
entryType:
|
||||||
$ref: '#/components/schemas/ContentEntryType'
|
$ref: '#/components/schemas/ContentEntryType'
|
||||||
footer:
|
footer:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
header:
|
header:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
items:
|
items:
|
||||||
items:
|
items:
|
||||||
|
|
@ -154,6 +163,7 @@ components:
|
||||||
itemType:
|
itemType:
|
||||||
$ref: '#/components/schemas/ContentItemType'
|
$ref: '#/components/schemas/ContentItemType'
|
||||||
promotedMetadata:
|
promotedMetadata:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
tweetDisplayType:
|
tweetDisplayType:
|
||||||
type: string
|
type: string
|
||||||
|
|
|
||||||
94
dist/compatible/schemas/error.yaml
vendored
Normal file
94
dist/compatible/schemas/error.yaml
vendored
Normal file
|
|
@ -0,0 +1,94 @@
|
||||||
|
components:
|
||||||
|
schemas:
|
||||||
|
Error:
|
||||||
|
properties:
|
||||||
|
code:
|
||||||
|
type: integer
|
||||||
|
extensions:
|
||||||
|
$ref: '#/components/schemas/ErrorExtensions'
|
||||||
|
kind:
|
||||||
|
type: string
|
||||||
|
locations:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/Location'
|
||||||
|
type: array
|
||||||
|
message:
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
path:
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
retry_after:
|
||||||
|
type: integer
|
||||||
|
source:
|
||||||
|
type: string
|
||||||
|
tracing:
|
||||||
|
$ref: '#/components/schemas/Tracing'
|
||||||
|
required:
|
||||||
|
- message
|
||||||
|
- locations
|
||||||
|
- path
|
||||||
|
- extensions
|
||||||
|
- code
|
||||||
|
- kind
|
||||||
|
- name
|
||||||
|
- source
|
||||||
|
- retry_after
|
||||||
|
- tracing
|
||||||
|
type: object
|
||||||
|
ErrorExtensions:
|
||||||
|
properties:
|
||||||
|
code:
|
||||||
|
type: integer
|
||||||
|
kind:
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
retry_after:
|
||||||
|
type: integer
|
||||||
|
source:
|
||||||
|
type: string
|
||||||
|
tracing:
|
||||||
|
$ref: '#/components/schemas/Tracing'
|
||||||
|
required:
|
||||||
|
- name
|
||||||
|
- source
|
||||||
|
- retry_after
|
||||||
|
- code
|
||||||
|
- kind
|
||||||
|
- tracing
|
||||||
|
type: object
|
||||||
|
Errors:
|
||||||
|
properties:
|
||||||
|
errors:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/Error'
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- errors
|
||||||
|
type: object
|
||||||
|
Location:
|
||||||
|
properties:
|
||||||
|
column:
|
||||||
|
type: integer
|
||||||
|
line:
|
||||||
|
type: integer
|
||||||
|
required:
|
||||||
|
- line
|
||||||
|
- column
|
||||||
|
type: object
|
||||||
|
Tracing:
|
||||||
|
properties:
|
||||||
|
trace_id:
|
||||||
|
pattern: ^[0-9a-f]{16}$
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- trace_id
|
||||||
|
type: object
|
||||||
|
info:
|
||||||
|
title: Twitter OpenAPI
|
||||||
|
version: 0.0.1
|
||||||
|
openapi: 3.0.3
|
||||||
|
paths: {}
|
||||||
4
dist/compatible/schemas/instruction.yaml
vendored
4
dist/compatible/schemas/instruction.yaml
vendored
|
|
@ -45,6 +45,7 @@ components:
|
||||||
content:
|
content:
|
||||||
$ref: ./content.yaml#/components/schemas/ContentUnion
|
$ref: ./content.yaml#/components/schemas/ContentUnion
|
||||||
entryId:
|
entryId:
|
||||||
|
pattern: ^(([a-z]+|[0-9]+|[0-9a-f]+)(-|$))+
|
||||||
type: string
|
type: string
|
||||||
sortIndex:
|
sortIndex:
|
||||||
pattern: '[0-9]+$'
|
pattern: '[0-9]+$'
|
||||||
|
|
@ -103,6 +104,7 @@ components:
|
||||||
- NewTweets
|
- NewTweets
|
||||||
type: string
|
type: string
|
||||||
colorConfig:
|
colorConfig:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
displayDurationMs:
|
displayDurationMs:
|
||||||
type: integer
|
type: integer
|
||||||
|
|
@ -111,11 +113,13 @@ components:
|
||||||
- Top
|
- Top
|
||||||
type: string
|
type: string
|
||||||
iconDisplayInfo:
|
iconDisplayInfo:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
richText:
|
richText:
|
||||||
properties:
|
properties:
|
||||||
entities:
|
entities:
|
||||||
items:
|
items:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
text:
|
text:
|
||||||
|
|
|
||||||
2
dist/compatible/schemas/timeline.yaml
vendored
2
dist/compatible/schemas/timeline.yaml
vendored
|
|
@ -7,8 +7,10 @@ components:
|
||||||
$ref: ./../schemas/instruction.yaml#/components/schemas/InstructionUnion
|
$ref: ./../schemas/instruction.yaml#/components/schemas/InstructionUnion
|
||||||
type: array
|
type: array
|
||||||
metadata:
|
metadata:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
responseObjects:
|
responseObjects:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- instructions
|
- instructions
|
||||||
|
|
|
||||||
8
dist/compatible/schemas/tweet.yaml
vendored
8
dist/compatible/schemas/tweet.yaml
vendored
|
|
@ -36,6 +36,7 @@ components:
|
||||||
required:
|
required:
|
||||||
- media
|
- media
|
||||||
Hashtag:
|
Hashtag:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
Media:
|
Media:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -46,6 +47,7 @@ components:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
ext_media_availability:
|
ext_media_availability:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
id_str:
|
id_str:
|
||||||
pattern: ^[0-9]+$
|
pattern: ^[0-9]+$
|
||||||
|
|
@ -64,6 +66,7 @@ components:
|
||||||
properties:
|
properties:
|
||||||
focus_rects:
|
focus_rects:
|
||||||
items:
|
items:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
height:
|
height:
|
||||||
|
|
@ -72,6 +75,7 @@ components:
|
||||||
type: integer
|
type: integer
|
||||||
type: object
|
type: object
|
||||||
sizes:
|
sizes:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
type:
|
type:
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -89,6 +93,7 @@ components:
|
||||||
- sizes
|
- sizes
|
||||||
- original_info
|
- original_info
|
||||||
Symbol:
|
Symbol:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
Tweet:
|
Tweet:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -169,6 +174,7 @@ components:
|
||||||
pattern: ^[0-9]+$
|
pattern: ^[0-9]+$
|
||||||
type: string
|
type: string
|
||||||
unmention_data:
|
unmention_data:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
views:
|
views:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -263,6 +269,7 @@ components:
|
||||||
- user_id_str
|
- user_id_str
|
||||||
- id_str
|
- id_str
|
||||||
TweetTombstone:
|
TweetTombstone:
|
||||||
|
additionalProperties: true
|
||||||
properties:
|
properties:
|
||||||
__typename:
|
__typename:
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
||||||
|
|
@ -307,6 +314,7 @@ components:
|
||||||
- display_url
|
- display_url
|
||||||
type: object
|
type: object
|
||||||
UserMention:
|
UserMention:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
info:
|
info:
|
||||||
title: Twitter OpenAPI
|
title: Twitter OpenAPI
|
||||||
|
|
|
||||||
4
dist/compatible/schemas/user.yaml
vendored
4
dist/compatible/schemas/user.yaml
vendored
|
|
@ -5,8 +5,10 @@ components:
|
||||||
__typename:
|
__typename:
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
||||||
affiliates_highlighted_label:
|
affiliates_highlighted_label:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
business_account:
|
business_account:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
has_graduated_access:
|
has_graduated_access:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
|
@ -14,6 +16,7 @@ components:
|
||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
id:
|
id:
|
||||||
|
pattern: ^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)?$
|
||||||
type: string
|
type: string
|
||||||
is_blue_verified:
|
is_blue_verified:
|
||||||
default: false
|
default: false
|
||||||
|
|
@ -67,6 +70,7 @@ components:
|
||||||
description:
|
description:
|
||||||
type: string
|
type: string
|
||||||
entities:
|
entities:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
fast_followers_count:
|
fast_followers_count:
|
||||||
type: integer
|
type: integer
|
||||||
|
|
|
||||||
4
dist/docs/paths/bookmarks.yaml
vendored
4
dist/docs/paths/bookmarks.yaml
vendored
|
|
@ -168,7 +168,9 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/BookmarksResponse'
|
oneOf:
|
||||||
|
- $ref: '#/components/schemas/BookmarksResponse'
|
||||||
|
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
|
||||||
description: Successful operation
|
description: Successful operation
|
||||||
headers:
|
headers:
|
||||||
x-connection-hash:
|
x-connection-hash:
|
||||||
|
|
|
||||||
2
dist/docs/paths/profile.yaml
vendored
2
dist/docs/paths/profile.yaml
vendored
|
|
@ -15,6 +15,7 @@ components:
|
||||||
UserResultByScreenName:
|
UserResultByScreenName:
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
|
pattern: ^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)?$
|
||||||
type: string
|
type: string
|
||||||
result:
|
result:
|
||||||
$ref: '#/components/schemas/UserResultByScreenNameResult'
|
$ref: '#/components/schemas/UserResultByScreenNameResult'
|
||||||
|
|
@ -47,6 +48,7 @@ components:
|
||||||
legacy:
|
legacy:
|
||||||
$ref: '#/components/schemas/UserResultByScreenNameLegacy'
|
$ref: '#/components/schemas/UserResultByScreenNameLegacy'
|
||||||
profilemodules:
|
profilemodules:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
rest_id:
|
rest_id:
|
||||||
pattern: ^[0-9]+$
|
pattern: ^[0-9]+$
|
||||||
|
|
|
||||||
12
dist/docs/schemas/content.yaml
vendored
12
dist/docs/schemas/content.yaml
vendored
|
|
@ -51,6 +51,7 @@ components:
|
||||||
ModuleEntry:
|
ModuleEntry:
|
||||||
properties:
|
properties:
|
||||||
clientEventInfo:
|
clientEventInfo:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
itemContent:
|
itemContent:
|
||||||
$ref: '#/components/schemas/ItemContentUnion'
|
$ref: '#/components/schemas/ItemContentUnion'
|
||||||
|
|
@ -60,6 +61,7 @@ components:
|
||||||
ModuleItem:
|
ModuleItem:
|
||||||
properties:
|
properties:
|
||||||
entryId:
|
entryId:
|
||||||
|
pattern: ^(([a-z]+|[0-9]+|[0-9a-f]+)(-|$))+
|
||||||
type: string
|
type: string
|
||||||
item:
|
item:
|
||||||
$ref: '#/components/schemas/ModuleEntry'
|
$ref: '#/components/schemas/ModuleEntry'
|
||||||
|
|
@ -76,10 +78,12 @@ components:
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
TimelineMessagePrompt:
|
TimelineMessagePrompt:
|
||||||
|
additionalProperties: true
|
||||||
properties:
|
properties:
|
||||||
__typename:
|
__typename:
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
||||||
TimelinePrompt:
|
TimelinePrompt:
|
||||||
|
additionalProperties: true
|
||||||
properties:
|
properties:
|
||||||
__typename:
|
__typename:
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
||||||
|
|
@ -110,10 +114,12 @@ components:
|
||||||
__typename:
|
__typename:
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
||||||
clientEventInfo:
|
clientEventInfo:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
entryType:
|
entryType:
|
||||||
$ref: '#/components/schemas/ContentEntryType'
|
$ref: '#/components/schemas/ContentEntryType'
|
||||||
feedbackInfo:
|
feedbackInfo:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
itemContent:
|
itemContent:
|
||||||
$ref: '#/components/schemas/ItemContentUnion'
|
$ref: '#/components/schemas/ItemContentUnion'
|
||||||
|
|
@ -124,17 +130,20 @@ components:
|
||||||
TimelineTimelineModule:
|
TimelineTimelineModule:
|
||||||
properties:
|
properties:
|
||||||
__typename:
|
__typename:
|
||||||
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
||||||
type: string
|
type: string
|
||||||
value: TimelineTimelineModule
|
|
||||||
clientEventInfo:
|
clientEventInfo:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
displayType:
|
displayType:
|
||||||
type: string
|
type: string
|
||||||
entryType:
|
entryType:
|
||||||
$ref: '#/components/schemas/ContentEntryType'
|
$ref: '#/components/schemas/ContentEntryType'
|
||||||
footer:
|
footer:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
header:
|
header:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
items:
|
items:
|
||||||
items:
|
items:
|
||||||
|
|
@ -154,6 +163,7 @@ components:
|
||||||
itemType:
|
itemType:
|
||||||
$ref: '#/components/schemas/ContentItemType'
|
$ref: '#/components/schemas/ContentItemType'
|
||||||
promotedMetadata:
|
promotedMetadata:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
tweetDisplayType:
|
tweetDisplayType:
|
||||||
type: string
|
type: string
|
||||||
|
|
|
||||||
94
dist/docs/schemas/error.yaml
vendored
Normal file
94
dist/docs/schemas/error.yaml
vendored
Normal file
|
|
@ -0,0 +1,94 @@
|
||||||
|
components:
|
||||||
|
schemas:
|
||||||
|
Error:
|
||||||
|
properties:
|
||||||
|
code:
|
||||||
|
type: integer
|
||||||
|
extensions:
|
||||||
|
$ref: '#/components/schemas/ErrorExtensions'
|
||||||
|
kind:
|
||||||
|
type: string
|
||||||
|
locations:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/Location'
|
||||||
|
type: array
|
||||||
|
message:
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
path:
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
retry_after:
|
||||||
|
type: integer
|
||||||
|
source:
|
||||||
|
type: string
|
||||||
|
tracing:
|
||||||
|
$ref: '#/components/schemas/Tracing'
|
||||||
|
required:
|
||||||
|
- message
|
||||||
|
- locations
|
||||||
|
- path
|
||||||
|
- extensions
|
||||||
|
- code
|
||||||
|
- kind
|
||||||
|
- name
|
||||||
|
- source
|
||||||
|
- retry_after
|
||||||
|
- tracing
|
||||||
|
type: object
|
||||||
|
ErrorExtensions:
|
||||||
|
properties:
|
||||||
|
code:
|
||||||
|
type: integer
|
||||||
|
kind:
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
retry_after:
|
||||||
|
type: integer
|
||||||
|
source:
|
||||||
|
type: string
|
||||||
|
tracing:
|
||||||
|
$ref: '#/components/schemas/Tracing'
|
||||||
|
required:
|
||||||
|
- name
|
||||||
|
- source
|
||||||
|
- retry_after
|
||||||
|
- code
|
||||||
|
- kind
|
||||||
|
- tracing
|
||||||
|
type: object
|
||||||
|
Errors:
|
||||||
|
properties:
|
||||||
|
errors:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/Error'
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- errors
|
||||||
|
type: object
|
||||||
|
Location:
|
||||||
|
properties:
|
||||||
|
column:
|
||||||
|
type: integer
|
||||||
|
line:
|
||||||
|
type: integer
|
||||||
|
required:
|
||||||
|
- line
|
||||||
|
- column
|
||||||
|
type: object
|
||||||
|
Tracing:
|
||||||
|
properties:
|
||||||
|
trace_id:
|
||||||
|
pattern: ^[0-9a-f]{16}$
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- trace_id
|
||||||
|
type: object
|
||||||
|
info:
|
||||||
|
title: Twitter OpenAPI
|
||||||
|
version: 0.0.1
|
||||||
|
openapi: 3.0.3
|
||||||
|
paths: {}
|
||||||
4
dist/docs/schemas/instruction.yaml
vendored
4
dist/docs/schemas/instruction.yaml
vendored
|
|
@ -45,6 +45,7 @@ components:
|
||||||
content:
|
content:
|
||||||
$ref: ./content.yaml#/components/schemas/ContentUnion
|
$ref: ./content.yaml#/components/schemas/ContentUnion
|
||||||
entryId:
|
entryId:
|
||||||
|
pattern: ^(([a-z]+|[0-9]+|[0-9a-f]+)(-|$))+
|
||||||
type: string
|
type: string
|
||||||
sortIndex:
|
sortIndex:
|
||||||
pattern: '[0-9]+$'
|
pattern: '[0-9]+$'
|
||||||
|
|
@ -103,6 +104,7 @@ components:
|
||||||
- NewTweets
|
- NewTweets
|
||||||
type: string
|
type: string
|
||||||
colorConfig:
|
colorConfig:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
displayDurationMs:
|
displayDurationMs:
|
||||||
type: integer
|
type: integer
|
||||||
|
|
@ -111,11 +113,13 @@ components:
|
||||||
- Top
|
- Top
|
||||||
type: string
|
type: string
|
||||||
iconDisplayInfo:
|
iconDisplayInfo:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
richText:
|
richText:
|
||||||
properties:
|
properties:
|
||||||
entities:
|
entities:
|
||||||
items:
|
items:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
text:
|
text:
|
||||||
|
|
|
||||||
2
dist/docs/schemas/timeline.yaml
vendored
2
dist/docs/schemas/timeline.yaml
vendored
|
|
@ -7,8 +7,10 @@ components:
|
||||||
$ref: ./../schemas/instruction.yaml#/components/schemas/InstructionUnion
|
$ref: ./../schemas/instruction.yaml#/components/schemas/InstructionUnion
|
||||||
type: array
|
type: array
|
||||||
metadata:
|
metadata:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
responseObjects:
|
responseObjects:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- instructions
|
- instructions
|
||||||
|
|
|
||||||
8
dist/docs/schemas/tweet.yaml
vendored
8
dist/docs/schemas/tweet.yaml
vendored
|
|
@ -36,6 +36,7 @@ components:
|
||||||
required:
|
required:
|
||||||
- media
|
- media
|
||||||
Hashtag:
|
Hashtag:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
Media:
|
Media:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -46,6 +47,7 @@ components:
|
||||||
format: uri
|
format: uri
|
||||||
type: string
|
type: string
|
||||||
ext_media_availability:
|
ext_media_availability:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
id_str:
|
id_str:
|
||||||
pattern: ^[0-9]+$
|
pattern: ^[0-9]+$
|
||||||
|
|
@ -64,6 +66,7 @@ components:
|
||||||
properties:
|
properties:
|
||||||
focus_rects:
|
focus_rects:
|
||||||
items:
|
items:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
height:
|
height:
|
||||||
|
|
@ -72,6 +75,7 @@ components:
|
||||||
type: integer
|
type: integer
|
||||||
type: object
|
type: object
|
||||||
sizes:
|
sizes:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
type:
|
type:
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -89,6 +93,7 @@ components:
|
||||||
- sizes
|
- sizes
|
||||||
- original_info
|
- original_info
|
||||||
Symbol:
|
Symbol:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
Tweet:
|
Tweet:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -169,6 +174,7 @@ components:
|
||||||
pattern: ^[0-9]+$
|
pattern: ^[0-9]+$
|
||||||
type: string
|
type: string
|
||||||
unmention_data:
|
unmention_data:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
views:
|
views:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -263,6 +269,7 @@ components:
|
||||||
- user_id_str
|
- user_id_str
|
||||||
- id_str
|
- id_str
|
||||||
TweetTombstone:
|
TweetTombstone:
|
||||||
|
additionalProperties: true
|
||||||
properties:
|
properties:
|
||||||
__typename:
|
__typename:
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
||||||
|
|
@ -307,6 +314,7 @@ components:
|
||||||
- display_url
|
- display_url
|
||||||
type: object
|
type: object
|
||||||
UserMention:
|
UserMention:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
info:
|
info:
|
||||||
title: Twitter OpenAPI
|
title: Twitter OpenAPI
|
||||||
|
|
|
||||||
4
dist/docs/schemas/user.yaml
vendored
4
dist/docs/schemas/user.yaml
vendored
|
|
@ -5,8 +5,10 @@ components:
|
||||||
__typename:
|
__typename:
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
||||||
affiliates_highlighted_label:
|
affiliates_highlighted_label:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
business_account:
|
business_account:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
has_graduated_access:
|
has_graduated_access:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
|
@ -14,6 +16,7 @@ components:
|
||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
id:
|
id:
|
||||||
|
pattern: ^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)?$
|
||||||
type: string
|
type: string
|
||||||
is_blue_verified:
|
is_blue_verified:
|
||||||
default: false
|
default: false
|
||||||
|
|
@ -67,6 +70,7 @@ components:
|
||||||
description:
|
description:
|
||||||
type: string
|
type: string
|
||||||
entities:
|
entities:
|
||||||
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
fast_followers_count:
|
fast_followers_count:
|
||||||
type: integer
|
type: integer
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue