Jump to content
jgx

URL to a specific agent in WebApp?

Recommended Posts

Giancarlo
On 9/23/2019 at 11:41 PM, jgx said:

Is there a URL syntax to navigate directly to a specific agent?   Instead of to the All Agents list.  

 

i.e. is there a parameter that can be added to the base UR:   https://portal.domotz.com/webapp/#/agent/dashboard

 

Sorry for the delay in getting back to you on this matter.

 

The direct link to access to a Specific Agent dashboard is the following:

 

https://portal.domotz.com/webapp/#/index.html?agentid=[AGENT_ID]

 

where [AGENT_ID] is the unique identifier of the Agent which can be retrieved using for example the Public API with the following call:

 

curl -X GET your-domotz-api-endpoint/public-api/v1/agent -H 'Accept: application/json' -H 'X-Api-Key: API_KEY'

 

(for more details, refer to the Public API documentation https://portal.domotz.com/developers under listAgents)

Share this post


Link to post
Share on other sites

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...