Skip to content

Commit 16d863f

Browse files
author
GitLab CI
committed
Transferred OpenAPI specs from GitLab to GitHub
1 parent a67503a commit 16d863f

6 files changed

Lines changed: 53 additions & 46 deletions

openapi/analyst-reports-raw-text-api_api.spec.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,3 @@ components:
7575
ticker:
7676
type: string
7777
type: object
78-
servers:
79-
- url: https://api.benzinga.com
80-
description: Default

openapi/data-api-proxy_api.spec.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
openapi: 3.0.0
22
info:
33
contact: {}
4-
description: This REST API provides endpoints to search for fundamentals and get fundamental details.
4+
description: This REST API provides endpoints to search for fundamentals and get
5+
fundamental details.
56
termsOfService: http://swagger.io/terms/
67
title: Data API Proxy
78
version: 2.0.0
@@ -1146,6 +1147,3 @@ components:
11461147
ok:
11471148
type: boolean
11481149
type: object
1149-
servers:
1150-
- url: https://api.benzinga.com
1151-
description: Default

openapi/earnings-call-transcripts-api_api.spec.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
openapi: 3.0.0
22
info:
33
contact: {}
4-
description: This REST API provides endpoints to search for earnings call transcripts and get earnings call transcript details.
4+
description: This REST API provides endpoints to search for earnings call
5+
transcripts and get earnings call transcript details.
56
termsOfService: http://swagger.io/terms/
67
title: Earnings Call Transcripts API
78
version: 1.0.0
@@ -235,6 +236,3 @@ components:
235236
transcript:
236237
type: string
237238
type: object
238-
servers:
239-
- url: https://api.benzinga.com
240-
description: Default

openapi/logo-api_api.spec.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,6 @@ components:
179179
type: object
180180
bzhttp.ErrorCode:
181181
enum:
182-
- unsupported_message_type
183-
- database_query_error
184182
- json_unmarshaling_error
185183
- no_data_found
186184
- no_matching_endpoint
@@ -192,10 +190,10 @@ components:
192190
- failed_dependency
193191
- service_unavailable
194192
- upstream_api_error
193+
- unsupported_message_type
194+
- database_query_error
195195
type: string
196196
x-enum-varnames:
197-
- ErrorUnsupportedMessageType
198-
- ErrorDBQueryError
199197
- ErrorJSONUnmarshaling
200198
- ErrorNoDataFound
201199
- ErrorNoMatchingEndpoint
@@ -207,6 +205,8 @@ components:
207205
- ErrorFailedDependency
208206
- ErrorServiceUnavailable
209207
- ErrorUpstreamAPIError
208+
- ErrorUnsupportedMessageType
209+
- ErrorDBQueryError
210210
bzhttp.Resp:
211211
properties:
212212
data:
@@ -284,8 +284,3 @@ components:
284284
mark_vector_light:
285285
type: string
286286
type: object
287-
servers:
288-
- url: https://api.benzinga.com/api/v2
289-
description: V2
290-
- url: https://api.benzinga.com/api/v2.1
291-
description: V2.1

openapi/newsquantified-api_api.spec.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ components:
102102
type: object
103103
bzhttp.ErrorCode:
104104
enum:
105-
- unsupported_message_type
106-
- database_query_error
107105
- json_unmarshaling_error
108106
- no_data_found
109107
- no_matching_endpoint
@@ -115,10 +113,10 @@ components:
115113
- failed_dependency
116114
- service_unavailable
117115
- upstream_api_error
116+
- unsupported_message_type
117+
- database_query_error
118118
type: string
119119
x-enum-varnames:
120-
- ErrorUnsupportedMessageType
121-
- ErrorDBQueryError
122120
- ErrorJSONUnmarshaling
123121
- ErrorNoDataFound
124122
- ErrorNoMatchingEndpoint
@@ -130,6 +128,8 @@ components:
130128
- ErrorFailedDependency
131129
- ErrorServiceUnavailable
132130
- ErrorUpstreamAPIError
131+
- ErrorUnsupportedMessageType
132+
- ErrorDBQueryError
133133
bzhttp.Resp:
134134
properties:
135135
data:
@@ -337,6 +337,3 @@ components:
337337
prevDay%:
338338
type: string
339339
type: object
340-
servers:
341-
- url: https://api.benzinga.com
342-
description: Default

openapi/ticker-trends-api_api.spec.yml

Lines changed: 41 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
openapi: 3.0.0
22
info:
33
contact: {}
4-
description: This REST API provides endpoints to search for trending tickers and get ticker details.
4+
description: This REST API provides endpoints to search for trending tickers and
5+
get ticker details.
56
termsOfService: http://swagger.io/terms/
67
title: TickerTrends API
78
version: 2.1.0
@@ -94,6 +95,30 @@ paths:
9495
name: timeframe
9596
schema:
9697
type: string
98+
- description: Start time in 24-hour format (e.g., 09:15)
99+
in: query
100+
name: time_from
101+
required: true
102+
schema:
103+
type: string
104+
- description: End time in 24-hour format (e.g., 22:30)
105+
in: query
106+
name: time_to
107+
required: true
108+
schema:
109+
type: string
110+
- description: Start date in ISO 8601 format (e.g., 2024-12-30)
111+
in: query
112+
name: date_from
113+
required: true
114+
schema:
115+
type: string
116+
- description: End date in ISO 8601 format (e.g., 2024-12-30)
117+
in: query
118+
name: date_to
119+
required: true
120+
schema:
121+
type: string
97122
- description: Page number
98123
in: query
99124
name: page
@@ -110,7 +135,7 @@ paths:
110135
content:
111136
application/json:
112137
schema:
113-
$ref: "#/components/schemas/httpapi.trendingTickersListAPIResponse"
138+
$ref: "#/components/schemas/models.TrendingTickersListAPIResponse"
114139
"400":
115140
description: Bad Request
116141
content:
@@ -122,7 +147,7 @@ paths:
122147
content:
123148
application/json:
124149
schema:
125-
$ref: "#/components/schemas/httpapi.trendingTickersListAPIResponse"
150+
$ref: "#/components/schemas/models.TrendingTickersListAPIResponse"
126151
security:
127152
- ApiKeyAuth: []
128153
summary: Get ticker trend list data
@@ -186,15 +211,6 @@ components:
186211
ok:
187212
type: boolean
188213
type: object
189-
httpapi.security:
190-
properties:
191-
exchange:
192-
type: string
193-
name:
194-
type: string
195-
ticker:
196-
type: string
197-
type: object
198214
httpapi.tickerTrendAPIResponse:
199215
properties:
200216
data:
@@ -230,24 +246,30 @@ components:
230246
time_bucket:
231247
type: string
232248
type: object
233-
httpapi.trendingTickersListAPIResponse:
249+
models.Security:
250+
properties:
251+
exchange:
252+
type: string
253+
name:
254+
type: string
255+
ticker:
256+
type: string
257+
type: object
258+
models.TrendingTickersListAPIResponse:
234259
properties:
235260
data:
236261
items:
237-
$ref: "#/components/schemas/httpapi.trendingTickersListData"
262+
$ref: "#/components/schemas/models.TrendingTickersListData"
238263
type: array
239264
ok:
240265
type: boolean
241266
type: object
242-
httpapi.trendingTickersListData:
267+
models.TrendingTickersListData:
243268
properties:
244269
count:
245270
type: integer
246271
pct_chg:
247272
type: integer
248273
security:
249-
$ref: "#/components/schemas/httpapi.security"
274+
$ref: "#/components/schemas/models.Security"
250275
type: object
251-
servers:
252-
- url: https://api.benzinga.com
253-
description: Default

0 commit comments

Comments
 (0)