Implement compliance endpoints for APIv4 (#5683)

* Implement compliance endpoints for APIv4

* Add paging to get reports endpoint
Этот коммит содержится в:
Joram Wilander
2017-03-13 10:14:16 -04:00
коммит произвёл GitHub
родитель a284cd8c18
Коммит 3ebfb36953
11 изменённых файлов: 241 добавлений и 9 удалений

Просмотреть файл

@@ -142,7 +142,7 @@ func testEmail(c *Context, w http.ResponseWriter, r *http.Request) {
}
func getComplianceReports(c *Context, w http.ResponseWriter, r *http.Request) {
crs, err := app.GetComplianceReports()
crs, err := app.GetComplianceReports(0, 10000)
if err != nil {
c.Err = err
return