DomainKnowledgeRetrieve
Queries the domain name knowledge base.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
domain:DomainKnowledgeRetrieve |
get |
*All Resource
|
None | None |
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Keyword |
string |
Yes |
Keywords to be retrieved. |
how to renew |
| Site |
string |
No |
Search knowledge base sites, including domestic cn, international intl, and all. Valid values:
|
all |
| GlobalTopN |
integer |
No |
The number of retrieve results that need to be returned. |
5 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| Data |
array<object> |
The list of retrieve result. |
|
|
object |
Retrieve result. |
||
| Score |
number |
The score of the retrieved text. A higher score indicates a more relevant result. |
0.6 |
| Source |
string |
Source of retrieve results. |
Domestic Business Knowledge Base |
| Text |
string |
Retrieved text. |
On Alibaba Cloud's domestic website, domain name renewal can be done through the following methods. |
| RequestId |
string |
Id of the request |
019FABCB-6C7D-18FE-AA42-922BFC9555D9 |
Examples
Success response
JSON format
{
"Data": [
{
"Score": 0.6,
"Source": "Domestic Business Knowledge Base",
"Text": "On Alibaba Cloud's domestic website, domain name renewal can be done through the following methods."
}
],
"RequestId": "019FABCB-6C7D-18FE-AA42-922BFC9555D9"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.