Skip to content

Commit b416658

Browse files
committed
annotated graphql
1 parent 11df366 commit b416658

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

oil-gas-agent-automation/operations-agent.graphqls

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,18 @@
22
scalar DateTime
33

44
type Query {
5+
"""
6+
Returns information about the well/asset including it's maintenance records, manual,
7+
description, and other important information.
8+
"""
59
Assets(asset_id: Int!, limit: Int = 20, offset: Int = 0): [Assets!]
10+
"""
11+
Returns the flowrate readings for a given well/asset within the specified range order by timestamp decreasing.
12+
"""
613
FlowRateByRange(assetId: Int!, minRate: Float = 0, maxRate: Float = 10000): [EnrichedFlowRate!]
14+
"""
15+
Returns recent pressure and temperature readings for a given well/asset by id.
16+
"""
717
RecentPressure(assetId: Int!, limit: Int = 25, offset: Int = 0): [RecentPressure!]
818
}
919

0 commit comments

Comments
 (0)