Retrieve
Get an app by ID.
Parameters
idstring
The id field.
Returns
AppGetResponsestruct
The GetAppResponse message contains the details of the requested app in the app field.
Request example Go
package main
import (
"context"
"fmt"
"github.com/stainless-sdks/-go"
"github.com/stainless-sdks/-go/option"
)
func main() {
client := conductoronesdk.NewClient(
option.WithAPIKey("My API Key"),
)
app, err := client.Apps.Get(context.TODO(), "id")
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", app.App)
}
200 Example
{
"app": {
"certifyPolicyId": "certifyPolicyId",
"connectorVersion": 0,
"defaultRequestCatalogId": "defaultRequestCatalogId",
"description": "description",
"displayName": "displayName",
"grantPolicyId": "grantPolicyId",
"iconUrl": "iconUrl",
"identityMatching": "APP_USER_IDENTITY_MATCHING_UNSPECIFIED",
"instructions": "instructions",
"isManuallyManaged": true,
"monthlyCostUsd": 0,
"revokePolicyId": "revokePolicyId",
"strictAccessEntitlementProvisioning": true
}
}