Last active
August 29, 2015 13:56
-
-
Save kohai/9338039 to your computer and use it in GitHub Desktop.
campaigns
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"resourcePath": "/creative", | |
"listingPath": "/creative/api-docs/campaigns", | |
"description": "Creative Campaigns API", | |
"apis": [ | |
{ | |
"path": "/creative/campaigns/", | |
"description": "", | |
"secured": false, | |
"operations": [ | |
{ | |
"httpMethod": "GET", | |
"responseClass": "EmbeddedCampaignsHolder", | |
"summary": "Return detailed information about all campaigns ready for use.", | |
"notes": "Latest campaigns will be returned first", | |
"deprecated": false, | |
"nickname": "getCampaigns", | |
"parameters": [], | |
"errorResponses": [] | |
} | |
] | |
} | |
], | |
"models": { | |
"EmbeddedCampaignsHolder": { | |
"id": "EmbeddedCampaignsHolder", | |
"description": "EmbeddedCampaignsHolder", | |
"properties": { | |
"_embedded": { | |
"description": null, | |
"required": true, | |
"$ref": "Campaigns" | |
} | |
} | |
}, | |
"Campaigns": { | |
"id": "Campaigns", | |
"description": "Campaigns", | |
"properties": { | |
"campaigns": { | |
"description": null, | |
"required": true, | |
"type": "Array", | |
"uniqueItems": false, | |
"items": { | |
"$ref": "Campaign" | |
} | |
} | |
} | |
}, | |
"Campaign": { | |
"id": "Campaign", | |
"description": "Campaign", | |
"properties": { | |
"duration": { | |
"description": null, | |
"required": true, | |
"type": "string" | |
}, | |
"serial": { | |
"description": null, | |
"required": true, | |
"type": "integer" | |
}, | |
"treatment_id": { | |
"description": null, | |
"required": true, | |
"type": "integer" | |
}, | |
"material_id": { | |
"description": null, | |
"required": true, | |
"type": "string" | |
}, | |
"description": { | |
"description": null, | |
"required": true, | |
"type": "string" | |
} | |
} | |
} | |
}, | |
"basePath": "http://cpp-tdorigin.cpp.o.itv.net.uk", | |
"swaggerVersion": "1.1", | |
"apiVersion": "1" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment