OBJECT
Query
link GraphQL Schema definition
1 type Query { 2 3 # A query to retrieve an existing User 4 # 5 # Arguments 6 # username: Unique User identifier to be retrieved 7 String): User ( : 8 9 # A query to retrieve the WaterStation specified along with the measurements 10 # recorded for the specified time interval (startDate - endDate) 11 # 12 # Arguments 13 # startDate: Beginning of the period of time to be observed 14 # endDate: End of the period of time to be observed 15 # idWaterStation: Unique Water identifier to be retrieved 16 ( 17 String, : 18 String, : 19 Int! : 20 ): WaterStation 21 22 # A query to retrieve all WaterStations in the network along with all the daily 23 # measurements recorded 24 WaterStation] : [ 25 26 # A query to retrieve the AirStation specified along with the measurements 27 # recorded for the specified time interval (endDate - startDate) 28 # 29 # Arguments 30 # idAirStation: Unique air station identifier to be retrieved 31 # startDate: Beginning of the period of time to be observed 32 # endDate: End of the period of time to be observed 33 ( 34 Int!, : 35 String!, : 36 String! : 37 ): AirStation 38 39 # A query to retrieve all AirStations in the network along with all the daily 40 # measurements recorded 41 AirStation] : [ 42 43 # A query to reatrieve information about the actual weather in Zaragoza 44 Weather : 45 46 # A query to retrieve the PollenMeasure specified along with the measurements 47 # recorded for the specified time interval (startDate - endDate) 48 # 49 # Arguments 50 # startDate: Beginning of the period of time to be observed 51 # endDate: End of the period of time to be observed 52 # idPollenMeasure: Unique Water identifier to be retrieved 53 ( 54 String, : 55 String, : 56 String! : 57 ): PollenMeasure 58 59 # A query to retrieve all PollenMeasures in the network along with all the daily 60 # measurements recorded 61 PollenMeasure] : [ 62 63 # A query to retrieve all feeds 64 # 65 # Arguments 66 # page: Current page number 67 # limit: Results per page (100 maximum) 68 Int!, : Int!): [Feed] ( : 69 70 # A query to retrieve the broadcast alerts by descendent time 71 # 72 # Arguments 73 # limit: Number of alerts to be retrieved (100 maximum) 74 Int!): [Alert] ( : 75 76 # A query to retrieve all users (Admin only) 77 # 78 # Arguments 79 # page: Current page number 80 # limit: Results per page (100 maximum) 81 Int!, : Int!): [User] ( : 82 83 # A query to retrieve all settings (Admin only) 84 Settings] : [ 85 86 # A query to retrieve API metrics (Admin only) 87 Metrics : 88 89 }
link Required by
This element is not required by anyone