Jump to content
AT&T to end email-to-text ×

REST API Invocation without login or with special login


sperok

Recommended Posts

Posted

It would be really helpful if certain REST functions could be authorized for access either without login or with non-admin credentials. For example.

 

- default is to disallow all REST API calls to non-admin authenticated users

- users could be granted access with a directive such as: allow

 

Examples:

 

allow * http://myisy.xx.yy/REST/programs/0034 * Allows anyone to run program ID 34 using any command

allow * http://myisy.xx.yy/REST/programs/0034 runIf Allows anyone to run program ID 34 using the runIf command

allow fred http://myisy.xx.yy/REST/programs/fred/* * Allows user fred to run all programs in the "fred" sub-directory with any command

 

My particular use case is to provide very streamlined access for users of a rental property. I'd like to embed a few links in an e-mail that they could invoke from their phone or wherever they are. That way they can "poke" the house when they are on the way up and the hot tub will be ready when they arrive, the gate will be open and the lights will come on. All without building a web site ...

Posted

Michel,

 

I understand the priorities. I just wanted to make sure an explicit request for access by the REST API's made it on the books.

 

Thanks,

 

Spero

Posted

yup - that's what I do now. the nasty side effect is that anyone I send the link to now has full admin access to my ISY ...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      37.7k
    • Total Posts
      376.5k
×
×
  • Create New...