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