Services
Get a Service
Changed onGet a Service using ID or name.
get/{workspace}/services/{ServiceIdOrName}
Request
- Base URL: http://localhost:8001
- URL: http://localhost:8001/{workspace}/services/{ServiceIdOrName}
- Auth: API key in header Kong-Admin-Token
Path parameters
workspacestring required
Example:team-payments
The name of the workspace
Response
Successfully fetched Service
Example response
{
"host": "example.internal",
"id": "49fd316e-c457-481c-9fc7-8079153e4f3c",
"name": "example-service",
"path": "/",
"port": 80,
"protocol": "http"
}Changes
- breaking
the response property
became nullable for the status
- breaking
- info
endpoint added
- info