Get a specific zone install
Get a specific zone install
client.Zones.Installs.Get(ctx, installID, params) (*Install, error)
GET/zones/{zone_id}/installs/{install_id}
Get a specific zone install
Parameters
installID string
maxLength26
Returns
Get a specific zone install
package main
import (
"context"
"fmt"
"github.com/keycardai/keycard-go"
)
func main() {
client := keycard.NewClient(
)
install, err := client.Zones.Installs.Get(
context.TODO(),
"install_id",
keycard.ZoneInstallGetParams{
ZoneID: "zone_id",
},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", install.ID)
}
{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"package_id": "package_id",
"package_slug": "package_slug",
"status": "pending",
"updated_at": "2019-12-27T18:11:19.117Z",
"inputs": {
"client_id": "bar",
"client_secret": "bar"
},
"links": [
{
"href": "href",
"rel": "rel",
"properties": {
"foo": "bar"
},
"titles": {
"foo": "string"
},
"type": "type"
}
],
"org_id": "org_id",
"outputs": {
"mcp_url": "bar"
},
"package_version": 0,
"zone_id": "zone_id"
}Returns Examples
{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"package_id": "package_id",
"package_slug": "package_slug",
"status": "pending",
"updated_at": "2019-12-27T18:11:19.117Z",
"inputs": {
"client_id": "bar",
"client_secret": "bar"
},
"links": [
{
"href": "href",
"rel": "rel",
"properties": {
"foo": "bar"
},
"titles": {
"foo": "string"
},
"type": "type"
}
],
"org_id": "org_id",
"outputs": {
"mcp_url": "bar"
},
"package_version": 0,
"zone_id": "zone_id"
}