Subversion Repository Public Repository

Nextrek

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
- registrazione_utente.php
localhost/smartcharging/registrazione_utente.php?{"nominativo": "Mario Rossi","cell": "3827382938","email": "quello@qualcosa.it","avatar": "mario.png","username": "mario1","password":"tyryrtyyr"}

- registrazione_locale.php
localhost/smartcharging/registrazione_locale.php?{"nominativo": "Mario Rossi","cell": "3827382938","email": "quello@qualcosa.it","avatar": "logo_locale.png","nomelocale": "DA MARIO","descrizione": "blablabla","tipologia": "3","imgs": ["esterno.png", "interno.png"],"username": "mario2","password": "tyryrtyyr"}

- set_position.php
localhost/smartcharging/set_position.php?{"id":"3","lat":45.9485384753845,"lon":23.59384756834}

- cambia_nome_locale.php
localhost/smartcharging/cambia_nome_locale.php?{"id":"3","nomelocale":"il bar di gianni"}

- get_immagini.php
localhost/smartcharging/get_immagini.php?{"id":"5"}

- add_commento.php
http://localhost/smartcharging/add_commento.php?{"local_id": "6","user_id": "7","voto": 3,"descrizione": "bla bla bla","data": "2015-03-21T23:59:59Z","imgs": ["immagine1.png", "immagine2.png"]}

- get_commenti.php
http://localhost/smartcharging/get_commenti.php?{"id": "5","startIndex": 2, "length": 3}

- set_descrizione.php
http://localhost/smartcharging/set_descrizione.php?{"id": "5","descrizione": "dsfdsf"}

- get_immagini.php (commenti)
http://localhost/smartcharging/get_immagini.php?{"id": "4","type": "comment"}

- get_immagini.php (locale)
http://localhost/smartcharging/get_immagini.php?{"id": "3","type": "local"}

- add_immagine.php (commenti)
http://localhost/smartcharging/add_immagine.php?{"id": "4","type": "comment","img": "immagine_commento.png"}

- add_immagine.php (locale)
http://localhost/smartcharging/add_immagine.php?{"id": "3","type": "local","img": "cucine.png"}

- get_info_small_locale.php
localhost/smartcharging/get_info_small_locale.php?{"id":"3"}

- delete_immagine.php (commenti)
http://localhost/smartcharging/delete_immagine.php?{"id": "4","type": "comment","img": "immagine_commento.png"}

- delete_immagine.php (locale)
http://localhost/smartcharging/delete_immagine.php?{"id": "3","type": "local","img": "cucine.png"}

- get_list_locali.php
http://localhost/smartcharging/get_list_locali.php?{"tipologia": "3","lat": 41.8569749,"lon": 12.4781286,"distance": 1000}

Commits for Nextrek/Android/SmartCharging/endPoints/examples.txt

Diff revisions: vs.
Revision Author Commited Message
265 Diff Diff FSallustio picture FSallustio Fri 10 Jul, 2015 12:50:57 +0000

Risolto problema con l’application/json negli altri endpoint.

258 Diff Diff FSallustio picture FSallustio Fri 10 Jul, 2015 09:59:44 +0000

Implementata get_list_locali.php, usando la Harvesine Formula

255 Diff Diff FSallustio picture FSallustio Fri 10 Jul, 2015 09:10:22 +0000

Implementata delete_immagine.php

250 Diff Diff FSallustio picture FSallustio Fri 10 Jul, 2015 07:57:50 +0000

Implementata get_immagini.php

249 Diff Diff FSallustio picture FSallustio Fri 10 Jul, 2015 07:17:20 +0000

Risolto bug chiamate POST

242 Diff Diff FSallustio picture FSallustio Thu 09 Jul, 2015 11:18:36 +0000

get_commenti.php implementata + bugfix

240 Diff Diff FSallustio picture FSallustio Thu 09 Jul, 2015 10:08:30 +0000

Implementati add_commento.php, cambia_nome_locale.php e set_descrizione.php

235 Diff Diff FSallustio picture FSallustio Thu 09 Jul, 2015 08:52:31 +0000

Reimplementati registrazione_utente.php e registrazione_locale.php

225 Diff Diff FSallustio picture FSallustio Wed 08 Jul, 2015 09:39:45 +0000

Implementato immagini.php

224 FSallustio picture FSallustio Wed 08 Jul, 2015 07:36:39 +0000

- Piccolo refactor (sia lato php che lato sql);
- set_position.php