Rest API with spring boot

Java 
We create a simple events api using spring boot. We utitlize all the methods.

The controller

package com.boot.controller;

import java.util.ArrayList;
import java.util.List;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.boot.model.Event;

@RestController
@RequestMapping("app/v1/")
public class EventController {

	public List<Event> events = new ArrayList<Event>();
	
	@RequestMapping(value="events", method= RequestMethod.GET)
	public List<Event> list(){
		this.createAllEvents();
		return events;
	}
	
	@RequestMapping(value="events/{id}", method= RequestMethod.GET)
	public Event get(@PathVariable long id) {
		Event event1 = new Event();
		event1.setId(String.valueOf(id));
		event1.setVenue("Port of Spain");
		event1.setName("Birthday Party");
		event1.setDetails("My Birthday party");
		event1.setAuthor("Wynton Frankin");
		event1.setEventDate("28 Feb 2016");
		event1.setEventTime("10:00am");
		return event1;
	}
	
	@RequestMapping(value="events", method=RequestMethod.POST)
	public Event create(@RequestBody Event event) {
		Event createdEvent = event;
		return createdEvent;
	}
	
	@RequestMapping(value="events/{id}",method=RequestMethod.PUT)
	public Event update(@PathVariable Long id, @RequestBody Event event) {
		Event event1 = new Event();
		event1.setId(String.valueOf(id));
		event1.setVenue(event.getVenue());
		event1.setName(event.getName());
		event1.setDetails(event.getDetails());
		event1.setAuthor(event.getAuthor());
		event1.setEventDate(event.getEventDate());
		event1.setEventTime(event.getEventTime());
		return event1;
	}
	
	@RequestMapping(value = "events/{id}", method = RequestMethod.DELETE)
	public String delete(@PathVariable Long id) {
		return "Removed Event " + String.valueOf(id);
	}
	
	private void createAllEvents() {
		events.clear();
		Event event1 = new Event();
		event1.setId("1");
		event1.setVenue("Port of Spain");
		event1.setName("Birthday Party");
		event1.setDetails("My Birthday party");
		event1.setAuthor("Wynton Frankin");
		event1.setEventDate("28 Feb 2016");
		event1.setEventTime("10:00am");
		events.add(event1);
		Event event2 = new Event();
		event2.setId("2");
		event2.setVenue("ARIMA");
		event2.setName("EVENT #2");
		event2.setDetails("My #2 Event");
		event2.setAuthor("Wynton Frankin");
		event2.setEventDate("02 March 2016");
		event2.setEventTime("09:00pm");
		events.add(event2);
	}
}

Notes

README