javaBin / incogito

--- LEGAZY!!! --- JavaZone's agenda planner
15 stars 4 forks source link

REST api updates for client use #1

Open chrissearle opened 14 years ago

chrissearle commented 14 years ago

While developing the iPhone app I found I could do with a few changes to the REST API ;)

Most of these could be handled by extracting info from the full session list - but on low power/low CPU mobile devices it would be far nicer to have a call to get the info directly/simply.

1) See lines 33-47 on http://github.com/chrissearle/incogito-iphone/blob/6c71943dd438a8f48c5ca463b35a8a619bdc2dda/Classes/SectionInitializer.m - this makes my flesh creep - I'd like a "Give me the next/current JZ session timeslots

2) Some kind of metadata call - give me all levels and labels for the current JZ - complete with URL to icon.

3) On the two above JSON responses along with the complete session list (http://javazone.no/incogito10/rest/events/JavaZone%202010/sessions) some kind of last updated timestamp. Would save a lot of processing when nothing has changed ;)

lokling commented 14 years ago

+1 from androidito :-)

Conditional get support or a last-modified at least on the feeds

chrissearle commented 14 years ago

If we're going to show speaker pic's then they need scaling server side. I have demo code downloading them from the links in the current json - but some of them are huge - download times are an issue on mobile as is data storage space.

EDIT - this is now it's own issue - #2