verifyJob
    • PDF

    verifyJob

    • PDF

    記事の要約

    ジョブ実行のリクエスト項目を検証します。

    POST https://dataflow.apigw.ntruss.com/api/v1/jobs/verify
    

    リクエスト

    リクエストボディ

    パラメータ名必須有無タイプ制限事項説明
    nameYesString- 先頭は英字、アンダースコア()
    - 英数字、アンダースコア(
    )、ハイフン(-)使用可能
    - 最小3文字最大20文字で入力
    ジョブ名
    nodesYesETLJobNodeジョブノード

    レスポンス

    レスポンス Status

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

    リクエスト例

    POST /api/v1/jobs/verify
    
    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}
    
    {
      "name": "data-flow",
      "nodes": [
            {
              "type": "SOURCE_OBS",
              "id": 1697776914576,
              "name": "Object Storage",
              "parentNodeIds": [],
              "regionNo": "1",
              "bucketName": "aitems",
              "prefix": "dataflow1",
              "dataType": "CSV",
              "fieldList": [
                {
                  "name": "id",
                  "type": "string"
                },
                {
                  "name": "name",
                  "type": "string"
                },
                {
                  "name": "description",
                  "type": "string"
                }
              ]
            },
            {
              "type": "TRANSFORM_FILTER",
              "id": 1697776942407,
              "name": "フィルタ",
              "parentNodeIds": [
                1697776914576
              ],
              "filterType": "AND",
              "filterConditionList": [
                {
                  "name": "name",
                  "operator": "EQ",
                  "value": "A"
                }
              ]
            },
            {
              "type": "TARGET_OBS",
              "id": 1697776948956,
              "name": "Object Storage",
              "parentNodeIds": [
                1697776942407
              ],
              "regionNo": "1",
              "bucketName": "aitems",
              "prefix": "dataflow1",
              "dataType": "CSV",
              "updateType" : "OVERWRITE",
              "fieldList": [
                {
                  "name": "id",
                  "type": "string"
                },
                {
                  "name": "name",
                  "type": "string"
                },
                {
                  "name": "description",
                  "type": "string"
                }
              ]
            }
          ]
    }
    
    

    レスポンス例

    true
    

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

    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.