To get the schema json doc for a given schema:

This returns the json doc of the schema.

Method : GET

URI : /stream/<schema_name>/schema

Example

curl -X GET http://192.168.1.105:18080/stream/ecomm/schema

Response

{
   "schema":"ecomm",
   "streams":[
      {
         "name":"visitor",
         "type":1,
         "swsz":86400,
         "inpt":[
            
         ],
         "attr":[
            {
               "name":"vid",
               "type":5
            },
            {
               "name":"prod",
               "type":5,
               "kysz":24
            },
            {
               "name":"refr",
               "type":5,
               "kysz":48
            },
            {
               "name":"price",
               "type":11
            },
            {
               "name":"items",
               "type":9
            }
         ]
      }
   ]
}