52 lines
1.3 KiB
Java
52 lines
1.3 KiB
Java
package enseirb.myinpulse.api;
|
|
|
|
import enseirb.myinpulse.api.datatypes.LCSection;
|
|
import enseirb.myinpulse.api.datatypes.Project;
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
@SpringBootApplication
|
|
@RestController
|
|
public class EntrepreneurApi {
|
|
/**
|
|
* TODO
|
|
*
|
|
* <p>Endpoint used to update a LC section.
|
|
*
|
|
* @return status code
|
|
*/
|
|
@PutMapping("/entrepreneur/lcsection/modify/{sectionId}")
|
|
public void editLCSection(@PathVariable String sectionId, @RequestBody LCSection section) {}
|
|
|
|
/**
|
|
* TODO
|
|
*
|
|
* <p>Endpoint used to delete a LC section
|
|
*
|
|
* @return status code
|
|
*/
|
|
@DeleteMapping("/entrepreneur/lcsection/remove/{sectionId}")
|
|
public void removeLCSection(@PathVariable String sectionId) {}
|
|
|
|
/**
|
|
* TODO
|
|
*
|
|
* <p>Endpoint used to create a new LC section
|
|
*
|
|
* @return status code
|
|
*/
|
|
@PostMapping("/entrepreneur/lcsection/add/{sectionId}")
|
|
public void addLCSection(@PathVariable String sectionId, @RequestBody LCSection section) {}
|
|
|
|
/**
|
|
* TODO
|
|
*
|
|
* <p>Endpoint used to request the creation of a new project
|
|
*
|
|
* @return status code
|
|
*/
|
|
@PostMapping("/entrepreneur/project/request")
|
|
public void requestNewProject(@RequestBody Project project) {}
|
|
}
|