18
https://www.flickr.com/photos/afar_/4675377521 The WHAAM Web Service Thessaloniki WHAAM Meeting 12 – 13 June 2014 Gianluca Merlo

The whaam webservice

Embed Size (px)

Citation preview

Page 1: The whaam webservice

https://www.flickr.com/photos/afar_/4675377521

The WHAAM Web Service Thessaloniki WHAAM Meeting 12 – 13 June 2014

Gianluca Merlo

Page 2: The whaam webservice

https://www.flickr.com/photos/stevetaylors/11924949894/

What is a Webservice?

Page 3: The whaam 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

Page 4: The whaam webservice

https://www.flickr.com/photos/crybaby90/5403525750

In the WHAAM

project, the

Webservice allow

smartphones to

connect to the

application server

Page 5: The whaam webservice

https://www.flickr.com/photos/northernstarandthewhiterabbit/2871211400/

What a smartphone can

ask to the WHAAM server?

Page 6: The whaam webservice

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

Page 7: The whaam webservice

• 5 methods to get information from

the server;

• 2 methods to send the data

gathered using the mobile app to

the server.

Page 8: The whaam webservice

https://www.flickr.com/photos/thinkmulejunk/352387473

WHAAM Server, could you please send me the list

of children associated to the user «userTest»?

Page 9: The whaam webservice

Method: /api/user-children/{userSlug}/{locale}

Page 10: The whaam webservice
Page 11: The whaam webservice

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?

Page 12: The whaam webservice

Method: /api/child-behavior/{behaviorSlug}

Page 13: The whaam webservice

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?

Page 14: The whaam webservice

Method: /api/child-behavior/{behaviorSlug}

Method: /api/child-users-network/{childNickname}

Method: /api/user/{userSlug}/{locale}

Page 15: The whaam webservice

https://www.flickr.com/photos/thinkmulejunk/352387473

WHAAM Server, I have got many observations and ABCs. I’m sending

you new records!

Page 16: The whaam webservice

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

Page 17: The whaam webservice

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.

Page 18: The whaam webservice

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.