diff --git a/metadata.graphqls b/metadata.graphqls index 94b0d1c974717c766b93e8f10fc64af52611e88d..7ff506250ea56153261f11fa6be3507fc5370ffa 100644 --- a/metadata.graphqls +++ b/metadata.graphqls @@ -45,6 +45,13 @@ type Endpoint { name: String! } +type EndpointInfo { + id: ID! + name: String! + serviceId: ID! + serviceName: String! +} + extend type Query { getGlobalBrief(duration: Duration!): ClusterBrief @@ -60,4 +67,5 @@ extend type Query { # Consider there are huge numbers of endpoint, # must use endpoint owner's service id, keyword and limit filter to do query. searchEndpoint(keyword: String!, serviceId: ID!, limit: Int!): [Endpoint!]! + getEndpointInfo(endpointId: ID!): EndpointInfo }