Interface: CommitVocabularyImportRequest
@kortexya/reasoninglayer / CommitVocabularyImportRequest
Interface: CommitVocabularyImportRequest
Section titled “Interface: CommitVocabularyImportRequest”Defined in: src/types/vocabulary.ts:1603
Body of POST /api/v1/vocabulary/imports/{import_id}/commit: one candidate
revision.
Remarks
Section titled “Remarks”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).
Properties
Section titled “Properties”candidateId?
Section titled “candidateId?”
optionalcandidateId?:string
Defined in: src/types/vocabulary.ts:1609
The candidate to save a revision of (UUID).
changeReason
Section titled “changeReason”changeReason:
string
Defined in: src/types/vocabulary.ts:1605
Why, 1 to 2000 characters.
decisions?
Section titled “decisions?”
optionaldecisions?: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).
title?
Section titled “title?”
optionaltitle?:string
Defined in: src/types/vocabulary.ts:1607
The new candidate’s title (required without candidateId).