# Packages

No description provided by the author

# README

Go API client for goqedit

This SDK provides a programmatic way for interacting with QEDIT's Asset Transfer API. The specification definition file is publicly available in this repository.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

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:

import "./goqedit"

Documentation for API Endpoints

All URIs are relative to http://localhost:12052

ClassMethodHTTP requestDescription
AnalyticsApiAnalyticsGetNetworkActivityPostPost /analytics/get_network_activityGet details on past blocks either by order using start_index and number_of_results or by the tx_hashes of the transactions
AnalyticsApiAnalyticsGetSyncStatusPostPost /analytics/get_sync_statusGet blockchain sync status information
AttachmentApiAttachmentAddToGroupPostPost /attachment/add_to_groupAdd a new member to a group
AttachmentApiAttachmentCreateGroupPostPost /attachment/create_groupCreate a new group
AttachmentApiAttachmentDownloadPostPost /attachment/downloadDownload an Attachment
AttachmentApiAttachmentGetGroupsPostPost /attachment/get_groupsList the Groups the Wallet has access to
AttachmentApiAttachmentLeaveGroupPostPost /attachment/leave_groupRemoves an owned Wallet from a Group
AttachmentApiAttachmentListPostPost /attachment/listLists available Attachments
AttachmentApiAttachmentUploadPostPost /attachment/uploadUpload an Attachment and share it with a Group
HealthApiHealthPostPost /healthPerform a healthcheck of the node and its dependent services
NodeApiNodeApproveTaskPostPost /node/approve_taskApprove task with pending incoming transaction [async call]
NodeApiNodeCancelTaskPostPost /node/cancel_taskCancel task with pending incoming transaction both incoming and outgoing [async call]
NodeApiNodeDeleteWalletPostPost /node/delete_walletDelete a Wallet [async call]
NodeApiNodeExportAuditorAccessWalletPostPost /node/export_auditor_access_walletExport viewing credentials for a Wallet
NodeApiNodeExportWalletPostPost /node/export_walletExport wallet secret key
NodeApiNodeGenerateWalletPostPost /node/generate_walletGenerate a new Wallet
NodeApiNodeGetAllWalletsPostPost /node/get_all_walletsGet all wallet IDs
NodeApiNodeGetNotificationsPostPost /node/get_notificationsGet notifications
NodeApiNodeGetRulesPostPost /node/get_rulesGet network governance Rules
NodeApiNodeGetTaskStatusPostPost /node/get_task_statusGet a specific task (by ID)
NodeApiNodeGetTasksPostPost /node/get_tasksGet a (potentially) filtered list of all Tasks
NodeApiNodeImportAuditorAccessWalletPostPost /node/import_auditor_access_walletImport viewing credentials for a Wallet [async call]
NodeApiNodeImportWalletPostPost /node/import_walletImport Wallet from a known secret key and authorization [async call]
WalletApiWalletCreateRulePostPost /wallet/create_ruleCreate a new Rule in the network [async call]
WalletApiWalletDeleteRulePostPost /wallet/delete_ruleDelete an existing Rule from the network [async call]
WalletApiWalletGetActivityPostPost /wallet/get_activityGet wallet activity (transactions)
WalletApiWalletGetBalancesPostPost /wallet/get_balancesGet wallets balances
WalletApiWalletGetNewAddressPostPost /wallet/get_new_addressGet a new address from a given diversifier or generate randomly
WalletApiWalletGetPublicKeyPostPost /wallet/get_public_keyGet wallet public key
WalletApiWalletIssueAssetPostPost /wallet/issue_assetIssue assets [async call]
WalletApiWalletShareViewingPermissionPostPost /wallet/share_viewing_permissionShare the viewing credentials for a given Wallet
WalletApiWalletTransferAssetPostPost /wallet/transfer_assetTransfer assets [async call]

Documentation For Models

Documentation For Authorization

ApiKeyAuth

  • Type: API key

Example

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

[email protected]