Skip to content

Taskhall interface #13

@Shaofanl

Description

@Shaofanl
  • Run python manager.py testinit
  • Access http://localhost:5000/taskhall/list to get the list of tasks. Here is some parameters:
    • page: The page number, starting from 1. Default is 1.
    • keyword: One of 'time', 'vote', or 'view'. Default is 'time'
    • per_page: Tasks per page. Default is 2 (FLASKY_TASKS_PER_PAGE in config.py)

For example:

  • http://localhost:5000/taskhall/list?page=2 will get the 2nd page sorted by time(descent) and 2 tasks per page.
  • http://localhost:5000/taskhall/list?page=1&keyword='vote'&per_page=100 will get the first page sorted by vote(descent) and 100 tasks per page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions