# Count content items Returns the total count of content items in a dataspace with optional filtering. Filtering Options: - categoryId: Filter by specific category UUID - fileFormat: Filter by file format/MIME type - dateFrom: Filter by creation date from (ISO 8601 format) - dateTo: Filter by creation date to (ISO 8601 format) Features: - Efficient counting using SQL COUNT queries - Multiple filter combinations supported - Date range filtering for temporal analysis - Category-specific content counting - File format filtering for content type analysis Example Usage: - Count all content: GET /content/sds-12345678/count - Count by category: GET /content/sds-12345678/count?categoryId=123e4567-e89b-12d3-a456-426614174001 - Count PDFs: GET /content/sds-12345678/count?fileFormat=application/pdf - Count recent content: GET /content/sds-12345678/count?dateFrom=2024-01-01T00:00:00Z - Combined filters: GET /content/sds-12345678/count?categoryId=123e4567-e89b-12d3-a456-426614174001&fileFormat=application/pdf Performance: - Optimized for large datasets using database indexes - Returns exact counts without loading content items into memory - Suitable for dashboard statistics and analytics Endpoint: GET /content/{dataspaceId}/count Version: 1.0.0 Security: bearerAuth ## Path parameters: - `dataspaceId` (string, required) Short dataspace ID with sds- prefix Example: "sds-abc12345" ## Query parameters: - `categoryId` (string) Filter by category ID Example: "123e4567-e89b-12d3-a456-426614174001" - `fileFormat` (string) Filter by file format Example: "application/pdf" - `dateFrom` (string) Filter by date from (ISO 8601 format) Example: "2024-01-01T00:00:00Z" - `dateTo` (string) Filter by date to (ISO 8601 format) Example: "2024-12-31T23:59:59Z" ## Response 200 fields (application/json): - `count` (integer, required) Total number of content items matching the filters Example: 42 ## Response 400 fields ## Response 401 fields ## Response 404 fields