first version

This commit is contained in:
2023-08-18 10:03:31 +08:00
commit c3f06b456f
410 changed files with 94634 additions and 0 deletions

77
docs/SearchApi.md Normal file
View File

@@ -0,0 +1,77 @@
# \SearchApi
All URIs are relative to *http://127.0.0.1:80*
Method | HTTP request | Description
------------- | ------------- | -------------
[**AnswerApiV1SearchGet**](SearchApi.md#AnswerApiV1SearchGet) | **Get** /answer/api/v1/search | search object
## AnswerApiV1SearchGet
> AnswerApiV1SearchGet200Response AnswerApiV1SearchGet(ctx).Q(q).Order(order).Execute()
search object
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
q := "q_example" // string | query string
order := "order_example" // string | order
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SearchApi.AnswerApiV1SearchGet(context.Background()).Q(q).Order(order).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SearchApi.AnswerApiV1SearchGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AnswerApiV1SearchGet`: AnswerApiV1SearchGet200Response
fmt.Fprintf(os.Stdout, "Response from `SearchApi.AnswerApiV1SearchGet`: %v\n", resp)
}
```
### Path Parameters
### Other Parameters
Other parameters are passed through a pointer to a apiAnswerApiV1SearchGetRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**q** | **string** | query string |
**order** | **string** | order |
### Return type
[**AnswerApiV1SearchGet200Response**](AnswerApiV1SearchGet200Response.md)
### Authorization
[ApiKeyAuth](../README.md#ApiKeyAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)