Knowledge bases / Update

Updates one Knowledge Base entry.

Route: /api/{tenant:minlength(2)}/v{version:apiVersion}/knowledge_bases/{id}

Method: PUT

Authorisation: Minimum role: USER

Request Arguments
Name Type Source
idInt32
inputDTO_knowledge_baseBody

  Request body example

Response object

Response status: 200 (OK)

Response type: DTO_knowledge_base

Wrapper: DTO_response_wrap

Other response statuses: 400 (BadRequest), 403 (Forbidden)

  Response body example

DTO_knowledge_base
NameTypeReadOnlyDescription
created_byDTO_reference_userReadOnlyCreated by
last_updated_byDTO_reference_userReadOnlyLast updated by
categoryDTO_referenceCategory
group_accessDTO_group_access[]Group access
sys_tagsDTO_reference[]Label can be used on POST/PUT to create new tags
sys_attachmentsDTO_reference_attachment[]Sys attachments
idInt32ReadOnlyId
unique_keyStringUnique key
createdDateTimeReadOnlyCreated
last_updatedDateTimeReadOnlyLast updated
sys_subjectStringSys subject
sys_content_richDTO_rich_textSys content rich
sys_content_rich_draftDTO_rich_textSys content rich draft
publishedBooleanPublished
view_countInt32View count
rate_up_countInt32Rate up count
rate_down_countInt32Rate down count
privacyENUM privacyPrivacy
highest_group_permissionENUM group_permissionReadOnlyHighest group permission
DTO_reference_user
NameTypeReadOnlyDescription
profile_picStringReadOnlyProfile pic
emailStringReadOnlyEmail
idInt32Id
labelObjectReadOnlyLabel
DTO_reference
NameTypeReadOnlyDescription
idInt32The id of the reference
labelObjectReadOnlyName/Label from referenced object.
DTO_group_access
NameTypeReadOnlyDescription
permissionENUM group_permissionPermission
idInt32Id
labelObjectReadOnlyLabel
DTO_reference_attachment
NameTypeReadOnlyDescription
size_kbInt32ReadOnlySize kb
statusENUM attachment_statusReadOnlyStatus
status_messageStringReadOnlyStatus message
download_urlStringReadOnlyDownload url
idInt32Id
labelObjectReadOnlyLabel
DTO_rich_text
NameTypeReadOnlyDescription
plain_previewStringReadOnlyPlain preview
htmlStringHtml
editorjsDTO_editorjsEditorjs
read_minutesInt32Read minutes
DTO_editorjs
NameTypeReadOnlyDescription
timeInt64Time
versionStringVersion
blocksDTO_editorjs_block[]Blocks
DTO_editorjs_block
NameTypeReadOnlyDescription
idStringId
typeStringType
dataObjectData
ENUM group_permission
ValueNameDescription
0UNKNOWNUNKNOWN
1READRead only
2EDITEdit
3FULLFull
ENUM attachment_status
ValueNameDescription
0UNKNOWNUNKNOWN
1UNAVAILABLEUNAVAILABLE, processing in progress
2OKOK
3WARNINGWARNING
4ERRORERROR
ENUM privacy
ValueNameDescription
0UNKNOWNUNKNOWN
1PRIVATEPRIVATE
2PUBLICPUBLIC