Example #1
0
def init():
    api.add_resource(ProjectList, '/api/v1/projects')
    api.add_resource(ProjectDetail, '/api/v1/projects/<int:id>')
    api.add_resource(ProjectUpdate, '/api/v1/projects/<int:id>/update')
    api.add_resource(ProjectCreate, '/api/v1/projects/create')
Example #2
0
def init():
    api.add_resource(AccountInfo, '/api/v1/account')
    api.add_resource(AccountSignin, '/api/v1/account/signin')
    api.add_resource(AccountSignup, '/api/v1/account/signup')
    api.add_resource(AccountUpdate, '/api/v1/account/update')
    api.add_resource(AccountSignout, '/api/v1/account/signout')
Example #3
0
def init():
    api.add_resource(CommentList, '/api/v1/comments')
    api.add_resource(CommentDetail, '/api/v1/comments/<int:id>')
Example #4
0
def init():
    api.add_resource(TaskList, '/api/v1/tasks')
    api.add_resource(TaskDetail, '/api/v1/tasks/<int:id>')
    api.add_resource(TaskCreate, '/api/v1/tasks/create')
    api.add_resource(TaskUpdate, '/api/v1/tasks/<int:id>/update')
Example #5
0
def init():
    api.add_resource(UserList, '/api/v1/users')
    api.add_resource(UserDetail, '/api/v1/users/<int:id>')

    api.add_resource(RoleList, '/api/v1/roles')
    api.add_resource(RoleDetail, '/api/v1/roles/<int:id>')
Example #6
0
def init():
    api.add_resource(LogList, '/api/v1/logs')
    api.add_resource(LogDetail, '/api/v1/logs/<int:id>')
Example #7
0
def init():
    api.add_resource(Ping, '/api/v1/ping')
Example #8
0
def init():
    api.add_resource(CypressClear, '/api/v1/cypress/clear')
    api.add_resource(CypressGenerate, '/api/v1/cypress/generate')