Deploy Pyflink Job
Deploy a PyFlink job.
Either upload a Python file as multipart OR provide inline python_code as a form field. Form fields: name, parallelism (default 1), job_args (JSON string), python_code (alternative to file).
POST
/flink_jobs/pyflinkAuthorization
AuthorizationBearer token · headerrequiredRequest body
multipart/form-datapython_filestring | anyShow propertiesHide properties
Any of:
string
stringany
anyResponses
200
Successful Response
_idstringrequirednamestringrequiredjob_typeapp__models__api__flink_jobs_api_models__FlinkJobTypeEnumrequiredAllowed:
pyflinkjarstatusFlinkJobStatusEnumrequiredAllowed:
CREATEDDEPLOYINGRUNNINGCANCELLINGCANCELLEDFAILEDFINISHEDflink_job_namestringrequiredflink_job_idstring | anyShow propertiesHide properties
Any of:
string
stringany
anyparallelismintegerdefault: 1
created_bystring | anyShow propertiesHide properties
Any of:
string
stringany
anycreated_timestampstring<date-time> | anyShow propertiesHide properties
Any of:
string<date-time>
string<date-time>any
anyupdated_timestampstring<date-time> | anyShow propertiesHide properties
Any of:
string<date-time>
string<date-time>any
any422
Validation Error
detailValidationError[]Show propertiesHide properties
Array of
ValidationErrorlocstring | integer[]requiredShow propertiesHide properties
Array of
string | integerAny of:
string
stringinteger
integermsgstringrequiredtypestringrequiredinputanyctxobject