How can I download a stream's csdl using the REST API?


#1

Howdy folks,

Is it possible to get a stream’s CSDL using the REST API?

I couldn’t find a way to list all my streams using the api, so I went and used the “consume vi api” button on the Web UI to get a hash for each of my streams.

Now I’d like to get the CSDL from these streams.

Any help would be appreciated.

Thanks!


#2

It is not currently possible to lookup a stream's CSDL from a stream hash. 

If you compile your CSDL using the /compile API endpoint, we recommend that you store the original CSDL against the stream hash you receive on compiling that stream.