Create API Product Version
Creates a version of an API product.
Request body
Example request
{
"name": "v1",
"publish_status": "unpublished",
"labels": {
"env": "test"
},
"gateway_service": {
"id": "09b4786a-3e48-4631-8f6b-62d1d8e1a7f3",
"control_plane_id": "e4d9ebb1-26b4-426a-b00e-cb67044f3baf"
}
}Response
API product
Example response
{
"id": "9f5061ce-78f6-4452-9108-ad7c02821fd5",
"name": "FirstVersion",
"gateway_service": {
"id": "09b4786a-3e48-4631-8f6b-62d1d8e1a7f3",
"runtime_group_id": "e4d9ebb1-26b4-426a-b00e-cb67044f3baf",
"control_plane_id": "e4d9ebb1-26b4-426a-b00e-cb67044f3baf"
},
"publish_status": "unpublished",
"labels": {
"env": "test"
},
"auth_strategy_sync_errors": [
{
"plugin_name": "konnect-application-auth",
"value": "plugin_sync_error_comm",
"message": "Unable to connect to the control plane to update plugin"
}
],
"portals": [
{
"portal_id": "35a2624c-49fc-4764-99e1-224ed819f200",
"portal_name": "Developer Portal",
"portal_product_version_id": "35a2624c-49fc-4764-99e1-224ed819f200",
"publish_status": "published",
"application_registration_enabled": true,
"auth_strategies": [
{
"id": "9f5061ce-78f6-4452-9108-ad7c02821fd5",
"name": "Key Auth"
}
]
}
],
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
Changed in 7 of the 52 revisions of this API.1048
- ●
added the new
typeenum value to theallOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterStandard]/ruleresponse property for the response status400response-property-enum-value-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ▲
the response property
allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterChoiceItem]/sourcebecame nullable for the status400response-property-became-nullable
- ▲
the response property
allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterDependentItem]/sourcebecame nullable for the status400response-property-became-nullable
- ▲
the response property
allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterMaximumLength]/sourcebecame nullable for the status400response-property-became-nullable
- ▲
the response property
allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterMinimumLength]/sourcebecame nullable for the status400response-property-became-nullable
- ▲
the response property
allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterStandard]/sourcebecame nullable for the status400response-property-became-nullable
- ▲
the response property
gateway_service/runtime_group_idbecame nullable for the status201response-property-became-nullable
- ▲
the response property
labels/additionalProperties/became nullable for the status201response-property-became-nullable
- ○
the request property
labels/additionalProperties/became nullablerequest-property-became-nullable
- ○
the
deprecatedrequest property default valuefalsewas addedrequest-property-default-value-added
- ○
the
publish_statusrequest property default valueunpublishedwas addedrequest-property-default-value-added
This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the request property
labels/additionalProperties/became not nullablerequest-property-became-not-nullable
This revision also has 40 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the response property
labels/additionalProperties/became nullable for the status201response-property-became-nullable
- ○
the request property
labels/additionalProperties/became nullablerequest-property-became-nullable
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
added the new
missing_referenceenum value to theallOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterStandard]/ruleresponse property for the response status400response-property-enum-value-added
- ○
added the non-success response with the status
409response-non-success-status-added
- ●
- ▲
added
InvalidParameterMaximumLengthto theallOf[subschema #2]/invalid_parameters/items/response propertyoneOflist for the response status400response-property-one-of-added
- ●
added the new
minenum value to theallOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterMinimumLength]/ruleresponse property for the response status400response-property-enum-value-added
- ●
added the new
min_itemsenum value to theallOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterMinimumLength]/ruleresponse property for the response status400response-property-enum-value-added
- ○
removed the
max_lengthenum value from theallOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterStandard]/ruleresponse property for the response status400response-property-enum-value-removed
This revision also has 88 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the new optional request property
labelsnew-optional-request-property
- ○
added the required property
labelsto the response with the201statusresponse-required-property-added
This revision also has 27 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○