Function: loadSchema()
ts
function loadSchema(
client,
parameters,
options?
): Promise<{
[key: string]: unknown;
archivedObjectCount?: number;
created?: Date;
description?: string;
id?: number;
name?: string;
objectCount?: number;
objectSchemaKey?: string;
objectTypeCount?: number;
status?: string;
updated?: Date;
}>;Defined in: src/assetsServer/api/objectSchemas.ts:35
Get a single object schema.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { id: string; } | - |
parameters.id | string | The ID of the object schema to retrieve |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; archivedObjectCount?: number; created?: Date; description?: string; id?: number; name?: string; objectCount?: number; objectSchemaKey?: string; objectTypeCount?: number; status?: string; updated?: Date; }>