Skip to content
This repository has been archived by the owner on Jun 1, 2021. It is now read-only.

Newslist change amount

Ben Lenser edited this page Jun 14, 2013 · 2 revisions

Schema Dashboard Pure News

Info

Change draw amount of user

Url

rest/news/drawings

Type

POST

Parameter

  • drawId (int, required)
  • amount (int, required)
  • token

Schema (in return)

{
    "type": "array",
    "$schema": "http://json-schema.org/draft-03/schema",
    "items": {
        "type": "object",
        "properties": {
            "status": {
                "type": "string",
                "required": true,
                "values":[true,false]
            }
            
        }
    }
}

Example

Request

/rest/news/drawings
drawId:54,
amount:0.3,
token:12345678ABC
[
        {
          status:"true"
             
        }
]