Directus / @directus/sdk / rest / schemaSnapshot
Function: schemaSnapshot() ​
schemaSnapshot<
Schema
>():RestCommand
<SchemaSnapshotOutput
,Schema
>
Retrieve the current schema. This endpoint is only available to admin users.
Type Parameters ​
• Schema
Returns ​
RestCommand
<SchemaSnapshotOutput
, Schema
>
Returns the JSON object containing schema details.