PRESENTATION
PRESENTATION · Actions GPT
Show Me V2
GET /v2/diagram-syntax-documentationget_DiagramSyntaxDocumentationGet syntax documentation before calling render diagram action
Schéma original API
{
"openapi": "3.0.2",
"info": {
"title": "Show Me V2",
"version": "0.1.0"
},
"servers": [
{
"url": "https://diagrams.helpful.dev",
"description": "Development server"
}
],
"paths": {
"/v2/diagram-syntax-documentation": {
"get": {
"operationId": "get_DiagramSyntaxDocumentation",
"description": "Get syntax documentation before calling render diagram action",
"x-openai-isConsequential": false,
"parameters": [
{
"required": true,
"schema": {
"type": "string",
"description": "Type of diagram to get syntax documentation for",
"enum": [
"sequenceDiagram",
"mindmap",
"sankey",
"classDiagram",
"timeline",
"flowchart"
]
},
"name": "diagramType",
"in": "query"
}
],
"responses": {
"200": {
"description": "Returns the syntax documentation for the specified diagram type",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"diagramSyntaxDocumentation": {
"type": "string"
},
"systemInstructions": {
"type": "string",
"description": "Additional instructions for the system"
}
},
"required": [
"diagramSyntaxDocumentation"
]
}
}
}
}
}
}
}
}
}GPT Companion
POST /api/gpt/Presentations_CreatePresentationOrUpdatePresentationSettingsCreating basic information about the presentation or updating presentation settings.POST /api/gpt/Presentations_GetPresentationStructureGet presentation informationPOST /api/gpt/Presentations_AddTextWithImageMainSlideAdd with image and text slide to presentationPOST /api/gpt/Presentations_AddImageWithTextSectiontSlideAdd with no image overlay text slide to presentationPOST /api/gpt/Presentations_AddThreeTextCardsSlideAdd with no image question cards slide to presentationPOST /api/gpt/Presentations_AddThreeImagesWithTextSlideAdd with triple image slide to presentationPOST /api/gpt/Presentations_AddImageWithBulletPointsSlideAdd with image and bullet points slide to presentationPOST /api/gpt/Presentations_AddImageWith2TextBoxesSlideAdd with image and dual questions slide to presentationPOST /api/gpt/Presentations_AddTitleSlideAdd with no image big title slide to presentationPOST /api/gpt/Presentations_AddImageWithLargeTitleAnd2TextBoxesSlideAdd with image rotated title with flow slide to presentationPOST /api/gpt/Presentations_AddNoImageTopicWithQuestionSlideAdd with no image topic with question slide to presentationPOST /api/gpt/Presentations_AddSlideWithDiagramAdd with no image with diagram slide to presentationPOST /api/gpt/Presentations_DeleteSlidedelete slide from presentationPOST /api/gpt/ConsentUserpost_ConsentUser
Schéma original API
{
"openapi": "3.1.0",
"info": {
"title": "GPT Companion",
"version": "1.0"
},
"servers": [
{
"url": "https://slidehub.co",
"description": "Development server"
}
],
"components": {
"schemas": {},
"parameters": {}
},
"paths": {
"/api/gpt/Presentations_CreatePresentationOrUpdatePresentationSettings": {
"post": {
"x-openai-isConsequential": false,
"operationId": "Presentations_CreatePresentationOrUpdatePresentationSettings",
"summary": "Creating basic information about the presentation or updating presentation settings.",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"presentationName": {
"type": "string"
},
"style": {
"type": "string",
"enum": [
"Default",
"Modern"
]
},
"presentationId": {
"type": "string",
"description": "This ID is used if you need to modify an existing schema."
},
"keywords": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of keywords that describe the topic of the slide"
}
},
"required": [
"presentationName",
"style"
]
}
}
}
},
"responses": {
"200": {
"description": "Do not change this answer and show it to the user.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Do not show this to the user."
}
},
"required": [
"id"
]
}
}
}
},
"401": {
"description": "No access",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"422": {
"description": "Error while create presentation",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
}
}
}
},
"/api/gpt/Presentations_GetPresentationStructure": {
"post": {
"x-openai-isConsequential": false,
"operationId": "Presentations_GetPresentationStructure",
"summary": "Get presentation information",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"presentationId": {
"type": "string"
}
},
"required": [
"presentationId"
]
}
}
}
},
"responses": {
"200": {
"description": "Do not change this answer and show it to the user.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Do not show this to the user."
},
"answerRecommendations": {
"type": "string",
"description": "Mandatory recommendations for the answer for user"
}
},
"required": [
"id",
"answerRecommendations"
]
}
}
}
},
"401": {
"description": "No access",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"404": {
"description": "Presentation not found.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"422": {
"description": "Error while add page",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
}
}
}
},
"/api/gpt/Presentations_AddTextWithImageMainSlide": {
"post": {
"x-openai-isConsequential": false,
"operationId": "Presentations_AddTextWithImageMainSlide",
"summary": "Add with image and text slide to presentation",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"With_Image_Text": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Please provide an answer of at least 36 characters.",
"example": "NEW STYLE AND TRENDS FOR THIS FUTURE"
},
"subTitle1": {
"type": "string",
"description": "Please provide an answer of at least 23 characters.",
"example": "Interesting information"
},
"paragraph1": {
"type": "string",
"description": "Please provide an answer of at least 150 characters.",
"example": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry`s standard dummy text ever since the 1500s."
},
"subTitle2": {
"type": "string",
"description": "Please provide an answer of at least 23 characters.",
"example": "Fascinating History"
},
"paragraph2": {
"type": "string",
"description": "Please provide an answer of at least 150 characters.",
"example": "The origins of Lorem Ipsum date back to classical Latin literature, specifically a work by Cicero."
},
"subTitle3": {
"type": "string",
"description": "Please provide an answer of at least 23 characters.",
"example": "Modern Usage and Relevance"
},
"paragraph3": {
"type": "string",
"description": "Please provide an answer of at least 150 characters.",
"example": "Even in the digital age, Lorem Ipsum remains highly relevant, serving as a go-to filler text for website designs, publications, and templates."
}
},
"required": [
"title",
"subTitle1",
"paragraph1",
"subTitle2",
"paragraph2",
"subTitle3",
"paragraph3"
]
},
"imagePrompt": {
"type": "string"
},
"openaiFileIdRefs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"id": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"download_link": {
"type": "string"
}
},
"required": [
"name",
"id",
"mime_type",
"download_link"
]
},
"description": "send the generated or user image with slide content."
},
"slideOrder": {
"type": "number"
},
"presentationId": {
"type": "string"
}
},
"required": [
"With_Image_Text",
"imagePrompt",
"presentationId"
]
}
}
}
},
"responses": {
"200": {
"description": "Do not change this answer and show it to the user.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Do not show this to the user."
},
"answerRecommendations": {
"type": "string",
"description": "Mandatory recommendations for the answer for user"
}
},
"required": [
"id",
"answerRecommendations"
]
}
}
}
},
"401": {
"description": "No access",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"404": {
"description": "Presentation not found.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"422": {
"description": "Error while add page",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
}
}
}
},
"/api/gpt/Presentations_AddImageWithTextSectiontSlide": {
"post": {
"x-openai-isConsequential": false,
"operationId": "Presentations_AddImageWithTextSectiontSlide",
"summary": "Add with no image overlay text slide to presentation",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"Image_With_Text_Section_Slide": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Please provide an answer of at least 14 characters.",
"example": "Northumberland"
},
"subTitle": {
"type": "string",
"description": "Please provide an answer of at least 35 characters.",
"example": "Is the best place that I have ever seen."
},
"text": {
"type": "string",
"description": "Please provide an answer of at least 152 characters.",
"example": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry`s standard dummy text ever since the 1500s."
}
},
"required": [
"title",
"subTitle",
"text"
]
},
"imagePrompt": {
"type": "string"
},
"openaiFileIdRefs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"id": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"download_link": {
"type": "string"
}
},
"required": [
"name",
"id",
"mime_type",
"download_link"
]
},
"description": "send the generated or user image with slide content."
},
"slideOrder": {
"type": "number"
},
"presentationId": {
"type": "string"
}
},
"required": [
"Image_With_Text_Section_Slide",
"imagePrompt",
"presentationId"
]
}
}
}
},
"responses": {
"200": {
"description": "Do not change this answer and show it to the user.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Do not show this to the user."
},
"answerRecommendations": {
"type": "string",
"description": "Mandatory recommendations for the answer for user"
}
},
"required": [
"id",
"answerRecommendations"
]
}
}
}
},
"401": {
"description": "No access",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"404": {
"description": "Presentation not found.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"422": {
"description": "Error while add page",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
}
}
}
},
"/api/gpt/Presentations_AddThreeTextCardsSlide": {
"post": {
"x-openai-isConsequential": false,
"operationId": "Presentations_AddThreeTextCardsSlide",
"summary": "Add with no image question cards slide to presentation",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"Three_Text_Cards_Slide": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Please provide an answer of at least 14 characters.",
"example": "Business"
},
"form1": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Please provide an answer of at least 20 characters.",
"example": "What is Lorem Ipsum?"
},
"text": {
"type": "string",
"description": "Please provide an answer of at least 205 characters.",
"example": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry`s standard dummy text ever scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting,"
}
},
"required": [
"title",
"text"
]
},
"form2": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Please provide an answer of at least 20 characters.",
"example": "What is Lorem Ipsum?"
},
"text": {
"type": "string",
"description": "Please provide an answer of at least 205 characters.",
"example": "What is Lorem Ipsum?"
}
},
"required": [
"title",
"text"
]
},
"form3": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Please provide an answer of at least 20 characters.",
"example": "Why do we use it?"
},
"text": {
"type": "string",
"description": "Please provide an answer of at least 205 characters.",
"example": "Why do we use it?"
}
},
"required": [
"title",
"text"
]
}
},
"required": [
"title",
"form1",
"form2",
"form3"
]
},
"slideOrder": {
"type": "number"
},
"presentationId": {
"type": "string"
}
},
"required": [
"Three_Text_Cards_Slide",
"presentationId"
]
}
}
}
},
"responses": {
"200": {
"description": "Do not change this answer and show it to the user.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Do not show this to the user."
},
"answerRecommendations": {
"type": "string",
"description": "Mandatory recommendations for the answer for user"
}
},
"required": [
"id",
"answerRecommendations"
]
}
}
}
},
"401": {
"description": "No access",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"404": {
"description": "Presentation not found.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"422": {
"description": "Error while add page",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
}
}
}
},
"/api/gpt/Presentations_AddThreeImagesWithTextSlide": {
"post": {
"x-openai-isConsequential": false,
"operationId": "Presentations_AddThreeImagesWithTextSlide",
"summary": "Add with triple image slide to presentation",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"Three_Images_With_Text_Slide": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Please provide an answer of at least 5 characters.",
"example": "BOOKS"
},
"text": {
"type": "string",
"description": "Please provide an answer of at least 400 characters.",
"example": "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, Latin professor a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical"
}
},
"required": [
"title",
"text"
]
},
"imagePrompt": {
"type": "string"
},
"openaiFileIdRefs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"id": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"download_link": {
"type": "string"
}
},
"required": [
"name",
"id",
"mime_type",
"download_link"
]
},
"description": "send the 3 generated or user image with slide content."
},
"slideOrder": {
"type": "number"
},
"presentationId": {
"type": "string"
}
},
"required": [
"Three_Images_With_Text_Slide",
"imagePrompt",
"presentationId"
]
}
}
}
},
"responses": {
"200": {
"description": "Do not change this answer and show it to the user.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Do not show this to the user."
},
"answerRecommendations": {
"type": "string",
"description": "Mandatory recommendations for the answer for user"
}
},
"required": [
"id",
"answerRecommendations"
]
}
}
}
},
"401": {
"description": "No access",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"404": {
"description": "Presentation not found.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"422": {
"description": "Error while add page",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
}
}
}
},
"/api/gpt/Presentations_AddImageWithBulletPointsSlide": {
"post": {
"x-openai-isConsequential": false,
"operationId": "Presentations_AddImageWithBulletPointsSlide",
"summary": "Add with image and bullet points slide to presentation",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"Image_With_Bullet_Points_Slide": {
"type": "object",
"properties": {
"tableTitle": {
"type": "string",
"description": "Please provide an answer of at least 17 characters.",
"example": "Table of contents"
},
"tabularItem1": {
"type": "string",
"description": "Please provide an answer of at least 13 characters.",
"example": "Business plan"
},
"tabularItem2": {
"type": "string",
"description": "Please provide an answer of at least 13 characters.",
"example": "Company description"
},
"tabularItem3": {
"type": "string",
"description": "Please provide an answer of at least 13 characters.",
"example": "Market analysis"
},
"tabularItem4": {
"type": "string",
"description": "Please provide an answer of at least 13 characters.",
"example": "Products or services"
},
"tabularItem5": {
"type": "string",
"description": "Please provide an answer of at least 13 characters.",
"example": "MK & Sales strategy"
}
},
"required": [
"tableTitle",
"tabularItem1",
"tabularItem2",
"tabularItem3",
"tabularItem4",
"tabularItem5"
]
},
"imagePrompt": {
"type": "string"
},
"openaiFileIdRefs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"id": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"download_link": {
"type": "string"
}
},
"required": [
"name",
"id",
"mime_type",
"download_link"
]
},
"description": "send the generated or user image with slide content."
},
"slideOrder": {
"type": "number"
},
"presentationId": {
"type": "string"
}
},
"required": [
"Image_With_Bullet_Points_Slide",
"imagePrompt",
"presentationId"
]
}
}
}
},
"responses": {
"200": {
"description": "Do not change this answer and show it to the user.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Do not show this to the user."
},
"answerRecommendations": {
"type": "string",
"description": "Mandatory recommendations for the answer for user"
}
},
"required": [
"id",
"answerRecommendations"
]
}
}
}
},
"401": {
"description": "No access",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"404": {
"description": "Presentation not found.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"422": {
"description": "Error while add page",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
}
}
}
},
"/api/gpt/Presentations_AddImageWith2TextBoxesSlide": {
"post": {
"x-openai-isConsequential": false,
"operationId": "Presentations_AddImageWith2TextBoxesSlide",
"summary": "Add with image and dual questions slide to presentation",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"Image_With_2_Text_Boxes_Slide": {
"type": "object",
"properties": {
"question1": {
"type": "string",
"description": "Please provide an answer of at least 24 characters.",
"example": "Where does it come from?"
},
"question2": {
"type": "string",
"description": "Please provide an answer of at least 24 characters.",
"example": "Where does it come from?"
},
"text1": {
"type": "string",
"description": "Please provide an answer of at least 140 characters.",
"example": "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin"
},
"text2": {
"type": "string",
"description": "Please provide an answer of at least 140 characters.",
"example": "literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of"
}
},
"required": [
"question1",
"question2",
"text1",
"text2"
]
},
"imagePrompt": {
"type": "string"
},
"openaiFileIdRefs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"id": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"download_link": {
"type": "string"
}
},
"required": [
"name",
"id",
"mime_type",
"download_link"
]
},
"description": "send the generated or user image with slide content."
},
"slideOrder": {
"type": "number"
},
"presentationId": {
"type": "string"
}
},
"required": [
"Image_With_2_Text_Boxes_Slide",
"imagePrompt",
"presentationId"
]
}
}
}
},
"responses": {
"200": {
"description": "Do not change this answer and show it to the user.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Do not show this to the user."
},
"answerRecommendations": {
"type": "string",
"description": "Mandatory recommendations for the answer for user"
}
},
"required": [
"id",
"answerRecommendations"
]
}
}
}
},
"401": {
"description": "No access",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"404": {
"description": "Presentation not found.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"422": {
"description": "Error while add page",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
}
}
}
},
"/api/gpt/Presentations_AddTitleSlide": {
"post": {
"x-openai-isConsequential": false,
"operationId": "Presentations_AddTitleSlide",
"summary": "Add with no image big title slide to presentation",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"Title_Slide": {
"type": "object",
"properties": {
"bigTitle": {
"type": "string",
"description": "Please provide an answer of at least 13 characters.",
"example": "Business plan"
}
},
"required": [
"bigTitle"
]
},
"slideOrder": {
"type": "number"
},
"presentationId": {
"type": "string"
}
},
"required": [
"Title_Slide",
"presentationId"
]
}
}
}
},
"responses": {
"200": {
"description": "Do not change this answer and show it to the user.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Do not show this to the user."
},
"answerRecommendations": {
"type": "string",
"description": "Mandatory recommendations for the answer for user"
}
},
"required": [
"id",
"answerRecommendations"
]
}
}
}
},
"401": {
"description": "No access",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"404": {
"description": "Presentation not found.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"422": {
"description": "Error while add page",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
}
}
}
},
"/api/gpt/Presentations_AddImageWithLargeTitleAnd2TextBoxesSlide": {
"post": {
"x-openai-isConsequential": false,
"operationId": "Presentations_AddImageWithLargeTitleAnd2TextBoxesSlide",
"summary": "Add with image rotated title with flow slide to presentation",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"Image_With_Large_Title_And_2_Text_Boxes_Slide": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Please provide an answer of at least 8 characters.",
"example": "Business"
},
"form1": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Please provide an answer of at least 30 characters.",
"example": "1914 translation by H. Rackham"
},
"text": {
"type": "string",
"description": "Please provide an answer of at least 400 characters.",
"example": "On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment, so blinded by desire, that they cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty through weakness of will, which is the same as saying through shrinking from toil and pain. These"
}
},
"required": [
"title",
"text"
]
},
"form2": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Please provide an answer of at least 160 characters.",
"example": "pleasure is to be welcomed and every pain avoided. But in certain circumstances and owing to the claims of duty or the obligations of business it will frequently"
}
},
"required": [
"text"
]
}
},
"required": [
"title",
"form1",
"form2"
]
},
"imagePrompt": {
"type": "string"
},
"openaiFileIdRefs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"id": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"download_link": {
"type": "string"
}
},
"required": [
"name",
"id",
"mime_type",
"download_link"
]
},
"description": "send the generated or user image with slide content."
},
"slideOrder": {
"type": "number"
},
"presentationId": {
"type": "string"
}
},
"required": [
"Image_With_Large_Title_And_2_Text_Boxes_Slide",
"imagePrompt",
"presentationId"
]
}
}
}
},
"responses": {
"200": {
"description": "Do not change this answer and show it to the user.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Do not show this to the user."
},
"answerRecommendations": {
"type": "string",
"description": "Mandatory recommendations for the answer for user"
}
},
"required": [
"id",
"answerRecommendations"
]
}
}
}
},
"401": {
"description": "No access",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"404": {
"description": "Presentation not found.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"422": {
"description": "Error while add page",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
}
}
}
},
"/api/gpt/Presentations_AddNoImageTopicWithQuestionSlide": {
"post": {
"x-openai-isConsequential": false,
"operationId": "Presentations_AddNoImageTopicWithQuestionSlide",
"summary": "Add with no image topic with question slide to presentation",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"No_Image_Topic_With_Question": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Please provide an answer of at least 8 characters.",
"example": "Business"
},
"question": {
"type": "string",
"description": "Please provide an answer of at least 20 characters.",
"example": "What is Lorem Ipsum?"
},
"questionTopic": {
"type": "string",
"description": "Please provide an answer of at least 11 characters.",
"example": "Lorem Ipsum"
},
"text": {
"type": "string",
"description": "Please provide an answer of at least 107 characters.",
"example": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry`s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and"
}
},
"required": [
"title",
"question",
"questionTopic",
"text"
]
},
"slideOrder": {
"type": "number"
},
"presentationId": {
"type": "string"
}
},
"required": [
"No_Image_Topic_With_Question",
"presentationId"
]
}
}
}
},
"responses": {
"200": {
"description": "Do not change this answer and show it to the user.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Do not show this to the user."
},
"answerRecommendations": {
"type": "string",
"description": "Mandatory recommendations for the answer for user"
}
},
"required": [
"id",
"answerRecommendations"
]
}
}
}
},
"401": {
"description": "No access",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"404": {
"description": "Presentation not found.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"422": {
"description": "Error while add page",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
}
}
}
},
"/api/gpt/Presentations_AddSlideWithDiagram": {
"post": {
"operationId": "Presentations_AddSlideWithDiagram",
"summary": "Add with no image with diagram slide to presentation",
"x-openai-isConsequential": false,
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"diagramType": {
"type": "string",
"enum": [
"sequenceDiagram",
"mindmap",
"sankey",
"classDiagram",
"timeline",
"flowchart"
]
},
"diagramString": {
"type": "string",
"description": "The string for the chart rendering"
},
"diagramTitle": {
"type": "string",
"description": "The name of the document in which the diagram will be placed. Please provide an answer of at least 13 characters."
},
"presentationId": {
"type": "string"
},
"slideOrder": {
"type": "number"
}
},
"required": [
"diagramType",
"diagramString",
"diagramTitle",
"presentationId"
]
}
}
}
},
"responses": {
"200": {
"description": "Do not change this answer and show it to the user.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Do not show this to the user."
},
"answerRecommendations": {
"type": "string",
"description": "Mandatory recommendations for the answer for user"
}
},
"required": [
"id",
"answerRecommendations"
]
}
}
}
},
"401": {
"description": "No access",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"404": {
"description": "Presentation not found.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"422": {
"description": "Error while rendering the diagram OR Error while add page",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
}
}
}
},
"/api/gpt/Presentations_DeleteSlide": {
"post": {
"x-openai-isConsequential": false,
"operationId": "Presentations_DeleteSlide",
"summary": "delete slide from presentation",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"slideOrders": {
"type": "array",
"items": {
"type": "number"
}
},
"presentationId": {
"type": "string"
}
},
"required": [
"slideOrders",
"presentationId"
]
}
}
}
},
"responses": {
"200": {
"description": "Do not change this answer and show it to the user.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Do not show this to the user."
},
"answerRecommendations": {
"type": "string",
"description": "Mandatory recommendations for the answer for user"
}
},
"required": [
"id",
"answerRecommendations"
]
}
}
}
},
"401": {
"description": "No access",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"404": {
"description": "Presentation not found.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"422": {
"description": "Error while add page",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
}
}
}
},
"/api/gpt/ConsentUser": {
"post": {
"x-openai-isConsequential": false,
"operationId": "post_ConsentUser",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"consent": {
"type": "string",
"enum": [
"not_specified",
"consented",
"declined"
]
}
},
"required": [
"consent"
]
}
}
}
},
"responses": {
"200": {
"description": "User verified for authentication",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
},
"required": [
"message"
]
}
}
}
},
"401": {
"description": "Unauthorized user",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"403": {
"description": "access denied",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"422": {
"description": "Failed processing data",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
}
}
}
}
},
"webhooks": {}
}