Repository: kylin Updated Branches: refs/heads/document f950fa240 -> 6e8f688cf
Update RestAPI about get job status Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/6e8f688c Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/6e8f688c Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/6e8f688c Branch: refs/heads/document Commit: 6e8f688cfe462fd5756da6860228a71908b63d28 Parents: f950fa2 Author: lidongsjtu <[email protected]> Authored: Mon Mar 28 21:37:23 2016 +0800 Committer: lidongsjtu <[email protected]> Committed: Mon Mar 28 21:37:23 2016 +0800 ---------------------------------------------------------------------- website/_docs/howto/howto_use_restapi.md | 10 ++++++++++ website/_docs15/howto/howto_use_restapi.md | 10 ++++++++++ 2 files changed, 20 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/6e8f688c/website/_docs/howto/howto_use_restapi.md ---------------------------------------------------------------------- diff --git a/website/_docs/howto/howto_use_restapi.md b/website/_docs/howto/howto_use_restapi.md index 3dba0bb..5924a2b 100644 --- a/website/_docs/howto/howto_use_restapi.md +++ b/website/_docs/howto/howto_use_restapi.md @@ -23,6 +23,7 @@ This page lists all the Rest APIs provided by Kylin; The base of the URL is `/ky * JOB * [Resume job](#resume-job) * [Discard job](#discard-job) + * [Get job status](#get-job-status) * [Get job step output](#get-job-step-output) * Metadata * [Get Hive Table](#get-hive-table) @@ -847,6 +848,15 @@ Get descriptor for specified cube instance. #### Response Sample (Same as "Resume job") +## Get Job Status +`GET /jobs/{jobId}` + +#### Path variable +* jobId - `required` `string` Job id. + +#### Response Sample +(Same as "Resume Job") + ## Get job step output `GET /{jobId}/steps/{stepId}/output` http://git-wip-us.apache.org/repos/asf/kylin/blob/6e8f688c/website/_docs15/howto/howto_use_restapi.md ---------------------------------------------------------------------- diff --git a/website/_docs15/howto/howto_use_restapi.md b/website/_docs15/howto/howto_use_restapi.md index 2d51ff4..31103b7 100644 --- a/website/_docs15/howto/howto_use_restapi.md +++ b/website/_docs15/howto/howto_use_restapi.md @@ -24,6 +24,7 @@ This page lists all the RESTful APIs provided by Kylin; The base of the URL is ` * JOB * [Resume job](#resume-job) * [Discard job](#discard-job) + * [Get job status](#get-job-status) * [Get job step output](#get-job-step-output) * Metadata * [Get Hive Table](#get-hive-table) @@ -848,6 +849,15 @@ Get descriptor for specified cube instance. #### Response Sample (Same as "Resume job") +## Get Job Status +`GET /jobs/{jobId}` + +#### Path variable +* jobId - `required` `string` Job id. + +#### Response Sample +(Same as "Resume Job") + ## Get job step output `GET /{jobId}/steps/{stepId}/output`
