Package ai.extend.resources.editschemas
Class RawEditSchemasClient
- java.lang.Object
-
- ai.extend.resources.editschemas.RawEditSchemasClient
-
public class RawEditSchemasClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description RawEditSchemasClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtendClientHttpResponse<EditSchemaGenerationResponse>generate(EditSchemasGenerateRequest request)Detect fields in a PDF form and synchronously return an edit schema payload.ExtendClientHttpResponse<EditSchemaGenerationResponse>generate(EditSchemasGenerateRequest request, RequestOptions requestOptions)Detect fields in a PDF form and synchronously return an edit schema payload.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
RawEditSchemasClient
public RawEditSchemasClient(ClientOptions clientOptions)
-
-
Method Detail
-
generate
public ExtendClientHttpResponse<EditSchemaGenerationResponse> generate(EditSchemasGenerateRequest request)
Detect fields in a PDF form and synchronously return an edit schema payload.Use this endpoint when you want Extend to bootstrap an
EditRootJSONschema from an existing form, optionally mapping an existing schema onto the detected fields.This endpoint returns the generated schema directly. There are no schema generation run resources to poll or delete.
For more details, see the Generate Edit Schema guide and the Edit File guide.
-
generate
public ExtendClientHttpResponse<EditSchemaGenerationResponse> generate(EditSchemasGenerateRequest request, RequestOptions requestOptions)
Detect fields in a PDF form and synchronously return an edit schema payload.Use this endpoint when you want Extend to bootstrap an
EditRootJSONschema from an existing form, optionally mapping an existing schema onto the detected fields.This endpoint returns the generated schema directly. There are no schema generation run resources to poll or delete.
For more details, see the Generate Edit Schema guide and the Edit File guide.
-
-