Get metadata properties
client.Prism.Properties.ListAll(ctx, params) (*PrismPropertyListAllResponse, error)
GET/v2/prism/{teamId}/properties
Lists property definitions across every object type the engine knows about, including pipeline-owned types that are not queryable or CRUD-capable (message, thread, linkedin_thread, and others). Only the ObjectType enum (12 types) can be queried, created, updated, or listed. Contacts point at message via last_email; that relationship cannot be followed with /query.
Get metadata properties
package main
import (
"context"
"fmt"
"github.com/micro-so/micro-sdk-go"
"github.com/micro-so/micro-sdk-go/option"
)
func main() {
client := micro.NewClient(
option.WithAPIKey("My API Key"),
option.WithTeamID("My Team ID"),
)
response, err := client.Prism.Properties.ListAll(context.TODO(), micro.PrismPropertyListAllParams{
})
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", response)
}
{
"foo": {}
}Returns Examples
{
"foo": {}
}