{ "opencollection": "1.0.0", "info": { "name": "Cvent REST APIs — Event Cloud File API", "version": "ea" }, "items": [ { "info": { "name": "File", "type": "folder" }, "items": [ { "info": { "name": "Upload a File", "type": "http" }, "http": { "method": "POST", "url": "https://api-platform.cvent.com/ea/files", "body": { "type": "multipart-form", "data": [] }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://api-platform.cvent.com/ea/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Uploads a file and returns a unique ID to identify the file. The file must be less than 10MB. The file ID can be used with other APIs to associate the file with an entity. Unassociated files expire within 30 days." }, { "info": { "name": "Get File Location", "type": "http" }, "http": { "method": "GET", "url": "https://api-platform.cvent.com/ea/files/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of a file." } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://api-platform.cvent.com/ea/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Returns the file upload location for the specified file ID." } ] } ], "bundled": true }