更新文档内容
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
# \CollectionApi
|
||||
|
||||
All URIs are relative to *http://127.0.0.1:80*
|
||||
All URIs are relative to *http://localhost*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**AnswerApiV1CollectionSwitchPost**](CollectionApi.md#AnswerApiV1CollectionSwitchPost) | **Post** /answer/api/v1/collection/switch | add collection
|
||||
[**AnswerApiV1PersonalCollectionPageGet**](CollectionApi.md#AnswerApiV1PersonalCollectionPageGet) | **Get** /answer/api/v1/personal/collection/page | UserCollectionList
|
||||
[**AnswerApiV1PersonalCollectionPageGet**](CollectionApi.md#AnswerApiV1PersonalCollectionPageGet) | **Get** /answer/api/v1/personal/collection/page | list personal collections
|
||||
|
||||
|
||||
|
||||
@@ -77,9 +77,9 @@ Name | Type | Description | Notes
|
||||
|
||||
## AnswerApiV1PersonalCollectionPageGet
|
||||
|
||||
> HandlerRespBody AnswerApiV1PersonalCollectionPageGet(ctx).Page(page).Pagesize(pagesize).Execute()
|
||||
> HandlerRespBody AnswerApiV1PersonalCollectionPageGet(ctx).Page(page).PageSize(pageSize).Execute()
|
||||
|
||||
UserCollectionList
|
||||
list personal collections
|
||||
|
||||
|
||||
|
||||
@@ -97,11 +97,11 @@ import (
|
||||
|
||||
func main() {
|
||||
page := "page_example" // string | page (default to "0")
|
||||
pagesize := "pagesize_example" // string | pagesize (default to "20")
|
||||
pageSize := "pageSize_example" // string | page_size (default to "20")
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.CollectionApi.AnswerApiV1PersonalCollectionPageGet(context.Background()).Page(page).Pagesize(pagesize).Execute()
|
||||
resp, r, err := apiClient.CollectionApi.AnswerApiV1PersonalCollectionPageGet(context.Background()).Page(page).PageSize(pageSize).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `CollectionApi.AnswerApiV1PersonalCollectionPageGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -123,7 +123,7 @@ Other parameters are passed through a pointer to a apiAnswerApiV1PersonalCollect
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**page** | **string** | page | [default to "0"]
|
||||
**pagesize** | **string** | pagesize | [default to "20"]
|
||||
**pageSize** | **string** | page_size | [default to "20"]
|
||||
|
||||
### Return type
|
||||
|
||||
|
||||
Reference in New Issue
Block a user