Help Center/ Data Lake Insight/ API Reference/ Out-of-Date APIs/ APIs Related to Data Upload (Discarded)/ Authenticating a Created Data Uploading Job (Discarded)
Updated on 2023-11-27 GMT+08:00

Authenticating a Created Data Uploading Job (Discarded)

Function

This API is used to check whether a created data uploading job is valid and, if valid, authorize the job to upload data to DLI.

This API has been discarded and is not recommended.

URI

  • URI format

    POST /v1.0/{project_id}/uploader/authentication

  • Parameter description
Table 1 URI parameter

Parameter

Mandatory

Description

project_id

Yes

Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

Request

Table 2 Request parameters

Parameter

Mandatory

Type

Description

job_id

Yes

String

Job ID, which is used to identify a data uploading job.

Response

Table 3 Response parameters

Parameter

Type

Description

is_success

Boolean

Indicates whether the request is successfully executed. Value true indicates that the request is successfully executed.

message

String

System prompt. If execution succeeds, the parameter setting may be left blank.

mask

Array of strings

Authorization mask information.

Example

  • Example request
    {
      "job_id":"6b29eb77-4c16-4e74-838a-2cf7959e9203"
    }
  • Example response (successful request)
    {
        "is_success":"true",
        "message": "check upload id success",
        "mask":[
        "mask_str_01",
        "mask_str_02"
      ]
    }

    If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.