-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathportfoliometa.com.yaml
41 lines (40 loc) · 1.16 KB
/
portfoliometa.com.yaml
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
openapi: 3.0.1
info:
title: PortfolioMeta Plugin
description: A plugin that returns current data for any stock. All you need to use this plugin is a ticker symbol.
version: "v1"
servers:
- url: https://portfoliometa.com
paths:
/api/all-stock-info?ticker={ticker}:
get:
operationId: getStockData
summary: Get current data for any U.S. stock.
parameters:
- in: path
name: ticker
schema:
type: string
required: true
description: The ticker symbol of the stock.
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: "#/components/schemas/getStockDataResponse"
components:
schemas:
getStockDataResponse:
type: object
properties:
data:
type: string
description: All data for the stock.
EXTRA_INFORMATION_TO_ASSISTANT:
type: string
description: Extra information for the assistant only.
learnMoreUrl:
type: string
description: URL to learn more about the stock.