feat: created signature of all api functions
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
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) {}
|
||||
}
|
Reference in New Issue
Block a user