Show TOC

View the Schema of a Stream or WindowLocate this document in the navigation structure

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.

Syntax

To retrieve only the schema of a stream or window, use:

GET
http://serverDetails/espws/restservice/workspaces/<workspacename>/projects/<projectname>/streams/<stream/windowname>
HEADER
authorization: Basic <auth-data>
<auth-data> is base64-encoded authorization data.

To retrieve the schema and type of object, use:

GET
http://serverDetails/espws/restservice/workspaces/<workspacename>/projects/<projectname>/streams_v1/<stream/windowname>
HEADER
authorization: Basic <auth-data>
<auth-data> is base64-encoded authorization data.
Example

To retrieve only the schema of a stream or window, use:

GET
http://localhost:9091/espws/restservice/workspaces/myworkspace/projects/my_project/streams/my_stream
HEADER
authorization: Basic c3R1ZGlvOnN5YmFzZQ==

To retrieve the schema and type of object, use:

GET
http://localhost:9091/espws/restservice/workspaces/myworkspace/projects/my_project/streams_v1/my_stream
HEADER
authorization: Basic c3R1ZGlvOnN5YmFzZQ==