[api] chore: update api
This commit is contained in:
@@ -4,15 +4,15 @@ All URIs are relative to *http://localhost*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**AddCardManuallyDebugAddcardGroupidCardKeyGet**](DebugItemsMaybeDontShowThisInUIAPI.md#AddCardManuallyDebugAddcardGroupidCardKeyGet) | **Get** /debug/addcard/{groupid}/{card_key} | Add Card Manually
|
||||
[**ListAllCardsDebugGetcardsPut**](DebugItemsMaybeDontShowThisInUIAPI.md#ListAllCardsDebugGetcardsPut) | **Put** /debug/getcards | List All Cards
|
||||
[**RemoveCardManuallyDebugRmcardCardKeyGet**](DebugItemsMaybeDontShowThisInUIAPI.md#RemoveCardManuallyDebugRmcardCardKeyGet) | **Get** /debug/rmcard/{card_key} | Remove Card Manually
|
||||
[**AddCardManuallyApiV1DebugAddcardGroupidCardKeyGet**](DebugItemsMaybeDontShowThisInUIAPI.md#AddCardManuallyApiV1DebugAddcardGroupidCardKeyGet) | **Get** /api/v1/debug/addcard/{groupid}/{card_key} | Add Card Manually
|
||||
[**ListAllCardsApiV1DebugGetcardsPut**](DebugItemsMaybeDontShowThisInUIAPI.md#ListAllCardsApiV1DebugGetcardsPut) | **Put** /api/v1/debug/getcards | List All Cards
|
||||
[**RemoveCardManuallyApiV1DebugRmcardCardKeyGet**](DebugItemsMaybeDontShowThisInUIAPI.md#RemoveCardManuallyApiV1DebugRmcardCardKeyGet) | **Get** /api/v1/debug/rmcard/{card_key} | Remove Card Manually
|
||||
|
||||
|
||||
|
||||
## AddCardManuallyDebugAddcardGroupidCardKeyGet
|
||||
## AddCardManuallyApiV1DebugAddcardGroupidCardKeyGet
|
||||
|
||||
> interface{} AddCardManuallyDebugAddcardGroupidCardKeyGet(ctx, groupid, cardKey).Execute()
|
||||
> interface{} AddCardManuallyApiV1DebugAddcardGroupidCardKeyGet(ctx, groupid, cardKey).Execute()
|
||||
|
||||
Add Card Manually
|
||||
|
||||
@@ -36,13 +36,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.DebugItemsMaybeDontShowThisInUIAPI.AddCardManuallyDebugAddcardGroupidCardKeyGet(context.Background(), groupid, cardKey).Execute()
|
||||
resp, r, err := apiClient.DebugItemsMaybeDontShowThisInUIAPI.AddCardManuallyApiV1DebugAddcardGroupidCardKeyGet(context.Background(), groupid, cardKey).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DebugItemsMaybeDontShowThisInUIAPI.AddCardManuallyDebugAddcardGroupidCardKeyGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DebugItemsMaybeDontShowThisInUIAPI.AddCardManuallyApiV1DebugAddcardGroupidCardKeyGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `AddCardManuallyDebugAddcardGroupidCardKeyGet`: interface{}
|
||||
fmt.Fprintf(os.Stdout, "Response from `DebugItemsMaybeDontShowThisInUIAPI.AddCardManuallyDebugAddcardGroupidCardKeyGet`: %v\n", resp)
|
||||
// response from `AddCardManuallyApiV1DebugAddcardGroupidCardKeyGet`: interface{}
|
||||
fmt.Fprintf(os.Stdout, "Response from `DebugItemsMaybeDontShowThisInUIAPI.AddCardManuallyApiV1DebugAddcardGroupidCardKeyGet`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -57,7 +57,7 @@ Name | Type | Description | Notes
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiAddCardManuallyDebugAddcardGroupidCardKeyGetRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiAddCardManuallyApiV1DebugAddcardGroupidCardKeyGetRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
@@ -83,9 +83,9 @@ Name | Type | Description | Notes
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## ListAllCardsDebugGetcardsPut
|
||||
## ListAllCardsApiV1DebugGetcardsPut
|
||||
|
||||
> interface{} ListAllCardsDebugGetcardsPut(ctx).Execute()
|
||||
> interface{} ListAllCardsApiV1DebugGetcardsPut(ctx).Execute()
|
||||
|
||||
List All Cards
|
||||
|
||||
@@ -105,13 +105,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.DebugItemsMaybeDontShowThisInUIAPI.ListAllCardsDebugGetcardsPut(context.Background()).Execute()
|
||||
resp, r, err := apiClient.DebugItemsMaybeDontShowThisInUIAPI.ListAllCardsApiV1DebugGetcardsPut(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DebugItemsMaybeDontShowThisInUIAPI.ListAllCardsDebugGetcardsPut``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DebugItemsMaybeDontShowThisInUIAPI.ListAllCardsApiV1DebugGetcardsPut``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `ListAllCardsDebugGetcardsPut`: interface{}
|
||||
fmt.Fprintf(os.Stdout, "Response from `DebugItemsMaybeDontShowThisInUIAPI.ListAllCardsDebugGetcardsPut`: %v\n", resp)
|
||||
// response from `ListAllCardsApiV1DebugGetcardsPut`: interface{}
|
||||
fmt.Fprintf(os.Stdout, "Response from `DebugItemsMaybeDontShowThisInUIAPI.ListAllCardsApiV1DebugGetcardsPut`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -121,7 +121,7 @@ This endpoint does not need any parameter.
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiListAllCardsDebugGetcardsPutRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiListAllCardsApiV1DebugGetcardsPutRequest struct via the builder pattern
|
||||
|
||||
|
||||
### Return type
|
||||
@@ -142,9 +142,9 @@ Other parameters are passed through a pointer to a apiListAllCardsDebugGetcardsP
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## RemoveCardManuallyDebugRmcardCardKeyGet
|
||||
## RemoveCardManuallyApiV1DebugRmcardCardKeyGet
|
||||
|
||||
> interface{} RemoveCardManuallyDebugRmcardCardKeyGet(ctx, cardKey).Execute()
|
||||
> interface{} RemoveCardManuallyApiV1DebugRmcardCardKeyGet(ctx, cardKey).Execute()
|
||||
|
||||
Remove Card Manually
|
||||
|
||||
@@ -165,13 +165,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.DebugItemsMaybeDontShowThisInUIAPI.RemoveCardManuallyDebugRmcardCardKeyGet(context.Background(), cardKey).Execute()
|
||||
resp, r, err := apiClient.DebugItemsMaybeDontShowThisInUIAPI.RemoveCardManuallyApiV1DebugRmcardCardKeyGet(context.Background(), cardKey).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DebugItemsMaybeDontShowThisInUIAPI.RemoveCardManuallyDebugRmcardCardKeyGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `DebugItemsMaybeDontShowThisInUIAPI.RemoveCardManuallyApiV1DebugRmcardCardKeyGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `RemoveCardManuallyDebugRmcardCardKeyGet`: interface{}
|
||||
fmt.Fprintf(os.Stdout, "Response from `DebugItemsMaybeDontShowThisInUIAPI.RemoveCardManuallyDebugRmcardCardKeyGet`: %v\n", resp)
|
||||
// response from `RemoveCardManuallyApiV1DebugRmcardCardKeyGet`: interface{}
|
||||
fmt.Fprintf(os.Stdout, "Response from `DebugItemsMaybeDontShowThisInUIAPI.RemoveCardManuallyApiV1DebugRmcardCardKeyGet`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -185,7 +185,7 @@ Name | Type | Description | Notes
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiRemoveCardManuallyDebugRmcardCardKeyGetRequest struct via the builder pattern
|
||||
Other parameters are passed through a pointer to a apiRemoveCardManuallyApiV1DebugRmcardCardKeyGetRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
|
||||
Reference in New Issue
Block a user