Create a new version

Adds an immutable version at max(versionNumber) + 1. content is
validated against the catalog for the policy's action.

The policy is not repointed: it keeps serving the version it
pointed at before, and executions keep running that one. Making the new
version live is a separate call to
PUT /api/policies/{policyId}/current-version.

Path Params
uuid
required
Body Params
content
object
required
string
Headers
string
required
^\d+\.\d+\.\d+$

The version of the Quant Flow API the request follows, as major.minor.patch (for example 1.0.0). The request is interpreted, and the response shaped, according to that version.

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json