10-04-2018
03:41 AM
- last edited on
03-14-2019
02:18 PM
by
NIadmin
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?
Solved! Go to Solution.
10-04-2018 03:26 PM
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.