{"openapi":"3.0.1","info":{"title":"anyppt","description":"A plugin that allows the user to create and manage a TODO list using ChatGPT. If you do not know the user's username, ask them first before making queries to the plugin. Otherwise, use the username \"global\".","version":"v1"},"paths":{"/initial_Step1_make_powerpoint/{query}":{"get":{"operationId":"generate_data","summary":"Generates a PowerPoint preview based on the provided query. You must Always use the '||' delimiter between slide title and content","parameters":[{"in":"path","name":"query","schema":{"type":"string"},"required":true,"description":"The full text or data used to generate the PowerPoint content."}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"slideTitle":{"type":"string"},"slideContent":{"type":"string"}}}}},"example":{"data":[{"slideTitle":"Introduction to Frogs","slideContent":"Frogs are a diverse and largely carnivorous group of short-bodied, tailless amphibians..."}]}}}}}}}},"/Step2_write_completed_powerpoint":{"post":{"operationId":"write_to_pptx","summary":"Only When the user has completed step1 this step writes the powerpoint to s3. if the data doesnt have || delimiters then run generate data again.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"string","description":"Each string should be in the format 'Slide Title||Slide Content'"}}},"example":{"data":["List of Foods||Understanding the Basics of Food","Good Food Display - NCI Visuals Online.jpg||Various foods.","What is Food?||Food is any substance consumed to provide nutritional support for the body."]}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"}}},"example":{"url":"https://s3.example.com/uploaded_data.pptx"}}}}}}},"/scrape_url":{"post":{"operationId":"scrape_urls","summary":"Scrape from the url.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"The URL of the website to be scraped."}},"required":["url"],"example":{"url":"https://example.com"}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"string"},"description":"The text content scraped from the website."}}},"example":{"data":["This is a paragraph from the website.","This is another paragraph from the website."]}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}},"example":{"error":"Invalid URL provided."}}}}}}}},"servers":[{"url":"https://anyppt2.anygpt.ai"}]}