Implementing GET /api/v1/program.php and PUT /api/v1/program.php.