SubscriptionController
@Validated
@RestController
@RequestMapping(value = ["/api/v1"], produces = ["application/json"] )
Constructors
Link copied to clipboard
constructor(subscribeWorkbookUseCase: SubscribeWorkbookUseCase, unsubscribeWorkbookUseCase: UnsubscribeWorkbookUseCase, unsubscribeAllUseCase: UnsubscribeAllUseCase, browseSubscribeWorkbooksUseCase: BrowseSubscribeWorkbooksUseCase, updateSubscriptionDayUseCase: UpdateSubscriptionDayUseCase, updateSubscriptionTimeUseCase: UpdateSubscriptionTimeUseCase)
Functions
Link copied to clipboard
@GetMapping(value = ["/subscriptions/workbooks"] )
Link copied to clipboard
@PostMapping(value = ["/subscriptions/unsubs"] )
Link copied to clipboard
@PostMapping(value = ["/workbooks/{workbookId}/subs"] )
Link copied to clipboard
@PostMapping(value = ["/workbooks/{workbookId}/unsubs"] )
Link copied to clipboard
@PatchMapping(value = ["/subscriptions/day"] )
Link copied to clipboard
@PatchMapping(value = ["/subscriptions/time"] )