def delete(self, request, code): return _base_request(request=request, request_schema=DeleteStoryRequestSchema(), response_schema=DeleteStoryResponseSchema(), method=StoryServiceAgent.delete_story, code=code, code_name=STORY_ID)
def delete(self, request, code): return _base_request(request=request, request_schema=DeleteCategoryRequestSchema(), response_schema=DeleteCategoryResponseSchema(), method=CategoryServiceAgent.delete_category, code_name=CATEGORY_ID, code=code)
def put(self, request, code): return _base_request(request=request, request_schema=PutCategoryRequestSchema(), response_schema=PutCategoryResponseSchema(), method=CategoryServiceAgent.put_category, code_name=CATEGORY_ID, code=code)
def post(self, request): return _base_request(request=request, request_schema=PostStoryRequestSchema(), response_schema=PostStoryResponseSchema(), method=StoryServiceAgent.post_story)
def get(self, request): return _base_request(request=request, request_schema=GetStoryRequestSchema(), response_schema=GetStoryResponseSchema(), method=StoryServiceAgent.get_story, is_paging=True)