Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "create", Short: "Creates an API proxy in an Apigee Org", Long: "Creates an API proxy in an Apigee Org", RunE: func(cmd *cobra.Command, args []string) (err error) { if proxy != "" { return shared.ImportBundle("apis", name, proxy) } u, _ := url.Parse(shared.BaseURL) u.Path = path.Join(u.Path, shared.RootArgs.Org, "apis") proxyName := "{\"name\":\"" + name + "\"}" _, err = shared.HttpClient(true, u.String(), proxyName) return }, }
Cmd to create api
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.