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