twitter-openapi-typescript-generated 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/README.md +2 -2
  3. package/dist/apis/DefaultApi.d.ts +0 -1
  4. package/dist/apis/DefaultApi.d.ts.map +1 -1
  5. package/dist/apis/DefaultApi.js +0 -6
  6. package/dist/apis/DefaultApi.js.map +1 -1
  7. package/dist/apis/TweetApi.d.ts +0 -9
  8. package/dist/apis/TweetApi.d.ts.map +1 -1
  9. package/dist/apis/TweetApi.js +0 -54
  10. package/dist/apis/TweetApi.js.map +1 -1
  11. package/dist/apis/UserApi.d.ts +0 -1
  12. package/dist/apis/UserApi.d.ts.map +1 -1
  13. package/dist/apis/UserApi.js +0 -6
  14. package/dist/apis/UserApi.js.map +1 -1
  15. package/dist/apis/UserListApi.d.ts +0 -2
  16. package/dist/apis/UserListApi.d.ts.map +1 -1
  17. package/dist/apis/UserListApi.js +0 -12
  18. package/dist/apis/UserListApi.js.map +1 -1
  19. package/dist/models/TweetLegacy.d.ts +7 -0
  20. package/dist/models/TweetLegacy.d.ts.map +1 -1
  21. package/dist/models/TweetLegacy.js +3 -0
  22. package/dist/models/TweetLegacy.js.map +1 -1
  23. package/dist/models/TweetLegacySelfThread.d.ts +32 -0
  24. package/dist/models/TweetLegacySelfThread.d.ts.map +1 -0
  25. package/dist/models/TweetLegacySelfThread.js +51 -0
  26. package/dist/models/TweetLegacySelfThread.js.map +1 -0
  27. package/dist/models/index.d.ts +1 -0
  28. package/dist/models/index.d.ts.map +1 -1
  29. package/dist/models/index.js +1 -0
  30. package/dist/models/index.js.map +1 -1
  31. package/package.json +1 -1
  32. package/src/apis/DefaultApi.ts +0 -9
  33. package/src/apis/TweetApi.ts +0 -81
  34. package/src/apis/UserApi.ts +0 -9
  35. package/src/apis/UserListApi.ts +0 -18
  36. package/src/models/TweetLegacy.ts +14 -0
  37. package/src/models/TweetLegacySelfThread.ts +66 -0
  38. package/src/models/index.ts +1 -0
  39. package/tools/openapi-generator-config.yaml +2 -2
  40. package/twitter-openapi/dist/{typescript → compatible}/paths/bookmarks.yaml +0 -7
  41. package/twitter-openapi/dist/{test → compatible}/paths/follow.yaml +0 -14
  42. package/twitter-openapi/dist/{test → compatible}/paths/profile.yaml +0 -7
  43. package/twitter-openapi/dist/{test → compatible}/paths/timeline.yaml +0 -21
  44. package/twitter-openapi/dist/{test → compatible}/paths/tweet.yaml +0 -7
  45. package/twitter-openapi/dist/{test → compatible}/paths/user.yaml +0 -7
  46. package/twitter-openapi/dist/{typescript → compatible}/paths/usertweets.yaml +0 -28
  47. package/twitter-openapi/dist/{dart → compatible}/schemas/tweet.yaml +8 -0
  48. package/twitter-openapi/dist/docs/paths/bookmarks.yaml +0 -56
  49. package/twitter-openapi/dist/docs/paths/follow.yaml +0 -112
  50. package/twitter-openapi/dist/docs/paths/profile.yaml +0 -35
  51. package/twitter-openapi/dist/docs/paths/timeline.yaml +0 -170
  52. package/twitter-openapi/dist/docs/paths/tweet.yaml +0 -61
  53. package/twitter-openapi/dist/docs/paths/user.yaml +0 -41
  54. package/twitter-openapi/dist/docs/paths/usertweets.yaml +0 -238
  55. package/twitter-openapi/dist/docs/schemas/tweet.yaml +8 -0
  56. package/twitter-openapi/src/openapi/schemas/tweet.yaml +8 -0
  57. package/twitter-openapi/tools/__pycache__/build_config.cpython-310.pyc +0 -0
  58. package/twitter-openapi/tools/__pycache__/hooks.cpython-310.pyc +0 -0
  59. package/twitter-openapi/tools/build_config.py +67 -190
  60. package/twitter-openapi/tools/hooks.py +28 -7
  61. package/twitter-openapi/dist/dart/openapi-3.0.yaml +0 -117
  62. package/twitter-openapi/dist/dart/paths/bookmarks.yaml +0 -141
  63. package/twitter-openapi/dist/dart/paths/follow.yaml +0 -276
  64. package/twitter-openapi/dist/dart/paths/post.yaml +0 -876
  65. package/twitter-openapi/dist/dart/paths/profile.yaml +0 -159
  66. package/twitter-openapi/dist/dart/paths/timeline.yaml +0 -401
  67. package/twitter-openapi/dist/dart/paths/tweet.yaml +0 -141
  68. package/twitter-openapi/dist/dart/paths/user.yaml +0 -119
  69. package/twitter-openapi/dist/dart/paths/usertweets.yaml +0 -512
  70. package/twitter-openapi/dist/dart/paths/v1.1-get.yaml +0 -300
  71. package/twitter-openapi/dist/dart/paths/v1.1-post.yaml +0 -295
  72. package/twitter-openapi/dist/dart/paths/v2.0-get.yaml +0 -331
  73. package/twitter-openapi/dist/test/paths/bookmarks.yaml +0 -112
  74. package/twitter-openapi/dist/test/paths/other.yaml +0 -96
  75. package/twitter-openapi/dist/test/paths/post.yaml +0 -527
  76. package/twitter-openapi/dist/test/paths/usertweets.yaml +0 -396
  77. package/twitter-openapi/dist/test/paths/v1.1-get.yaml +0 -242
  78. package/twitter-openapi/dist/test/paths/v1.1-post.yaml +0 -277
  79. package/twitter-openapi/dist/test/paths/v2.0-get.yaml +0 -302
  80. package/twitter-openapi/dist/test/resources/parameters.yaml +0 -13
  81. package/twitter-openapi/dist/test/response/error.yaml +0 -90
  82. package/twitter-openapi/dist/test/schemas/content.yaml +0 -181
  83. package/twitter-openapi/dist/test/schemas/general.yaml +0 -13
  84. package/twitter-openapi/dist/test/schemas/instruction.yaml +0 -83
  85. package/twitter-openapi/dist/test/schemas/timeline.yaml +0 -25
  86. package/twitter-openapi/dist/test/schemas/tweet.yaml +0 -308
  87. package/twitter-openapi/dist/test/schemas/typename.yaml +0 -19
  88. package/twitter-openapi/dist/test/schemas/user.yaml +0 -206
  89. package/twitter-openapi/dist/typescript/openapi-3.0.yaml +0 -141
  90. package/twitter-openapi/dist/typescript/paths/follow.yaml +0 -218
  91. package/twitter-openapi/dist/typescript/paths/other.yaml +0 -96
  92. package/twitter-openapi/dist/typescript/paths/profile.yaml +0 -130
  93. package/twitter-openapi/dist/typescript/paths/timeline.yaml +0 -314
  94. package/twitter-openapi/dist/typescript/paths/tweet.yaml +0 -112
  95. package/twitter-openapi/dist/typescript/paths/user.yaml +0 -90
  96. package/twitter-openapi/dist/typescript/resources/parameters.yaml +0 -13
  97. package/twitter-openapi/dist/typescript/response/error.yaml +0 -90
  98. package/twitter-openapi/dist/typescript/schemas/content.yaml +0 -181
  99. package/twitter-openapi/dist/typescript/schemas/general.yaml +0 -13
  100. package/twitter-openapi/dist/typescript/schemas/instruction.yaml +0 -83
  101. package/twitter-openapi/dist/typescript/schemas/timeline.yaml +0 -25
  102. package/twitter-openapi/dist/typescript/schemas/tweet.yaml +0 -308
  103. package/twitter-openapi/dist/typescript/schemas/typename.yaml +0 -19
  104. package/twitter-openapi/dist/typescript/schemas/user.yaml +0 -206
  105. /package/twitter-openapi/dist/{test → compatible}/openapi-3.0.yaml +0 -0
  106. /package/twitter-openapi/dist/{dart → compatible}/paths/other.yaml +0 -0
  107. /package/twitter-openapi/dist/{typescript → compatible}/paths/post.yaml +0 -0
  108. /package/twitter-openapi/dist/{typescript → compatible}/paths/v1.1-get.yaml +0 -0
  109. /package/twitter-openapi/dist/{typescript → compatible}/paths/v1.1-post.yaml +0 -0
  110. /package/twitter-openapi/dist/{typescript → compatible}/paths/v2.0-get.yaml +0 -0
  111. /package/twitter-openapi/dist/{dart → compatible}/resources/parameters.yaml +0 -0
  112. /package/twitter-openapi/dist/{dart → compatible}/response/error.yaml +0 -0
  113. /package/twitter-openapi/dist/{dart → compatible}/schemas/content.yaml +0 -0
  114. /package/twitter-openapi/dist/{dart → compatible}/schemas/general.yaml +0 -0
  115. /package/twitter-openapi/dist/{dart → compatible}/schemas/instruction.yaml +0 -0
  116. /package/twitter-openapi/dist/{dart → compatible}/schemas/timeline.yaml +0 -0
  117. /package/twitter-openapi/dist/{dart → compatible}/schemas/typename.yaml +0 -0
  118. /package/twitter-openapi/dist/{dart → compatible}/schemas/user.yaml +0 -0
@@ -1,90 +0,0 @@
1
- components:
2
- schemas:
3
- Error:
4
- properties:
5
- code:
6
- type: integer
7
- extensions:
8
- $ref: '#/components/schemas/Extensions'
9
- kind:
10
- type: string
11
- locations:
12
- items:
13
- $ref: '#/components/schemas/Location'
14
- type: array
15
- message:
16
- type: string
17
- name:
18
- type: string
19
- path:
20
- items:
21
- type: string
22
- type: array
23
- source:
24
- type: string
25
- tracing:
26
- $ref: '#/components/schemas/Tracing'
27
- required:
28
- - message
29
- - locations
30
- - path
31
- - extensions
32
- - code
33
- - kind
34
- - name
35
- - source
36
- - tracing
37
- type: object
38
- ErrorResponse:
39
- properties:
40
- errors:
41
- $ref: '#/components/schemas/Errors'
42
- required:
43
- - errors
44
- - data
45
- type: object
46
- Errors:
47
- items:
48
- $ref: '#/components/schemas/Error'
49
- type: array
50
- Extensions:
51
- properties:
52
- code:
53
- type: integer
54
- kind:
55
- type: string
56
- name:
57
- type: string
58
- source:
59
- type: string
60
- tracing:
61
- $ref: '#/components/schemas/Tracing'
62
- required:
63
- - name
64
- - source
65
- - code
66
- - kind
67
- - tracing
68
- type: object
69
- Location:
70
- properties:
71
- column:
72
- type: integer
73
- line:
74
- type: integer
75
- required:
76
- - line
77
- - column
78
- type: object
79
- Tracing:
80
- properties:
81
- trace_id:
82
- type: string
83
- required:
84
- - trace_id
85
- type: object
86
- info:
87
- title: Twitter OpenAPI
88
- version: 0.0.1
89
- openapi: 3.0.3
90
- paths: {}
@@ -1,181 +0,0 @@
1
- components:
2
- schemas:
3
- ContentEntryType:
4
- enum:
5
- - TimelineTimelineItem
6
- - TimelineTimelineCursor
7
- - TimelineTimelineModule
8
- type: string
9
- ContentItemType:
10
- enum:
11
- - TimelineTweet
12
- - TimelineTimelineCursor
13
- - TimelineUser
14
- type: string
15
- ContentUnion:
16
- discriminator:
17
- mapping":
18
- TimelineTimelineCursor: '#/components/schemas/TimelineTimelineCursor'
19
- TimelineTimelineItem: '#/components/schemas/TimelineTimelineItem'
20
- TimelineTimelineModule: '#/components/schemas/TimelineTimelineModule'
21
- propertyName: entryType
22
- oneOf:
23
- - $ref: '#/components/schemas/TimelineTimelineItem'
24
- - $ref: '#/components/schemas/TimelineTimelineModule'
25
- - $ref: '#/components/schemas/TimelineTimelineCursor'
26
- ItemContentUnion:
27
- discriminator:
28
- mapping":
29
- TimelineTimelineCursor: '#/components/schemas/TimelineTimelineCursor'
30
- TimelineTweet: '#/components/schemas/TimelineTweet'
31
- TimelineUser: '#/components/schemas/TimelineUser'
32
- propertyName: itemType
33
- oneOf:
34
- - $ref: '#/components/schemas/TimelineTweet'
35
- - $ref: '#/components/schemas/TimelineTimelineCursor'
36
- - $ref: '#/components/schemas/TimelineUser'
37
- ItemResult:
38
- properties:
39
- __typename:
40
- $ref: ./typename.yaml#/components/schemas/TypeName
41
- result:
42
- $ref: ./tweet.yaml#/components/schemas/TweetUnion
43
- required:
44
- - result
45
- ModuleEntry:
46
- properties:
47
- clientEventInfo:
48
- type: object
49
- itemContent:
50
- $ref: '#/components/schemas/ItemContentUnion'
51
- required:
52
- - clientEventInfo
53
- - itemContent
54
- ModuleItem:
55
- properties:
56
- entryId:
57
- pattern: ^[a-z\-]+[0-9]+$
58
- type: string
59
- item:
60
- $ref: '#/components/schemas/ModuleEntry'
61
- required:
62
- - entryId
63
- - item
64
- SocialContext:
65
- properties:
66
- contextType:
67
- type: string
68
- text:
69
- type: string
70
- type:
71
- type: string
72
- type: object
73
- TimelineTimelineCursor:
74
- properties:
75
- __typename:
76
- $ref: ./typename.yaml#/components/schemas/TypeName
77
- cursorType:
78
- enum:
79
- - Top
80
- - Bottom
81
- - ShowMore
82
- - ShowMoreThreads
83
- - Gap
84
- type: string
85
- entryType:
86
- $ref: '#/components/schemas/ContentEntryType'
87
- type: string
88
- itemType:
89
- $ref: '#/components/schemas/ContentEntryType'
90
- type: string
91
- value:
92
- type: string
93
- required:
94
- - __typename
95
- - cursorType
96
- - value
97
- TimelineTimelineItem:
98
- properties:
99
- __typename:
100
- $ref: ./typename.yaml#/components/schemas/TypeName
101
- clientEventInfo:
102
- type: object
103
- entryType:
104
- $ref: '#/components/schemas/ContentEntryType'
105
- type: string
106
- feedbackInfo:
107
- type: object
108
- itemContent:
109
- $ref: '#/components/schemas/ItemContentUnion'
110
- required:
111
- - __typename
112
- - entryType
113
- - itemContent
114
- TimelineTimelineModule:
115
- properties:
116
- __typename:
117
- $ref: ./typename.yaml#/components/schemas/TypeName
118
- clientEventInfo:
119
- type: object
120
- displayType:
121
- type: string
122
- entryType:
123
- $ref: '#/components/schemas/ContentEntryType'
124
- type: string
125
- footer:
126
- type: object
127
- header:
128
- type: object
129
- items:
130
- items:
131
- $ref: '#/components/schemas/ModuleItem'
132
- type: array
133
- required:
134
- - __typename
135
- - entryType
136
- - displayType
137
- - clientEventInfo
138
- TimelineTweet:
139
- properties:
140
- SocialContext:
141
- $ref: '#/components/schemas/SocialContext'
142
- __typename:
143
- $ref: ./typename.yaml#/components/schemas/TypeName
144
- itemType:
145
- $ref: '#/components/schemas/ContentItemType'
146
- type: string
147
- promotedMetadata:
148
- type: object
149
- tweetDisplayType:
150
- type: string
151
- tweet_results:
152
- $ref: '#/components/schemas/ItemResult'
153
- required:
154
- - __typename
155
- - itemType
156
- - tweetDisplayType
157
- - tweet_results
158
- TimelineUser:
159
- properties:
160
- SocialContext:
161
- $ref: '#/components/schemas/SocialContext'
162
- __typename:
163
- $ref: ./typename.yaml#/components/schemas/TypeName
164
- itemType:
165
- $ref: '#/components/schemas/ContentItemType'
166
- type: string
167
- userDisplayType:
168
- type: string
169
- user_results:
170
- $ref: ./user.yaml#/components/schemas/UserResults
171
- required:
172
- - __typename
173
- - itemType
174
- - socialContext
175
- - userDisplayType
176
- - user_results
177
- info:
178
- title: Twitter OpenAPI
179
- version: 0.0.1
180
- openapi: 3.0.3
181
- paths: {}
@@ -1,13 +0,0 @@
1
- components:
2
- schemas:
3
- TwitterTimeFormat:
4
- example: Sat Dec 31 23:59:59 +0000 2023
5
- pattern: ^(Sun|Mon|Tue|Wed|Thu|Fri|Sat) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)
6
- (0[1-9]|[12][0-9]|3[01]) (0[0-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])
7
- ([+-][0-9]{4}) ([0-9]{4})$
8
- type: string
9
- info:
10
- title: Twitter OpenAPI
11
- version: 0.0.1
12
- openapi: 3.0.3
13
- paths: {}
@@ -1,83 +0,0 @@
1
- components:
2
- schemas:
3
- InstructionType:
4
- enum:
5
- - TimelineAddEntries
6
- - TimelineClearCache
7
- - TimelinePinEntry
8
- - TimelineTerminateTimeline
9
- type: string
10
- InstructionUnion:
11
- discriminator:
12
- mapping":
13
- TimelineAddEntries: '#/components/schemas/TimelineAddEntries'
14
- TimelineClearCache: '#/components/schemas/TimelineClearCache'
15
- TimelinePinEntry: '#/components/schemas/TimelinePinEntry'
16
- TimelineTerminateTimeline: '#/components/schemas/TimelineTerminateTimeline'
17
- propertyName: type
18
- oneOf:
19
- - $ref: '#/components/schemas/TimelineAddEntries'
20
- - $ref: '#/components/schemas/TimelineClearCache'
21
- - $ref: '#/components/schemas/TimelinePinEntry'
22
- - $ref: '#/components/schemas/TimelineTerminateTimeline'
23
- TimelineAddEntries:
24
- properties:
25
- entries:
26
- items:
27
- $ref: '#/components/schemas/TimelineAddEntry'
28
- type: array
29
- type:
30
- $ref: '#/components/schemas/InstructionType'
31
- type: string
32
- required:
33
- - type
34
- - entries
35
- TimelineAddEntry:
36
- properties:
37
- content:
38
- $ref: ./content.yaml#/components/schemas/ContentUnion
39
- entryId:
40
- pattern: ^[a-z\-]+[0-9]+$
41
- type: string
42
- sortIndex:
43
- pattern: '[0-9]+$'
44
- type: string
45
- required:
46
- - content
47
- - entryId
48
- - sortIndex
49
- TimelineClearCache:
50
- properties:
51
- type:
52
- $ref: '#/components/schemas/InstructionType'
53
- type: string
54
- required:
55
- - type
56
- TimelinePinEntry:
57
- properties:
58
- entry:
59
- $ref: '#/components/schemas/TimelineAddEntry'
60
- type:
61
- $ref: '#/components/schemas/InstructionType'
62
- type: string
63
- required:
64
- - type
65
- - entry
66
- TimelineTerminateTimeline:
67
- properties:
68
- direction:
69
- enum:
70
- - Top
71
- - Bottom
72
- type: string
73
- type:
74
- $ref: '#/components/schemas/InstructionType'
75
- type: string
76
- required:
77
- - type
78
- - direction
79
- info:
80
- title: Twitter OpenAPI
81
- version: 0.0.1
82
- openapi: 3.0.3
83
- paths: {}
@@ -1,25 +0,0 @@
1
- components:
2
- schemas:
3
- Timeline:
4
- properties:
5
- instructions:
6
- items:
7
- $ref: ./../schemas/instruction.yaml#/components/schemas/InstructionUnion
8
- type: array
9
- metadata:
10
- type: object
11
- responseObjects:
12
- type: object
13
- required:
14
- - instructions
15
- TimelineV2:
16
- properties:
17
- timeline:
18
- $ref: '#/components/schemas/Timeline'
19
- required:
20
- - timeline
21
- info:
22
- title: Twitter OpenAPI
23
- version: 0.0.1
24
- openapi: 3.0.3
25
- paths: {}
@@ -1,308 +0,0 @@
1
- components:
2
- schemas:
3
- Entities:
4
- properties:
5
- hashtags:
6
- items:
7
- $ref: '#/components/schemas/Hashtag'
8
- type: array
9
- media:
10
- items:
11
- $ref: '#/components/schemas/Media'
12
- type: array
13
- symbols:
14
- items:
15
- $ref: '#/components/schemas/Symbol'
16
- type: array
17
- urls:
18
- items:
19
- $ref: '#/components/schemas/Url'
20
- type: array
21
- user_mentions:
22
- items:
23
- $ref: '#/components/schemas/UserMention'
24
- type: array
25
- required:
26
- - hashtags
27
- - symbols
28
- - user_mentions
29
- - urls
30
- ExtendedEntities:
31
- properties:
32
- media:
33
- items:
34
- $ref: '#/components/schemas/Media'
35
- type: array
36
- required:
37
- - media
38
- Hashtag:
39
- type: object
40
- Media:
41
- properties:
42
- display_url:
43
- format: uri
44
- type: string
45
- expanded_url:
46
- format: uri
47
- type: string
48
- ext_media_availability:
49
- type: object
50
- id_str:
51
- pattern: ^[0-9]+$
52
- type: string
53
- indices:
54
- items:
55
- type: integer
56
- type: array
57
- media_key:
58
- pattern: ^[0-9]+_[0-9]+$
59
- type: string
60
- media_url_https:
61
- format: uri
62
- type: string
63
- original_info:
64
- properties:
65
- focus_rects:
66
- items:
67
- type: object
68
- type: array
69
- height:
70
- type: integer
71
- width:
72
- type: integer
73
- type: object
74
- sizes:
75
- type: object
76
- type:
77
- type: string
78
- url:
79
- format: uri
80
- type: string
81
- required:
82
- - id_str
83
- - indices
84
- - media_url_https
85
- - url
86
- - display_url
87
- - expanded_url
88
- - type
89
- - sizes
90
- - original_info
91
- Symbol:
92
- type: object
93
- Tweet:
94
- properties:
95
- __typename:
96
- $ref: ./typename.yaml#/components/schemas/TypeName
97
- card:
98
- properties:
99
- legacy:
100
- properties:
101
- binding_values:
102
- items:
103
- properties:
104
- key:
105
- type: string
106
- value:
107
- properties:
108
- boolean_value:
109
- type: boolean
110
- scribe_key:
111
- type: string
112
- string_value:
113
- type: string
114
- type:
115
- type: string
116
- required:
117
- - type
118
- type: object
119
- required:
120
- - key
121
- - value
122
- type: object
123
- type: array
124
- name:
125
- type: string
126
- url:
127
- type: string
128
- required:
129
- - binding_values
130
- - name
131
- - url
132
- type: object
133
- rest_id:
134
- type: string
135
- type: object
136
- core:
137
- $ref: ./user.yaml#/components/schemas/UserResultCore
138
- edit_control:
139
- properties:
140
- edit_tweet_ids:
141
- items:
142
- pattern: ^[0-9]+$
143
- type: string
144
- type: array
145
- editable_until_msecs:
146
- pattern: ^[0-9]+$
147
- type: string
148
- edits_remaining:
149
- pattern: ^[0-9]+$
150
- type: string
151
- is_edit_eligible:
152
- type: boolean
153
- type: object
154
- edit_prespective:
155
- properties:
156
- favorited:
157
- type: boolean
158
- retweeted:
159
- type: boolean
160
- type: object
161
- is_translatable:
162
- default: false
163
- type: boolean
164
- legacy:
165
- $ref: '#/components/schemas/TweetLegacy'
166
- quoted_status_result:
167
- $ref: ./content.yaml#/components/schemas/ItemResult
168
- rest_id:
169
- pattern: ^[0-9]+$
170
- type: string
171
- unmention_data:
172
- type: object
173
- views:
174
- properties:
175
- count:
176
- pattern: ^[0-9]+$
177
- type: string
178
- state:
179
- type: string
180
- type: object
181
- required:
182
- - rest_id
183
- - core
184
- - edit_control
185
- - edit_prespective
186
- - is_translatable
187
- - legacy
188
- - views
189
- TweetLegacy:
190
- properties:
191
- bookmark_count:
192
- type: integer
193
- bookmarked:
194
- type: boolean
195
- conversation_id_str:
196
- pattern: ^[0-9]+$
197
- type: string
198
- created_at:
199
- $ref: ./general.yaml#/components/schemas/TwitterTimeFormat
200
- display_text_range:
201
- items:
202
- type: integer
203
- type: array
204
- entities:
205
- $ref: '#/components/schemas/Entities'
206
- extended_entities:
207
- $ref: '#/components/schemas/ExtendedEntities'
208
- favorite_count:
209
- type: integer
210
- favorited:
211
- type: boolean
212
- full_text:
213
- type: string
214
- id_str:
215
- pattern: ^[0-9]+$
216
- type: string
217
- is_quote_status:
218
- type: boolean
219
- lang:
220
- type: string
221
- possibly_sensitive:
222
- default: false
223
- type: boolean
224
- possibly_sensitive_editable:
225
- default: false
226
- type: boolean
227
- quote_count:
228
- type: integer
229
- reply_count:
230
- type: integer
231
- retweet_count:
232
- type: integer
233
- retweeted:
234
- type: boolean
235
- retweeted_status_result:
236
- $ref: ./content.yaml#/components/schemas/ItemResult
237
- user_id_str:
238
- pattern: ^[0-9]+$
239
- type: string
240
- required:
241
- - bookmark_count
242
- - bookmarked
243
- - conversation_id_str
244
- - created_at
245
- - display_text_range
246
- - entities
247
- - favorite_count
248
- - favorited
249
- - full_text
250
- - is_quote_status
251
- - lang
252
- - quote_count
253
- - reply_count
254
- - retweet_count
255
- - retweeted
256
- - user_id_str
257
- - id_str
258
- TweetTombstone:
259
- properties:
260
- __typename:
261
- $ref: ./typename.yaml#/components/schemas/TypeName
262
- TweetUnion:
263
- discriminator:
264
- mapping":
265
- Tweet: '#/components/schemas/Tweet'
266
- TweetTombstone: '#/components/schemas/TweetTombstone'
267
- TweetWithVisibilityResults: '#/components/schemas/TweetWithVisibilityResults'
268
- propertyName: __typename
269
- oneOf:
270
- - $ref: '#/components/schemas/Tweet'
271
- - $ref: '#/components/schemas/TweetWithVisibilityResults'
272
- - $ref: '#/components/schemas/TweetTombstone'
273
- TweetWithVisibilityResults:
274
- properties:
275
- __typename:
276
- $ref: ./typename.yaml#/components/schemas/TypeName
277
- tweet:
278
- $ref: '#/components/schemas/Tweet'
279
- required:
280
- - __typename
281
- - tweet
282
- Url:
283
- properties:
284
- display_url:
285
- type: string
286
- expanded_url:
287
- format: uri
288
- type: string
289
- indices:
290
- items:
291
- type: integer
292
- type: array
293
- url:
294
- format: uri
295
- type: string
296
- required:
297
- - url
298
- - indices
299
- - expanded_url
300
- - display_url
301
- type: object
302
- UserMention:
303
- type: object
304
- info:
305
- title: Twitter OpenAPI
306
- version: 0.0.1
307
- openapi: 3.0.3
308
- paths: {}