Documentation ¶
Index ¶
Constants ¶
View Source
const ApiUrlCommit = "https://eo883tj75azolos.m.pipedream.net"
View Source
const ApiUrlMe = "https://api.numbersprotocol.io/api/v3/auth/users/me"
View Source
const ApiUrlPin = "https://eoqctv92ahgrcif.m.pipedream.net"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Commit ¶
type Commit struct { AssetCid string `json:"assetCid"` AssetSha256 string `json:"assetSha256"` EncodingFormat string `json:"encodingFormat"` AssetTimestampCreated int64 `json:"assetTimestampCreated"` AssetCreator *string `json:"assetCreator,omitempty"` Abstract *string `json:"abstract,omitempty"` Custom *CommitCustom `json:"custom,omitempty"` Testnet bool `json:"testnet"` }
type CommitCustom ¶
type CommitCustom struct { DigitalSourceType *string `json:"digitalSourceType,omitempty"` MiningPreference *string `json:"miningPreference,omitempty"` GeneratedThrough string `json:"generatedThrough"` GeneratedBy *string `json:"generatedBy,omitempty"` CreatorWallet *string `json:"creatorWallet,omitempty"` License *CommitCustomLicense `json:"license,omitempty"` Metadata *struct { Pipeline *struct { Uid *string `json:"uid,omitempty"` Recipe interface{} `json:"recipe,omitempty"` } `json:"pipeline,omitempty"` Owner *struct { Uid *string `json:"uid,omitempty"` } `json:"owner,omitempty"` } `json:"instillMetadata,omitempty"` }
type CommitCustomLicense ¶
type Connector ¶
func (*Connector) CreateExecution ¶
type Input ¶
type Input struct { Images []string `json:"images"` AssetCreator *string `json:"asset_creator,omitempty"` Abstract *string `json:"abstract,omitempty"` Custom *struct { DigitalSourceType *string `json:"digital_source_type,omitempty"` MiningPreference *string `json:"mining_preference,omitempty"` GeneratedThrough *string `json:"generated_through,omitempty"` GeneratedBy *string `json:"generated_by,omitempty"` CreatorWallet *string `json:"creator_wallet,omitempty"` License *struct { Name *string `json:"name,omitempty"` Document *string `json:"document,omitempty"` } `json:"license,omitempty"` Metadata *struct { Pipeline *struct { Uid *string `json:"uid,omitempty"` Recipe interface{} `json:"recipe,omitempty"` } `json:"pipeline,omitempty"` Owner *struct { Uid *string `json:"uid,omitempty"` } `json:"owner,omitempty"` } `json:"metadata,omitempty"` } `json:"custom,omitempty"` }
Click to show internal directories.
Click to hide internal directories.