GET /api/kps/{storeAlias}/{objectId}
Description
Gets the specified object from the specified store.
Resource URL
https://localhost:8090/api/router/service/api-server-instance-id/api/kps/{storeAlias}/{objectId}
Parameters
storeAlias | mandatory | Alias of store to get object from. |
objectId | mandatory | Primary object id. |
Responses
Response Code | Description |
---|---|
200 | Success. The response body contains the required object. |
404 | Fail. KPS has not been configured on this node. |
404 | Fail. The specified store or object does not exist. |
500 | Fail. An internal server error occurred. |
Example Request and Response
GET https://localhost:8090/api/router/service/instance-1/api/kps/employees/0001
Via CURL: curl -k -v --user admin:changeme https://localhost:8090/api/router/service/instance-1/api/kps/employees/0001
HTTP 1.1 200 OK
[
{
"age": 35,
"email": "fred@vordel.com",
"id": "0001",
"name": "fred"
}
]