scinote-web/spec/support/api/schemas/repository_row_datatables.json

26 lines
763 B
JSON
Raw Normal View History

{
"type": "object",
"required": ["draw", "recordsTotal", "recordsFiltered", "data"],
"properties": {
"draw": { "type": "integer" },
"recordsTotal": { "type": "integer" },
"recordsFiltered": { "type": "integer" },
"data": {
"type": "array",
"items":{
"required": ["DT_RowId", "1", "2", "3", "4", "5", "recordUpdateUrl", "recordInfoUrl"],
"properties": {
"DT_RowId": { "type": "integer" },
2020-04-28 19:18:57 +08:00
"1": { "type": "object" },
2018-04-04 20:44:32 +08:00
"2": { "type": "integer" },
"3": { "type": "string" },
"4": { "type": "string" },
2018-04-04 20:44:32 +08:00
"5": { "type": "string" },
"recordUpdateUrl": { "type": "string" },
"recordInfoUrl": { "type": "string" }
}
}
}
}
}