Skip to main content

PinningApi

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

MethodHTTP requestDescription
PinningPinsGetGet /pinning/pinsList all pin status objects
PinningPinsPinidDeleteDelete /pinning/pins/{pinid}Delete a pinned object
PinningPinsPinidGetGet /pinning/pins/{pinid}Get a pin status object
PinningPinsPinidPostPost /pinning/pins/{pinid}Replace a pinned object
PinningPinsPostPost /pinning/pinsAdd and pin object

PinningPinsGet

TypesIpfsListPinStatusResponse PinningPinsGet(ctx, ) List all pin status objects

This endpoint lists all pin status objects

Required Parameters

This endpoint does not need any parameter.

Return type

TypesIpfsListPinStatusResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

PinningPinsPinidDelete

PinningPinsPinidDelete(ctx, pinid) Delete a pinned object

This endpoint deletes a pinned object.

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
pinidstringPin ID

Return type

(empty response body)

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

PinningPinsPinidGet

TypesIpfsPinStatusResponse PinningPinsPinidGet(ctx, pinid) Get a pin status object

This endpoint returns a pin status object.

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
pinidstringcid

Return type

TypesIpfsPinStatusResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

PinningPinsPinidPost

TypesIpfsPinStatusResponse PinningPinsPinidPost(ctx, body, pinid) Replace a pinned object

This endpoint replaces a pinned object.

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
bodyTypesIpfsPinNew pin
pinidstringPin ID to be replaced

Return type

TypesIpfsPinStatusResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

PinningPinsPost

TypesIpfsPinStatusResponse PinningPinsPost(ctx, body, optional) Add and pin object

This endpoint adds a pin to the IPFS daemon.

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
bodyTypesIpfsPinPin Body {cid:cid, name:name}
optional*PinningApiPinningPinsPostOptsoptional parametersnil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a PinningApiPinningPinsPostOpts struct Name | Type | Description | Notes ------------- | ------------- | ------------- | -------------

ignoreDupes | optional.| Ignore Dupes | overwrite | optional.| Overwrite conflicting files in collections |

Return type

TypesIpfsPinStatusResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]