-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapi.json
129 lines (129 loc) · 3.33 KB
/
api.json
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"openapi": "3.0.2",
"info": {
"title": "FastAPI",
"version": "0.1.0"
},
"paths": {
"/holdings": {
"get": {
"summary": "Get The Holdings File",
"description": "download the holdings file. that's what PMs do. csv, json formats, gzip",
"operationId": "get_the_holdings_file_holdings_get",
"responses": {
"200": {
"description": "Return CSV or JSON",
"content": {
"application/json": {
"schema": {}
},
"application/csv": {}
}
}
}
}
},
"/tasks/holdings/run": {
"post": {
"summary": "Run The Holdings Task",
"description": "start the holdings file creation task. Consumes the datamart odbc datasource and the local cache.",
"operationId": "run_the_holdings_task_tasks_holdings_run_post",
"responses": {
"201": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/tasks/cache/update": {
"post": {
"summary": "Run The Cache Update Task",
"description": "update cache task",
"operationId": "run_the_cache_update_task_tasks_cache_update_post",
"responses": {
"201": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/tasks/holdings": {
"get": {
"summary": "Get The Status Of The Holdings Task",
"description": "get the status of the holdings task",
"operationId": "get_the_status_of_the_holdings_task_tasks_holdings_get",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/tasks/cache": {
"get": {
"summary": "Get The Status Of The Cache",
"description": "get the status of the cache",
"operationId": "get_the_status_of_the_cache_tasks_cache_get",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/queue": {
"get": {
"summary": "Get The Status Of The Task Queue",
"description": "get the status of the task queue",
"operationId": "get_the_status_of_the_task_queue_queue_get",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/test": {
"get": {
"summary": "Test",
"description": "Test",
"operationId": "test_test_get",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
}
}
}