Get Code Counts
Changed onFetch code count information for a configuration.
Args: configuration_id (UUID): ID of the configuration to update user (DbUser): The logged-in user db (AsyncDatabaseConnection): Database connection
Raises: HTTPException: 404 if configuration can't be found HTTPException: 500 if code count metadata can't be fetched
Returns: CodeCountsResponse: Object containing code count info
Request
- The document declares no server URL.
- Authnone declared
Path parameters
Response
Successful Response
Code count information to return to the client.
Field-identical to DbCodeResultCountMetadata now that both follow <thing>_count. The mapping below was already a pure rename; collapsing the two models is an E1 question (a db shape reaching the browser), not a naming one.
Changes
- breaking
removed the required property
total_code_countfrom the response with the status - breaking
removed the required property
total_code_sets_countfrom the response with the status - breaking
removed the required property
total_custom_codes_countfrom the response with the status
5 more changes in this revision
- breaking