Schemas are not updated after uploading file using curl

Hello Team, I’d like to report that after sending file using API my schema is not updated (it should have new description). Output after sending the request as follows:

{"data":{"counters":{"endpointCreated":0,"endpointUpdated":0,"endpointIgnored":0,"endpointFailed":0,"endpointFolderCreated":0,"endpointFolderUpdated":0,"endpointFolderIgnored":0,"endpointFolderFailed":0,"schemaCreated":0,"schemaUpdated":0,"schemaIgnored":0,"schemaFailed":0,"schemaFolderCreated":0,"schemaFolderUpdated":0,"schemaFolderIgnored":0,"schemaFolderFailed":0,"securitySchemeCreated":0,"securitySchemeUpdated":0,"securitySchemeIgnored":0,"securitySchemeFailed":0,"securitySchemeFolderCreated":0,"securitySchemeFolderUpdated":0,"securitySchemeFolderIgnored":0,"securitySchemeFolderFailed":0}}}

When I use the website everything’s correct as it should be. What can I do to have the same result using API?
I also use values stored in json file as follows:

  "options": {
    "targetEndpointFolderId": 0,
    "targetSchemaFolderId": 0,
    "endpointOverwriteBehavior": "OVERWRITE_EXISTING",
    "schemaOverwriteBehavior": "OVERWRITE_EXISTING",
    "updateFolderOfChangedEndpoint": false,
    "prependBasePath": false
  }

It might be related to the input field content you’re using for the API import. Could you share the input field value (after removing sensitive information) or provide a minimal sample of your input data so we can investigate?

Of course! Here’s the json that I’m attaching in curl request. Normally it’s much bigger, but that’s one of schemas that isn’t updated after the successful request is done. Moreover, I’ve attached a screenshot which contains that specified model in Apidog. Descriptions are empty.
message.txt|nullxnull

It seems the KrsRdfRecordModel referenced in your file doesn’t exist, which would prevent the description from being imported. However, when the referenced model is properly included, the description should import correctly as shown in my screenshot.

Since your screenshot indicates the description still didn’t import even with the referenced model present (which I couldn’t reproduce), could you please share a more complete version of your import file for further investigation?

It does exist, when I’m importing the exactly same file using UI descriptions are set as it should be. What else should I attach to import file for you to reproduce the problem?

The import file should include all referenced data schemas. Based on my tests, descriptions are correctly set when importing through the open api. If you can still reproduce the issue, please share the complete file with us for further investigation.