v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1451205197.1 KB

Creates a <code>Type</code> object.

post/v1/apis/{apiId}/types

Path parameters

apiIdstring required

The API ID.

Request body

definitionstring required
<p>The type definition, in GraphQL Schema Definition Language (SDL) format.</p> <p>For more information, see the <a href="http://graphql.org/learn/schema/">GraphQL SDL documentation</a>.</p>
format'SDL' | 'JSON' required

The type format: SDL or JSON.

Response

Success