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