Hi,
I am using the GraphQL API to get back Compass Components.
There does not seem a way to get the Tier and Lifecycle fields values.
You can get back the meta deta like Name/Description/Options etc but not the value for the component.
Am I missing something?
Here is my query which gets back everything else ok
Note that the Explorer only offers definition as a child of fields, no reference to a value
query searchCompassComponents($cloudId: String!, $query: CompassSearchComponentQuery!) {
compass {
searchComponents(cloudId: $cloudId, query: $query) {
... on CompassSearchComponentConnection {
nodes {
link
component {
id
name
description
typeId
ownerId
labels {
name
}
fields {
definition {
name
}
}
}
}
pageInfo {
hasNextPage
endCursor
}
}
... on QueryError {
message
extensions {
statusCode
errorType
}
}
}
}
}
2 posts - 1 participant