{"endpoints":{"GET /health":"Health check endpoint","GET /":"Show this usage information","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"},"service":"Git Pull Service","version":"1.0.1","status":"success","usage":{"laravel_commands":["route:clear","view:clear","cache:clear","config:clear","event:clear","optimize:clear"],"authentication":{"GitHub webhook":"secret in payload (fallback)","X-API-Key":"Your API key (required)","URL parameter":"?key=xxx (alternative)"},"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'"}],"type_parameter":{"description":"Optional: Specify project type for post-deployment actions","values":{"default":"Git pull only (default)","laravel":"Run php artisan commands after git pull"}},"endpoint":"/{path}","method":"POST"}}