Jump to content

/api/isys not working


Recommended Posts

Posted

I started getting that with my app, and recently updated it with the fix. When I get to a real keyboard I'll let you know what it was....

Posted (edited)

Basically - I found that the API was changed. You used to be able to call /api/isys and get the description of the portal account. Now, you have to get the ID from a different call first, then pass that ID with your /api/isys call... as follows:

GET https://my.isy.io/api/domains/lookup with basic authentication (Portal username/password). 

Get the _id value...

GET https://my.isy.io/api/isys?domain={_id}&subaccounts=false

(replacing the {_id} with the received _id from the first request).

Edited by MWareman
Posted

Basically - I found that the API was changed. You used to be able to call /api/isys and get the description of the portal account. Now, you have to get the ID from a different call first, then pass that ID with your /api/isys call...  as follows:

GET https://my.isy.io/api/domains/lookup with basic authentication (Portal username/password).

Get the _id value...

GET https://my.isy.io/api/isys?domain={_id}&subaccounts=false

(replacing the {_id} with the received _id from the first request).

 

Basically - I found that the API was changed. You used to be able to call /api/isys and get the description of the portal account. Now, you have to get the ID from a different call first, then pass that ID with your /api/isys call...  as follows:

Got it. Thx.  

Guest
This topic is now closed to further replies.

×
×
  • Create New...