Create a new API version
POST {{baseUrl}}/apis/:owner/:api/:version/clone
Use this operation to clone an existing API version as a new version. The new version will have the same YAML content but with updated info.version
.
Note: Comments, integrations, and codegen options are not copied to the new version. The default version also remains unchanged.
Request Body
{"version"=>"1.0.1", "private"=>false}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
""