SystemLink Forum

cancel
Showing results for 
Search instead for 
Did you mean: 

Skyline file API in webVIs

Solved!
Go to solution

Is the Skyline file API going to be included in webVIs, so we can displays e.g log files send to the server in a dashboard?

 

Or is this possible using a different API? Maybe for a local scenario where the dashboard is hosted by the same server receiving the files?

Regards,
André (CLA, CLED)
0 Kudos
Message 1 of 2
(2,577 Views)
Solution
Accepted by topic author andre.buurman@carya

We do intend to provide a Skyline/SystemLink File API in the future for webVIs (time TBD).  In the short-term you can use the WebVI HTTP primitives to query for files and read the contents directly.

 

The Swagger documentation for the HTTP APIs are available at https://github.com/ni/systemlink-OpenAPI-documents

 

Just copy the contents of the https://github.com/ni/systemlink-OpenAPI-documents/tree/master/file/nifile.yml to https://editor.swagger.io/ to get an easy to view version of our API.  In addition, if you upgrade your server to SystemLink 18.2 next week when it is available you can just go to /niapis/ on your server to see and interact with the swagger documentation directly.

 

Screen Shot 2018-10-04 at 3.25.19 PM.png

Message 2 of 2
(2,558 Views)