Skip to content

DataImportPreview

What an import of a CSV file would do.

object
entries
required

The number of entries of the file, each of which the import adds.

integer
present
required

How many of the entries the user has already.

integer
removals
required

How many things the user has of the kind that the file does not list, which an overwrite removes; 0 for a merge.

integer
skipped
required

The lines that are not entries, in line order.

Array<object>

A line of a CSV file that is not an entry.

object
line
required

The line of the file, from 1.

integer
>= 1
value
required

The line as written.

string
reason
required

invalid: the line names no account address (for bookmarks, no post URL; for domain mutes, no domain). duplicate: an earlier line names the same account, post, or domain.

string
Allowed values: invalid duplicate

Example generated

{
"entries": 1,
"present": 1,
"removals": 1,
"skipped": [
{
"line": 1,
"value": "example",
"reason": "invalid"
}
]
}

For LLMs and coding agents:llms.txt,llms-full.txt, llms-small.txt

Analytics on this site