{ "opencollection": "1.0.0", "info": { "name": "LILT Create API", "version": "v3.0.3" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Create", "type": "folder" }, "items": [ { "info": { "name": "Get Lilt Create content", "type": "http" }, "http": { "method": "GET", "url": "https://api.lilt.com/v2/create" }, "docs": "Get a list of all content that has been generated by Lilt Create.\n\nExample CURL:\n```bash\ncurl -X GET 'https://api.lilt.com/v2/create?key=API_KEY'\n```\n\n" }, { "info": { "name": "Generate new Lilt Create content", "type": "http" }, "http": { "method": "POST", "url": "https://api.lilt.com/v2/create", "body": { "type": "json", "data": "{}" } }, "docs": "Generate new Lilt Create content with the given parameters.\n\nExample CURL:\n```bash\ncurl -X POST 'https://api.lilt.com/v2/create?key=API_KEY' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n \"language\":\"en-US\",\n \"template\":\"blog-post\",\n \"templateParams\":{\n \"contentLength\":\"100\",\n \"language\":\"en-US\",\n \"sections\":[],\n \"summary\":\"a blog post about hiking\"\n },\n \"preferences\":{\"tone\":\"formal\",\"styleguide\":\"\"}\n}'\n```\n\n" }, { "info": { "name": "Get Lilt Create content by ID.", "type": "http" }, "http": { "method": "GET", "url": "https://api.lilt.com/v2/create/:contentId", "params": [ { "name": "contentId", "value": "", "type": "path", "description": "The content ID." } ] }, "docs": "Get Lilt Create content by ID.\n\nExample CURL:\n```bash\ncurl -X GET 'https://api.lilt.com/v2/create/1234?key=API_KEY'\n```\n\n" }, { "info": { "name": "Update Lilt Create content", "type": "http" }, "http": { "method": "PUT", "url": "https://api.lilt.com/v2/create/:contentId", "params": [ { "name": "contentId", "value": "", "type": "path", "description": "The content ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a piece of Lilt Create content.\n\nExample CURL:\n```bash\ncurl -X PUT 'https://api.lilt.com/v2/create/1234?key=API_KEY' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\"language\":\"de-DE\"}'\n```\n\n" }, { "info": { "name": "Delete Lilt Create content", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.lilt.com/v2/create/:contentId", "params": [ { "name": "contentId", "value": "", "type": "path", "description": "The content ID." } ] }, "docs": "Delete a piece of Lilt Create content.\n\nExample CURL:\n```bash\ncurl -X DELETE 'https://api.lilt.com/v2/create/1234?key=API_KEY'\n```\n\n" } ] } ], "bundled": true }