-
-
Save AaronRustad/85189998fb9cf87c6ccf to your computer and use it in GitHub Desktop.
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
{ | |
"swagger":"2.0", | |
"info":{ | |
"version":"v1", | |
"title":"thecompany API", | |
"description":"Test our API services using I/O Docs. You can also view our written documentation.", | |
"termsOfService":"http://www.thecompany.com/docs/SNI-terms.pdf", | |
"contact":{ | |
"name":"support@thecompany.com" | |
} | |
}, | |
"host":"client.thecompany.com", | |
"basePath":"/v1", | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"application/json" | |
], | |
"definitions":{ | |
"ContentMetadata":{ | |
"properties":{ | |
"commercial_cue_points":{ | |
"type":"string" | |
}, | |
"click_through_url":{ | |
"type":"string" | |
}, | |
"allow_click_through_at":{ | |
"type":"integer", | |
"format":"int64" | |
}, | |
"beacons":{ | |
"type":"array", | |
"items":{ | |
"type":"object", | |
"properties":{ | |
"type":{ | |
"type":"string", | |
"enum":[ | |
"seconds", | |
"percentile" | |
] | |
}, | |
"value":{ | |
"type":"integer", | |
"format":"int64" | |
}, | |
"url":{ | |
"type":"string" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"paths":{ | |
"/categories":{ | |
"get":{ | |
"summary":"Get all categories", | |
"description":"Get all categories in our database", | |
"operationId":"index", | |
"tags":[ | |
"Categories" | |
], | |
"responses":{ | |
"200":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"300":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"301":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"302":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"303":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"304":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"305":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"306":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"400":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"401":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"402":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"403":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"404":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"405":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"406":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"407":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"408":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"409":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"410":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"411":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"412":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"413":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"414":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"415":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"416":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"417":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"500":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"501":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"502":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"503":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"504":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"505":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
} | |
}, | |
"parameters":[ | |
{ | |
"name":"api_key", | |
"in":"query", | |
"required":true, | |
"type":"string" | |
} | |
], | |
"x-amazon-apigateway-integration":{ | |
"type":"http", | |
"httpMethod":"GET", | |
"uri":"http://client.thecompany.com/api/v1/categories", | |
"responses":{ | |
"200":{ | |
"statusCode":"200", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"300":{ | |
"statusCode":"300", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"301":{ | |
"statusCode":"301", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"302":{ | |
"statusCode":"302", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"303":{ | |
"statusCode":"303", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"304":{ | |
"statusCode":"304", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"305":{ | |
"statusCode":"305", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"306":{ | |
"statusCode":"306", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"400":{ | |
"statusCode":"400", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"401":{ | |
"statusCode":"401", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"402":{ | |
"statusCode":"402", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"403":{ | |
"statusCode":"403", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"404":{ | |
"statusCode":"404", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"405":{ | |
"statusCode":"405", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"406":{ | |
"statusCode":"406", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"407":{ | |
"statusCode":"407", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"408":{ | |
"statusCode":"408", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"409":{ | |
"statusCode":"409", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"410":{ | |
"statusCode":"410", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"411":{ | |
"statusCode":"411", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"412":{ | |
"statusCode":"412", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"413":{ | |
"statusCode":"413", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"414":{ | |
"statusCode":"414", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"415":{ | |
"statusCode":"415", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"416":{ | |
"statusCode":"416", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"417":{ | |
"statusCode":"417", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"500":{ | |
"statusCode":"500", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"501":{ | |
"statusCode":"501", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"502":{ | |
"statusCode":"502", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"503":{ | |
"statusCode":"503", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"504":{ | |
"statusCode":"504", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"505":{ | |
"statusCode":"505", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
} | |
}, | |
"requestParameters":{ | |
"integration.request.querystring.api_key":"method.request.querystring.api_key" | |
} | |
} | |
} | |
}, | |
"/players":{ | |
"get":{ | |
"summary":"Get all your players", | |
"description":"Get all players that belong to your company", | |
"operationId":"index", | |
"tags":[ | |
"Players" | |
], | |
"responses":{ | |
"200":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"300":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"301":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"302":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"303":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"304":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"305":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"306":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"400":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"401":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"402":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"403":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"404":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"405":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"406":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"407":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"408":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"409":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"410":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"411":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"412":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"413":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"414":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"415":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"416":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"417":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"500":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"501":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"502":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"503":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"504":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"505":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
} | |
}, | |
"parameters":[ | |
{ | |
"name":"api_key", | |
"in":"query", | |
"required":true, | |
"type":"string" | |
} | |
], | |
"x-amazon-apigateway-integration":{ | |
"type":"http", | |
"httpMethod":"GET", | |
"uri":"http://client.thecompany.com/api/v1/players", | |
"responses":{ | |
"200":{ | |
"statusCode":"200", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"300":{ | |
"statusCode":"300", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"301":{ | |
"statusCode":"301", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"302":{ | |
"statusCode":"302", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"303":{ | |
"statusCode":"303", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"304":{ | |
"statusCode":"304", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"305":{ | |
"statusCode":"305", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"306":{ | |
"statusCode":"306", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"400":{ | |
"statusCode":"400", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"401":{ | |
"statusCode":"401", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"402":{ | |
"statusCode":"402", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"403":{ | |
"statusCode":"403", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"404":{ | |
"statusCode":"404", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"405":{ | |
"statusCode":"405", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"406":{ | |
"statusCode":"406", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"407":{ | |
"statusCode":"407", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"408":{ | |
"statusCode":"408", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"409":{ | |
"statusCode":"409", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"410":{ | |
"statusCode":"410", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"411":{ | |
"statusCode":"411", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"412":{ | |
"statusCode":"412", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"413":{ | |
"statusCode":"413", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"414":{ | |
"statusCode":"414", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"415":{ | |
"statusCode":"415", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"416":{ | |
"statusCode":"416", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"417":{ | |
"statusCode":"417", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"500":{ | |
"statusCode":"500", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"501":{ | |
"statusCode":"501", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"502":{ | |
"statusCode":"502", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"503":{ | |
"statusCode":"503", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"504":{ | |
"statusCode":"504", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"505":{ | |
"statusCode":"505", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
} | |
}, | |
"requestParameters":{ | |
"integration.request.querystring.api_key":"method.request.querystring.api_key" | |
} | |
} | |
} | |
}, | |
"/videos":{ | |
"get":{ | |
"summary":"List your Videos", | |
"description":"Get all your videos", | |
"operationId":"index", | |
"tags":[ | |
"Videos" | |
], | |
"responses":{ | |
"200":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"300":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"301":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"302":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"303":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"304":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"305":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"306":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"400":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"401":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"402":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"403":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"404":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"405":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"406":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"407":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"408":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"409":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"410":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"411":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"412":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"413":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"414":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"415":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"416":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"417":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"500":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"501":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"502":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"503":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"504":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"505":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
} | |
}, | |
"parameters":[ | |
{ | |
"name":"api_key", | |
"in":"query", | |
"required":true, | |
"type":"string" | |
}, | |
{ | |
"name":"reference_id", | |
"description":"An external Reference ID, if you have one", | |
"in":"query", | |
"required":false, | |
"type":"string" | |
}, | |
{ | |
"name":"per_page", | |
"description":"The number of results per page; default is 30, maximum is 200", | |
"in":"query", | |
"required":false, | |
"type":"integer" | |
}, | |
{ | |
"name":"page", | |
"description":"The particular page of paginated results (e.g. page 7)", | |
"in":"query", | |
"required":false, | |
"type":"integer" | |
} | |
], | |
"x-amazon-apigateway-integration":{ | |
"type":"http", | |
"httpMethod":"GET", | |
"uri":"http://client.thecompany.com/api/v1/videos", | |
"responses":{ | |
"200":{ | |
"statusCode":"200", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"300":{ | |
"statusCode":"300", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"301":{ | |
"statusCode":"301", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"302":{ | |
"statusCode":"302", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"303":{ | |
"statusCode":"303", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"304":{ | |
"statusCode":"304", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"305":{ | |
"statusCode":"305", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"306":{ | |
"statusCode":"306", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"400":{ | |
"statusCode":"400", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"401":{ | |
"statusCode":"401", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"402":{ | |
"statusCode":"402", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"403":{ | |
"statusCode":"403", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"404":{ | |
"statusCode":"404", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"405":{ | |
"statusCode":"405", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"406":{ | |
"statusCode":"406", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"407":{ | |
"statusCode":"407", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"408":{ | |
"statusCode":"408", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"409":{ | |
"statusCode":"409", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"410":{ | |
"statusCode":"410", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"411":{ | |
"statusCode":"411", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"412":{ | |
"statusCode":"412", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"413":{ | |
"statusCode":"413", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"414":{ | |
"statusCode":"414", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"415":{ | |
"statusCode":"415", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"416":{ | |
"statusCode":"416", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"417":{ | |
"statusCode":"417", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"500":{ | |
"statusCode":"500", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"501":{ | |
"statusCode":"501", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"502":{ | |
"statusCode":"502", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"503":{ | |
"statusCode":"503", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"504":{ | |
"statusCode":"504", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"505":{ | |
"statusCode":"505", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
} | |
}, | |
"requestParameters":{ | |
"integration.request.querystring.api_key":"method.request.querystring.api_key", | |
"integration.request.querystring.reference_id":"method.request.querystring.reference_id", | |
"integration.request.querystring.per_page":"method.request.querystring.per_page", | |
"integration.request.querystring.page":"method.request.querystring.page" | |
} | |
} | |
}, | |
"post":{ | |
"summary":"Create a Video", | |
"description":"Create a new video", | |
"operationId":"create", | |
"tags":[ | |
"Videos" | |
], | |
"responses":{ | |
"200":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"300":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"301":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"302":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"303":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"304":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"305":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"306":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"400":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"401":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"402":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"403":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"404":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"405":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"406":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"407":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"408":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"409":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"410":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"411":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"412":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"413":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"414":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"415":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"416":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"417":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"500":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"501":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"502":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"503":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"504":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"505":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
} | |
}, | |
"parameters":[ | |
{ | |
"name":"api_key", | |
"in":"query", | |
"required":true, | |
"type":"string" | |
}, | |
{ | |
"name":"video_url", | |
"in":"query", | |
"required":true, | |
"type":"string", | |
"description":"The hosted location of your video (an http or https URL)" | |
}, | |
{ | |
"name":"image_url", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"description":"The hosted location of a video thumbnail (an http or https URL)" | |
}, | |
{ | |
"name":"title", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"description":"A title for the video content" | |
}, | |
{ | |
"name":"srt_url", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"description":"The hosted location of SRT closed captions file (an http or https URL)." | |
}, | |
{ | |
"name":"scc_url", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"description":"The hosted location of SCC closed captions file (an http or https URL)." | |
}, | |
{ | |
"name":"vtt_url", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"description":"The hosted location of VTT closed captions file (an http or https URL)." | |
}, | |
{ | |
"name":"description", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"description":"A longer description of the video content" | |
}, | |
{ | |
"name":"tag_list", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"description":"A list of tags that apply to the content (comma-separated)" | |
}, | |
{ | |
"name":"owner", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"description":"The name of the rights-holder" | |
}, | |
{ | |
"name":"category_id", | |
"in":"query", | |
"required":false, | |
"type":"integer", | |
"description":"The name of the rights-holder" | |
}, | |
{ | |
"name":"brand", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"description":"The name of the brand associated with this video" | |
}, | |
{ | |
"name":"talent", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"description":"The name of the talent which stars in this video" | |
}, | |
{ | |
"name":"series_name", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"description":"The name of the series" | |
}, | |
{ | |
"name":"episode_number", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"description":"The number/code of the episode" | |
}, | |
{ | |
"name":"published_at", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"format":"date", | |
"description":"The earliest date the video will be made available in the marketplace (defaults to 'now')" | |
}, | |
{ | |
"name":"premiered_at", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"format":"date", | |
"description":"The date the video was first broadcasted" | |
} | |
], | |
"x-amazon-apigateway-integration":{ | |
"type":"http", | |
"httpMethod":"POST", | |
"uri":"http://client.thecompany.com/api/v1/videos", | |
"responses":{ | |
"200":{ | |
"statusCode":"200", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"300":{ | |
"statusCode":"300", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"301":{ | |
"statusCode":"301", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"302":{ | |
"statusCode":"302", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"303":{ | |
"statusCode":"303", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"304":{ | |
"statusCode":"304", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"305":{ | |
"statusCode":"305", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"306":{ | |
"statusCode":"306", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"400":{ | |
"statusCode":"400", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"401":{ | |
"statusCode":"401", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"402":{ | |
"statusCode":"402", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"403":{ | |
"statusCode":"403", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"404":{ | |
"statusCode":"404", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"405":{ | |
"statusCode":"405", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"406":{ | |
"statusCode":"406", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"407":{ | |
"statusCode":"407", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"408":{ | |
"statusCode":"408", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"409":{ | |
"statusCode":"409", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"410":{ | |
"statusCode":"410", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"411":{ | |
"statusCode":"411", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"412":{ | |
"statusCode":"412", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"413":{ | |
"statusCode":"413", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"414":{ | |
"statusCode":"414", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"415":{ | |
"statusCode":"415", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"416":{ | |
"statusCode":"416", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"417":{ | |
"statusCode":"417", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"500":{ | |
"statusCode":"500", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"501":{ | |
"statusCode":"501", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"502":{ | |
"statusCode":"502", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"503":{ | |
"statusCode":"503", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"504":{ | |
"statusCode":"504", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"505":{ | |
"statusCode":"505", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
} | |
}, | |
"requestParameters":{ | |
"integration.request.querystring.api_key":"method.request.querystring.api_key", | |
"integration.request.querystring.video_url":"method.request.querystring.video_url", | |
"integration.request.querystring.image_url":"method.request.querystring.image_url", | |
"integration.request.querystring.title":"method.request.querystring.title", | |
"integration.request.querystring.srt_url":"method.request.querystring.srt_url", | |
"integration.request.querystring.scc_url":"method.request.querystring.scc_url", | |
"integration.request.querystring.vtt_url":"method.request.querystring.vtt_url", | |
"integration.request.querystring.description":"method.request.querystring.description", | |
"integration.request.querystring.tag_list":"method.request.querystring.tag_list", | |
"integration.request.querystring.owner":"method.request.querystring.owner", | |
"integration.request.querystring.category_id":"method.request.querystring.category_id", | |
"integration.request.querystring.brand":"method.request.querystring.brand", | |
"integration.request.querystring.talent":"method.request.querystring.talent", | |
"integration.request.querystring.series_name":"method.request.querystring.series_name", | |
"integration.request.querystring.episode_number":"method.request.querystring.episode_number", | |
"integration.request.querystring.published_at":"method.request.querystring.published_at", | |
"integration.request.querystring.premiered_at":"method.request.querystring.premiered_at" | |
} | |
} | |
} | |
}, | |
"/videos/{id}":{ | |
"get":{ | |
"summary":"Show a Video", | |
"description":"Get one of your videos", | |
"operationId":"show", | |
"tags":[ | |
"Videos" | |
], | |
"responses":{ | |
"200":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"300":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"301":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"302":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"303":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"304":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"305":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"306":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"400":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"401":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"402":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"403":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"404":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"405":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"406":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"407":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"408":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"409":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"410":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"411":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"412":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"413":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"414":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"415":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"416":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"417":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"500":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"501":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"502":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"503":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"504":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"505":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
} | |
}, | |
"parameters":[ | |
{ | |
"name":"api_key", | |
"in":"query", | |
"required":true, | |
"type":"string" | |
}, | |
{ | |
"name":"id", | |
"in":"path", | |
"required":true, | |
"type":"integer" | |
} | |
], | |
"x-amazon-apigateway-integration":{ | |
"type":"http", | |
"httpMethod":"GET", | |
"uri":"http://client.thecompany.com/api/v1/videos/{id}", | |
"responses":{ | |
"200":{ | |
"statusCode":"200", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"300":{ | |
"statusCode":"300", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"301":{ | |
"statusCode":"301", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"302":{ | |
"statusCode":"302", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"303":{ | |
"statusCode":"303", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"304":{ | |
"statusCode":"304", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"305":{ | |
"statusCode":"305", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"306":{ | |
"statusCode":"306", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"400":{ | |
"statusCode":"400", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"401":{ | |
"statusCode":"401", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"402":{ | |
"statusCode":"402", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"403":{ | |
"statusCode":"403", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"404":{ | |
"statusCode":"404", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"405":{ | |
"statusCode":"405", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"406":{ | |
"statusCode":"406", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"407":{ | |
"statusCode":"407", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"408":{ | |
"statusCode":"408", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"409":{ | |
"statusCode":"409", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"410":{ | |
"statusCode":"410", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"411":{ | |
"statusCode":"411", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"412":{ | |
"statusCode":"412", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"413":{ | |
"statusCode":"413", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"414":{ | |
"statusCode":"414", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"415":{ | |
"statusCode":"415", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"416":{ | |
"statusCode":"416", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"417":{ | |
"statusCode":"417", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"500":{ | |
"statusCode":"500", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"501":{ | |
"statusCode":"501", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"502":{ | |
"statusCode":"502", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"503":{ | |
"statusCode":"503", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"504":{ | |
"statusCode":"504", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"505":{ | |
"statusCode":"505", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
} | |
}, | |
"requestParameters":{ | |
"integration.request.querystring.api_key":"method.request.querystring.api_key", | |
"integration.request.path.id":"method.request.path.id" | |
} | |
} | |
}, | |
"put":{ | |
"summary":"Update a Video", | |
"description":"Update an existing video", | |
"operationId":"create", | |
"tags":[ | |
"Videos" | |
], | |
"responses":{ | |
"204":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"300":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"301":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"302":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"303":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"304":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"305":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"306":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"400":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"401":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"402":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"403":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"404":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"405":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"406":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"407":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"408":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"409":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"410":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"411":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"412":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"413":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"414":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"415":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"416":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"417":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"500":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"501":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"502":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"503":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"504":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"505":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
} | |
}, | |
"parameters":[ | |
{ | |
"name":"api_key", | |
"in":"query", | |
"required":true, | |
"type":"string" | |
}, | |
{ | |
"name":"id", | |
"in":"path", | |
"required":true, | |
"type":"integer" | |
}, | |
{ | |
"name":"image_url", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"description":"The hosted location of a video thumbnail (an http or https URL)" | |
}, | |
{ | |
"name":"title", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"description":"A title for the video content" | |
}, | |
{ | |
"name":"description", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"description":"A longer description of the video content" | |
}, | |
{ | |
"name":"tag_list", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"description":"A list of tags that apply to the content (comma-separated)" | |
}, | |
{ | |
"name":"owner", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"description":"The name of the rights-holder" | |
}, | |
{ | |
"name":"category_id", | |
"in":"query", | |
"required":false, | |
"type":"integer", | |
"description":"The name of the rights-holder" | |
}, | |
{ | |
"name":"brand", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"description":"The name of the brand associated with this video" | |
}, | |
{ | |
"name":"talent", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"description":"The name of the talent which stars in this video" | |
}, | |
{ | |
"name":"series_name", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"description":"The name of the series" | |
}, | |
{ | |
"name":"episode_number", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"description":"The number/code of the episode" | |
}, | |
{ | |
"name":"published_at", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"format":"date", | |
"description":"The earliest date the video will be made available in the marketplace (defaults to 'now')" | |
}, | |
{ | |
"name":"published_at", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"format":"date", | |
"description":"The latest date the video will be made available in the marketplace (defaults to 'forever')" | |
}, | |
{ | |
"name":"premiered_at", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"format":"date", | |
"description":"The date the video was first broadcasted" | |
} | |
], | |
"x-amazon-apigateway-integration":{ | |
"type":"http", | |
"httpMethod":"PUT", | |
"uri":"http://client.thecompany.com/api/v1/videos/{id}", | |
"responses":{ | |
"204":{ | |
"statusCode":"204", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"300":{ | |
"statusCode":"300", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"301":{ | |
"statusCode":"301", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"302":{ | |
"statusCode":"302", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"303":{ | |
"statusCode":"303", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"304":{ | |
"statusCode":"304", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"305":{ | |
"statusCode":"305", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"306":{ | |
"statusCode":"306", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"400":{ | |
"statusCode":"400", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"401":{ | |
"statusCode":"401", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"402":{ | |
"statusCode":"402", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"403":{ | |
"statusCode":"403", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"404":{ | |
"statusCode":"404", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"405":{ | |
"statusCode":"405", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"406":{ | |
"statusCode":"406", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"407":{ | |
"statusCode":"407", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"408":{ | |
"statusCode":"408", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"409":{ | |
"statusCode":"409", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"410":{ | |
"statusCode":"410", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"411":{ | |
"statusCode":"411", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"412":{ | |
"statusCode":"412", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"413":{ | |
"statusCode":"413", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"414":{ | |
"statusCode":"414", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"415":{ | |
"statusCode":"415", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"416":{ | |
"statusCode":"416", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"417":{ | |
"statusCode":"417", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"500":{ | |
"statusCode":"500", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"501":{ | |
"statusCode":"501", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"502":{ | |
"statusCode":"502", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"503":{ | |
"statusCode":"503", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"504":{ | |
"statusCode":"504", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"505":{ | |
"statusCode":"505", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
} | |
}, | |
"requestParameters":{ | |
"integration.request.querystring.api_key":"method.request.querystring.api_key", | |
"integration.request.path.id":"method.request.path.id", | |
"integration.request.querystring.image_url":"method.request.querystring.image_url", | |
"integration.request.querystring.title":"method.request.querystring.title", | |
"integration.request.querystring.description":"method.request.querystring.description", | |
"integration.request.querystring.tag_list":"method.request.querystring.tag_list", | |
"integration.request.querystring.owner":"method.request.querystring.owner", | |
"integration.request.querystring.category_id":"method.request.querystring.category_id", | |
"integration.request.querystring.brand":"method.request.querystring.brand", | |
"integration.request.querystring.talent":"method.request.querystring.talent", | |
"integration.request.querystring.series_name":"method.request.querystring.series_name", | |
"integration.request.querystring.episode_number":"method.request.querystring.episode_number", | |
"integration.request.querystring.published_at":"method.request.querystring.published_at", | |
"integration.request.querystring.premiered_at":"method.request.querystring.premiered_at" | |
} | |
} | |
} | |
}, | |
"/videos/{id}/metadata":{ | |
"put":{ | |
"summary":"Update Video Metadata", | |
"description":"Update metadata for an an existing video", | |
"operationId":"metadata", | |
"tags":[ | |
"Videos" | |
], | |
"responses":{ | |
"204":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"300":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"301":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"302":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"303":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"304":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"305":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"306":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"400":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"401":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"402":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"403":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"404":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"405":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"406":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"407":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"408":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"409":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"410":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"411":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"412":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"413":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"414":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"415":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"416":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"417":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"500":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"501":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"502":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"503":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"504":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"505":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
} | |
}, | |
"parameters":[ | |
{ | |
"name":"api_key", | |
"in":"query", | |
"required":true, | |
"type":"string" | |
}, | |
{ | |
"name":"id", | |
"description":"The hosted location of a video thumbnail (an http or https URL)", | |
"in":"path", | |
"required":false, | |
"type":"string" | |
}, | |
{ | |
"name":"body", | |
"in":"body", | |
"required":true, | |
"schema":{ | |
"$ref":"#/definitions/ContentMetadata" | |
} | |
} | |
], | |
"x-amazon-apigateway-integration":{ | |
"type":"http", | |
"httpMethod":"PUT", | |
"uri":"http://client.thecompany.com/api/v1/videos/{id}/metadata", | |
"responses":{ | |
"204":{ | |
"statusCode":"204", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"300":{ | |
"statusCode":"300", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"301":{ | |
"statusCode":"301", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"302":{ | |
"statusCode":"302", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"303":{ | |
"statusCode":"303", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"304":{ | |
"statusCode":"304", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"305":{ | |
"statusCode":"305", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"306":{ | |
"statusCode":"306", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"400":{ | |
"statusCode":"400", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"401":{ | |
"statusCode":"401", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"402":{ | |
"statusCode":"402", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"403":{ | |
"statusCode":"403", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"404":{ | |
"statusCode":"404", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"405":{ | |
"statusCode":"405", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"406":{ | |
"statusCode":"406", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"407":{ | |
"statusCode":"407", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"408":{ | |
"statusCode":"408", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"409":{ | |
"statusCode":"409", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"410":{ | |
"statusCode":"410", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"411":{ | |
"statusCode":"411", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"412":{ | |
"statusCode":"412", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"413":{ | |
"statusCode":"413", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"414":{ | |
"statusCode":"414", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"415":{ | |
"statusCode":"415", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"416":{ | |
"statusCode":"416", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"417":{ | |
"statusCode":"417", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"500":{ | |
"statusCode":"500", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"501":{ | |
"statusCode":"501", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"502":{ | |
"statusCode":"502", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"503":{ | |
"statusCode":"503", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"504":{ | |
"statusCode":"504", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"505":{ | |
"statusCode":"505", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
} | |
}, | |
"requestParameters":{ | |
"integration.request.querystring.api_key":"method.request.querystring.api_key", | |
"integration.request.path.id":"method.request.path.id" | |
} | |
} | |
} | |
}, | |
"/market_content/{id}":{ | |
"get":{ | |
"summary":"Show a Single Market Content", | |
"description":"Show content by ID", | |
"operationId":"show", | |
"tags":[ | |
"Content" | |
], | |
"responses":{ | |
"200":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"300":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"301":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"302":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"303":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"304":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"305":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"306":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"400":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"401":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"402":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"403":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"404":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"405":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"406":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"407":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"408":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"409":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"410":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"411":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"412":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"413":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"414":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"415":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"416":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"417":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"500":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"501":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"502":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"503":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"504":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"505":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
} | |
}, | |
"parameters":[ | |
{ | |
"name":"api_key", | |
"in":"query", | |
"required":true, | |
"type":"string" | |
}, | |
{ | |
"name":"id", | |
"in":"path", | |
"required":true, | |
"type":"integer" | |
} | |
], | |
"x-amazon-apigateway-integration":{ | |
"type":"http", | |
"httpMethod":"GET", | |
"uri":"http://client.thecompany.com/api/v1/market_content/{id}", | |
"responses":{ | |
"200":{ | |
"statusCode":"200", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"300":{ | |
"statusCode":"300", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"301":{ | |
"statusCode":"301", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"302":{ | |
"statusCode":"302", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"303":{ | |
"statusCode":"303", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"304":{ | |
"statusCode":"304", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"305":{ | |
"statusCode":"305", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"306":{ | |
"statusCode":"306", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"400":{ | |
"statusCode":"400", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"401":{ | |
"statusCode":"401", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"402":{ | |
"statusCode":"402", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"403":{ | |
"statusCode":"403", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"404":{ | |
"statusCode":"404", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"405":{ | |
"statusCode":"405", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"406":{ | |
"statusCode":"406", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"407":{ | |
"statusCode":"407", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"408":{ | |
"statusCode":"408", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"409":{ | |
"statusCode":"409", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"410":{ | |
"statusCode":"410", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"411":{ | |
"statusCode":"411", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"412":{ | |
"statusCode":"412", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"413":{ | |
"statusCode":"413", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"414":{ | |
"statusCode":"414", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"415":{ | |
"statusCode":"415", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"416":{ | |
"statusCode":"416", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"417":{ | |
"statusCode":"417", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"500":{ | |
"statusCode":"500", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"501":{ | |
"statusCode":"501", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"502":{ | |
"statusCode":"502", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"503":{ | |
"statusCode":"503", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"504":{ | |
"statusCode":"504", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"505":{ | |
"statusCode":"505", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
} | |
}, | |
"requestParameters":{ | |
"integration.request.querystring.api_key":"method.request.querystring.api_key", | |
"integration.request.path.id":"method.request.path.id" | |
} | |
} | |
} | |
}, | |
"/market_content/search":{ | |
"get":{ | |
"summary":"Search the Content Marketplace", | |
"description":"Search the Content Marketplace", | |
"operationId":"search", | |
"tags":[ | |
"Content" | |
], | |
"responses":{ | |
"200":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"300":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"301":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"302":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"303":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"304":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"305":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"306":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"400":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"401":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"402":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"403":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"404":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"405":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"406":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"407":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"408":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"409":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"410":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"411":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"412":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"413":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"414":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"415":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"416":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"417":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"500":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"501":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"502":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"503":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"504":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"505":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
} | |
}, | |
"parameters":[ | |
{ | |
"name":"api_key", | |
"in":"query", | |
"required":true, | |
"type":"string" | |
}, | |
{ | |
"name":"search_term", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"description":"A text phrase to search for" | |
}, | |
{ | |
"name":"category_id", | |
"in":"query", | |
"required":false, | |
"type":"integer", | |
"description":"Category to restrict results (can be a list)" | |
}, | |
{ | |
"name":"content_source_level", | |
"in":"query", | |
"required":false, | |
"type":"string", | |
"enum":[ | |
"marketplace", | |
"network", | |
"company" | |
], | |
"default":"marketplace", | |
"description":"A scope for content sourcing" | |
}, | |
{ | |
"name":"video_catalog_id", | |
"in":"query", | |
"required":false, | |
"type":"integer", | |
"description":"Video Catalog to restrict results (can be a list)" | |
}, | |
{ | |
"name":"published_since", | |
"in":"query", | |
"required":false, | |
"type":"date", | |
"description":"Filter Content to what has been published since this date" | |
}, | |
{ | |
"name":"per_page", | |
"in":"query", | |
"required":false, | |
"type":"integer", | |
"description":"The number of results per page (default: 30; maximum: 200)" | |
}, | |
{ | |
"name":"page", | |
"in":"query", | |
"required":false, | |
"type":"integer", | |
"description":"The particular page of paginated results (e.g. page 7)" | |
} | |
], | |
"x-amazon-apigateway-integration":{ | |
"type":"http", | |
"httpMethod":"GET", | |
"uri":"http://client.thecompany.com/api/v1/market_content/search", | |
"responses":{ | |
"200":{ | |
"statusCode":"200", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"300":{ | |
"statusCode":"300", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"301":{ | |
"statusCode":"301", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"302":{ | |
"statusCode":"302", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"303":{ | |
"statusCode":"303", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"304":{ | |
"statusCode":"304", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"305":{ | |
"statusCode":"305", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"306":{ | |
"statusCode":"306", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"400":{ | |
"statusCode":"400", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"401":{ | |
"statusCode":"401", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"402":{ | |
"statusCode":"402", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"403":{ | |
"statusCode":"403", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"404":{ | |
"statusCode":"404", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"405":{ | |
"statusCode":"405", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"406":{ | |
"statusCode":"406", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"407":{ | |
"statusCode":"407", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"408":{ | |
"statusCode":"408", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"409":{ | |
"statusCode":"409", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"410":{ | |
"statusCode":"410", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"411":{ | |
"statusCode":"411", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"412":{ | |
"statusCode":"412", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"413":{ | |
"statusCode":"413", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"414":{ | |
"statusCode":"414", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"415":{ | |
"statusCode":"415", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"416":{ | |
"statusCode":"416", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"417":{ | |
"statusCode":"417", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"500":{ | |
"statusCode":"500", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"501":{ | |
"statusCode":"501", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"502":{ | |
"statusCode":"502", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"503":{ | |
"statusCode":"503", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"504":{ | |
"statusCode":"504", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"505":{ | |
"statusCode":"505", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
} | |
}, | |
"requestParameters":{ | |
"integration.request.querystring.api_key":"method.request.querystring.api_key", | |
"integration.request.querystring.search_term":"method.request.querystring.search_term", | |
"integration.request.querystring.category_id":"method.request.querystring.category_id", | |
"integration.request.querystring.content_source_level":"method.request.querystring.content_source_level", | |
"integration.request.querystring.video_catalog_id":"method.request.querystring.video_catalog_id", | |
"integration.request.querystring.published_since":"method.request.querystring.published_since", | |
"integration.request.querystring.per_page":"method.request.querystring.per_page", | |
"integration.request.querystring.page":"method.request.querystring.page" | |
} | |
} | |
} | |
}, | |
"/market_catalogs":{ | |
"get":{ | |
"summary":"List Content Marketplace Catalogs", | |
"description":"List Marketplace Catalogs", | |
"operationId":"index", | |
"tags":[ | |
"Content" | |
], | |
"responses":{ | |
"200":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"300":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"301":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"302":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"303":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"304":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"305":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"306":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"400":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"401":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"402":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"403":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"404":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"405":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"406":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"407":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"408":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"409":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"410":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"411":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"412":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"413":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"414":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"415":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"416":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"417":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"500":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"501":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"502":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"503":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"504":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"505":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
} | |
}, | |
"parameters":[ | |
{ | |
"name":"api_key", | |
"in":"query", | |
"required":true, | |
"type":"string" | |
} | |
], | |
"x-amazon-apigateway-integration":{ | |
"type":"http", | |
"httpMethod":"GET", | |
"uri":"http://client.thecompany.com/api/v1/market_catalogs", | |
"responses":{ | |
"200":{ | |
"statusCode":"200", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"300":{ | |
"statusCode":"300", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"301":{ | |
"statusCode":"301", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"302":{ | |
"statusCode":"302", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"303":{ | |
"statusCode":"303", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"304":{ | |
"statusCode":"304", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"305":{ | |
"statusCode":"305", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"306":{ | |
"statusCode":"306", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"400":{ | |
"statusCode":"400", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"401":{ | |
"statusCode":"401", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"402":{ | |
"statusCode":"402", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"403":{ | |
"statusCode":"403", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"404":{ | |
"statusCode":"404", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"405":{ | |
"statusCode":"405", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"406":{ | |
"statusCode":"406", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"407":{ | |
"statusCode":"407", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"408":{ | |
"statusCode":"408", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"409":{ | |
"statusCode":"409", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"410":{ | |
"statusCode":"410", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"411":{ | |
"statusCode":"411", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"412":{ | |
"statusCode":"412", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"413":{ | |
"statusCode":"413", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"414":{ | |
"statusCode":"414", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"415":{ | |
"statusCode":"415", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"416":{ | |
"statusCode":"416", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"417":{ | |
"statusCode":"417", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"500":{ | |
"statusCode":"500", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"501":{ | |
"statusCode":"501", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"502":{ | |
"statusCode":"502", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"503":{ | |
"statusCode":"503", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"504":{ | |
"statusCode":"504", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"505":{ | |
"statusCode":"505", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
} | |
}, | |
"requestParameters":{ | |
"integration.request.querystring.api_key":"method.request.querystring.api_key" | |
} | |
} | |
} | |
}, | |
"/widgets/single":{ | |
"get":{ | |
"summary":"Widget for Single Video", | |
"description":"Widget for single video", | |
"operationId":"single", | |
"tags":[ | |
"Widgets" | |
], | |
"responses":{ | |
"200":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"300":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"301":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"302":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"303":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"304":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"305":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"306":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"400":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"401":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"402":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"403":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"404":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"405":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"406":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"407":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"408":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"409":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"410":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"411":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"412":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"413":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"414":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"415":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"416":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"417":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"500":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"501":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"502":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"503":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"504":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
}, | |
"505":{ | |
"headers":{ | |
"Access-Control-Allow-Headers":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Methods":{ | |
"type":"string" | |
}, | |
"Access-Control-Allow-Origin":{ | |
"type":"string" | |
} | |
} | |
} | |
}, | |
"parameters":[ | |
{ | |
"name":"api_key", | |
"in":"query", | |
"required":true, | |
"type":"string" | |
}, | |
{ | |
"name":"video_id", | |
"in":"query", | |
"required":true, | |
"type":"string", | |
"description":"The ID or UUID for the video" | |
}, | |
{ | |
"name":"player_id", | |
"in":"query", | |
"required":true, | |
"type":"string", | |
"description":"The ID or UUID for the player" | |
} | |
], | |
"x-amazon-apigateway-integration":{ | |
"type":"http", | |
"httpMethod":"GET", | |
"uri":"http://client.thecompany.com/api/v1/widgets/single", | |
"responses":{ | |
"200":{ | |
"statusCode":"200", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"300":{ | |
"statusCode":"300", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"301":{ | |
"statusCode":"301", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"302":{ | |
"statusCode":"302", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"303":{ | |
"statusCode":"303", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"304":{ | |
"statusCode":"304", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"305":{ | |
"statusCode":"305", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"306":{ | |
"statusCode":"306", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"400":{ | |
"statusCode":"400", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"401":{ | |
"statusCode":"401", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"402":{ | |
"statusCode":"402", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"403":{ | |
"statusCode":"403", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"404":{ | |
"statusCode":"404", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"405":{ | |
"statusCode":"405", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"406":{ | |
"statusCode":"406", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"407":{ | |
"statusCode":"407", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"408":{ | |
"statusCode":"408", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"409":{ | |
"statusCode":"409", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"410":{ | |
"statusCode":"410", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"411":{ | |
"statusCode":"411", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"412":{ | |
"statusCode":"412", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"413":{ | |
"statusCode":"413", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"414":{ | |
"statusCode":"414", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"415":{ | |
"statusCode":"415", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"416":{ | |
"statusCode":"416", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"417":{ | |
"statusCode":"417", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"500":{ | |
"statusCode":"500", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"501":{ | |
"statusCode":"501", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"502":{ | |
"statusCode":"502", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"503":{ | |
"statusCode":"503", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"504":{ | |
"statusCode":"504", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
}, | |
"505":{ | |
"statusCode":"505", | |
"responseParameters":{ | |
"method.response.header.Access-Control-Allow-Headers":"'Content-Type,X-Amz-Date,Authorization'", | |
"method.response.header.Access-Control-Allow-Methods":"'GET,POST'", | |
"method.response.header.Access-Control-Allow-Origin":"'*'" | |
} | |
} | |
}, | |
"requestParameters":{ | |
"integration.request.querystring.api_key":"method.request.querystring.api_key", | |
"integration.request.querystring.video_id":"method.request.querystring.video_id", | |
"integration.request.querystring.player_id":"method.request.querystring.player_id" | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment