Skip to main content
interface CreateJobRequest
data: string;
data_str: string;
endpoint: string;
options?: Record<string, string>;
request_encoding?: string;
data: string

Binary-encoded payload for the job to be run asynchronously. The payload must contain the relevant input parameters for the endpoint indicated in endpoint. Please see the documentation for the appropriate endpoint to see what values must (or can) be specified. If this parameter is used, then request_encoding must be binary or snappy.

data_str: string

JSON-encoded payload for the job to be run asynchronously. The payload must contain the relevant input parameters for the endpoint indicated in endpoint. Please see the documentation for the appropriate endpoint to see what values must (or can) be specified. If this parameter is used, then request_encoding must be json.

endpoint: string

Indicates which endpoint to execute, e.g. ‘/alter/table’.

options?: Record<string, string>

Optional parameters.

request_encoding?: string

The encoding of the request payload for the job.