211 lines
5.9 KiB
Markdown
211 lines
5.9 KiB
Markdown
# \DebugItemsMaybeDontShowThisInUIAPI
|
|
|
|
All URIs are relative to *http://localhost*
|
|
|
|
Method | HTTP request | Description
|
|
------------- | ------------- | -------------
|
|
[**AddCardManuallyApiV1DebugAddcardPut**](DebugItemsMaybeDontShowThisInUIAPI.md#AddCardManuallyApiV1DebugAddcardPut) | **Put** /api/v1/debug/addcard/ | Add Card Manually
|
|
[**ListAllCardsApiV1DebugGetcardsPut**](DebugItemsMaybeDontShowThisInUIAPI.md#ListAllCardsApiV1DebugGetcardsPut) | **Put** /api/v1/debug/getcards | List All Cards
|
|
[**RemoveCardManuallyApiV1DebugRmcardCardIdGet**](DebugItemsMaybeDontShowThisInUIAPI.md#RemoveCardManuallyApiV1DebugRmcardCardIdGet) | **Get** /api/v1/debug/rmcard/{card_id} | Remove Card Manually
|
|
|
|
|
|
|
|
## AddCardManuallyApiV1DebugAddcardPut
|
|
|
|
> interface{} AddCardManuallyApiV1DebugAddcardPut(ctx).Groupid(groupid).CardKey(cardKey).Name(name).Enabled(enabled).Execute()
|
|
|
|
Add Card Manually
|
|
|
|
|
|
|
|
### Example
|
|
|
|
```go
|
|
package main
|
|
|
|
import (
|
|
"context"
|
|
"fmt"
|
|
"os"
|
|
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
|
)
|
|
|
|
func main() {
|
|
groupid := int32(56) // int32 |
|
|
cardKey := "cardKey_example" // string |
|
|
name := "name_example" // string |
|
|
enabled := true // bool |
|
|
|
|
configuration := openapiclient.NewConfiguration()
|
|
apiClient := openapiclient.NewAPIClient(configuration)
|
|
resp, r, err := apiClient.DebugItemsMaybeDontShowThisInUIAPI.AddCardManuallyApiV1DebugAddcardPut(context.Background()).Groupid(groupid).CardKey(cardKey).Name(name).Enabled(enabled).Execute()
|
|
if err != nil {
|
|
fmt.Fprintf(os.Stderr, "Error when calling `DebugItemsMaybeDontShowThisInUIAPI.AddCardManuallyApiV1DebugAddcardPut``: %v\n", err)
|
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
|
}
|
|
// response from `AddCardManuallyApiV1DebugAddcardPut`: interface{}
|
|
fmt.Fprintf(os.Stdout, "Response from `DebugItemsMaybeDontShowThisInUIAPI.AddCardManuallyApiV1DebugAddcardPut`: %v\n", resp)
|
|
}
|
|
```
|
|
|
|
### Path Parameters
|
|
|
|
|
|
|
|
### Other Parameters
|
|
|
|
Other parameters are passed through a pointer to a apiAddCardManuallyApiV1DebugAddcardPutRequest struct via the builder pattern
|
|
|
|
|
|
Name | Type | Description | Notes
|
|
------------- | ------------- | ------------- | -------------
|
|
**groupid** | **int32** | |
|
|
**cardKey** | **string** | |
|
|
**name** | **string** | |
|
|
**enabled** | **bool** | |
|
|
|
|
### Return type
|
|
|
|
**interface{}**
|
|
|
|
### Authorization
|
|
|
|
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
|
|
### 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)
|
|
|
|
|
|
## ListAllCardsApiV1DebugGetcardsPut
|
|
|
|
> interface{} ListAllCardsApiV1DebugGetcardsPut(ctx).Execute()
|
|
|
|
List All Cards
|
|
|
|
### Example
|
|
|
|
```go
|
|
package main
|
|
|
|
import (
|
|
"context"
|
|
"fmt"
|
|
"os"
|
|
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
|
)
|
|
|
|
func main() {
|
|
|
|
configuration := openapiclient.NewConfiguration()
|
|
apiClient := openapiclient.NewAPIClient(configuration)
|
|
resp, r, err := apiClient.DebugItemsMaybeDontShowThisInUIAPI.ListAllCardsApiV1DebugGetcardsPut(context.Background()).Execute()
|
|
if err != nil {
|
|
fmt.Fprintf(os.Stderr, "Error when calling `DebugItemsMaybeDontShowThisInUIAPI.ListAllCardsApiV1DebugGetcardsPut``: %v\n", err)
|
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
|
}
|
|
// response from `ListAllCardsApiV1DebugGetcardsPut`: interface{}
|
|
fmt.Fprintf(os.Stdout, "Response from `DebugItemsMaybeDontShowThisInUIAPI.ListAllCardsApiV1DebugGetcardsPut`: %v\n", resp)
|
|
}
|
|
```
|
|
|
|
### Path Parameters
|
|
|
|
This endpoint does not need any parameter.
|
|
|
|
### Other Parameters
|
|
|
|
Other parameters are passed through a pointer to a apiListAllCardsApiV1DebugGetcardsPutRequest struct via the builder pattern
|
|
|
|
|
|
### Return type
|
|
|
|
**interface{}**
|
|
|
|
### Authorization
|
|
|
|
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
|
|
### 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)
|
|
|
|
|
|
## RemoveCardManuallyApiV1DebugRmcardCardIdGet
|
|
|
|
> interface{} RemoveCardManuallyApiV1DebugRmcardCardIdGet(ctx, cardId).Execute()
|
|
|
|
Remove Card Manually
|
|
|
|
### Example
|
|
|
|
```go
|
|
package main
|
|
|
|
import (
|
|
"context"
|
|
"fmt"
|
|
"os"
|
|
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
|
)
|
|
|
|
func main() {
|
|
cardId := "cardId_example" // string |
|
|
|
|
configuration := openapiclient.NewConfiguration()
|
|
apiClient := openapiclient.NewAPIClient(configuration)
|
|
resp, r, err := apiClient.DebugItemsMaybeDontShowThisInUIAPI.RemoveCardManuallyApiV1DebugRmcardCardIdGet(context.Background(), cardId).Execute()
|
|
if err != nil {
|
|
fmt.Fprintf(os.Stderr, "Error when calling `DebugItemsMaybeDontShowThisInUIAPI.RemoveCardManuallyApiV1DebugRmcardCardIdGet``: %v\n", err)
|
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
|
}
|
|
// response from `RemoveCardManuallyApiV1DebugRmcardCardIdGet`: interface{}
|
|
fmt.Fprintf(os.Stdout, "Response from `DebugItemsMaybeDontShowThisInUIAPI.RemoveCardManuallyApiV1DebugRmcardCardIdGet`: %v\n", resp)
|
|
}
|
|
```
|
|
|
|
### Path Parameters
|
|
|
|
|
|
Name | Type | Description | Notes
|
|
------------- | ------------- | ------------- | -------------
|
|
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
|
**cardId** | **string** | |
|
|
|
|
### Other Parameters
|
|
|
|
Other parameters are passed through a pointer to a apiRemoveCardManuallyApiV1DebugRmcardCardIdGetRequest struct via the builder pattern
|
|
|
|
|
|
Name | Type | Description | Notes
|
|
------------- | ------------- | ------------- | -------------
|
|
|
|
|
|
### Return type
|
|
|
|
**interface{}**
|
|
|
|
### Authorization
|
|
|
|
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
|
|
### 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)
|
|
|