This repository has been archived by the owner on Jun 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Schema db newslist
Ben Lenser edited this page Jun 14, 2013
·
2 revisions
Get drawings with draw id
rest/news/drawings
GET
- start - (int, optional, default:0)
- length (int, optional, default:50)
- token
{
"type": "array",
"$schema": "http://json-schema.org/draft-03/schema",
"items": {
"type": "object",
"properties": {
"boxId": {
"type": "number",
"required": true
},
"boxName": {
"type": "string",
"required": true
},
"drawId": {
"type": "number",
"required": true
},
"userId": {
"type": "number",
"required": true
},
"userName": {
"type": "string",
"required": true
},
"userImage": {
"type": "number",
"required": true
},
"amount": {
"type": "number",
"required": true
},
date: {
"type": "date",
"required": true
},
}
}
}
[
{
boxId:2,
boxName:"Theke",
drawId:54,
userId:1,
userName:"Ben",
userImage:"rest/image/user/6",
amount:1.2,
date:"20130603-184714"
}
]