toggle menu
few
jvm
switch theme
search in API
api
/
com.few.api.domain.subscription.controller
/
SubscriptionController
/
subscribeWorkbook
subscribe
Workbook
@
PostMapping
(
value
=
[
"/workbooks/{workbookId}/subs"
]
)
fun
subscribeWorkbook
(
@
AuthenticationPrincipal
userDetails
:
TokenUserDetails
,
@
PathVariable
(
value
=
"workbookId"
)
@
Min
(
value
=
1
,
message
=
"{min.id}"
)
workbookId
:
Long
)
:
ApiResponse
<
ApiResponse.Success
>