# Linking to resin dashboard device page

**URL:** <https://forums.balena.io/t/linking-to-resin-dashboard-device-page/1673>\
**Category:** Product support\
**Created:** [August 16, 2017, 7:51pm UTC](https://forums.balena.io/t/linking-to-resin-dashboard-device-page/1673 "2017-08-16T19:51:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![arwid](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@arwid](https://forums.balena.io/u/arwid)\
**Post date:** [August 16, 2017, 7:51pm UTC](https://forums.balena.io/t/linking-to-resin-dashboard-device-page/1673/1 "2017-08-16T19:51:32Z")

</div>

We’d like to link devices in our internal dashboard to their corresponding [resin.io](http://resin.io) device summary pages and vice-versa.

On a device, we’re provided with two environment variables (RESIN\_DEVICE\_UUID and RESIN\_APP\_ID), but no device id for constructing the url: [https://dashboard.resin.io/apps/:APP\_ID/devices/:DEVICE\_ID/summary](https://dashboard.resin.io/apps/:APP_ID/devices/:DEVICE_ID/summary).

Is there a way to link to the page using the device’s UUID? Or otherwise, is there a way to obtain the device id within device application code?

---

<div class="post-metadata">

**Author:** ![arwid](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@arwid](https://forums.balena.io/u/arwid)\
**Post date:** [September 14, 2017, 12:01am UTC](https://forums.balena.io/t/linking-to-resin-dashboard-device-page/1673/2 "2017-09-14T00:01:27Z")

</div>

Bump

---

<div class="post-metadata">

**Author:** ![pcarranzav](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/pcarranzav/32/94_2.png) [@pcarranzav](https://forums.balena.io/u/pcarranzav)\
**Post date:** [September 14, 2017, 12:17am UTC](https://forums.balena.io/t/linking-to-resin-dashboard-device-page/1673/3 "2017-09-14T00:17:14Z")

</div>

Hey @arwid - sorry we missed this one for so long.

I’ve passed a feature request to our UI team to have a url that redirects to the device page that is built with the uuid only - we’ll see what they say.

There’s also this [https://github.com/resin-io/resin-supervisor/issues/276](https://github.com/resin-io/resin-supervisor/issues/276) which I still haven’t had time to implement but want to do soon.

In the meantime, the best thing I can think of is using the API to get the device using the uuid, using resin-sdk or just curl:

```auto
root@5d7b19b:/app# curl -s -H "Content-Type: application/json" "https://api.resinstaging.io/v2/device?\$filter=uuid%20eq%20'$RESIN_DEVICE_UUID'&apikey=$RESIN_API_KEY" | jq .d[0].id
75851

```

Not ideal as it requires connectivity and an extra request, but might get you sorted until we implement the feature I mentioned?

---

<div class="post-metadata">

**Author:** ![thgreasi](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/thgreasi/32/454_2.png) [@thgreasi](https://forums.balena.io/u/thgreasi)\
**Post date:** [November 10, 2017, 7:47am UTC](https://forums.balena.io/t/linking-to-resin-dashboard-device-page/1673/4 "2017-11-10T07:47:21Z")

</div>

Hey @arwid, we have a fix for the issue, which just got deployed.

The device page url has changed to the following schema `/devices/<deviceUuid>`.  
The old schema urls (`/apps/<appId>/devices/<deviceId>/...`) will continue to work and redirect to the respective new schema device page url.

Thank you for your report!
