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/
Class | Method | HTTP request | Description |
---|---|---|---|
AdminApi | AdminPeeringPeersDelete | Delete /admin/peering/peers | Remove peers on Peering Service |
AdminApi | AdminPeeringPeersGet | Get /admin/peering/peers | List all Peering peers |
AdminApi | AdminPeeringPeersPost | Post /admin/peering/peers | Add peers on Peering Service |
AdminApi | AdminPeeringStartPost | Post /admin/peering/start | Start Peering |
AdminApi | AdminPeeringStatusGet | Get /admin/peering/status | Check Peering Status |
AdminApi | AdminPeeringStopPost | Post /admin/peering/stop | Stop Peering |
AdminApi | AdminSystemConfigGet | Get /admin/system/config | Get systems(estuary/shuttle) config |
AdminApi | AdminUsersGet | Get /admin/users | Get all users |
AutoretrieveApi | AdminAutoretrieveInitPost | Post /admin/autoretrieve/init | Register autoretrieve server |
AutoretrieveApi | AdminAutoretrieveListGet | Get /admin/autoretrieve/list | List autoretrieve servers |
AutoretrieveApi | AutoretrieveHeartbeatPost | Post /autoretrieve/heartbeat | Marks autoretrieve server as up |
CollectionsApi | CollectionsColuuidCommitPost | Post /collections/{coluuid}/commit | Produce a CID of the collection contents |
CollectionsApi | CollectionsColuuidContentsDelete | Delete /collections/{coluuid}/contents | Deletes a content from a collection |
CollectionsApi | CollectionsColuuidDelete | Delete /collections/{coluuid} | Deletes a collection |
CollectionsApi | CollectionsColuuidGet | Get /collections/{coluuid} | Get contents in a collection |
CollectionsApi | CollectionsColuuidPost | Post /collections/{coluuid} | Add contents to a collection |
CollectionsApi | CollectionsFsAddPost | Post /collections/fs/add | Add a file to a collection |
CollectionsApi | CollectionsGet | Get /collections/ | List all collections |
CollectionsApi | CollectionsPost | Post /collections/ | Create a new collection |
ContentApi | AdminInvitesGet | Get /admin/invites | Get Estuary invites |
ContentApi | AdminInvitesPost | Post /admin/invites | Create an Estuary invite |
ContentApi | ContentAddCarPost | Post /content/add-car | Add Car object |
ContentApi | ContentAddIpfsPost | Post /content/add-ipfs | Add IPFS object |
ContentApi | ContentAddPost | Post /content/add | Add new content |
ContentApi | ContentAggregatedContentGet | Get /content/aggregated/{content} | Get aggregated content stats |
ContentApi | ContentAllDealsGet | Get /content/all-deals | Get all deals for a user |
ContentApi | ContentBwUsageContentGet | Get /content/bw-usage/{content} | Get content bandwidth |
ContentApi | ContentCreatePost | Post /content/create | Add a new content |
ContentApi | ContentDealsGet | Get /content/deals | Content with deals |
ContentApi | ContentEnsureReplicationDatacidGet | Get /content/ensure-replication/{datacid} | Ensure Replication |
ContentApi | ContentFailuresContentGet | Get /content/failures/{content} | List all failures for a content |
ContentApi | ContentIdGet | Get /content/{id} | Content |
ContentApi | ContentImportdealPost | Post /content/importdeal | Import a deal |
ContentApi | ContentListGet | Get /content/list | List all pinned content |
ContentApi | ContentReadContGet | Get /content/read/{cont} | Read content |
ContentApi | ContentStagingZonesGet | Get /content/staging-zones | Get staging zone for user |
ContentApi | ContentStatsGet | Get /content/stats | Get content statistics |
ContentApi | ContentStatusIdGet | Get /content/status/{id} | Content Status |
DealsApi | DealEstimatePost | Post /deal/estimate | Estimate the cost of a deal |
DealsApi | DealInfoDealidGet | Get /deal/info/{dealid} | Get Deal Info |
DealsApi | DealProposalPropcidGet | Get /deal/proposal/{propcid} | Get Proposal |
DealsApi | DealQueryMinerGet | Get /deal/query/{miner} | Query Ask |
DealsApi | DealStatusByProposalPropcidGet | Get /deal/status-by-proposal/{propcid} | Get Deal Status by PropCid |
DealsApi | DealStatusMinerPropcidGet | Get /deal/status/{miner}/{propcid} | Deal Status |
DealsApi | DealTransferInProgressGet | Get /deal/transfer/in-progress | Transfer In Progress |
DealsApi | DealTransferStatusPost | Post /deal/transfer/status | Transfer Status |
DealsApi | DealsFailuresGet | Get /deals/failures | Get storage failures for user |
DealsApi | DealsMakeMinerPost | Post /deals/make/{miner} | Make Deal |
DealsApi | DealsStatusDealGet | Get /deals/status/{deal} | Get Deal Status |
DealsApi | PublicDealsFailuresGet | Get /public/deals/failures | Get storage failures |
DealsApi | PublicMinersStorageQueryMinerGet | Get /public/miners/storage/query/{miner} | Query Ask |
MetricsApi | PublicMetricsDealsOnChainGet | Get /public/metrics/deals-on-chain | Get deal metrics |
MinerApi | PublicMinersDealsMinerGet | Get /public/miners/deals/{miner} | Get all miners deals |
MinerApi | PublicMinersStatsMinerGet | Get /public/miners/stats/{miner} | Get miner stats |
NetApi | NetAddrsGet | Get /net/addrs | Net Addrs |
NetApi | PublicMinersFailuresMinerGet | Get /public/miners/failures/{miner} | Get all miners |
NetApi | PublicMinersGet | Get /public/miners | Get all miners |
NetApi | PublicNetAddrsGet | Get /public/net/addrs | Net Addrs |
NetApi | PublicNetPeersGet | Get /public/net/peers | Net Peers |
PeeringApi | AdminPeeringPeersDelete | Delete /admin/peering/peers | Remove peers on Peering Service |
PeeringApi | AdminPeeringPeersGet | Get /admin/peering/peers | List all Peering peers |
PeeringApi | AdminPeeringPeersPost | Post /admin/peering/peers | Add peers on Peering Service |
PeeringApi | AdminPeeringStartPost | Post /admin/peering/start | Start Peering |
PeeringApi | AdminPeeringStatusGet | Get /admin/peering/status | Check Peering Status |
PeeringApi | AdminPeeringStopPost | Post /admin/peering/stop | Stop Peering |
PeersApi | AdminPeeringPeersDelete | Delete /admin/peering/peers | Remove peers on Peering Service |
PeersApi | AdminPeeringPeersGet | Get /admin/peering/peers | List all Peering peers |
PeersApi | AdminPeeringPeersPost | Post /admin/peering/peers | Add peers on Peering Service |
PeersApi | AdminPeeringStartPost | Post /admin/peering/start | Start Peering |
PeersApi | AdminPeeringStatusGet | Get /admin/peering/status | Check Peering Status |
PeersApi | AdminPeeringStopPost | Post /admin/peering/stop | Stop Peering |
PinningApi | PinningPinsGet | Get /pinning/pins | List all pin status objects |
PinningApi | PinningPinsPinidDelete | Delete /pinning/pins/{pinid} | Delete a pinned object |
PinningApi | PinningPinsPinidGet | Get /pinning/pins/{pinid} | Get a pin status object |
PinningApi | PinningPinsPinidPost | Post /pinning/pins/{pinid} | Replace a pinned object |
PinningApi | PinningPinsPost | Post /pinning/pins | Add and pin object |
PublicApi | GetCidGet | Get /get/{cid} | Get Full Content by Cid |
PublicApi | PublicByCidCidGet | Get /public/by-cid/{cid} | Get Content by Cid |
PublicApi | PublicInfoGet | Get /public/info | Get public node info |
PublicApi | PublicMetricsDealsOnChainGet | Get /public/metrics/deals-on-chain | Get deal metrics |
PublicApi | PublicMinersDealsMinerGet | Get /public/miners/deals/{miner} | Get all miners deals |
PublicApi | PublicMinersFailuresMinerGet | Get /public/miners/failures/{miner} | Get all miners |
PublicApi | PublicMinersGet | Get /public/miners | Get all miners |
PublicApi | PublicMinersStatsMinerGet | Get /public/miners/stats/{miner} | Get miner stats |
PublicApi | PublicNetAddrsGet | Get /public/net/addrs | Net Addrs |
PublicApi | PublicNetPeersGet | Get /public/net/peers | Net Peers |
PublicApi | PublicStatsGet | Get /public/stats | Public stats |
UserApi | UserApiKeysGet | Get /user/api-keys | Get API keys for a user |
UserApi | UserApiKeysKeyOrHashDelete | Delete /user/api-keys/{key_or_hash} | Revoke a User API Key. |
UserApi | UserApiKeysPost | Post /user/api-keys | Create API keys for a user |
UserApi | UserExportGet | Get /user/export | Export user data |
UserApi | UserStatsGet | Get /user/stats | Get stats for the current user |
Documentation For Models
- AutoretrieveInitBody
- CollectionsCollection
- ContentAddBody
- MainChannelIdParam
- MainCreateCollectionBody
- MainDeleteContentFromCollectionBody
- MainEstimateDealBody
- MainGetApiKeysResp
- MainImportDealBody
- TypesIpfsListPinStatusResponse
- TypesIpfsPin
- TypesIpfsPinStatusResponse
- UtilContentAddIpfsBody
- UtilContentAddResponse
- UtilContentCreateBody
- UtilHttpError
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)