-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Component/s: Assets - External Import
-
Severity 2 - Major
The Asset import workflow documentation declares a step where we can upload a new schema definition or patch the existing schema using the reponse earlier as a starting point. The JSON for patching the schema can contain an iconSchema where we can define all icons to use as icons for the ObjectTypes.
However the schema-and-mapping endpoint doesn't contain icon information if the schema already has icons in use for all objecttypes.
So, if we use the reponse from schema-and-mapping to PATCH the schema, it removes all the icons from existing objectypes.
As a result, it is not possible to use the response from schema-and-mapping endpoint to do a PATCH on the schema.
Please add the icon details in the response of schema-and-mapping so that it's response can be used for PATCH without issue.