English     Dutch     French     German     Spanish
Última modificación por Wim Verheirstraeten el 2023/10/06 18:14

Mostrar los últimos autores
1 Por favor, solicite el último archivo OpenAPI a través de info@eniris o descargue: [[attach:openapi_02022023.yaml||target="_blank"]]
2
3 Vaya a: [[https:~~/~~/editor.swagger.io/>>url:https://editor.swagger.io/]] para abrir este archivo.
4
5 = Autenticación =
6
7 Puede encontrar la API en: [[https:~~/~~/authentication.eniris.be/docs/#/Authentication/accesstoken>>https://authentication.eniris.be/docs/#/Authentication/accesstoken]]
8
9 The typical steps are:
10 1) login
11 2) create access token
12 3) query devices via GET [[https:~~/~~/api.eniris.be/v1/device>>https://api.eniris.be/v1/device]]
13
14
15 = **Collection voor postman** =
16
17
18 Hieronder is een script te vinden voor postman die helpt bij het afhandelen van de token generatie. (zie bijlage)
19
20
21 [[attach:Influx via api.postman_collection.json||target="_blank"]]
22
23 = **Access timeseries data** =
24
25 [[image:1681128242876-647.png||height="151" width="535"]]
26
27 {{video url="https://youtu.be/zpwO8mQxvt4"/}}
28
29
30 = **Access a device (building/site)** =
31
32 GET [[https:~~/~~/api.eniris.be/v1/device?id=37142>>https://api.eniris.be/v1/device?id=37142]]
33
34
35 [[image:1632835483913-618.png]]
36
37
38
39 To edit a property, use POST:
40
41
42 [[image:1632835529574-890.png]]
43
44
45
46 = =

Aplicaciones

(c) Eniris, 2024