Skip to content

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 ​

ParameterTypeDescription
clientClient-
parameters{ id: string; }-
parameters.idstringThe 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; }>