更新文档内容

This commit is contained in:
2023-08-22 10:37:28 +08:00
parent c3f06b456f
commit 73222eee28
329 changed files with 25366 additions and 2475 deletions

View File

@@ -1,6 +1,6 @@
# \NotificationApi
All URIs are relative to *http://127.0.0.1:80*
All URIs are relative to *http://localhost*
Method | HTTP request | Description
------------- | ------------- | -------------
@@ -14,7 +14,7 @@ Method | HTTP request | Description
## AnswerApiV1NotificationPageGet
> HandlerRespBody AnswerApiV1NotificationPageGet(ctx).Type_(type_).Page(page).PageSize(pageSize).Execute()
> HandlerRespBody AnswerApiV1NotificationPageGet(ctx).Type_(type_).InboxType(inboxType).Page(page).PageSize(pageSize).Execute()
get notification list
@@ -34,12 +34,13 @@ import (
func main() {
type_ := "type__example" // string | type
inboxType := "inboxType_example" // string | inbox_type
page := int32(56) // int32 | page size (optional)
pageSize := int32(56) // int32 | page size (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.NotificationApi.AnswerApiV1NotificationPageGet(context.Background()).Type_(type_).Page(page).PageSize(pageSize).Execute()
resp, r, err := apiClient.NotificationApi.AnswerApiV1NotificationPageGet(context.Background()).Type_(type_).InboxType(inboxType).Page(page).PageSize(pageSize).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `NotificationApi.AnswerApiV1NotificationPageGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -61,6 +62,7 @@ Other parameters are passed through a pointer to a apiAnswerApiV1NotificationPag
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**type_** | **string** | type |
**inboxType** | **string** | inbox_type |
**page** | **int32** | page size |
**pageSize** | **int32** | page size |