Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
#72 added short json export for voting machines
Browse files Browse the repository at this point in the history
  • Loading branch information
sippsack committed Feb 20, 2018
1 parent b4390c2 commit 2a9e8cf
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ class ConferenceDetailResource {
return Response.ok().entity(conference).build();
}

@GET
@Path("short")
List<Map<String, String>> shortInfos() {
conference.events.collect {e -> [title: e.title, speaker: e.speakers.name.join(', '), room: e.location.names['de'], from: e.start.toString(), to: e.end.toString()]}
}

@GET
@Path("speakers")
@ApiOperation(value="returns list of conference speakers",
Expand Down

0 comments on commit 2a9e8cf

Please sign in to comment.