2-4 February 2015

REST interface to access the schedule

This REST interface follows the definition made by Stephan Janssen and the Devoxx conference. Thanks for your support and inspiration, always!

Jfokus schedule is now accessible via this REST interface.
The base URI is http://www.jfokus.se/rest/v1

Jfokus 2014: http://jfokus.se/rest/v1/events/4

Jfokus 2013: http://jfokus.se/rest/v1/events/3
Jfokus 2012: http://jfokus.se/rest/v1/events/2
Jfokus 2011: http://jfokus.se/rest/v1/events/1

You can use the REST Client for Firefox plugin to test the methods.

REST URIs

The listed REST URIs return all JSON responses.

Base URI

http://www.jfokus.se/rest/v1
  • GET : Returns a collection of available root-uri's.
  • GET Response :
[
{"uri":"http://www.jfokus.se/rest/v1/events"},
{"uri":"http://www.jfokus.se/rest/v1/events/{event-id}"},
{"uri":"http://www.jfokus.se/rest/v1/events/{event-id}/presentations"},
{"uri":"http://www.jfokus.se/rest/v1/events/presentations/{presentation-id}"},
{"uri":"http://www.jfokus.se/rest/v1/events/{event-id}/speakers"},
{"uri":"http://www.jfokus.se/rest/v1/events/speakers/{speaker-id}"},
{"uri":"http://www.jfokus.se/rest/v1/events/{event-id}/schedule"},
{"uri":"http://www.jfokus.se/rest/v1/events/{event-id}/schedule/rooms"},
{"uri":"http://www.jfokus.se/rest/v1/events/{event-id}/schedule/day/{number-of-day}"},
{"uri":"http://www.jfokus.se/rest/v1/events/{event-id}/schedule/day/{number-of-day}/room/{room-id}"},
{"uri":"http://www.jfokus.se/rest/v1/events/{event-id}/tracks"},
{"uri":"http://www.jfokus.se/rest/v1/events/{event-id}/presentationtypes"},
{"uri":"http://www.jfokus.se/rest/v1/events/{event-id}/experiencelevels"}
]

Get Events

/events
  • GET : returns all active events (events that have taken place are not listed)
  • Get Response :
[{"to":"2011-02-16 17:30:00.0","id":1,"enabled":true,"location":"Stockholm Waterfront Congress Center","description":"The annual Swedish Java conference Jfokus","name":"Jfokus 2011","from":"2010-02-14 08:00:00.0"}]

Get Event Details

/events/{event-Id}
  • GET : Returns detailed event info for given event identifier.
  • GET Response :
{"to":"2011-02-16 17:30:00.0","id":1,"enabled":true,"location":"Stockholm Waterfront Congress Center","description":"The annual Swedish Java conference Jfokus","name":"Jfokus 2011","from":"2010-02-14 08:00:00.0"}

Get presentations

/events/{event-Id}/presentations
  • GET : Get all presentations for event-id

Get Presentation details

/events/presentations/{presentation-Id}
  • GET : returns the presentation details.
  • To support multiple speakers per presentation there is a JSON array named 'speakers'. We advice you to use this to show the related speaker(s) info

Get Speakers per event

/events/{event-Id}/speakers
  • GET : Returns list of confirmed speakers
  • The speakers JSON response now includes a speaker image URI

Get Event Schedule

/events/{event-Id}/schedule
  • GET : Returns the full schedule for the selected event
  • GET Response :
[{"speaker":"Jeff Genender","presentationUri":"http://www.jfokus.se/rest/v1/events/presentations/355","partnerSlot":false,"fromTime":"2011-02-16 13:00:00.0","code":"K10.4","speakers":[{"speakerUri":"http://www.jfokus.se/rest/v1/events/speakers/3","speaker":"Jeff Genender"}],"type":"CONFERENCE","toTime":"2011-02-16 13:50:00.0","kind":"Talk","id":73,"speakerUri":"http://www.jfokus.se/rest/v1/events/speakers/3","title":"Everything You Wanted to Know About Open Source that Nobody Told You (including getting paid to do it)","room":"Room C3"},

{"speaker":"Dan Bergh Johnsson","presentationUri":"http://www.jfokus.se/rest/v1/events/presentations/459","partnerSlot":false,"fromTime":"2011-02-15 19:00:00.0","code":"B2.1","speakers":[{"speakerUri":"http://www.jfokus.se/rest/v1/events/speakers/7","speaker":"Dan Bergh Johnsson"}],"type":"BOF","toTime":"2011-02-15 19:50:00.0","kind":"Talk","id":48,"speakerUri":"http://www.jfokus.se/rest/v1/events/speakers/7","title":"Domain Driven Design BOF","room":"Room C3"},

{"speaker":"Dan Bergh Johnsson","presentationUri":"http://www.jfokus.se/rest/v1/events/presentations/356","partnerSlot":false,"fromTime":"2011-02-15 14:00:00.0","code":"K3.3","speakers":[{"speakerUri":"http://www.jfokus.se/rest/v1/events/speakers/7","speaker":"Dan Bergh Johnsson"}],"type":"CONFERENCE","toTime":"2011-02-15 14:50:00.0","kind":"Talk","id":27,"speakerUri":"http://www.jfokus.se/rest/v1/events/speakers/7","title":"Ubiquitous Language","room":"Room A2"}]

Get Event Schedule per day

/events/{event-Id}/schedule/day/1
  • GET : Returns the schedule for day one for the selected event
/events/{event-Id}/schedule/day/2
  • GET : Returns the schedule for day two for the selected event.
  • To support multiple speakers per presentation there is a JSON array named 'speakers'. We advice you to use this to show the related speaker(s) info.
 

Available Clients

If you build a schedule application and send us an email, we will list it here!

Native Android

Mattias Karlsson made this Android application available on Android Market.
Scan this code for download:




Vaadin

Teemu Pöntelin made the Vaadin calendar used here at the Jfokus website: http://www.jfokus.se/jfokus/page.jsp?id=vschema

 

Mobile web application

Daniel Petterson made the mobile web scheduler used here at the Jfokus website: http://mobil.jfokus.se

 

About

Twitter

Back to the top of the page