You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/api_modules/adm1.py
+3
Original file line number
Diff line number
Diff line change
@@ -13,9 +13,12 @@ def get(self):
13
13
Get all Administrative levels 1 from database (zone)
14
14
---
15
15
description: Query the information of all administrative levels 1 and the API will respond with the list of all regions, this endpoint has no parameters.
Copy file name to clipboardexpand all lines: src/api_modules/adm2.py
+3
Original file line number
Diff line number
Diff line change
@@ -13,11 +13,14 @@ def get(self, adm1 = None):
13
13
Get all Administrative levels 2 from database (woreda)
14
14
---
15
15
description: Query the information of the administrative levels 2 (woreda). This endpoint needs one parameter, **adm1** that is id of the administrative levels 1 (zone) to be queried (this id can be obtained from the endpoint `/adm1`); The API will respond with the list of the woredas from that specific zone.
16
+
tags:
17
+
- Administrative levels
16
18
parameters:
17
19
- in: path
18
20
name: adm1
19
21
type: string
20
22
required: true
23
+
description: adm1 id to be query, for example 64d1be9c16bfd546aec4f58b
Copy file name to clipboardexpand all lines: src/api_modules/adm3.py
+3
Original file line number
Diff line number
Diff line change
@@ -13,11 +13,14 @@ def get(self,adm2=None):
13
13
Get all Administrative levels 3 from database (kebele)
14
14
---
15
15
description: Query the information of the administrative levels 3 (kebele). This endpoint needs one parameter, **adm2** that is id of the administrative levels 2 (woreda) to be queried (this id can be obtained from the endpoint `/adm2`); The API will respond with the list of the kebeles from that specific woreda.
16
+
tags:
17
+
- Administrative levels
16
18
parameters:
17
19
- in: path
18
20
name: adm2
19
21
type: string
20
22
required: true
23
+
description: adm2 id to be query, for example 64d1bec4f8b9461ac6ed74cb
description: Query the information of monitored data from one waterpoint . This endpoint needs one parameter, **waterpoint** that is id of the waterpoint to be queried (this id can be obtained from the endpoint `/waterpoint`); The API will respond with the list of the monitored values from that specific waterpoint.
15
+
tags:
16
+
- Waterpoint Monitored data
15
17
parameters:
16
18
- in: path
17
19
name: waterpoint
18
20
type: string
19
21
required: true
22
+
description: waterpoint id to be query, for example 64d1bf1cc703fe54e05ee7d6
description: Query the information of last monitored data from one waterpoint . This endpoint needs one parameter, **waterpoint** that is id of the waterpoint to be queried (this id can be obtained from the endpoint `/waterpoint`); The API will respond with the list of the last monitored values from that specific waterpoint.
15
+
tags:
16
+
- Waterpoint Monitored data
15
17
parameters:
16
18
- in: path
17
19
name: waterpoint
18
20
type: string
19
21
required: true
22
+
description: waterpoint id to be query, for example 64d1bf1cc703fe54e05ee7d6
description: Query the information of the ons specific waterpoint. This endpoint needs one parameter, **waterpoint** that is id of the waterpoint to be queried (this id can be obtained from the endpoint `/waterpoints`); The API will respond with the waterpoit with the id provided.
16
+
tags:
17
+
- Waterpoint information
16
18
parameters:
17
19
- in: path
18
20
name: waterpoint
19
21
type: string
20
22
required: true
23
+
description: waterpoint id to be query, for example 64d1bf1cc703fe54e05ee7d6
description: Query the information of the one waterpoints profile. This endpoint has not parameter. This endpoint needs two parameters, **waterpoint** that is id of the waterpoint to be queried (this id can be obtained from the endpoint `/waterpoints`), and the **language** that is the language that you want to get; The API will respond with the waterpoit profile with the id provided.
26
+
tags:
27
+
- Waterpoint information
26
28
parameters:
27
29
- in: path
28
30
name: waterpoints
29
31
type: string
30
32
required: true
33
+
description: IDs of waterpoints you want to retrieve, separated by comma, for example 64d1bf1cc703fe54e05ee7d6,64d1bf1cc703fe54e05ee7d7
31
34
- in: path
32
35
name: language
33
36
type: string
34
37
required: false
38
+
description: Language in which you want to view the content, currently we have three languages, **en**, **or**, and **am**
0 commit comments