Ads api.
When ommited, the responses will be application/json by default
- Status code: 200
[
{
"title": "title1",
"date": 1416346812491
},
{
"title": "title2",
"date": 1416346812491
},
{
"title": "title3",
"date": 1416346812491
}
]
- Status code: 500
- No response body
For creating an ad
- Content-type: application/json
- Request body:
{
title: 'Non-empty text max 1000 chars',
description: 'Maybe empty text max 5000 chars',
owner: 'Type email field. Mandatory'
}
- Status code: 200
{
"title": "title1",
"description": "description1",
"date": 1416346028292,
"owner": "[email protected]"
}
- Status code: 500
- No response body
Getting an ad. The id to pass is the date
of the ad
- Status code: 200
{
"title": "title1",
"description": "description1",
"date": 1416346028292,
"owner": "[email protected]"
}
- Status code: 500
- No response body