UploadRequest.UpdateSchemaRequest

Stay organized with collections Save and categorize content based on your preferences.
public static class UploadRequest.UpdateSchemaRequest extends UploadRequest.AbstractRequest

Request to register schema for the data source in the indexing API.

  • schemaJsonFile specifies the path to schema json file that needs to be registered.
  • validateOnly set to true if the request will be validated without side effects.

An example of UpdateSchemaReqest is:

   {
     "schemaJsonFile": "glossarySchema.json",
     "type": "schema.update",
     "validateOnly": "true"
   }
 

Inherited Field Summary

Public Constructor Summary

Inherited Method Summary

Public Constructors

public UploadRequest.UpdateSchemaRequest ()