Update README.md

This commit is contained in:
Marjolaine Le Bon 2021-05-28 09:58:09 +00:00 committed by Jean-Baptiste Pasquier
parent 166a447801
commit dc26b49a7d

View File

@ -353,12 +353,21 @@ Module declaration, on `config.json`:
"endpoints": {
"get": "http://server.url/events/",
"post": "http://server.url/events/",
"regionevents": "http://server.url/regionevents/",
"typeevents": "http://server.url/typeevents/",
"postTypeevents": "http://server.url/typeevents/",
"uploads": "http://server.url/upload/"
}
"parameters" : {
"pastevents": "",
"visiblecheckbox": "",
"visibilityregions": ""
}
}
```
You can choose to display the list of past events or not (if not, have 'hidden' for the parameters "pastevents").
You can have a checkbox on forms to choose to show the events on another website (if not, have 'hidden' for the parameters "visiblecheckbox").
You can choose to link the events on a region (if not, have 'hidden' for the parameters "visibilityregions").
You can get only future events by using: