feat(core): Improvements/overhaul for nodes working with binary data (#7651)

Github issue / Community forum post (link here to close automatically):

---------

Co-authored-by: Giulio Andreini <andreini@netseven.it>
Co-authored-by: Marcus <marcus@n8n.io>
This commit is contained in:
Michael Kret
2024-01-03 13:08:16 +02:00
committed by GitHub
parent 259323b97e
commit 5e16dd4ab4
119 changed files with 4477 additions and 1201 deletions

View File

@@ -247,7 +247,7 @@ export class HttpRequestV2 implements INodeType {
description: 'Name of the property to which to write the response data',
},
{
displayName: 'Binary Property',
displayName: 'Put Output File in Field',
name: 'dataPropertyName',
type: 'string',
default: 'data',
@@ -257,7 +257,7 @@ export class HttpRequestV2 implements INodeType {
responseFormat: ['file'],
},
},
description: 'Name of the binary property to which to write the data of the read file',
hint: 'The name of the output binary field to put the file in',
},
{
@@ -412,7 +412,7 @@ export class HttpRequestV2 implements INodeType {
// Body Parameter
{
displayName: 'Send Binary Data',
displayName: 'Send Binary File',
name: 'sendBinaryData',
type: 'boolean',
displayOptions: {
@@ -429,7 +429,7 @@ export class HttpRequestV2 implements INodeType {
description: 'Whether binary data should be send as body',
},
{
displayName: 'Binary Property',
displayName: 'Input Binary Field',
name: 'binaryPropertyName',
type: 'string',
required: true,
@@ -443,8 +443,9 @@ export class HttpRequestV2 implements INodeType {
requestMethod: ['PATCH', 'POST', 'PUT'],
},
},
hint: 'The name of the input binary field containing the file to be uploaded',
description:
'Name of the binary property which contains the data for the file to be uploaded. For Form-Data Multipart, they can be provided in the format: <code>"sendKey1:binaryProperty1,sendKey2:binaryProperty2</code>',
'For Form-Data Multipart, they can be provided in the format: <code>"sendKey1:binaryProperty1,sendKey2:binaryProperty2</code>',
},
{
displayName: 'Body Parameters',