Getting all instances or endpoints for ServiceID
Request URL
POST https://http-collector-observability.sixthsense.rakuten.com/api-externalization/api/v1/entities
Request
{
"serviceId" : "eyduYW1lJzonbm9kZS1hcHAtMicsJ3RlYW1JRCc6JzU5ZWRkZDE1LTIwMjQtNDA1OS05OGFlLTc5YTJjZTViYTEzNCcsJ3R5cGUnOidBJ30=.1",
"scope" : "endpoint"
}
Parameters | Description |
---|---|
serviceId | serviceId for which metrics are required |
scope | scope returned from the api /api/v1/metrics for which instances names are required |
scopeId | Id of instances configured for the service for the given scope |
name | name of instances configured for the service for the given scope |
Response
{
"message": "success",
"success": true,
"data": {
"entities": [
{
"scopeId": "eyduYW1lJzonamF2YS1kZW1vLWVycm9yY29kZTMnLCd0ZWFtSUQnOjI5MzEyYjliLTJhMDctNDhiMy1hYTZmLWNmZTVmZjg1ZGY2OSwndHlwZSc6J0EnfQ==.1_YmIxNTQyZmVjOWJlNDE2ZDkwZWZjNDIyZmQ2ZDY1YmZAMTAuODAuMS4yMTk=",
"name": "bb1542fec9be416d90efc422fd6d65bf@10.80.1.219"
}
]
}
}