Get Service Details
GET/asm/api/v1/service/:serviceId
Get details of a service by service id
Request
Path Parameters
serviceId stringrequired
ID of the service
Query Parameters
snapshot_date string
Snapshot date
all_service_detail string
Boolean flag to fetch all service details
Example: true
Responses
- 200
- 404
Ok
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
overview object
name string
status string
protocol string
serviceType string
port int32
firstObserved int64
lastObserved int64
ipsCount int32
certificatesCount int32
ips object[]
List of IPs
ip string
cloudType string
location string
lastObserved int64
certificates object[]
List of certificates
certificate string
issuerName string
validFrom int64
validTo int64
lastObserved int64
serviceDetails object
Service details
property name* object
Service details
{
"overview": {
"name": "string",
"status": "string",
"protocol": "string",
"serviceType": "string",
"port": 0,
"firstObserved": 0,
"lastObserved": 0,
"ipsCount": 0,
"certificatesCount": 0
},
"ips": [
{
"ip": "string",
"cloudType": "string",
"location": "string",
"lastObserved": 0
}
],
"certificates": [
{
"certificate": "string",
"issuerName": "string",
"validFrom": 0,
"validTo": 0,
"lastObserved": 0
}
],
"serviceDetails": {}
}
Service not found
- application/json
- Schema
- Example (from schema)
Schema
timestamp int64
status int32
message string
path string
{
"timestamp": 0,
"status": 0,
"message": "string",
"path": "string"
}
Loading...