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.  

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...