{ "opencollection": "1.0.0", "info": { "name": "Canva Connect Assets Resizes API", "version": "1.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://www.canva.com/api/oauth/authorize", "accessTokenUrl": "https://api.canva.com/rest/v1/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Resizes", "type": "folder" }, "items": [ { "info": { "name": "Canva Create a Design Resize Job", "type": "http" }, "http": { "method": "POST", "url": "https://api.canva.com/rest/v1/resizes", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://www.canva.com/api/oauth/authorize", "accessTokenUrl": "https://api.canva.com/rest/v1/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Creates an asynchronous job to resize a design to different dimensions or a preset type (doc, whiteboard, or presentation). The resize creates a new design without modifying the original." }, { "info": { "name": "Canva Get a Design Resize Job", "type": "http" }, "http": { "method": "GET", "url": "https://api.canva.com/rest/v1/resizes/:jobId", "params": [ { "name": "jobId", "value": "", "type": "path", "description": "The job ID" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://www.canva.com/api/oauth/authorize", "accessTokenUrl": "https://api.canva.com/rest/v1/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Retrieves the status and results of a design resize job. When successful, includes the newly created design metadata." } ] } ], "bundled": true }