zira logo

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

PropertyRequiredTypeExampleDescription
textSearch falseStringA textSearch text (on data-source name)
limit falseNumber10The returned list size. use it along with "lastValue" to paginate long lists
lastValue falseStringeyJldmVudF9kYXRlIjoiMjAyMC0xMC0yOFQxNDozMjowMi42NjZaIn0include last value in the request to get next page according to the defined limit