{ "opencollection": "1.0.0", "info": { "name": "Ghost Content and Admin APIs Admin - Images Admin - Themes API", "version": "5.0" }, "request": { "auth": { "type": "apikey", "key": "key", "value": "{{key}}", "placement": "query" } }, "items": [ { "info": { "name": "Admin - Themes", "type": "folder" }, "items": [ { "info": { "name": "Upload a theme", "type": "http" }, "http": { "method": "POST", "url": "https://{admin_domain}/ghost/api/admin/themes/upload/", "headers": [ { "name": "Accept-Version", "value": "" } ], "body": { "type": "multipart-form", "data": [ { "name": "file", "type": "text", "value": "" } ] } }, "docs": "Uploads a theme as a zip package using multipart/form-data." }, { "info": { "name": "Activate a theme", "type": "http" }, "http": { "method": "PUT", "url": "https://{admin_domain}/ghost/api/admin/themes/:name/activate/", "headers": [ { "name": "Accept-Version", "value": "" } ], "params": [ { "name": "name", "value": "", "type": "path" } ] }, "docs": "Activate a theme" } ] } ], "bundled": true }