Get Tracking Plan
GET {{host}}/v1beta/{{tracking_plan_name}}
It is expected that a tracking plan that includes a null
enum value as a property field will denote that value as a string (null
). See documented Get Tracking Plan With Null Enum
call, and documented Update Tracking Plan With Null Enum
calls for examples.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"name":"{{tracking_plan_name}}","display_name":"Kicks App","rules":{"identify_traits":[],"group_traits":[],"events":[{"name":"Order Completed","description":"Who bought what","version":1,"rules":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{"context":{},"traits":{},"properties":{"required":["product","price","amount"],"type":"object","properties":{"product":{"type":["string"]},"amount":{"type":["number"]},"price":{"type":["number"]}}}}}}],"global":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{"context":{"required":["library"],"type":"object","properties":{"librarry":{"type":["object"]}}},"traits":{},"properties":{}}},"identify":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{"traits":{"type":"object","properties":{"occupation":{"type":["string"]},"age":{"type":["number"]},"name":{"type":["string"]}},"required":["name"]},"properties":{},"context":{}}},"group":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{"properties":{},"context":{},"traits":{"properties":{"company":{"type":["object"]}},"required":["company"],"type":"object"}}}},"create_time":"2019-02-05T01:21:25Z","update_time":"2019-02-05T01:21:25Z"}