You are here: Home > API Reference > Platform > Bulk Tasks > Edge > Add new bulkTask (for edge runners)

Add new bulkTask (for edge runners)

Required Permission: base.bulk.management.create

Add new bulkTask (for edge runners)

POST
https://api.applivery.io/v1/organizations/{organizationId}/bulk-tasks/edge/create

Request

Send your API key in the request header authorization
Example: Authorization: Bearer <token>

organizationId string
required
Match pattern: ^(([a-fA-F0-9]{24})|([a-zA-Z0-9\\-]{3,}))$

Body Params application/json
file object required
mimetype string required
≤ 128 characters
bucket string required
≤ 128 characters
key string required
≤ 128 characters
location string required
≤ 256 characters
originalName string required
≤ 128 characters
size integer required
≥ 0 · ≤ 9007199254740991
storageProviderId string required
Match pattern: ^[a-fA-F0-9]{24}$
checksum string required
≤ 256 characters
action string required
≤ 128 characters
config object optional
override any optional
{
    "file": {
        "mimetype": "string",
        "bucket": "string",
        "key": "string",
        "location": "string",
        "originalName": "string",
        "size": 0,
        "storageProviderId": "string",
        "checksum": "string"
    },
    "action": "string",
    "config": {
        "override": true
    }
}

Responses

200 Response application/json
status boolean required
data object required
id string optional
Match pattern: ^[a-fA-F0-9]{24}$
status string optional
pending created inProgress completed failed
config object optional
override any optional
file object optional
originalName string optional
≤ 256 characters
mimetype string optional
≤ 128 characters
size integer optional
≥ 0 · ≤ 9007199254740991
bucket string optional
≤ 256 characters
key string optional
≤ 256 characters
location string optional
≤ 256 characters
region string optional
≤ 128 characters
storageProviderId string optional
Match pattern: ^[a-fA-F0-9]{24}$
checksum string optional
≤ 256 characters
action string optional
≤ 1000 characters
report object optional
numItems number optional
numInserts number optional
numUpdates number optional
numSkips number optional
numErrors number optional
skippedLines array [object] optional
erroredLines array [object] optional
error string optional
createdBy object optional
id string optional
Match pattern: ^[a-fA-F0-9]{24}$
email string optional
≤ 256 characters · Match pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$ · Format: email
firstName string optional
≤ 128 characters
lastName string optional
≤ 128 characters
fullName string optional
≤ 128 characters
picture string optional
updatedAt string optional
createdAt string optional
{
    "status": true,
    "data": {
        "id": "string",
        "status": "pending",
        "config": {
            "override": true
        },
        "file": {
            "originalName": "string",
            "mimetype": "string",
            "size": 0,
            "bucket": "string",
            "key": "string",
            "location": "string",
            "region": "string",
            "storageProviderId": "string",
            "checksum": "string"
        },
        "action": "string",
        "report": {
            "numItems": 0,
            "numInserts": 0,
            "numUpdates": 0,
            "numSkips": 0,
            "numErrors": 0,
            "skippedLines": [
                {
                    "line": 0
                }
            ],
            "erroredLines": [
                {
                    "line": 0,
                    "reason": "string"
                }
            ]
        },
        "error": "string",
        "createdBy": {
            "id": "string",
            "email": "[email protected]",
            "firstName": "string",
            "lastName": "string",
            "fullName": "string",
            "picture": "string"
        },
        "updatedAt": "string",
        "createdAt": "string"
    }
}
401 Response application/json
status boolean optional
false
error object optional
code number optional
4004
message string optional
Invalid Token
{
    "status": false,
    "error": {
        "code": 4002,
        "message": "No auth token"
    }
}
404 Response application/json
status boolean optional
false
error object optional
code number optional
3001
message string optional
Entity not found
{
    "status": false,
    "error": {
        "code": 3001,
        "message": "Entity not found"
    }
}
Was this page helpful?