ジョブの実行履歴の取得

get

/iam/governance/selfservice/api/v1/scheduler/jobs/{jobName}/history

ジョブの実行履歴詳細のページ区切りリストを返します。

リクエスト

パス・パラメータ
問合せパラメータ
  • 返されるアイテムの数
  • 結果セットの収集開始前にスキップするアイテムの数
  • ソート・フィールドとソート順序の書式は「field:order」です。「field」の使用可能な値は、*startTime*、*endTime*および*status*です。「order」の使用可能な値は*desc*および*asc*です。
先頭に戻る

レスポンス

サポートされているメディア・タイプ

200レスポンス

OK
本文()
ルート・スキーマ: schema
型: object
ソースを表示
ネストされたスキーマ: History
型: object
ソースを表示
ネストされたスキーマ: params
型: array
ソースを表示
ネストされたスキーマ : items
型: object
ソースを表示

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
}
先頭に戻る