Get Service By ID
GET /api/service/:id
​
Retrieve a specific service by its ID.
Response​
- 200 OK
{ "success": true, "data": { /* service object */ } }
- 404 Not Found
{ "success": false, "error": "Service not found" }
- 500 Internal Server Error
{ "success": false, "error": "Internal Server Error" }
Service object​
{
"id": 1,
"name": "Action Name",
"description": "Action description",
}
Example​
curl -X GET http://localhost:8080/api/action/1 \
--cookie "token=your_jwt_token"