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

# GET /?view=facets

`GET /?view=facets`

## Request

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

## Path parameters

- `uri` string, uri, required

## Response `200`

Lists entities that are members of classes that are `prov:specializationOf` the class identified by the queried URI, and properties that are specified for them.

- object[]
  - `class` string: The URI of the queried class.
  - `property` string, url: The URI of an RDF property that has been specified for this entity
  - `propertyType` string, url: Whichever of `owl:DatatypeProperty` or `owl:ObjectPropety` is a more appropriate descriptor of this property
  - `inverse` string, url: The inverse of this property, as specified by `owl:inverseOf`.

## Changes

- **2019-12-18** `de67ef0df46f`: 1 breaking
  - the `items/inverse` response's property type changed from no type to `string`, and format from no format to `url` for status `200`
- **2019-12-18** `b0a20f88a298`: 1 breaking
  - the `items/inverse` response's property type changed from `string` to no type, and format from `url` to no format for status `200`
- **2019-12-16** `0693369a3c5e`: 2 breaking
  - the `items/inverse` response's property type changed from no type to `string`, and format from no format to `url` for status `200`
  - the `items/property` response's property type changed from no type to `string`, and format from no format to `url` for status `200`
- **2019-12-05** `bc4045d9aea4`: 1 breaking, 1 warning
  - added the new path request parameter `uri`
  - deleted the `query` request parameter `uri`
- **2019-12-04** `eb78deb0d675`: 6 warning, 2 info
  - deleted the `query` request parameter `facets`
  - removed the optional property `items/facetId` from the response with the `200` status
  - removed the optional property `items/label` from the response with the `200` status
  - removed the optional property `items/predicate` from the response with the `200` status
  - …4 more

[Operation history](https://skmtc.dev/tetherless-world/apis/whyis/changes/%3Fview=facets/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)
