DatasetUsagesResponse
Reverse-lookup of ontology resources backed by a dataset.
entity_types object[]
Array [
sink_idSink Id (string)required
EntitySink or RelationSink ID
resource_idResource Id (string)required
EntityType or RelationType ID
resource_nameResource Name (string)required
resource_alias object
anyOf
- string
- null
string
collection_id object
Identifier of the collection that contains the ontology resource, or null when the resource is not associated with a collection.
- string
- null
string
kindKind (string)required
Possible values: [entity_type, relation_type]
]
relation_types object[]
Array [
sink_idSink Id (string)required
EntitySink or RelationSink ID
resource_idResource Id (string)required
EntityType or RelationType ID
resource_nameResource Name (string)required
resource_alias object
anyOf
- string
- null
string
collection_id object
Identifier of the collection that contains the ontology resource, or null when the resource is not associated with a collection.
- string
- null
string
kindKind (string)required
Possible values: [entity_type, relation_type]
]
totalTotal (integer)required
Sum of entity_types and relation_types counts
DatasetUsagesResponse
{
"entity_types": [
{
"sink_id": "string",
"resource_id": "string",
"resource_name": "string",
"resource_alias": "string",
"collection_id": "string",
"kind": "entity_type"
}
],
"relation_types": [
{
"sink_id": "string",
"resource_id": "string",
"resource_name": "string",
"resource_alias": "string",
"collection_id": "string",
"kind": "entity_type"
}
],
"total": 0
}