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

27 lines
829 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":{
2018-04-04 20:44:32 +08:00
"required": ["DT_RowId", "1", "2", "3", "4", "5", "recordEditUrl", "recordUpdateUrl", "recordInfoUrl"],
"properties": {
"DT_RowId": { "type": "integer" },
"1": { "type": "string" },
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" },
"recordEditUrl": { "type": "string" },
"recordUpdateUrl": { "type": "string" },
"recordInfoUrl": { "type": "string" }
}
}
}
}
}