curl --request GET \
--url https://api.streamkap.com/flink_jobs/{job_id} \
--header 'Authorization: Bearer <token>'{
"_id": "<string>",
"name": "<string>",
"job_type": "pyflink",
"status": "CREATED",
"flink_job_name": "<string>",
"flink_job_id": "<string>",
"parallelism": 1,
"created_by": "<string>",
"created_timestamp": "2023-11-07T05:31:56Z",
"updated_timestamp": "2023-11-07T05:31:56Z",
"live_status": "<string>",
"checkpoints": {},
"errors": [
{}
],
"job_args": {},
"savepoint_path": "<string>",
"error_message": "<string>"
}Get a Flink job with live status from Flink REST.
curl --request GET \
--url https://api.streamkap.com/flink_jobs/{job_id} \
--header 'Authorization: Bearer <token>'{
"_id": "<string>",
"name": "<string>",
"job_type": "pyflink",
"status": "CREATED",
"flink_job_name": "<string>",
"flink_job_id": "<string>",
"parallelism": 1,
"created_by": "<string>",
"created_timestamp": "2023-11-07T05:31:56Z",
"updated_timestamp": "2023-11-07T05:31:56Z",
"live_status": "<string>",
"checkpoints": {},
"errors": [
{}
],
"job_args": {},
"savepoint_path": "<string>",
"error_message": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response
Extended response with live Flink REST data.
pyflink, jar CREATED, DEPLOYING, RUNNING, FAILED, CANCELLED, FINISHED Live status from Flink REST API
Was this page helpful?