Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Get a single descriptor

Returns the descriptor (Ref) of a root entity for a given type and ID (or name).

JSON-RPCRESTParametersReturns
data/get/descriptorGET data/{type}/{id}/info@type, @idRef
data/get/descriptor–@type, nameRef

Examples

Python IPC

import olca_ipc as ipc
import olca_schema as o

client = ipc.Client()
mass_ref = client.get_descriptor(o.FlowProperty, name="Mass")
print(mass_ref)
# Ref(
#   id='93a60a56-a3c8-11da-a746-0800200b9a66',
#   category='Technical flow properties',
#   name='Mass',
# ...