Skip to main content

Go API client for estuary_client

This is the API for the Estuary application.

Overview

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

  • API version: 0.0.0
  • Package version: 1.0.3
  • Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen For more information, please visit https://docs.estuary.tech/feedback

Installation

Put the package under your project folder and add the following in import:

import "./estuary_client"

Documentation for API Endpoints

All URIs are relative to //api.estuary.tech/

ClassMethodHTTP requestDescription
AdminApiAdminPeeringPeersDeleteDelete /admin/peering/peersRemove peers on Peering Service
AdminApiAdminPeeringPeersGetGet /admin/peering/peersList all Peering peers
AdminApiAdminPeeringPeersPostPost /admin/peering/peersAdd peers on Peering Service
AdminApiAdminPeeringStartPostPost /admin/peering/startStart Peering
AdminApiAdminPeeringStatusGetGet /admin/peering/statusCheck Peering Status
AdminApiAdminPeeringStopPostPost /admin/peering/stopStop Peering
AdminApiAdminSystemConfigGetGet /admin/system/configGet systems(estuary/shuttle) config
AdminApiAdminUsersGetGet /admin/usersGet all users
AutoretrieveApiAdminAutoretrieveInitPostPost /admin/autoretrieve/initRegister autoretrieve server
AutoretrieveApiAdminAutoretrieveListGetGet /admin/autoretrieve/listList autoretrieve servers
AutoretrieveApiAutoretrieveHeartbeatPostPost /autoretrieve/heartbeatMarks autoretrieve server as up
CollectionsApiCollectionsColuuidCommitPostPost /collections/{coluuid}/commitProduce a CID of the collection contents
CollectionsApiCollectionsColuuidContentsDeleteDelete /collections/{coluuid}/contentsDeletes a content from a collection
CollectionsApiCollectionsColuuidDeleteDelete /collections/{coluuid}Deletes a collection
CollectionsApiCollectionsColuuidGetGet /collections/{coluuid}Get contents in a collection
CollectionsApiCollectionsColuuidPostPost /collections/{coluuid}Add contents to a collection
CollectionsApiCollectionsFsAddPostPost /collections/fs/addAdd a file to a collection
CollectionsApiCollectionsGetGet /collections/List all collections
CollectionsApiCollectionsPostPost /collections/Create a new collection
ContentApiAdminInvitesGetGet /admin/invitesGet Estuary invites
ContentApiAdminInvitesPostPost /admin/invitesCreate an Estuary invite
ContentApiContentAddCarPostPost /content/add-carAdd Car object
ContentApiContentAddIpfsPostPost /content/add-ipfsAdd IPFS object
ContentApiContentAddPostPost /content/addAdd new content
ContentApiContentAggregatedContentGetGet /content/aggregated/{content}Get aggregated content stats
ContentApiContentAllDealsGetGet /content/all-dealsGet all deals for a user
ContentApiContentBwUsageContentGetGet /content/bw-usage/{content}Get content bandwidth
ContentApiContentCreatePostPost /content/createAdd a new content
ContentApiContentDealsGetGet /content/dealsContent with deals
ContentApiContentEnsureReplicationDatacidGetGet /content/ensure-replication/{datacid}Ensure Replication
ContentApiContentFailuresContentGetGet /content/failures/{content}List all failures for a content
ContentApiContentIdGetGet /content/{id}Content
ContentApiContentImportdealPostPost /content/importdealImport a deal
ContentApiContentListGetGet /content/listList all pinned content
ContentApiContentReadContGetGet /content/read/{cont}Read content
ContentApiContentStagingZonesGetGet /content/staging-zonesGet staging zone for user
ContentApiContentStatsGetGet /content/statsGet content statistics
ContentApiContentStatusIdGetGet /content/status/{id}Content Status
DealsApiDealEstimatePostPost /deal/estimateEstimate the cost of a deal
DealsApiDealInfoDealidGetGet /deal/info/{dealid}Get Deal Info
DealsApiDealProposalPropcidGetGet /deal/proposal/{propcid}Get Proposal
DealsApiDealQueryMinerGetGet /deal/query/{miner}Query Ask
DealsApiDealStatusByProposalPropcidGetGet /deal/status-by-proposal/{propcid}Get Deal Status by PropCid
DealsApiDealStatusMinerPropcidGetGet /deal/status/{miner}/{propcid}Deal Status
DealsApiDealTransferInProgressGetGet /deal/transfer/in-progressTransfer In Progress
DealsApiDealTransferStatusPostPost /deal/transfer/statusTransfer Status
DealsApiDealsFailuresGetGet /deals/failuresGet storage failures for user
DealsApiDealsMakeMinerPostPost /deals/make/{miner}Make Deal
DealsApiDealsStatusDealGetGet /deals/status/{deal}Get Deal Status
DealsApiPublicDealsFailuresGetGet /public/deals/failuresGet storage failures
DealsApiPublicMinersStorageQueryMinerGetGet /public/miners/storage/query/{miner}Query Ask
MetricsApiPublicMetricsDealsOnChainGetGet /public/metrics/deals-on-chainGet deal metrics
MinerApiPublicMinersDealsMinerGetGet /public/miners/deals/{miner}Get all miners deals
MinerApiPublicMinersStatsMinerGetGet /public/miners/stats/{miner}Get miner stats
NetApiNetAddrsGetGet /net/addrsNet Addrs
NetApiPublicMinersFailuresMinerGetGet /public/miners/failures/{miner}Get all miners
NetApiPublicMinersGetGet /public/minersGet all miners
NetApiPublicNetAddrsGetGet /public/net/addrsNet Addrs
NetApiPublicNetPeersGetGet /public/net/peersNet Peers
PeeringApiAdminPeeringPeersDeleteDelete /admin/peering/peersRemove peers on Peering Service
PeeringApiAdminPeeringPeersGetGet /admin/peering/peersList all Peering peers
PeeringApiAdminPeeringPeersPostPost /admin/peering/peersAdd peers on Peering Service
PeeringApiAdminPeeringStartPostPost /admin/peering/startStart Peering
PeeringApiAdminPeeringStatusGetGet /admin/peering/statusCheck Peering Status
PeeringApiAdminPeeringStopPostPost /admin/peering/stopStop Peering
PeersApiAdminPeeringPeersDeleteDelete /admin/peering/peersRemove peers on Peering Service
PeersApiAdminPeeringPeersGetGet /admin/peering/peersList all Peering peers
PeersApiAdminPeeringPeersPostPost /admin/peering/peersAdd peers on Peering Service
PeersApiAdminPeeringStartPostPost /admin/peering/startStart Peering
PeersApiAdminPeeringStatusGetGet /admin/peering/statusCheck Peering Status
PeersApiAdminPeeringStopPostPost /admin/peering/stopStop Peering
PinningApiPinningPinsGetGet /pinning/pinsList all pin status objects
PinningApiPinningPinsPinidDeleteDelete /pinning/pins/{pinid}Delete a pinned object
PinningApiPinningPinsPinidGetGet /pinning/pins/{pinid}Get a pin status object
PinningApiPinningPinsPinidPostPost /pinning/pins/{pinid}Replace a pinned object
PinningApiPinningPinsPostPost /pinning/pinsAdd and pin object
PublicApiGetCidGetGet /get/{cid}Get Full Content by Cid
PublicApiPublicByCidCidGetGet /public/by-cid/{cid}Get Content by Cid
PublicApiPublicInfoGetGet /public/infoGet public node info
PublicApiPublicMetricsDealsOnChainGetGet /public/metrics/deals-on-chainGet deal metrics
PublicApiPublicMinersDealsMinerGetGet /public/miners/deals/{miner}Get all miners deals
PublicApiPublicMinersFailuresMinerGetGet /public/miners/failures/{miner}Get all miners
PublicApiPublicMinersGetGet /public/minersGet all miners
PublicApiPublicMinersStatsMinerGetGet /public/miners/stats/{miner}Get miner stats
PublicApiPublicNetAddrsGetGet /public/net/addrsNet Addrs
PublicApiPublicNetPeersGetGet /public/net/peersNet Peers
PublicApiPublicStatsGetGet /public/statsPublic stats
UserApiUserApiKeysGetGet /user/api-keysGet API keys for a user
UserApiUserApiKeysKeyOrHashDeleteDelete /user/api-keys/{key_or_hash}Revoke a User API Key.
UserApiUserApiKeysPostPost /user/api-keysCreate API keys for a user
UserApiUserExportGetGet /user/exportExport user data
UserApiUserStatsGetGet /user/statsGet stats for the current user

Documentation For Models

Documentation For Authorization

bearerAuth

  • 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