---
title: "Get a single resource"
method: GET
path: "/devices/{deviceId}/{resourcePath}"
tags: ["Devices"]
---

# Get a single resource

`GET /devices/{deviceId}/{resourcePath}`

Get a single resource

## Path parameters

- `deviceId` string, uuid, required
- `resourcePath` string, required

## Query parameters

- `interface` string
- `skipShadow` boolean

## Headers

- `Correlation-ID` string

## Response `200`

Device

- ResourceRepresentation
  - `rt` string[] — Resources types
  - `if` string[] — Supported interfaces

## Other responses

- `401` — Not authorized
- `404` — Device or resource was not found
- `500` — An error occured when processing your request

## Changes

- **2020-04-11** `562192db9767` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/plgd-dev/apis/plgd-http-gateway/changes/devices/:deviceId/:resourcePath/get.md)

---

[API](https://skmtc.dev/plgd-dev/apis/plgd-http-gateway.md) · [All operations](https://skmtc.dev/plgd-dev/apis/plgd-http-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/plgd-dev/plgd-http-gateway/revisions/562192db9767/schema)
