This section describes the endpoint used to upload JSON data to a single ETL step of a job without executing the job.
Authentication & Authorization
- Use application tokens to authenticate your request using these instructions: Authorization & Authentication
- Required application permission on Permission Token: Update Model
URI
Request URI
PUT https://{region}.vena.io/api/public/v1/etl/jobs/{jobId}/inputs/{inputId}
URI Parameter
Name | Required | Type | Description |
---|---|---|---|
jobid | Yes | string | The job ID |
inputid | Yes | string | The input ID of the ETL step |
Headers
Content-type: application/json
Request Body
Name | Type | Description |
---|---|---|
data | JSON array | The data to be uploaded. |
Response
Name | Type | Description |
---|---|---|
204 No Content | N/A | N/A |
Examples
Sample Request
curl https://us2.vena.io/api/public/v1/etl/jobs/1113346477561741312/inputs/111438645660745728 -X PUT -H "Content-Type: application/json" -u 1112140682300620800.1:51fd255f934040649f98d2a74d1c4391 -d'{"data": [[1, 2, 3], [4, 5, 6]]}'
Sample Payload
{
"data": [
["1", "2", "3"],
["4", "5", "6"],
["7", "8", "9"]
]
}
Sample Response
Status code: 204 No Content