Update SDK version to 3.3.2 and add auditVersion parameter to Data Gateway API#189
Merged
Jonny Pound (JonnyPound90) merged 3 commits intoJul 8, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request updates the Data Gateway OpenAPI spec and TypeScript SDK version to support a revised Cloud Matrix audit detail API contract, including a new required audit version selector and updated audit detail identifiers/schema.
Changes:
- Bump Data Gateway TypeScript SDK version to
3.3.2. - Update Cloud Matrix audit detail endpoint to use
{correlationId}and require aversion(component:auditVersion) query parameter. - Refactor audit detail/summary schema fields (
auditId/auditFilename→correlationId/name), addmessage, and remove obsolete fields.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/dataGateway/TypeScript/package.json | Bumps SDK package version to reflect the API contract changes. |
| specs/Data-Gateway.json | Updates the OpenAPI spec for the Cloud Matrix audit detail endpoint, parameters, and schemas/examples. |
Comments suppressed due to low confidence (1)
specs/Data-Gateway.json:275
components.parameters.auditIdappears to be unused now that the audit detail endpoint was switched tocorrelationId(no remaining$ref: #/components/parameters/auditId). Keeping unused component parameters makes the spec harder to maintain and can confuse generated SDKs.
},
"auditId": {
"description": "The unique identifier of the Cloud Matrix audit event.",
"in": "path",
"name": "auditId",
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Jonny Pound (JonnyPound90)
approved these changes
Jul 8, 2026
Jonny Pound (JonnyPound90)
deleted the
lab-2676-update-sdk-to-match-cm-audit
branch
July 8, 2026 14:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the Cloud Matrix audit detail API to improve versioning, clarify parameter naming, and enhance the audit detail schema. The changes introduce a new required version parameter, replace
auditIdwithcorrelationId, and restructure the audit detail object for better clarity and extensibility.API Endpoint and Parameter Updates:
auditIdtocorrelationIdand updated the endpoint path to/Api/CloudMatrix/Audits/{correlationId}. The endpoint now also requires an explicitversionquery parameter (auditVersion) in the formatMajor.Minor.Patch.IterationVersion(e.g.,1.2.3.1). [1] [2]Schema and Example Changes:
auditIdandauditFilenamewithcorrelationIdandname, added amessagefield, and enhanced descriptions for clarity. Updated examples to match the new schema. [1] [2]template,reasonForUpdate) from the audit detail object, streamlining the schema.1.2.3.1).SDK Version Bump:
3.3.2to reflect these API changes.