Skip to content

Interface: CommitVocabularyImportRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / CommitVocabularyImportRequest

Defined in: src/types/vocabulary.ts:1603

Body of POST /api/v1/vocabulary/imports/{import_id}/commit: one candidate revision.

Without candidateId the commit creates a new candidate (title required). With it, it writes revision n+1 of that candidate, and the call needs ifMatch (VocabularyImportCommitOptions).

optional candidateId?: string

Defined in: src/types/vocabulary.ts:1609

The candidate to save a revision of (UUID).


changeReason: string

Defined in: src/types/vocabulary.ts:1605

Why, 1 to 2000 characters.


optional decisions?: VocabularyResourceDecision[]

Defined in: src/types/vocabulary.ts:1615

One decision per reconciliation entry; an exact_source_match entry defaults to match_existing of its target. An entry left undecided is refused 422 reconciliation_undecided (see refusal.undecidedSourceKeys).


optional title?: string

Defined in: src/types/vocabulary.ts:1607

The new candidate’s title (required without candidateId).