@apify/n8n-nodes-apify
Version:
n8n nodes for Apify
22 lines • 995 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.properties = exports.option = exports.name = void 0;
const properties_1 = require("./properties");
const hooks_1 = require("./hooks");
exports.name = 'Put items';
const rawOption = {
name: 'Put Items',
value: 'Put items',
action: 'Put items',
description: 'Appends an item or an array of items to the end of the dataset The POST payload is a JSON object or a JSON array of objects to save into the dataset IMPORTANT The limit of request payload size for the dataset is 5 MB If the array exceeds the size you ll need to split it into a number of smaller arrays',
routing: {
request: {
method: 'POST',
url: '=/v2/datasets/{{$parameter["datasetId"]}}/items',
},
},
};
const { properties, option } = (0, hooks_1.runHooks)(rawOption, properties_1.properties);
exports.properties = properties;
exports.option = option;
//# sourceMappingURL=index.js.map