On this page

Add stream in existing schema

Method : PUT
URI : /stream/<schema_name>
Body :

{
"schema": "website",
"streams": [
    {"name":"prod_details_1", "type":1,
    "inpt":[],
    "attr":[{"name":"product","type":5,"kysz":24},
          {"name":"price","type":11,"stat":"RSTAT"},
        {"name":"total_items","type":9,"stat":"RSTAT"}
        ]
    }
]
}

Response

{
    "errcode": 0
}
Was this article helpful to you? Yes No