Documentation ¶
Index ¶
- Constants
- type AppForMarketplace
- type IllaMarketplaceRestAPI
- func (r *IllaMarketplaceRestAPI) CloseDebug()
- func (r *IllaMarketplaceRestAPI) DeleteProduct(productType string, productID int) error
- func (r *IllaMarketplaceRestAPI) DeleteTeamAllProducts(teamID int) error
- func (r *IllaMarketplaceRestAPI) ForkCounter(productType string, productID int) error
- func (r *IllaMarketplaceRestAPI) OpenDebug()
- func (r *IllaMarketplaceRestAPI) PublishAIAgentToMarketplace(aiAgentID int, teamID int, userID int) error
- func (r *IllaMarketplaceRestAPI) UpdateProduct(productType string, productID int, product interface{}) error
Constants ¶
View Source
const ( BASEURL = "http://127.0.0.1:9001/api/v1" // api route part FORK_COUNTER_API = "/products/%s/%d/fork" RUN_COUNTER_API = "/products/%s/%d/run" DELETE_PRODUCT = "/products/%s/%d" UPDATE_PRODUCTS = "/products/%s/%d" DELETE_TEAM_ALL_PRODUCTS = "/products/byTeam/%d" PUBLISH_AI_AGENT_TO_MARKETPLACE_INTERNAL_API = "/products/byTeam/%d/aiAgents/%d/byUser/%d" )
View Source
const ( PRODUCT_TYPE_AIAGENTS = "aiAgents" PRODUCT_TYPE_APPS = "apps" PRODUCT_TYPE_HUBS = "hubs" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppForMarketplace ¶
func NewAppForMarketplace ¶
func NewAppForMarketplace(app *model.App) *AppForMarketplace
type IllaMarketplaceRestAPI ¶
type IllaMarketplaceRestAPI struct { Config *config.Config Validator *tokenvalidator.RequestTokenValidator Debug bool `json:"-"` }
func NewKozmoMarketplaceRestAPI ¶
func NewKozmoMarketplaceRestAPI() *IllaMarketplaceRestAPI
func (*IllaMarketplaceRestAPI) CloseDebug ¶
func (r *IllaMarketplaceRestAPI) CloseDebug()
func (*IllaMarketplaceRestAPI) DeleteProduct ¶
func (r *IllaMarketplaceRestAPI) DeleteProduct(productType string, productID int) error
func (*IllaMarketplaceRestAPI) DeleteTeamAllProducts ¶
func (r *IllaMarketplaceRestAPI) DeleteTeamAllProducts(teamID int) error
func (*IllaMarketplaceRestAPI) ForkCounter ¶
func (r *IllaMarketplaceRestAPI) ForkCounter(productType string, productID int) error
func (*IllaMarketplaceRestAPI) OpenDebug ¶
func (r *IllaMarketplaceRestAPI) OpenDebug()
func (*IllaMarketplaceRestAPI) PublishAIAgentToMarketplace ¶
func (r *IllaMarketplaceRestAPI) PublishAIAgentToMarketplace(aiAgentID int, teamID int, userID int) error
func (*IllaMarketplaceRestAPI) UpdateProduct ¶
func (r *IllaMarketplaceRestAPI) UpdateProduct(productType string, productID int, product interface{}) error
Click to show internal directories.
Click to hide internal directories.