Get Data-Source List
Get list of data-sources with optional text-search and pagination
Get
https://api.zira.us/public/data-sources?textSearch=[textSearch]&limit=[limit]
Example response
{
"data": [
{
"id": "23462",
"name": "CS",
"validationStatus": 10,
"type": {
"id": "40",
"name": "Other",
"ordinal": 210
},
"site": {
"id": "1038",
"name": "test site"
},
"channelId": "28561",
"activityStatus": {
"id": "50",
"name": "No Readings"
},
"isShared": false,
"typeOrdinal": 210,
"collectionEnabled": true,
"applying": {
"id": "3",
"name": "custom"
},
"isTemplate": false,
"isDeleted": false,
"recOrdinal": null,
"status": "No Readings"
}
]
}
Query Params
Property | Required | Type | Example | Description |
---|---|---|---|---|
textSearch | false | String | A text | Search text (on data-source name) |
limit | false | Number | 10 | The returned list size. use it along with "lastValue" to paginate long lists |
lastValue | false | String | eyJldmVudF9kYXRlIjoiMjAyMC0xMC0yOFQxNDozMjowMi42NjZaIn0 | include last value in the request to get next page according to the defined limit |