{"description":"Automated git pull service for deployment","base_dir":"/home/hysf2626/public_html","endpoints":{"GET /health":"Health check endpoint","GET /":"Show this usage information","POST /{path}":"Execute git pull on specified path"},"security":{"authentication":"API Key via header, URL param, or webhook secret","features":["XSS prevention","Directory traversal protection","Command injection prevention","Path validation and sanitization"]},"service":"Git Pull Service","status":"success","usage":{"method":"POST","endpoint":"/{path}","examples":[{"description":"Git pull only","command":"curl -X POST -H 'X-API-Key: YOUR_KEY' http://localhost:8800/pay.hystori.id"},{"command":"curl -X POST -H 'X-API-Key: YOUR_KEY' 'http://localhost:8800/pay.hystori.id?type=laravel'","description":"Git pull + Laravel artisan clear"},{"command":"curl -X POST 'http://localhost:8800/pay.hystori.id?key=YOUR_KEY&type=laravel'","description":"Git pull with URL auth"}],"type_parameter":{"description":"Optional: Specify project type for post-deployment actions","values":{"laravel":"Run php artisan commands after git pull","default":"Git pull only (default)"}},"laravel_commands":["route:clear","view:clear","cache:clear","config:clear","event:clear","optimize:clear"],"authentication":{"URL parameter":"?key=xxx (alternative)","GitHub webhook":"secret in payload (fallback)","X-API-Key":"Your API key (required)"}},"version":"1.0.1"}