forked from Benzinga/doc-site-mintlify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbull-bear.yml
66 lines (66 loc) · 1.87 KB
/
bull-bear.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
openapi: 3.0.1
info:
title: Bulls Say / Bears Say API
version: '1.0'
servers:
- url: https://api.benzinga.com/api/v1
paths:
/bulls_bears_say:
get:
summary: Get the latest bull and bear cases for a given ticker symbol.
operationId: getBullsBearsSay
parameters:
- name: symbols
in: query
required: true
description: Stock ticker symbol to query for bull/bear cases.
schema:
type: string
- name: token
in: query
required: true
description: Authentication token for the API access.
schema:
type: string
responses:
'200':
description: An array of bull and bear cases for the requested ticker symbol.
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/BullBearCase'
'401':
description: Authentication information is missing or invalid.
'404':
description: A bull/bear case for the provided ticker symbol was not found.
components:
schemas:
BullBearCase:
type: object
properties:
bear_case:
type: string
description: Description of the bear case scenario.
bull_case:
type: string
description: Description of the bull case scenario.
id:
type: string
format: uuid
description: Unique identifier for the bull/bear case.
ticker:
type: string
description: Stock ticker symbol related to the bull/bear case.
updated:
type: integer
format: int64
description: Timestamp of when the case was last updated.
securitySchemes:
ApiKeyAuth:
type: apiKey
in: query
name: token
security:
- ApiKeyAuth: []