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 extends object
Returns
RestCommand
<SchemaSnapshotOutput
, Schema
>
Returns the JSON object containing schema details.