Update Content
connectwisdomservice_update_content | R Documentation |
Updates information about the content¶
Description¶
Updates information about the content.
Usage¶
connectwisdomservice_update_content(contentId, knowledgeBaseId,
metadata, overrideLinkOutUri, removeOverrideLinkOutUri, revisionId,
title, uploadId)
Arguments¶
contentId |
[required] The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN. |
knowledgeBaseId |
[required] The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN |
metadata |
A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Wisdom, you can store an external version identifier as metadata to utilize for determining drift. |
overrideLinkOutUri |
The URI for the article. If the knowledge base has a templateUri,
setting this argument overrides it for this piece of content. To remove
an existing |
removeOverrideLinkOutUri |
Unset the existing |
revisionId |
The |
title |
The title of the content. |
uploadId |
A pointer to the uploaded asset. This value is returned by
|
Value¶
A list with the following syntax:
list(
content = list(
contentArn = "string",
contentId = "string",
contentType = "string",
knowledgeBaseArn = "string",
knowledgeBaseId = "string",
linkOutUri = "string",
metadata = list(
"string"
),
name = "string",
revisionId = "string",
status = "CREATE_IN_PROGRESS"|"CREATE_FAILED"|"ACTIVE"|"DELETE_IN_PROGRESS"|"DELETE_FAILED"|"DELETED"|"UPDATE_FAILED",
tags = list(
"string"
),
title = "string",
url = "string",
urlExpiry = as.POSIXct(
"2015-01-01"
)
)
)
Request syntax¶
svc$update_content(
contentId = "string",
knowledgeBaseId = "string",
metadata = list(
"string"
),
overrideLinkOutUri = "string",
removeOverrideLinkOutUri = TRUE|FALSE,
revisionId = "string",
title = "string",
uploadId = "string"
)