Count entities grouped by form
Groups entities by data.entityName. Entities without an entityName are bucketed under Unknown.
Request
Method: GET
Path: /api/entities/count-by-form
Authentication: Not required
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| undefined | string | undefined | No |
Responses
200 - Map of form name to count
Examples
cURL
curl -X GET \
-H "Content-Type: application/json" \
http://localhost:3000/api/entities/count-by-form
JavaScript
const response = await fetch('http://localhost:3000/api/entities/count-by-form', {
method: 'GET',
headers: {
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);
This documentation is automatically generated from the OpenAPI specification.