Creates a knowledge base.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:CreateKnowledgeBase |
create |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-beijing |
| KnowledgeSpaceId |
string |
Yes |
The unique identifier of the knowledge space. |
pks-xxxxxx |
| Name |
string |
Yes |
The name of the knowledge base. |
testkb |
| Description |
string |
No |
The description of the knowledge base. |
testkbDesc |
| SearchMode |
string |
No |
The search mode. Valid values:
|
balanced |
|
No |
The type of the knowledge base: PERSONAL or PUBLIC. |
PUBLIC |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
E56531A4-E552-40BA-9C58-137B80****** |
| KnowledgeBaseId |
string |
The unique identifier of the knowledge base. |
pkb-xxxxx |
Examples
Success response
JSON format
{
"RequestId": "E56531A4-E552-40BA-9C58-137B80******",
"KnowledgeBaseId": "pkb-xxxxx"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.