This is an old revision of the document!


nems-api is a web-based api interface that outputs json data related to your NEMS server. It is lightweight, fast, and offers a connection for both internal NEMS features and third-party devices.

nems-api will always return either success: true or success: false to tell you whether a query was successful or not.

IP Restrictions

By default, access to nems-api is limited to the following IP addresses:

  • 127.0.0.1
  • 10.0.0.0 - 10.255.255.255
  • 172.16.0.0 - 172.31.255.255
  • 192.168.0.0 - 192.168.255.255

If you need to add an outside IP address, please put in a feature request in the Community Forum to add this feature to NEMS-SST.

Commands

Secure Certificate

NEMS Linux uses self-signed certificates. In order to pull nems-api data you must either ignore the certificates via your application, or change the URL to non-SSL (not recommended).

  • features/nems-api.1534975609.txt.gz
  • Last modified: 2019/02/04 11:34
  • (external edit)