1.4 KiB
1.4 KiB
assiduites_count
GET /assiduites/1/count
{
"compte": 3,
"demi": 2,
"heure": 4.0,
"journee": 3
}
GET /assiduites/1/count/query?etat=present,retard&metric=compte,heure
{
"compte": 1,
"heure": 0.0
}
GET /assiduites/1/count/query?etat=retard
{
"compte": 1,
"demi": 0,
"heure": 0.0,
"journee": 1
}
GET /assiduites/1/count/query?split
{
"absent": {
"compte": 2,
"demi": 2,
"heure": 4.0,
"journee": 2,
"justifie": {
"compte": 0,
"demi": 0,
"heure": 0,
"journee": 0
},
"non_justifie": {
"compte": 2,
"demi": 2,
"heure": 4.0,
"journee": 2
}
},
"present": {
"compte": 0,
"demi": 0,
"heure": 0,
"journee": 0
},
"retard": {
"compte": 1,
"demi": 0,
"heure": 0.0,
"journee": 1,
"justifie": {
"compte": 1,
"demi": 0,
"heure": 0.0,
"journee": 1
},
"non_justifie": {
"compte": 0,
"demi": 0,
"heure": 0,
"journee": 0
}
},
"total": {
"compte": 3,
"demi": 2,
"heure": 4.0,
"journee": 3
}
}