API ReferenceKnowledge Bases
/public/knowledge-bases/{knowledgeBaseId}/files/{fileId}/summary
Update a knowledge base file's summary
Update a knowledge base file's summary
Path Parameters
knowledgeBaseId*string
fileId*string
Header Parameters
X-API-Version?string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
summary?string
Response Body
application/problem+json
application/json
application/json
curl -X PATCH "https://companion-api.napster.com/public/knowledge-bases/string/files/string/summary" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "string",
"status": "pending",
"originalName": "string",
"contentType": "string",
"summary": "string",
"createdAt": "2019-08-24T14:15:22Z"
}[
{
"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
}