/api/v1/projects/{projectId}/sdk/triggerTrigger an SDK build
Triggers an asynchronous SDK build of the current project spec for the requested languages. Supply languages; you can also set shared preferences, per-language languagePreferences, a semantic version, or a releaseRevision. Poll listSdkBuilds until the build reaches a final status, then retrieve its artifacts with listSdkBuildArtifacts.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
The project's unique identifier, obtained from listProjects.
SDK build configuration. languages is required; the other fields let you set generator options and build version details.
Overrides per language, merged over preferences. Keyed by language.
Languages to build: typescript, python, go, java, ruby, php, rust, swift, kotlin, or dart. Include at least one language.
Generator options, the same ones SDK Studio saves.
The SDK Studio release revision to build. The build is refused if it has changed.
The semantic version to give the SDKs.
buildId and a message confirming that the build was queued.A 400 is returned when request validation fails; a 401 when the API key is missing or invalid; a 403 when the plan does not include the requested number of languages or a language is not active on the subscription; a 404 when the project or resource does not exist in the organisation; and a 409 when there is no current spec or the SDK release changes while the build is queued. The projectId path parameter must identify a project in the organisation. languages must contain at least one supported language, version must match the specified semantic version format, and releaseRevision must be at least 1.