Function stop_app

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

Stop a specific application.

§Arguments

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

§Returns

The updated application if found, or None if not found