API to get SICaR workgroups statistics.

Resource URL

http://sicar.beniculturali.it:8080/SIMBA-API/stats

Parameters

ParameterDescriptionOptionalDefault
groups SICaR group idenfifier(s) (comma separated) True
card_type show info only for a specific SICaR card type {"opere_mobili", "schede_foto", ...} True
groups_visibility consider only visible groups? {"visible", "invisible"} True
records_visibility consider only visible records in groups? {"visible", "invisible"} True

Example

GET http://sicar.beniculturali.it:8080/SIMBA-API/stats?groups=132&groups_visibility=visible&records_visibility=visible

Request

  None  

Response

  {
    0:  {
            stat_name: "num_groups"
            stat_label: "N. gruppi di lavoro attivi"
            stat_value: "1"
        }
    1:  {
            stat_name: "num_users"
            stat_label: "N. utenti attivi"
            stat_value: "22"
        }
    2:  {
            stat_name: "num_alpha_data_schede_foto"
            stat_label: "N. schede di tipo 'schede_foto'"
            stat_value: "0"
    }
    3:  {
            stat_name: "num_alpha_data_schede_edifici"
            stat_label: "N. schede di tipo 'schede_edifici'"
            stat_value: "0"
    }
    4:  {
            stat_name: "num_alpha_data_scavi"
            stat_label: "N. schede di tipo 'scavi'"
            stat_value: "0"
        }
    ...
}  

Error Response

    

Resource Information

Rate Limited False
Response Format JSON
Authentication None