{"service":"Git Pull Service","usage":{"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":{"default":"Git pull only (default)","laravel":"Run php artisan commands after git pull"},"description":"Optional: Specify project type for post-deployment actions"},"endpoint":"/{path}","method":"POST","laravel_commands":["route:clear","view:clear","cache:clear","config:clear","event:clear","optimize:clear"],"authentication":{"X-API-Key":"Your API key (required)","GitHub webhook":"secret in payload (fallback)","URL parameter":"?key=xxx (alternative)"}},"status":"success","version":"1.0.1","base_dir":"/home/hysf2626/public_html","description":"Automated git pull service for deployment","endpoints":{"POST /{path}":"Execute git pull on specified path","GET /":"Show this usage information","GET /health":"Health check endpoint"},"security":{"authentication":"API Key via header, URL param, or webhook secret","features":["XSS prevention","Directory traversal protection","Command injection prevention","Path validation and sanitization"]}}