API ReferenceKnowledge Bases
/public/knowledge-bases/{knowledgeBaseId}/files/{fileId}/download-url
Get a temporary download URL for a knowledge base file
Get a temporary download URL for a knowledge base file
Path Parameters
knowledgeBaseId*string
fileId*string
Header Parameters
X-API-Version?string
Response Body
application/problem+json
application/json
application/json
curl -X GET "https://companion-api.napster.com/public/knowledge-bases/string/files/string/download-url"{
"downloadUrl": "string"
}[
{
"code": "string",
"description": "string",
"type": "failure",
"numericType": 0
}
]{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"code": "string",
"description": "string",
"type": "failure",
"numericType": 0
}{
"code": "string",
"description": "string",
"type": "failure",
"numericType": 0
}{
"code": "string",
"description": "string",
"type": "failure",
"numericType": 0
}