Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
In [1]: import springserve

In [2]: tag = springserve.demand_tags.new({"name": "TEST API DOCS", "rate": 10.0, 'vast_endpoint_url': 'http://myvastendpoint.com/123', 'demand_partner_id':4321})

In [3]: print tag.ok, tag.id
True, 30424

...

Code Block
Content-Type application/json
Authorization "yourAuthToken"

Body (example)

Code Block
{

...


    "name": "TEST API DOCS",
    "

...

        "description": "My description"
rate":0.2,
    "vast_endopoint_url":"https://s3.amazonaws.com/...",
    "demand_partner_id":4321
}


Required parameters: name, rate, vast_endpoint_url, demand_partner_id

...