getJobs
    • PDF

    getJobs

    • PDF

    記事の要約

    ジョブリストを照会します。

    GET https://dataflow.apigw.ntruss.com/api/v1/jobs?page={page}&limit={limit}
    

    リクエスト

    リクエストパラメータ

    パラメータ名必須の有無タイプ制限事項説明
    nameNoStringジョブ名
    statusNoStringRUNNABLE, RUNNING, DELETED, UNKNOWN, DRAFT, STOPPED, EDITINGジョブの状態
    pageNoNumberページ
    limitNoNumberページごとの最大数

    レスポンス

    フィールド名タイプ説明備考
    list[].jobIdStringジョブ ID
    list[].nameStringジョブ名
    list[].typeStringジョブタイプ
    list[].statusStringジョブの状態
    list[].lastExecutionStatusString最終実行状態
    list[].createdDateStringジョブ作成日
    list[].updatedDateString最終アップデート
    list[].lastExecutionDateString最終実行日
    list[].resourceIdStringリソース ID(ジョブ IDと同じ)
    list[].disabledBooleanリソース照会権限があるかどうか
    countNumber総数
    pageNumberページ
    limitNumberページごとの最大数

    レスポンスステータス

    HTTP StatusDesc
    200OK(照会完了)
    400Bad Request
    401Unauthorized
    403Forbidden
    404Not Found
    500Internal Server Error

    リクエスト例

    GET /api/v1/jobs?page=0&limit=1000
    
    Host: dataflow.apigw.ntruss.com
    x-ncp-iam-access-key: {Access key}
    x-ncp-apigw-signature-v2: {API GW signature}
    x-ncp-apigw-timestamp: {timestamp}
    
    

    レスポンス例

    
    {
      "list": [
        {
          "jobId": "5Yns7JgRt25f",
          "name": "data-flow",
          "type": "DATAFLOW",
          "status": "RUNNABLE",
          "lastExecutionStatus": "COMPLETED",
          "createdDate": "2023-10-20T13:45:15.000",
          "updatedDate": "2023-10-20T13:46:56.000",
          "lastExecutionStatus": "2023-10-20T13:46:56.000",
          "resourceId": "5Yns7JgRt25f",
          "disabled": false
        },
        {
          "jobId": "qOxHK8QR61ZB",
          "name": "test",
          "description": "",
          "type": "DATAFLOW",
          "status": "RUNNABLE",
          "lastExecutionStatus": "COMPLETED",
          "createdDate": "2023-09-18T17:45:03.000",
          "updatedDate": "2023-10-20T14:20:19.000",
          "lastExecutionStatus": "2023-10-20T13:46:56.000",
          "resourceId": "qOxHK8QR61ZB",
          "disabled": false
        }
      ],
      "count": 2,
      "page": 0,
      "limit": 1000
    }
    
    

    この記事は役に立ちましたか?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.