As Hackdash uses Backbone (Marionettejs) a resful-api is available.
Theses are some of the most important endpoints:
List all projects (paginated)
URL GET Params (?limit=10&page=1):
limit
Number of results per page (defaults to 50 or whatever defined in config.json)page
Number of page (defaults to 0)q
Any text to be search in the title, description, tags or domain (dashboard) fields
List all projects in a dashboard (not paginated)
Params:
DOMAIN
A valid dashboard ID
URL GET Params (?q=project):
q
Any text to be search in the title, description, tags or domain (dashboard) fields
List all users (paginated). ONLY SHOWS users with bio if parameter q
or role
is not present
URL GET Params (?limit=10&page=1):
limit
Number of results per page (defaults to 50 or whatever defined in config.json)page
Number of page (defaults to 0)q
Any text to be search in the name, username or email fieldsrole
Shows users with specified role (if empty or ALL, shows all users, event without bio)
...TODO...