Skip to content
Go to Micro

Get metadata properties

client.Prism.Properties.ListAll(ctx, params) (*PrismPropertyListAllResponse, error)
GET/v2/prism/{teamId}/properties

Get metadata properties

ParametersExpand Collapse
params PrismPropertyListAllParams
TeamID param.Field[string]Optional

Path param

formatuuid
Autofill param.Field[bool]Optional

Query param

ListID param.Field[string]Optional

Query param: Scope properties to a specific list/app.

formatuuid
Term param.Field[string]Optional

Query param

ReturnsExpand Collapse
type PrismPropertyListAllResponse map[string, unknown]

Property definitions keyed by object type, then by property definition id (UUID). When the request scopes to a single object type, only that key is present.

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": {}
}