ApiLogController

@Validated
@RestController
@RequestMapping(value = ["/api/v1/logs"])
class ApiLogController(addApiLogUseCase: AddApiLogUseCase, addEmailLogUseCase: AddEmailLogUseCase)

Constructors

Link copied to clipboard
constructor(addApiLogUseCase: AddApiLogUseCase, addEmailLogUseCase: AddEmailLogUseCase)

Functions

Link copied to clipboard
@PostMapping
fun addApiLog(@RequestBody request: ApiLogRequest): ApiResponse<ApiResponse.Success>
Link copied to clipboard
@PostMapping(value = ["/email/articles"])
fun addEmailLog(@RequestBody request: EmailLogRequest): ApiResponse<ApiResponse.Success>