List templates
https://api.lytics.io/v2/templateundefined
{
"_meta": {},
"data": [
{
"author_id": "string",
"created": "string",
"description": "string",
"desired_format": "string",
"field_filter": [
"string"
],
"id": "string",
"lytics_managed": true,
"name": "string",
"reference_tables": [
"string"
],
"target": "string",
"type": "string",
"updated": "string"
}
],
"request_id": "string",
"status": 0
}Create a template
https://api.lytics.io/v2/templateundefined
"string"
{
"_meta": {},
"data": {
"author_id": "string",
"created": "string",
"description": "string",
"desired_format": "string",
"field_filter": [
"string"
],
"id": "string",
"lytics_managed": true,
"name": "string",
"reference_tables": [
"string"
],
"target": "string",
"type": "string",
"updated": "string"
},
"request_id": "string",
"status": 0
}Test a template
https://api.lytics.io/v2/template/testundefined
{
"entity": {},
"job_config": {},
"reference_tables": [
"string"
],
"sample_segments": {
"as": "env",
"names": [
"string"
]
},
"template_definition": "string",
"template_target": "stream",
"template_type": "jsonnet"
}"string"
Get a template
https://api.lytics.io/v2/template/{id}undefined
{
"_meta": {},
"data": {
"author_id": "string",
"created": "string",
"description": "string",
"desired_format": "string",
"field_filter": [
"string"
],
"id": "string",
"lytics_managed": true,
"name": "string",
"reference_tables": [
"string"
],
"target": "string",
"type": "string",
"updated": "string"
},
"request_id": "string",
"status": 0
}Update a template
https://api.lytics.io/v2/template/{id}undefined
"string"
{
"_meta": {},
"data": {
"author_id": "string",
"created": "string",
"description": "string",
"desired_format": "string",
"field_filter": [
"string"
],
"id": "string",
"lytics_managed": true,
"name": "string",
"reference_tables": [
"string"
],
"target": "string",
"type": "string",
"updated": "string"
},
"request_id": "string",
"status": 0
}Delete template
https://api.lytics.io/v2/template/{id}undefined
{
"_meta": {},
"data": {},
"request_id": "string",
"status": 0
}Get a template definition
https://api.lytics.io/v2/template/{id}/definitionundefined
{
"_meta": {},
"data": "string",
"request_id": "string",
"status": 0
}Test a template
https://api.lytics.io/v2/template/{id}/testundefined
{
"entity": {},
"job_config": {},
"sample_segments": {
"as": "env",
"names": [
"string"
]
}
}"string"