---
title: "GET /?view=labels"
method: GET
path: "/?view=labels"
---

# GET /?view=labels

`GET /?view=labels`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/tetherless-world/apis/whyis/docs/%3Fview=labels/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `uris` string, required

## Response `200`

Returns a label for each specified URI. The label returned will be taken from, in order of priority: `skos:prefLabel`, `rdfs:label`, `schema:name`, `dc:title`, `foaf:name`, or `skos:notation`. If no label is found, the URI itself will be used as the label.

- object: An object whose keys are the URIs passed in as a parameter, and whose corresponding values are the labels for those URIs.

## Changes

- **2019-12-04** `f95969fb9eed`: 1 breaking, 1 info
  - added the new required `query` request parameter `uris`
  - added the success response with the status `200`
- **2019-11-19** `76aba0169ecc`: 1 breaking, 1 warning
  - removed the success response with the status `200`
  - deleted the `query` request parameter `uris`

[Operation history](https://skmtc.dev/tetherless-world/apis/whyis/changes/%3Fview=labels/get.md)

---

[API](https://skmtc.dev/tetherless-world/apis/whyis.md) - [All operations](https://skmtc.dev/tetherless-world/apis/whyis/llms.txt) - [OpenAPI document](https://skmtc.dev/tetherless-world/apis/whyis/revisions/45280f4d6152?raw)
