ジョブの実行履歴の取得
get
/iam/governance/selfservice/api/v1/scheduler/jobs/{jobName}/history
ジョブの実行履歴詳細のページ区切りリストを返します。
リクエスト
パス・パラメータ
- jobName: string
ジョブの名前。
問合せパラメータ
- limit: integer
返されるアイテムの数
- offset: string
結果セットの収集開始前にスキップするアイテムの数
- orderBy: string
ソート・フィールドとソート順序の書式は「field:order」です。「field」の使用可能な値は、*startTime*、*endTime*および*status*です。「order」の使用可能な値は*desc*および*asc*です。
レスポンス
サポートされているメディア・タイプ
- application/json
200レスポンス
OK
ネストされたスキーマ: History
型:
ソースを表示
object
- customStatus(optional): string
- errorMessage(optional): string
- exceptionObject(optional): string
- id(optional): integer(int32)
- jobEndTime(optional): string(date-time)
書式: yyyy-MM-dd'T'HH:mm:ss'Z'
- jobName(optional): string
- jobStartTime(optional): string(date-time)
書式: yyyy-MM-dd'T'HH:mm:ss'Z'
- params(optional): array params
- status(optional): string
指定可能な値:
[ "STOPPED", "RUNNING", "INTERRUPTED", "FAILED" ]
400レスポンス
入力が無効です
例
次の例は、cURLを使用してGETリクエストを発行することにより、ジョブの実行履歴詳細のページ区切りリストを取得する方法を示しています。ここに示す情報は、擬似システムを使用した場合のものであり、プロトタイプとして提供しています。
cURLの例
curl -i -X GET -u username:password \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ 'http://pseudo.com/iam/governance/selfservice/api/v1/scheduler/jobs/Catalog Synchronization Job/history?offset=0'
レスポンス本文の例
次の例は、ジョブの実行履歴詳細のリストのリクエストに対するJSONレスポンスを示しています:
{ "links": [ { "rel": "self", "href": "http://pseudo.com/iam/governance/selfservice/api/v1/scheduler/jobs/Catalog%20Synchronization%20Job/history" }, { "rel": "self", "href": "http://pseudo.com/iam/governance/selfservice/api/v1/scheduler/jobs/Catalog%20Synchronization%20Job/history?offset=0&limit=10" }, { "rel": "first", "href": "http://pseudo.com/iam/governance/selfservice/api/v1/scheduler/jobs/Catalog%20Synchronization%20Job/history?offset=1&limit=10" }, { "rel": "prev", "href": "http://pseudo.com/iam/governance/selfservice/api/v1/scheduler/jobs/Catalog%20Synchronization%20Job/history?offset=1&limit=10" }, { "rel": "next", "href": "http://pseudo.com/iam/governance/selfservice/api/v1/scheduler/jobs/Catalog%20Synchronization%20Job/history?offset=10&limit=10" } ], "count": 10, "hasMore": true, "totalResult": 218, "histories": [ { "id": 20808, "jobName": "Catalog Synchronization Job", "infotype": "S", "jobStartTime": "2022-08-23T07:13:51Z", "jobEndTime": "2022-08-23T07:13:51Z", "status": "STOPPED", "params": { "Process Entitlements": "true", "Mode": "Incremental", "Update Date": "", "Process Roles": "false", "Process Application Instances": "true", "File Path": "", "Updated Date": "08/23/2022 06:58:51" } }, { "id": 20801, "jobName": "Catalog Synchronization Job", "infotype": "S", "jobStartTime": "2022-08-23T06:58:51Z", "jobEndTime": "2022-08-23T06:58:51Z", "status": "STOPPED", "params": { "Process Entitlements": "true", "Mode": "Incremental", "Update Date": "", "Process Roles": "false", "Process Application Instances": "true", "File Path": "", "Updated Date": "08/23/2022 06:43:51" } }, { "id": 20789, "jobName": "Catalog Synchronization Job", "infotype": "S", "jobStartTime": "2022-08-23T06:43:51Z", "jobEndTime": "2022-08-23T06:43:51Z", "status": "STOPPED", "params": { "Process Entitlements": "true", "Mode": "Incremental", "Update Date": "", "Process Roles": "false", "Process Application Instances": "true", "File Path": "", "Updated Date": "08/23/2022 06:28:51" } }, { "id": 20781, "jobName": "Catalog Synchronization Job", "infotype": "S", "jobStartTime": "2022-08-23T06:28:51Z", "jobEndTime": "2022-08-23T06:28:51Z", "status": "STOPPED", "params": { "Process Entitlements": "true", "Mode": "Incremental", "Update Date": "", "Process Roles": "false", "Process Application Instances": "true", "File Path": "", "Updated Date": "08/23/2022 06:13:51" } }, { "id": 20767, "jobName": "Catalog Synchronization Job", "infotype": "S", "jobStartTime": "2022-08-23T06:13:51Z", "jobEndTime": "2022-08-23T06:13:51Z", "status": "STOPPED", "params": { "Process Entitlements": "true", "Mode": "Incremental", "Update Date": "", "Process Roles": "false", "Process Application Instances": "true", "File Path": "", "Updated Date": "08/23/2022 05:58:51" } }, { "id": 20760, "jobName": "Catalog Synchronization Job", "infotype": "S", "jobStartTime": "2022-08-23T05:58:51Z", "jobEndTime": "2022-08-23T05:58:51Z", "status": "STOPPED", "params": { "Process Entitlements": "true", "Mode": "Incremental", "Update Date": "", "Process Roles": "false", "Process Application Instances": "true", "File Path": "", "Updated Date": "08/23/2022 05:43:51" } }, { "id": 20748, "jobName": "Catalog Synchronization Job", "infotype": "S", "jobStartTime": "2022-08-23T05:43:51Z", "jobEndTime": "2022-08-23T05:43:51Z", "status": "STOPPED", "params": { "Process Entitlements": "true", "Mode": "Incremental", "Update Date": "", "Process Roles": "false", "Process Application Instances": "true", "File Path": "", "Updated Date": "08/23/2022 05:28:51" } }, { "id": 20740, "jobName": "Catalog Synchronization Job", "infotype": "S", "jobStartTime": "2022-08-23T05:28:51Z", "jobEndTime": "2022-08-23T05:28:51Z", "status": "STOPPED", "params": { "Process Entitlements": "true", "Mode": "Incremental", "Update Date": "", "Process Roles": "false", "Process Application Instances": "true", "File Path": "", "Updated Date": "08/23/2022 05:13:51" } }, { "id": 20726, "jobName": "Catalog Synchronization Job", "infotype": "S", "jobStartTime": "2022-08-23T05:13:51Z", "jobEndTime": "2022-08-23T05:13:51Z", "status": "STOPPED", "params": { "Process Entitlements": "true", "Mode": "Incremental", "Update Date": "", "Process Roles": "false", "Process Application Instances": "true", "File Path": "", "Updated Date": "08/23/2022 04:58:51" } }, { "id": 20719, "jobName": "Catalog Synchronization Job", "infotype": "S", "jobStartTime": "2022-08-23T04:58:51Z", "jobEndTime": "2022-08-23T04:58:51Z", "status": "STOPPED", "params": { "Process Entitlements": "true", "Mode": "Incremental", "Update Date": "", "Process Roles": "false", "Process Application Instances": "true", "File Path": "", "Updated Date": "08/23/2022 04:43:51" } } ], "offset": 0, "limit": 10 }