Upload
gianluca-merlo
View
174
Download
2
Embed Size (px)
Citation preview
https://www.flickr.com/photos/afar_/4675377521
The WHAAM Web Service Thessaloniki WHAAM Meeting 12 – 13 June 2014
Gianluca Merlo
https://www.flickr.com/photos/stevetaylors/11924949894/
What is a Webservice?
htt
ps:
//w
ww
.flic
kr.c
om
/ph
oto
s/lit
tle_
dee
r/2
29
56
96
33
2
A Webservice
is a method of
communication
https://www.flickr.com/photos/crybaby90/5403525750
In the WHAAM
project, the
Webservice allow
smartphones to
connect to the
application server
https://www.flickr.com/photos/northernstarandthewhiterabbit/2871211400/
What a smartphone can
ask to the WHAAM server?
htt
ps:
//w
ww
.flic
kr.c
om
/ph
oto
s/h
iad
a1/1
281
24
927
3/
The Application
Programming Interface (API)
specifies what can be done
• 5 methods to get information from
the server;
• 2 methods to send the data
gathered using the mobile app to
the server.
https://www.flickr.com/photos/thinkmulejunk/352387473
WHAAM Server, could you please send me the list
of children associated to the user «userTest»?
Method: /api/user-children/{userSlug}/{locale}
https://www.flickr.com/photos/thinkmulejunk/352387473
WHAAM Server, could you please send me the list of the behaviors for the child «childTest» in
which the user «userTest» is enabled to take observations
and/or ABCs?
Method: /api/child-behavior/{behaviorSlug}
https://www.flickr.com/photos/thinkmulejunk/352387473
WHAAM Server, could you please send me the
details of both the behavior
«behaviorTest» for the child «childTest» and people involved in his
network?
Method: /api/child-behavior/{behaviorSlug}
Method: /api/child-users-network/{childNickname}
Method: /api/user/{userSlug}/{locale}
https://www.flickr.com/photos/thinkmulejunk/352387473
WHAAM Server, I have got many observations and ABCs. I’m sending
you new records!
https://www.flickr.com/photos/suttonhoo22/2512983749
Method: /api/child-assessment/abc Method: /api/child-assessment/observation-data
Server Response: 201 The Resource has been
created
htt
ps:
//w
ww
.flic
kr.c
om
/ph
oto
s/st
arlig
hth
op
e/1
39
01
25
04
56
1. WSSE security;
2. HTTPS for secure connections.
htt
ps:
//w
ww
.flic
kr.c
om
/ph
oto
s/p
hild
esig
nar
t/5
787
514
71
6
• Implementing the users
authentication process;
• A few minor
improvements.