Use this REST request to retrieve the schema of a stream or window. You can also use this request to determine the type of object returned. For example, you can determine whether an object is a stream, delta stream, or window. This REST request is a GET type request.
To retrieve only the schema of a stream or window, use:
http://serverDetails/espws/restservice/workspaces/<workspacename>/projects/<projectname>/streams/<stream/windowname>
authorization: Basic <auth-data>
To retrieve the schema and type of object, use:
http://serverDetails/espws/restservice/workspaces/<workspacename>/projects/<projectname>/streams_v1/<stream/windowname>
authorization: Basic <auth-data>
To retrieve only the schema of a stream or window, use:
http://localhost:9091/espws/restservice/workspaces/myworkspace/projects/my_project/streams/my_stream
authorization: Basic c3R1ZGlvOnN5YmFzZQ==
To retrieve the schema and type of object, use:
http://localhost:9091/espws/restservice/workspaces/myworkspace/projects/my_project/streams_v1/my_stream
authorization: Basic c3R1ZGlvOnN5YmFzZQ==