---
title: "return a view of a dataset or other resource"
method: GET
path: "/id/{dsid}"
tags: ["Resource Identifiers"]
---

# return a view of a dataset or other resource

`GET /id/{dsid}`

## Request

- Base URL: `/od` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/od/id/{dsid}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/usnistgov/apis/pdr-resource-identifier-resolver-service/docs/id/:dsid/get.ts> (a function with typed inputs; its response is checked against the schema)

return a view of a repository resource given its ARK ID or, alternatively, its EDI ID or just the local (or _reduced_) part of the ARK ID.  The local part refers to the URI path field following the "ark:/NNNNN/" prefix.

## Path parameters

- `dsid` string, required

## Query parameters

- `format` string

## Response `200`

the identifier was recognized and a view was returned.

- string: a description of the resource in NERDm JSON format; the object will be a NERDm `Resourse` type.

## Other responses

- `400`: the format parameter specified an unsupported or unrecognized output format
- `404`: the resource identifier was not found in the repository.
- `406`: no supportable formats associated with the MIME-types given in the `Accept` parameter, _or_ none of those MIME-types were consistent with the format requested via the `format` parameter.

---

[API](https://skmtc.dev/usnistgov/apis/pdr-resource-identifier-resolver-service.md) - [All operations](https://skmtc.dev/usnistgov/apis/pdr-resource-identifier-resolver-service/llms.txt) - [OpenAPI document](https://skmtc.dev/usnistgov/apis/pdr-resource-identifier-resolver-service/revisions/00ec37e796c3?raw)
