Referencia de la APIInputs
Create an input from a list of values
POST
Up to 500 lines, one row each, in a column named value. Tabs split a line into several values (cells pasted from a spreadsheet): columns value, value_2, value_3…, or the names on the first line with header: true.
ApiKeyAuthheader
X-Api-Key<token>application/json- body
values*array<string>One line each; empty lines are skipped
Items
1 <= itemsheader?booleanThe first line holds the column names, tab-separated
Default
falseParsed input
application/json- response
id*stringfilename*string|nullcolumns*array<string>row_count*integersample*array<>sheets*array<string>stats*curl -X POST 'https://dataflow.piloterr.com/v1/inputs/list' \
-H 'Content-Type: application/json' \
-d '{
"values": [
"asin",
"B09DFCB66S",
"B08N5WRWNW"
],
"header": true
}'Example Response
{
"id": "3f6b1c9e-5d0a-4c7e-9a51-2b8e0f4d7a13",
"filename": null,
"columns": [
"asin"
],
"row_count": 2,
"sample": [
{
"asin": "B09DFCB66S"
},
{
"asin": "B08N5WRWNW"
}
],
"sheets": [],
"stats": {
"empty_rows": 0,
"duplicate_rows": 0,
"deduplicated": false,
"row_error_count": 0,
"row_errors": []
}
}