Class AsyncRawEditSchemasClient
- java.lang.Object
-
- ai.extend.resources.editschemas.AsyncRawEditSchemasClient
-
public class AsyncRawEditSchemasClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncRawEditSchemasClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<EditSchemaGenerationResponse>>generate(EditSchemasGenerateRequest request)Deprecated: UsePOST /detect_formfor synchronous form detection orPOST /form_detection_runsfor asynchronous processing.java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<EditSchemaGenerationResponse>>generate(EditSchemasGenerateRequest request, RequestOptions requestOptions)Deprecated: UsePOST /detect_formfor synchronous form detection orPOST /form_detection_runsfor asynchronous processing.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncRawEditSchemasClient
public AsyncRawEditSchemasClient(ClientOptions clientOptions)
-
-
Method Detail
-
generate
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<EditSchemaGenerationResponse>> generate(EditSchemasGenerateRequest request)
Deprecated: UsePOST /detect_formfor synchronous form detection orPOST /form_detection_runsfor asynchronous processing.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 Detect Form guide and the Edit File guide.
-
generate
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<EditSchemaGenerationResponse>> generate(EditSchemasGenerateRequest request, RequestOptions requestOptions)
Deprecated: UsePOST /detect_formfor synchronous form detection orPOST /form_detection_runsfor asynchronous processing.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 Detect Form guide and the Edit File guide.
-
-