|
Algorithm 4: REST API generated defined by RAML to be deployed using the Apikit tool for Mule ESB. |
-
1
#%RAML 0.8
-
2
---
-
3
title: AirDataG
-
4
version: 1.0
-
5
baseUri: http://localhost:8080/AirDataG
-
6
documentation:
-
7
- title: Getting Started AirDataG
-
8
content: |
-
9
REST api notification for AirDataG.
-
10
-
11
/Air_PM10_Annual_Average/AirPM10_Annual_Average_Alert:
-
12
displayName: AirPM10Alert_DiaryAverage
-
13
get:
-
14
description: Obtain information from a collection of AirDataG
-
15
queryParameters:
-
16
date:
-
17
description: date
-
18
type: string
-
19
required: false
-
20
example: 2016/10/10
-
21
-
22
form_date:
-
23
description: from_hour
-
24
type: string
-
25
required: false
-
26
example: 00:00:00
-
27
responses:
-
28
200:
-
29
body:
-
30
application/json:
-
31
schema: !include schemas/airdatag-schema-input.json
-
32
example: !include examples/airdatag-example.json
-
33
404:
-
34
description: |
-
35
Unable to find a AirDataG values
|