https://github.com/amitizle/test_auto_push_openapi
https://github.com/amitizle/test_auto_push_openapi
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/amitizle/test_auto_push_openapi
- Owner: amitizle
- Created: 2019-11-13T12:17:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-14T12:09:31.000Z (over 5 years ago)
- Last Synced: 2023-08-20T11:24:42.524Z (almost 2 years ago)
- Language: Go
- Size: 86.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go API client for goqedit
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
## Overview
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.- API version: 1.6.1
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen## Installation
Install the following dependencies:
```
go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context
go get github.com/antihax/optional
```Put the package under your project folder and add the following in import:
```golang
import "./goqedit"
```## Documentation for API Endpoints
All URIs are relative to *http://localhost:12052*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*AnalyticsApi* | [**AnalyticsGetNetworkActivityPost**](docs/AnalyticsApi.md#analyticsgetnetworkactivitypost) | **Post** /analytics/get_network_activity | Get details on past blocks either by order using start_index and number_of_results or by the tx_hashes of the transactions
*AnalyticsApi* | [**AnalyticsGetSyncStatusPost**](docs/AnalyticsApi.md#analyticsgetsyncstatuspost) | **Post** /analytics/get_sync_status | Get blockchain sync status information
*HealthApi* | [**HealthPost**](docs/HealthApi.md#healthpost) | **Post** /health | Perform a healthcheck of the node and its dependent services
*NodeApi* | [**NodeApproveTaskPost**](docs/NodeApi.md#nodeapprovetaskpost) | **Post** /node/approve_task | Approve task with pending incoming transaction [async call]
*NodeApi* | [**NodeCancelTaskPost**](docs/NodeApi.md#nodecanceltaskpost) | **Post** /node/cancel_task | Cancel task with pending incoming transaction both incoming and outgoing [async call]
*NodeApi* | [**NodeDeleteWalletPost**](docs/NodeApi.md#nodedeletewalletpost) | **Post** /node/delete_wallet | Delete a Wallet [async call]
*NodeApi* | [**NodeExportAuditorAccessWalletPost**](docs/NodeApi.md#nodeexportauditoraccesswalletpost) | **Post** /node/export_auditor_access_wallet | Export viewing credentials for a Wallet
*NodeApi* | [**NodeExportWalletPost**](docs/NodeApi.md#nodeexportwalletpost) | **Post** /node/export_wallet | Export wallet secret key
*NodeApi* | [**NodeGenerateWalletPost**](docs/NodeApi.md#nodegeneratewalletpost) | **Post** /node/generate_wallet | Generate a new Wallet
*NodeApi* | [**NodeGetAllWalletsPost**](docs/NodeApi.md#nodegetallwalletspost) | **Post** /node/get_all_wallets | Get all wallet IDs
*NodeApi* | [**NodeGetNotificationsPost**](docs/NodeApi.md#nodegetnotificationspost) | **Post** /node/get_notifications | Get notifications
*NodeApi* | [**NodeGetRulesPost**](docs/NodeApi.md#nodegetrulespost) | **Post** /node/get_rules | Get network governance Rules
*NodeApi* | [**NodeGetTaskStatusPost**](docs/NodeApi.md#nodegettaskstatuspost) | **Post** /node/get_task_status | Get a specific task (by ID)
*NodeApi* | [**NodeGetTasksPost**](docs/NodeApi.md#nodegettaskspost) | **Post** /node/get_tasks | Get a (potentially) filtered list of all Tasks
*NodeApi* | [**NodeImportAuditorAccessWalletPost**](docs/NodeApi.md#nodeimportauditoraccesswalletpost) | **Post** /node/import_auditor_access_wallet | Import viewing credentials for a Wallet [async call]
*NodeApi* | [**NodeImportWalletPost**](docs/NodeApi.md#nodeimportwalletpost) | **Post** /node/import_wallet | Import Wallet from a known secret key and authorization [async call]
*NodeApi* | [**NodeUnlockWalletPost**](docs/NodeApi.md#nodeunlockwalletpost) | **Post** /node/unlock_wallet | Unlocks a wallet for a given amount of seconds [async call]
*WalletApi* | [**WalletCreateRulePost**](docs/WalletApi.md#walletcreaterulepost) | **Post** /wallet/create_rule | Create a new Rule in the network [async call]
*WalletApi* | [**WalletDeleteRulePost**](docs/WalletApi.md#walletdeleterulepost) | **Post** /wallet/delete_rule | Delete an existing Rule from the network [async call]
*WalletApi* | [**WalletGetActivityPost**](docs/WalletApi.md#walletgetactivitypost) | **Post** /wallet/get_activity | Get wallet activity (transactions)
*WalletApi* | [**WalletGetBalancesPost**](docs/WalletApi.md#walletgetbalancespost) | **Post** /wallet/get_balances | Get wallets balances
*WalletApi* | [**WalletGetNewAddressPost**](docs/WalletApi.md#walletgetnewaddresspost) | **Post** /wallet/get_new_address | Get a new address from a given diversifier or generate randomly
*WalletApi* | [**WalletGetPublicKeyPost**](docs/WalletApi.md#walletgetpublickeypost) | **Post** /wallet/get_public_key | Get wallet public key
*WalletApi* | [**WalletIssueAssetPost**](docs/WalletApi.md#walletissueassetpost) | **Post** /wallet/issue_asset | Issue assets [async call]
*WalletApi* | [**WalletTransferAssetPost**](docs/WalletApi.md#wallettransferassetpost) | **Post** /wallet/transfer_asset | Transfer assets [async call]## Documentation For Models
- [AnalyticIssueWalletTx](docs/AnalyticIssueWalletTx.md)
- [AnalyticRuleWalletTx](docs/AnalyticRuleWalletTx.md)
- [AnalyticTransaction](docs/AnalyticTransaction.md)
- [AnalyticTransferWalletTx](docs/AnalyticTransferWalletTx.md)
- [AnalyticWalletMetadata](docs/AnalyticWalletMetadata.md)
- [AnalyticWalletTx](docs/AnalyticWalletTx.md)
- [AnalyticsConfidentialIssuanceDescription](docs/AnalyticsConfidentialIssuanceDescription.md)
- [AnalyticsIssueTx](docs/AnalyticsIssueTx.md)
- [AnalyticsMultiTransferTx](docs/AnalyticsMultiTransferTx.md)
- [AnalyticsOutput](docs/AnalyticsOutput.md)
- [AnalyticsOutputDescription](docs/AnalyticsOutputDescription.md)
- [AnalyticsPublicIssuanceDescription](docs/AnalyticsPublicIssuanceDescription.md)
- [AnalyticsRuleDefinition](docs/AnalyticsRuleDefinition.md)
- [AnalyticsRuleTx](docs/AnalyticsRuleTx.md)
- [AnalyticsRuleWalletDefinition](docs/AnalyticsRuleWalletDefinition.md)
- [AnalyticsSpendDescription](docs/AnalyticsSpendDescription.md)
- [AnalyticsTransferTx](docs/AnalyticsTransferTx.md)
- [AnalyticsTxMetadata](docs/AnalyticsTxMetadata.md)
- [AnalyticsTxType](docs/AnalyticsTxType.md)
- [AsyncTaskCreatedResponse](docs/AsyncTaskCreatedResponse.md)
- [BalanceForAsset](docs/BalanceForAsset.md)
- [CreateRuleRequest](docs/CreateRuleRequest.md)
- [DeleteRuleRequest](docs/DeleteRuleRequest.md)
- [DeleteWalletRequest](docs/DeleteWalletRequest.md)
- [EmptyContent](docs/EmptyContent.md)
- [ErrorResponse](docs/ErrorResponse.md)
- [ExportAuditorAccessWalletRequest](docs/ExportAuditorAccessWalletRequest.md)
- [ExportAuditorAccessWalletResponse](docs/ExportAuditorAccessWalletResponse.md)
- [ExportWalletRequest](docs/ExportWalletRequest.md)
- [ExportWalletResponse](docs/ExportWalletResponse.md)
- [GenerateWalletRequest](docs/GenerateWalletRequest.md)
- [GetAllWalletsResponse](docs/GetAllWalletsResponse.md)
- [GetNetworkActivityRequest](docs/GetNetworkActivityRequest.md)
- [GetNetworkActivityResponse](docs/GetNetworkActivityResponse.md)
- [GetNewAddressRequest](docs/GetNewAddressRequest.md)
- [GetNewAddressResponse](docs/GetNewAddressResponse.md)
- [GetNotificationsRequest](docs/GetNotificationsRequest.md)
- [GetNotificationsResponse](docs/GetNotificationsResponse.md)
- [GetPublicKeyRequest](docs/GetPublicKeyRequest.md)
- [GetPublicKeyResponse](docs/GetPublicKeyResponse.md)
- [GetRulesResponse](docs/GetRulesResponse.md)
- [GetSyncStatusResponse](docs/GetSyncStatusResponse.md)
- [GetTaskStatusRequest](docs/GetTaskStatusRequest.md)
- [GetTaskStatusResponse](docs/GetTaskStatusResponse.md)
- [GetTasksRequest](docs/GetTasksRequest.md)
- [GetTasksResponse](docs/GetTasksResponse.md)
- [GetWalletActivityRequest](docs/GetWalletActivityRequest.md)
- [GetWalletActivityResponse](docs/GetWalletActivityResponse.md)
- [GetWalletBalanceRequest](docs/GetWalletBalanceRequest.md)
- [GetWalletBalanceResponse](docs/GetWalletBalanceResponse.md)
- [HealthcheckResponse](docs/HealthcheckResponse.md)
- [HealthcheckResponseItem](docs/HealthcheckResponseItem.md)
- [ImportAuditorAccessWalletRequest](docs/ImportAuditorAccessWalletRequest.md)
- [ImportWalletRequest](docs/ImportWalletRequest.md)
- [IssueAssetRequest](docs/IssueAssetRequest.md)
- [Notification](docs/Notification.md)
- [NotificationType](docs/NotificationType.md)
- [OrderEnum](docs/OrderEnum.md)
- [Result](docs/Result.md)
- [Rule](docs/Rule.md)
- [TaskActionRequest](docs/TaskActionRequest.md)
- [TaskData](docs/TaskData.md)
- [TaskState](docs/TaskState.md)
- [TaskType](docs/TaskType.md)
- [TransferAssetRequest](docs/TransferAssetRequest.md)
- [UnlockWalletRequest](docs/UnlockWalletRequest.md)## Documentation For Authorization
## ApiKeyAuth
- **Type**: API keyExample
```golang
auth := context.WithValue(context.Background(), sw.ContextAPIKey, sw.APIKey{
Key: "APIKEY",
Prefix: "Bearer", // Omit if not necessary.
})
r, err := client.Service.Operation(auth, args)
```## Author