Skip to content

Instantly share code, notes, and snippets.

@csarcom
Last active September 6, 2019 18:03
Show Gist options
  • Save csarcom/a9980a8bf62358e6a0b9e019469c9cd9 to your computer and use it in GitHub Desktop.
Save csarcom/a9980a8bf62358e6a0b9e019469c9cd9 to your computer and use it in GitHub Desktop.
"hits" : [
{
"_index" : "animal",
"_type" : "animal",
"_id" : "6d7a9391-9e7f-47e9-ad46-4d6fe85bba7d",
"_score" : 1.0,
"_source" : {
"scope" : {
"farm_id" : "7c60dea5-1d80-4997-87e5-a78a262229fd",
"holding_id" : "af13a51c-a1c6-4596-afd8-a15fbe54fe40"
},
"action" : "republish",
"entity" : "Animal",
"id" : "6d7a9391-9e7f-47e9-ad46-4d6fe85bba7d",
"app" : "s4farm-api",
"message_id" : "256c5ab6-80c9-422e-b1d8-e2b626836b8f",
"publish_date" : 1.567464378484753E9,
"data" : {
"id" : 14661,
"genetic" : {
"id" : 999,
"name" : "Registro importado"
},
"animal_type" : {
"id" : 2,
"name" : "Matriz",
"gender" : {
"id" : 1,
"name" : "Feminino"
}
},
"uuid" : "6d7a9391-9e7f-47e9-ad46-4d6fe85bba7d"
}
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment