docs: [Zurück zur Übersicht](../README.md) in Alle in README für jeder Verzeichnis
This commit is contained in:
10
docs/services/database/pois/README.md
Normal file
10
docs/services/database/pois/README.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# 📄 Übersicht: docs/services/database/pois
|
||||
|
||||
- [addPoiService](addPoiService.md)
|
||||
- [deletePoiService](deletePoiService.md)
|
||||
- [fetchPoiDataByIdService](fetchPoiDataByIdService.md)
|
||||
- [fetchPoiDataService](fetchPoiDataService.md)
|
||||
- [fetchPoiIconsDataService](fetchPoiIconsDataService.md)
|
||||
- [fetchPoiMarkersService](fetchPoiMarkersService.md)
|
||||
- [fetchPoiTypService](fetchPoiTypService.md)
|
||||
- [updatePoiService](updatePoiService.md)
|
||||
@@ -12,11 +12,15 @@ await addPoiService({
|
||||
poiTypeId: 1,
|
||||
idLD: 12,
|
||||
latitude: 53.21,
|
||||
longitude: 8.43
|
||||
longitude: 8.43,
|
||||
});
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
- Endpoint: `POST /api/talas_v5_DB/pois/addPoi`
|
||||
- Headers: `"Content-Type": "application/json"`
|
||||
- Headers: `"Content-Type": "application/json"`
|
||||
|
||||
---
|
||||
|
||||
[Zurück zur Übersicht](../../../README.md)
|
||||
|
||||
@@ -12,4 +12,8 @@ await deletePoiService(id);
|
||||
|
||||
## API
|
||||
|
||||
- Endpoint: `DELETE /api/talas_v5_DB/pois/deletePoi?id=ID`
|
||||
- Endpoint: `DELETE /api/talas_v5_DB/pois/deletePoi?id=ID`
|
||||
|
||||
---
|
||||
|
||||
[Zurück zur Übersicht](../../../README.md)
|
||||
|
||||
@@ -12,4 +12,8 @@ const poi = await fetchPoiDataService(idPoi);
|
||||
|
||||
## API
|
||||
|
||||
- Endpoint: `GET /api/talas_v5_DB/pois/getPoiById?idPoi=ID`
|
||||
- Endpoint: `GET /api/talas_v5_DB/pois/getPoiById?idPoi=ID`
|
||||
|
||||
---
|
||||
|
||||
[Zurück zur Übersicht](../../../README.md)
|
||||
|
||||
@@ -12,4 +12,8 @@ const data = await fetchPoiDataService();
|
||||
|
||||
## API
|
||||
|
||||
- Endpoint: `GET /api/talas_v5_DB/pois/poi-icons`
|
||||
- Endpoint: `GET /api/talas_v5_DB/pois/poi-icons`
|
||||
|
||||
---
|
||||
|
||||
[Zurück zur Übersicht](../../../README.md)
|
||||
|
||||
@@ -12,4 +12,8 @@ const icons = await fetchPoiIconsDataService();
|
||||
|
||||
## API
|
||||
|
||||
- Endpoint: `GET /api/talas_v5_DB/pois/poi-icons`
|
||||
- Endpoint: `GET /api/talas_v5_DB/pois/poi-icons`
|
||||
|
||||
---
|
||||
|
||||
[Zurück zur Übersicht](../../../README.md)
|
||||
|
||||
@@ -12,4 +12,8 @@ const pois = await fetchPoiMarkersService();
|
||||
|
||||
## API
|
||||
|
||||
- Endpoint: `GET /api/talas_v5_DB/pois/readAllPOIs`
|
||||
- Endpoint: `GET /api/talas_v5_DB/pois/readAllPOIs`
|
||||
|
||||
---
|
||||
|
||||
[Zurück zur Übersicht](../../../README.md)
|
||||
|
||||
@@ -12,4 +12,8 @@ const types = await fetchPoiTypService();
|
||||
|
||||
## API
|
||||
|
||||
- Endpoint: `GET /api/talas_v5_DB/poiTyp/readPoiTyp`
|
||||
- Endpoint: `GET /api/talas_v5_DB/poiTyp/readPoiTyp`
|
||||
|
||||
---
|
||||
|
||||
[Zurück zur Übersicht](../../../README.md)
|
||||
|
||||
@@ -11,11 +11,15 @@ await updatePoiService({
|
||||
idPoi: 5,
|
||||
description: "Neuer Text",
|
||||
idLD: 3,
|
||||
idPoiTyp: 1
|
||||
idPoiTyp: 1,
|
||||
});
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
- Endpoint: `POST /api/talas_v5_DB/pois/updatePoi`
|
||||
- Body: JSON mit den zu aktualisierenden Feldern
|
||||
- Body: JSON mit den zu aktualisierenden Feldern
|
||||
|
||||
---
|
||||
|
||||
[Zurück zur Übersicht](../../../README.md)
|
||||
|
||||
Reference in New Issue
Block a user