Interface: ActivateVocabularyReleaseRequest
@kortexya/reasoninglayer / ActivateVocabularyReleaseRequest
Interface: ActivateVocabularyReleaseRequest
Section titled “Interface: ActivateVocabularyReleaseRequest”Defined in: src/types/vocabulary.ts:731
Body of POST /api/v1/vocabulary/releases/{release_id}/activate.
Properties
Section titled “Properties”expectedActiveReleaseId?
Section titled “expectedActiveReleaseId?”
optionalexpectedActiveReleaseId?:string
Defined in: src/types/vocabulary.ts:738
The active release the caller read (VocabularyActiveRelease.releaseId);
absent before the first activation. The pointer is compared, not trusted.
undefined is accepted explicitly, so active.releaseId can be passed as
read, also under exactOptionalPropertyTypes.
expectedActiveRevision
Section titled “expectedActiveRevision”expectedActiveRevision:
number
Defined in: src/types/vocabulary.ts:740
The pointer revision the caller read (VocabularyActiveRelease.activeRevision).
rationale?
Section titled “rationale?”
optionalrationale?:string
Defined in: src/types/vocabulary.ts:742
Why.