Sources
Get all Source
GET /api/data/sources
Returns all the Sources available
Response
The response is an array of Sources
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 | [
{
"_id": "65e06cac93d4be23246f8f3d",
"type": "GOOGLE_SHEET",
"name": "Sources-DB",
"config": {
"api_key": "",
"spreadsheet": "1PzUPFBKrPDDCJMANKjzW_ofVNl_5tL05nPBCWQJ7DCk"
},
"tables": [],
"createdAt": "2024-02-29T11:38:20.925Z",
"updatedAt": "2024-02-29T11:38:20.925Z",
"__v": 0,
"_type": "DATAFEEDPROVIDER"
},
{
"_id": "65e0b0fd93d4be23246f9014",
"type": "GOOGLE_SHEET",
"name": "MySource",
"config": {
"api_key": "",
"spreadsheet": "1hphETItGid_WB4ix9zENdoKGPKHdeB0lMjL_dJPnTGU"
},
"tables": [],
"createdAt": "2024-02-29T16:29:49.351Z",
"updatedAt": "2024-02-29T16:29:49.351Z",
"__v": 0,
"_type": "DATAFEEDPROVIDER"
}
]
|
Get the Source by ID
GET /api/data/sources/:id
Returns the information of the Source specified
Parameter |
Value |
Description |
id |
id |
The id of the Source |
Response
The response is the information of the Source specified
1
2
3
4
5
6
7
8
9
10
11
12
13
14 | {
"_id": "65e0b0fd93d4be23246f9014",
"type": "GOOGLE_SHEET",
"name": "MySource",
"config": {
"api_key": "",
"spreadsheet": "1hphETItGid_WB4ix9zENdoKGPKHdeB0lMjL_dJPnTGU"
},
"tables": [],
"createdAt": "2024-02-29T16:29:49.351Z",
"updatedAt": "2024-02-29T16:29:49.351Z",
"__v": 0,
"_type": "DATAFEEDPROVIDER"
}
|