The Data Ingestion API Reference is embedded in the Data Ingestion API reference topic using the RedoclyAPIBlock component from the Adobe I/O theme. The component configuration includes:
-
Schema path—The
srcvariable provides the path to the schema file used to generate the API reference. The schema,data-ingestion-schema-v1.yamlis maintained by engineering in this documentation repository. If the schema is moved, update the path value. -
Redocly options—Configuration options that control the functionality of the generated API reference. For details, see RedoclyAPIBlock.
NOTE: If you generate the schema locally, configuration options are provided in the .redocly.yaml file. For details, see Configure Redoc in the Redoc documentation.
-
Create a branch from the
ccdm-early-accessbranch. -
Update the
openapi/data-ingestion-schema-v1.yaml. -
Regenerate the API reference locally to test changes:
npx @redocly/cli build-docs src/openapi/data-ingestion-schema-v1.yaml --config src/openapi/.redocly.yaml --output tmp/redoc-static.html
Review the updates by opening the
tmp/redoc-static.htmlfile in your browser.NOTE: The @redocly/cli tool has limited functionality compared to the toolkit integrated in the website's infrastructure via RedoclyAPIBlock.
-
After finalizing changes, commit and push the updates.
-
Open a PR against the
ccdm-early-accessbranch and request review from the Commerce Documentation team. -
After updates are approved, a documentation team member merges the PR and publishes the updates to developer site for Early Access customers.
You can review the currently published version in the Data Ingestion API reference topic.