v1.12 REST API - Doco

Discussion in 'C-Bus Automation Controllers' started by Timbo, Nov 16, 2022.

  1. Timbo

    Timbo

    Joined:
    Aug 3, 2004
    Messages:
    19
    Likes Received:
    4
    Location:
    Perth, Australia
    Just wondering is there any doco around for the newly enabled REST API? Couldn't find mention in the manual/readme...

    Cheers,

    Tim
     
    Timbo, Nov 16, 2022
    #1
    1. Advertisements

  2. Timbo

    Dasman

    Joined:
    May 5, 2011
    Messages:
    23
    Likes Received:
    3
    Location:
    Adelaide
    There sure is! I have spent some time playing with it so feel welcome to as questions.

    load up the website https://petstore.swagger.io/#/

    At the top, enter in https://NACSHACIPAddr/api/swagger.json

    If that doesn't load, visit the URL of the swagger.json directly and accept the self signed certificate.

    Once you get the swagger website to load the NAC api, log in using your admin credentials, and from there, have fun
     
    Dasman, Nov 16, 2022
    #2
    lcrowhurst likes this.
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.