Example #1
0
class Item(Resource):
    on_get = CallAction(GetAllMessagesForUser, validator=UserIdSchema)
Example #2
0
class Item(Resource):
    on_get = CallAction(CalculateDashboardAction)
Example #3
0
class Item(Resource):
    on_post = CallAction(UpdateUserDeviceAction)
Example #4
0
class Collection(Resource):
    on_get = authorize_user(CallAction(GetAllUsersAction))
Example #5
0
class Item(Resource):
    on_get = authorize_user(CallAction(GetUserAction, validator=UserIdSchema))
Example #6
0
class CreatePayment(Resource):
    on_post = CallAction(CreatePaymentAction)
Example #7
0
class Collection(Resource):
    on_get = CallAction(GetUserPaymentsAction)
Example #8
0
class Item(Resource):
    on_post = authorize_user(
        CallAction(CreateMessageForUser, validator=UserMessageIdSchema))
    on_get = authorize_user(
        CallAction(GetAllMessagesForUser, validator=UserIdSchema))
Example #9
0
class Item(Resource):
    on_get = CallAction(GetMessage, validator=MessageIdSchema)
Example #10
0
class Collection(Resource):
    on_post = authorize_user(
        CallAction(CreateMessageForUsers, validator=MessageSchema))
    on_get = authorize_user(CallAction(GetAllMessages))
Example #11
0
class Item(Resource):
    on_get = authorize_user(CallAction(GetMessage, validator=MessageIdSchema))
Example #12
0
class Item(Resource):
    on_get = CallAction(GetGoalAction)
    on_post = CallAction(CreateGoalAction)
Example #13
0
class Collection(Resource):
    on_get = authorize_user(CallAction(GetUserPaymentsAction))
Example #14
0
class Item(Resource):
    on_post = CallAction(SendPaymentAction, validator=UserIdSchema)
Example #15
0
class Ping(Resource):
    on_get = authorize_user(CallAction(PingAction))
    on_post = CallAction(PingAction, validator=PingSchema)
Example #16
0
class Item(Resource):
    on_get = CallAction(GetUserStatsAction)