5.9 KiB
\DebugItemsMaybeDontShowThisInUIAPI
All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| AddCardManuallyDebugAddcardGroupidCardKeyGet | Get /debug/addcard/{groupid}/{card_key} | Add Card Manually |
| ListAllCardsDebugGetcardsPut | Put /debug/getcards | List All Cards |
| RemoveCardManuallyDebugRmcardCardKeyGet | Get /debug/rmcard/{card_key} | Remove Card Manually |
AddCardManuallyDebugAddcardGroupidCardKeyGet
interface{} AddCardManuallyDebugAddcardGroupidCardKeyGet(ctx, groupid, cardKey).Execute()
Add Card Manually
Example
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 |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DebugItemsMaybeDontShowThisInUIAPI.AddCardManuallyDebugAddcardGroupidCardKeyGet(context.Background(), groupid, cardKey).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DebugItemsMaybeDontShowThisInUIAPI.AddCardManuallyDebugAddcardGroupidCardKeyGet``: %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)
}
Path Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| groupid | int32 | ||
| cardKey | string |
Other Parameters
Other parameters are passed through a pointer to a apiAddCardManuallyDebugAddcardGroupidCardKeyGetRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
Return type
interface{}
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListAllCardsDebugGetcardsPut
interface{} ListAllCardsDebugGetcardsPut(ctx).Execute()
List All Cards
Example
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.ListAllCardsDebugGetcardsPut(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DebugItemsMaybeDontShowThisInUIAPI.ListAllCardsDebugGetcardsPut``: %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)
}
Path Parameters
This endpoint does not need any parameter.
Other Parameters
Other parameters are passed through a pointer to a apiListAllCardsDebugGetcardsPutRequest struct via the builder pattern
Return type
interface{}
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RemoveCardManuallyDebugRmcardCardKeyGet
interface{} RemoveCardManuallyDebugRmcardCardKeyGet(ctx, cardKey).Execute()
Remove Card Manually
Example
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
cardKey := "cardKey_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DebugItemsMaybeDontShowThisInUIAPI.RemoveCardManuallyDebugRmcardCardKeyGet(context.Background(), cardKey).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DebugItemsMaybeDontShowThisInUIAPI.RemoveCardManuallyDebugRmcardCardKeyGet``: %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)
}
Path Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| cardKey | string |
Other Parameters
Other parameters are passed through a pointer to a apiRemoveCardManuallyDebugRmcardCardKeyGetRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
Return type
interface{}
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]