Skip to content

Get Content

connectwisdomservice_get_content R Documentation

Retrieves content, including a pre-signed URL to download the content

Description

Retrieves content, including a pre-signed URL to download the content.

Usage

connectwisdomservice_get_content(contentId, knowledgeBaseId)

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. URLs cannot contain the ARN.

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$get_content(
  contentId = "string",
  knowledgeBaseId = "string"
)