Mercurial > sci
diff scid/http.c @ 24:34cbbd215ef7
misc: add basic support for jobresults
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 25 Jul 2022 21:11:23 +0200 |
parents | 2cb228f23f53 |
children | 7e10cace67a3 |
line wrap: on
line diff
--- a/scid/http.c Thu Jul 21 21:55:02 2022 +0200 +++ b/scid/http.c Mon Jul 25 21:11:23 2022 +0200 @@ -27,6 +27,7 @@ #include "http.h" #include "log.h" +#include "page-api-jobresults.h" #include "page-api-jobs.h" #include "page-api-projects.h" #include "page-api-todo.h" @@ -45,6 +46,7 @@ const char *prefix; void (*handler)(struct kreq *); } apis[] = { + { "v1/jobresults", page_api_v1_jobresults }, { "v1/jobs", page_api_v1_jobs }, { "v1/projects", page_api_v1_projects }, { "v1/todo", page_api_v1_todo },