Directus / @directus/sdk / rest / readGraphqlSdl
Function: readGraphqlSdl() ​
readGraphqlSdl<
Schema
>(scope
):RestCommand
<string
,Schema
>
Retrieve the GraphQL SDL for the current project.
Type Parameters ​
• Schema
Parameters ​
• scope: "system"
| "item"
= 'item'
Returns ​
RestCommand
<string
, Schema
>
GraphQL SDL.