1. Home
  2. Docs
  3. BangDB 2.0 REST API
  4. API 2.0
  5. SERVER API
  6. Get the list of all schemas registered in the db

On this page

Get the list of all schemas registered in the db

Method : GET
URI : /stream/list

Example

curl -X GET http://192.168.1.105:18080/stream/list

Response

{
    "errcode": 0,
    "num_schemas": 1,
    "schemas": [
        {
            "name": "ecomm",
            "state": 1,
            "num_streams": 1
        }
    ],
    "notif_count_total": 0,
    "notif_count_day": 0,
    "notif_count_prev_day": 0
}

As you note, it returns list of schemas and their streams, apart from some more important info around notifications

Was this article helpful to you? Yes No