Get latest version of config for a given grant
Returns the latest configuration version for a specified grant, with options to include draft versions and apply version constraints.
get/api/latestVersion
Query parameters
grantstring required
The name of the grant.
draft'include' | 'only'
Filter for draft versions.
constrainMajorinteger
Constraint for the major version. Required if constrainMinor is provided.
constrainMinorinteger
Constraint for the minor version.
Headers
x-cdp-request-idstring
A unique identifier for the request, used for tracing.
Response
Successfully retrieved the latest version.