API Reference
Generate a GitHub Actions workflow for spec0 publish
Returns a ready-to-use GitHub Actions workflow YAML that runs spec0 publish
only when the specified spec file changes.
Query Parameters
apiName?string
API name to embed in the generated workflow (e.g. payment-api). Falls back to spec filename basename if omitted.
specFilePath*string
branch?string
Default
"main"Header Parameters
X-Org-Id*string
Format
uuidResponse Body
application/json
curl -X GET "https://loading/api-management/cli/v1/ci-config?specFilePath=string" \ -H "X-Org-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"workflowYaml": "string",
"filePath": ".github/workflows/spec0-publish.yml"
}