Function get_app_stats

Source
pub async fn get_app_stats(
    platform_id: i64,
    app_id: String,
    db_manager: &State<Arc<DatabaseManager>>,
) -> Result<Json<AppStats>, (Status, Json<Value>)>
Expand description

Get statistics for a specific application.

§Arguments

  • platform_id - Platform identifier
  • app_id - The ID of the application to get statistics for
  • db_manager - Database manager for accessing platform-specific pools

§Returns

Statistics for the application