Retrieve an entity by id

Returns the details for a given entity in the KG (optional as defined in a DS)

This endpoint retrieves an entity using its unique ID (optional as defined in a DS). Entities are identified by a unique and global URI identifer. The URI is composed of two parts, the namespace and the ID. The ID is part of the path, and the namespace is included as a query parameter.

Example

If you have a URI like http://example.com/ns1/ns2/item123:

  • The namespace (ns) is everything before the last slash ("/") or hash ("#"): http://example.com/ns1/ns2
  • The ID (id) is the part after the last slash: item123

You would call the endpoint like this:

  • Path: .../things/item123
  • Query parameter: ?ns=http://example.com/ns1/ns2

So the full URL for the API call would be:

https://proxy.opendatagermany.io/api/ts/v1/kg/things/item123?ns=http://example.com/ns1/ns2
Language
Click Try It! to start a request and see the response here!