Post: MLAC Github Upload

Pushes the generated ML application code (MLAC) directly to a specified GitHub repository.

Endpoint:

/mlac/github/upload

Input Parameters:

  • model_id (string, required): The trained model ID
  • github_token (string, required): GitHub personal access token with repo access
  • repo_url (string, required): Destination GitHub repository URL
  • branch_name (string, optional): Branch to push to (default: main)

Output:

Returns a success message with GitHub commit link or error response in case of failure.