Files
MyINPulse/MyINPulse-back/src/main/java/enseirb/myinpulse/api/EntrepreneurApi.java
Pierre Tellier 3cb12dab4f
All checks were successful
Format / formatting (push) Successful in 8s
CI / build (push) Successful in 11s
feat: created signature of all api functions
2025-02-18 10:50:21 +01:00

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) {}
}