Diagrams: UML, Flowcharts by <ShowMe>
Diagrams: UML, Flowcharts by <ShowMe> · Actions GPT
GPT Companion
POST /api/gpt/createGraphDiagramCreate graph diagramPOST /api/gpt/createMindmapDiagramCreate mindmap diagramPOST /api/gpt/createEntityRelationshipDiagramCreate entity-relationship diagramPOST /api/gpt/createSequenceDiagramCreate sequence diagramPOST /api/gpt/createPieChartDiagramCreate pie chart diagramPOST /api/gpt/createTimelineDiagramCreate timeline diagramPOST /api/gpt/createClassDiagramCreate class diagramPOST /api/gpt/getDiagramInstructionsGet syntax instructions for specific diagram type
Schéma original API
{
"openapi": "3.1.0",
"info": {
"title": "GPT Companion",
"version": "1.0"
},
"servers": [
{
"url": "https://blocksandarrows.com",
"description": "Development server"
}
],
"components": {
"schemas": {},
"parameters": {}
},
"paths": {
"/api/gpt/createGraphDiagram": {
"post": {
"summary": "Create graph diagram",
"operationId": "Diagrams_CreateGraph",
"x-openai-isConsequential": false,
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"diagramString": {
"type": "string",
"description": "The string for the chart rendering"
},
"title": {
"type": "string",
"description": "The name of the document in which the diagram will be placed"
},
"diagramColor": {
"type": "string",
"default": "rainbow"
},
"drawStyle": {
"type": "string",
"enum": [
"sketch",
"strict",
"code"
]
},
"diagramInfo": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"useCases": {
"type": "string"
},
"difficulty": {
"type": "string"
},
"industry": {
"type": "string"
},
"tools": {
"type": "string"
},
"category": {
"type": "string"
}
}
}
},
"required": [
"diagramString",
"title",
"diagramInfo"
]
}
}
}
},
"responses": {
"200": {
"description": "Diagram successfully rendered",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"diagramType": {
"type": "string",
"description": "Type of diagram that was created (graph, mindmap, band, etc.)"
},
"title": {
"type": "string",
"description": "Title of the diagram"
},
"previewUrl": {
"type": "string",
"description": "Public PNG URL of the rendered diagram. When present, the user must see the preview — include the markdown image from messageForUser on its own line."
},
"editorUrl": {
"type": "string",
"description": "URL to open the diagram in the drag-and-drop editor. Always show this link to the user."
},
"miroUrl": {
"type": "string",
"description": "Miro board URL when available"
},
"messageForUser": {
"type": "string",
"description": "Exact reply text for the user. Show verbatim, including markdown image syntax, links, and follow-up question. Do not replace URLs or omit the diagram preview line."
}
},
"required": [
"diagramType",
"title",
"editorUrl",
"messageForUser"
]
}
}
}
},
"401": {
"description": "Unauthorized user",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"422": {
"description": "Error while rendering the diagram",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
},
"diagramTypeGuides": {
"type": "string",
"description": "look at these guides related to the current chart type, and try to fix the error"
}
},
"required": [
"errorMessage",
"diagramTypeGuides"
]
}
}
}
}
}
}
},
"/api/gpt/createMindmapDiagram": {
"post": {
"summary": "Create mindmap diagram",
"operationId": "Diagrams_CreateMindmap",
"x-openai-isConsequential": false,
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"diagramString": {
"type": "string",
"description": "The string for the chart rendering"
},
"title": {
"type": "string",
"description": "The name of the document in which the diagram will be placed"
},
"diagramColor": {
"type": "string",
"default": "rainbow"
},
"drawStyle": {
"type": "string",
"enum": [
"sketch",
"strict",
"code"
]
},
"diagramInfo": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"useCases": {
"type": "string"
},
"difficulty": {
"type": "string"
},
"industry": {
"type": "string"
},
"tools": {
"type": "string"
},
"category": {
"type": "string"
}
}
}
},
"required": [
"diagramString",
"title",
"diagramInfo"
]
}
}
}
},
"responses": {
"200": {
"description": "Diagram successfully rendered",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"diagramType": {
"type": "string",
"description": "Type of diagram that was created (graph, mindmap, band, etc.)"
},
"title": {
"type": "string",
"description": "Title of the diagram"
},
"previewUrl": {
"type": "string",
"description": "Public PNG URL of the rendered diagram. When present, the user must see the preview — include the markdown image from messageForUser on its own line."
},
"editorUrl": {
"type": "string",
"description": "URL to open the diagram in the drag-and-drop editor. Always show this link to the user."
},
"miroUrl": {
"type": "string",
"description": "Miro board URL when available"
},
"messageForUser": {
"type": "string",
"description": "Exact reply text for the user. Show verbatim, including markdown image syntax, links, and follow-up question. Do not replace URLs or omit the diagram preview line."
}
},
"required": [
"diagramType",
"title",
"editorUrl",
"messageForUser"
]
}
}
}
},
"401": {
"description": "Unauthorized user",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"422": {
"description": "Error while rendering the diagram",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
},
"diagramTypeGuides": {
"type": "string",
"description": "look at these guides related to the current chart type, and try to fix the error"
}
},
"required": [
"errorMessage",
"diagramTypeGuides"
]
}
}
}
}
}
}
},
"/api/gpt/createEntityRelationshipDiagram": {
"post": {
"summary": "Create entity-relationship diagram",
"operationId": "Diagrams_CreateEntity",
"x-openai-isConsequential": false,
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"diagramString": {
"type": "string",
"description": "The string for the chart rendering"
},
"title": {
"type": "string",
"description": "The name of the document in which the diagram will be placed"
},
"diagramColor": {
"type": "string",
"default": "rainbow"
},
"drawStyle": {
"type": "string",
"enum": [
"sketch",
"strict",
"code"
]
},
"diagramInfo": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"useCases": {
"type": "string"
},
"difficulty": {
"type": "string"
},
"industry": {
"type": "string"
},
"tools": {
"type": "string"
},
"category": {
"type": "string"
}
}
}
},
"required": [
"diagramString",
"title",
"diagramInfo"
]
}
}
}
},
"responses": {
"200": {
"description": "Diagram successfully rendered",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"diagramType": {
"type": "string",
"description": "Type of diagram that was created (graph, mindmap, band, etc.)"
},
"title": {
"type": "string",
"description": "Title of the diagram"
},
"previewUrl": {
"type": "string",
"description": "Public PNG URL of the rendered diagram. When present, the user must see the preview — include the markdown image from messageForUser on its own line."
},
"editorUrl": {
"type": "string",
"description": "URL to open the diagram in the drag-and-drop editor. Always show this link to the user."
},
"miroUrl": {
"type": "string",
"description": "Miro board URL when available"
},
"messageForUser": {
"type": "string",
"description": "Exact reply text for the user. Show verbatim, including markdown image syntax, links, and follow-up question. Do not replace URLs or omit the diagram preview line."
}
},
"required": [
"diagramType",
"title",
"editorUrl",
"messageForUser"
]
}
}
}
},
"401": {
"description": "Unauthorized user",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"422": {
"description": "Error while rendering the diagram",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
},
"diagramTypeGuides": {
"type": "string",
"description": "look at these guides related to the current chart type, and try to fix the error"
}
},
"required": [
"errorMessage",
"diagramTypeGuides"
]
}
}
}
}
}
}
},
"/api/gpt/createSequenceDiagram": {
"post": {
"summary": "Create sequence diagram",
"operationId": "Diagrams_CreateSequence",
"x-openai-isConsequential": false,
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"diagramString": {
"type": "string",
"description": "The string for the chart rendering"
},
"title": {
"type": "string",
"description": "The name of the document in which the diagram will be placed"
},
"diagramColor": {
"type": "string",
"default": "rainbow"
},
"drawStyle": {
"type": "string",
"enum": [
"sketch",
"strict",
"code"
]
},
"diagramInfo": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"useCases": {
"type": "string"
},
"difficulty": {
"type": "string"
},
"industry": {
"type": "string"
},
"tools": {
"type": "string"
},
"category": {
"type": "string"
}
}
}
},
"required": [
"diagramString",
"title",
"diagramInfo"
]
}
}
}
},
"responses": {
"200": {
"description": "Diagram successfully rendered",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"diagramType": {
"type": "string",
"description": "Type of diagram that was created (graph, mindmap, band, etc.)"
},
"title": {
"type": "string",
"description": "Title of the diagram"
},
"previewUrl": {
"type": "string",
"description": "Public PNG URL of the rendered diagram. When present, the user must see the preview — include the markdown image from messageForUser on its own line."
},
"editorUrl": {
"type": "string",
"description": "URL to open the diagram in the drag-and-drop editor. Always show this link to the user."
},
"miroUrl": {
"type": "string",
"description": "Miro board URL when available"
},
"messageForUser": {
"type": "string",
"description": "Exact reply text for the user. Show verbatim, including markdown image syntax, links, and follow-up question. Do not replace URLs or omit the diagram preview line."
}
},
"required": [
"diagramType",
"title",
"editorUrl",
"messageForUser"
]
}
}
}
},
"401": {
"description": "Unauthorized user",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"422": {
"description": "Error while rendering the diagram",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
},
"diagramTypeGuides": {
"type": "string",
"description": "look at these guides related to the current chart type, and try to fix the error"
}
},
"required": [
"errorMessage",
"diagramTypeGuides"
]
}
}
}
}
}
}
},
"/api/gpt/createPieChartDiagram": {
"post": {
"summary": "Create pie chart diagram",
"operationId": "Diagrams_CreatePieChart",
"x-openai-isConsequential": false,
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"diagramString": {
"type": "string",
"description": "The string for the chart rendering"
},
"title": {
"type": "string",
"description": "The name of the document in which the diagram will be placed"
},
"diagramColor": {
"type": "string",
"default": "rainbow"
},
"drawStyle": {
"type": "string",
"enum": [
"sketch",
"strict",
"code"
]
},
"diagramInfo": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"useCases": {
"type": "string"
},
"difficulty": {
"type": "string"
},
"industry": {
"type": "string"
},
"tools": {
"type": "string"
},
"category": {
"type": "string"
}
}
}
},
"required": [
"diagramString",
"title",
"diagramInfo"
]
}
}
}
},
"responses": {
"200": {
"description": "Diagram successfully rendered",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"diagramType": {
"type": "string",
"description": "Type of diagram that was created (graph, mindmap, band, etc.)"
},
"title": {
"type": "string",
"description": "Title of the diagram"
},
"previewUrl": {
"type": "string",
"description": "Public PNG URL of the rendered diagram. When present, the user must see the preview — include the markdown image from messageForUser on its own line."
},
"editorUrl": {
"type": "string",
"description": "URL to open the diagram in the drag-and-drop editor. Always show this link to the user."
},
"miroUrl": {
"type": "string",
"description": "Miro board URL when available"
},
"messageForUser": {
"type": "string",
"description": "Exact reply text for the user. Show verbatim, including markdown image syntax, links, and follow-up question. Do not replace URLs or omit the diagram preview line."
}
},
"required": [
"diagramType",
"title",
"editorUrl",
"messageForUser"
]
}
}
}
},
"401": {
"description": "Unauthorized user",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"422": {
"description": "Error while rendering the diagram",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
},
"diagramTypeGuides": {
"type": "string",
"description": "look at these guides related to the current chart type, and try to fix the error"
}
},
"required": [
"errorMessage",
"diagramTypeGuides"
]
}
}
}
}
}
}
},
"/api/gpt/createTimelineDiagram": {
"post": {
"summary": "Create timeline diagram",
"operationId": "Diagrams_CreateTimeline",
"x-openai-isConsequential": false,
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"diagramString": {
"type": "string",
"description": "The string for the chart rendering"
},
"title": {
"type": "string",
"description": "The name of the document in which the diagram will be placed"
},
"diagramColor": {
"type": "string",
"default": "rainbow"
},
"drawStyle": {
"type": "string",
"enum": [
"sketch",
"strict",
"code"
]
},
"diagramInfo": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"useCases": {
"type": "string"
},
"difficulty": {
"type": "string"
},
"industry": {
"type": "string"
},
"tools": {
"type": "string"
},
"category": {
"type": "string"
}
}
}
},
"required": [
"diagramString",
"title",
"diagramInfo"
]
}
}
}
},
"responses": {
"200": {
"description": "Diagram successfully rendered",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"diagramType": {
"type": "string",
"description": "Type of diagram that was created (graph, mindmap, band, etc.)"
},
"title": {
"type": "string",
"description": "Title of the diagram"
},
"previewUrl": {
"type": "string",
"description": "Public PNG URL of the rendered diagram. When present, the user must see the preview — include the markdown image from messageForUser on its own line."
},
"editorUrl": {
"type": "string",
"description": "URL to open the diagram in the drag-and-drop editor. Always show this link to the user."
},
"miroUrl": {
"type": "string",
"description": "Miro board URL when available"
},
"messageForUser": {
"type": "string",
"description": "Exact reply text for the user. Show verbatim, including markdown image syntax, links, and follow-up question. Do not replace URLs or omit the diagram preview line."
}
},
"required": [
"diagramType",
"title",
"editorUrl",
"messageForUser"
]
}
}
}
},
"401": {
"description": "Unauthorized user",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
}
},
"required": [
"errorMessage"
]
}
}
}
},
"422": {
"description": "Error while rendering the diagram",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
},
"diagramTypeGuides": {
"type": "string",
"description": "look at these guides related to the current chart type, and try to fix the error"
}
},
"required": [
"errorMessage",
"diagramTypeGuides"
]
}
}
}
},
"504": {
"description": "timeout",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
},
"diagramTypeGuides": {
"type": "string",
"description": "look at these guides related to the current chart type, and try to fix the error"
}
},
"required": [
"errorMessage",
"diagramTypeGuides"
]
}
}
}
}
}
}
},
"/api/gpt/createClassDiagram": {
"post": {
"summary": "Create class diagram",
"operationId": "Diagrams_CreateClass",
"x-openai-isConsequential": false,
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"diagramString": {
"type": "string",
"description": "The string for the chart rendering"
},
"title": {
"type": "string",
"description": "The name of the document in which the diagram will be placed"
},
"diagramColor": {
"type": "string",
"default": "rainbow"
},
"drawStyle": {
"type": "string",
"enum": [
"sketch",
"strict",
"code"
]
},
"diagramInfo": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"useCases": {
"type": "string"
},
"difficulty": {
"type": "string"
},
"industry": {
"type": "string"
},
"tools": {
"type": "string"
},
"category": {
"type": "string"
}
}
}
},
"required": [
"diagramString",
"title",
"diagramInfo"
]
}
}
}
},
"responses": {
"200": {
"description": "Diagram successfully rendered",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"diagramType": {
"type": "string",
"description": "Type of diagram that was created (graph, mindmap, band, etc.)"
},
"title": {
"type": "string",
"description": "Title of the diagram"
},
"previewUrl": {
"type": "string",
"description": "Public PNG URL of the rendered diagram. When present, the user must see the preview — include the markdown image from messageForUser on its own line."
},
"editorUrl": {
"type": "string",
"description": "URL to open the diagram in the drag-and-drop editor. Always show this link to the user."
},
"miroUrl": {
"type": "string",
"description": "Miro board URL when available"
},
"messageForUser": {
"type": "string",
"description": "Exact reply text for the user. Show verbatim, including markdown image syntax, links, and follow-up question. Do not replace URLs or omit the diagram preview line."
}
},
"required": [
"diagramType",
"title",
"editorUrl",
"messageForUser"
]
}
}
}
},
"422": {
"description": "Error while rendering the diagram",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"errorMessage": {
"type": "string"
},
"diagramTypeGuides": {
"type": "string",
"description": "look at these guides related to the current chart type, and try to fix the error"
}
},
"required": [
"errorMessage",
"diagramTypeGuides"
]
}
}
}
}
}
}
},
"/api/gpt/getDiagramInstructions": {
"post": {
"summary": "Get syntax instructions for specific diagram type",
"operationId": "Diagrams_GetDiagramInstructions",
"x-openai-isConsequential": false,
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"graph",
"class",
"sequence",
"mindmap",
"timeline",
"entity-relationship",
"pie-chart"
],
"description": "Type of the diagram",
"example": "graph"
}
},
"required": [
"type"
]
}
}
}
},
"responses": {
"200": {
"description": "Syntax instructions for the diagram type",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"instructions": {
"type": "string",
"description": "Detailed syntax instructions and examples for creating this type of diagram"
}
},
"required": [
"instructions"
]
}
}
}
}
}
}
}
},
"webhooks": {}
}GPT Companion
POST /api/gpt/Presentations_CreatePresentationCreating a new presentation with basic information.POST /api/gpt/Presentations_GetPresentationStructureGet presentation informationPOST /api/gpt/Presentations_AddContentWithImageSlideAdd with image and text slide to presentationPOST /api/gpt/Presentations_AddSplitContentLayoutSlideAdd with no image overlay text slide to presentationPOST /api/gpt/Presentations_AddThreeCardsLayoutSlideAdd with no image question cards slide to presentationPOST /api/gpt/Presentations_AddImageGalleryLayoutSlideAdd with triple image slide to presentationPOST /api/gpt/Presentations_AddImageWithListSlideAdd with image and bullet points slide to presentationPOST /api/gpt/Presentations_AddTwoColumnLayoutSlideAdd with image and dual questions slide to presentationPOST /api/gpt/Presentations_AddCoverSlideAdd with no image big title slide to presentationPOST /api/gpt/Presentations_AddFeaturedContentLayoutSlideAdd with image rotated title with flow slide to presentationPOST /api/gpt/Presentations_AddQuestionAnswerLayoutSlideAdd with no image topic with question slide to presentationPOST /api/gpt/Presentations_AddDiagramShowMeAdd with no image with diagram slide to presentationPOST /api/gpt/Presentations_AddDiagramBlArAdd with no image with diagram slide to presentationPOST /api/gpt/Presentations_GetDiagramInstructionsGet diagram syntax documentation for specific diagram typePOST /api/gpt/Presentations_DeleteSlidedelete slide from presentationPOST /api/gpt/ConsentUserpost_rR
Schéma original API
{
"openapi": "3.1.0",
"info": {
"title": "GPT Companion",
"version": "1.0"
},
"servers": [
{
"url": "https://slidebyslide.ai",
"description": "Development server"
}
],
"components": {
"schemas": {},
"parameters": {}
},
"paths": {
"/api/gpt/Presentations_CreatePresentation": {
"post": {
"x-openai-isConsequential": false,
"operationId": "Presentations_CreatePresentation",
"summary": "Creating a new presentation with basic information.",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"presentationName": {
"type": "string"
},
"style": {
"type": "string",
"enum": [
"Default",
"Modern",
"Digital",
"Dark"
]
},
"description": {
"type": "string",
"description": "A detailed description of the presentation content and purpose"
},
"keywords": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of keywords that describe the topic of the presentation"
}
},
"required": [
"presentationName",
"style",
"description",
"keywords"
]
}
}
}
},
"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 creating 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_AddContentWithImageSlide": {
"post": {
"x-openai-isConsequential": false,
"operationId": "Presentations_AddContentWithImageSlide",
"summary": "Add with image and text slide to presentation",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"Content_With_Image": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Please provide an answer of at least 36 characters."
},
"subTitle1": {
"type": "string",
"description": "Please provide an answer of at least 23 characters."
},
"paragraph1": {
"type": "string",
"description": "Please provide an answer of at least 150 characters."
},
"subTitle2": {
"type": "string",
"description": "Please provide an answer of at least 23 characters."
},
"paragraph2": {
"type": "string",
"description": "Please provide an answer of at least 150 characters."
},
"subTitle3": {
"type": "string",
"description": "Please provide an answer of at least 23 characters."
},
"paragraph3": {
"type": "string",
"description": "Please provide an answer of at least 150 characters."
},
"speakerNotes": {
"type": "string",
"description": "Notes for the presenter about what to say during this slide"
}
},
"required": [
"title",
"subTitle1",
"paragraph1",
"subTitle2",
"paragraph2",
"subTitle3",
"paragraph3",
"speakerNotes"
]
},
"imagePrompt": {
"type": "string"
},
"slideOrder": {
"type": "number"
},
"presentationId": {
"type": "string"
}
},
"required": [
"Content_With_Image",
"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_AddSplitContentLayoutSlide": {
"post": {
"x-openai-isConsequential": false,
"operationId": "Presentations_AddSplitContentLayoutSlide",
"summary": "Add with no image overlay text slide to presentation",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"Split_Content_Layout": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Please provide an answer of at least 14 characters."
},
"subTitle": {
"type": "string",
"description": "Please provide an answer of at least 35 characters."
},
"text": {
"type": "string",
"description": "Please provide an answer of at least 150 characters."
},
"speakerNotes": {
"type": "string",
"description": "Notes for the presenter about what to say during this slide"
}
},
"required": [
"title",
"subTitle",
"text",
"speakerNotes"
]
},
"imagePrompt": {
"type": "string"
},
"slideOrder": {
"type": "number"
},
"presentationId": {
"type": "string"
}
},
"required": [
"Split_Content_Layout",
"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_AddThreeCardsLayoutSlide": {
"post": {
"x-openai-isConsequential": false,
"operationId": "Presentations_AddThreeCardsLayoutSlide",
"summary": "Add with no image question cards slide to presentation",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"Three_Cards_Layout": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Please provide an answer of at least 14 characters."
},
"form1": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Please provide an answer of at least 20 characters."
},
"text": {
"type": "string",
"description": "Please provide an answer of at least 205 characters."
}
},
"required": [
"title",
"text"
]
},
"form2": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Please provide an answer of at least 20 characters."
},
"text": {
"type": "string",
"description": "Please provide an answer of at least 205 characters."
}
},
"required": [
"title",
"text"
]
},
"form3": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Please provide an answer of at least 20 characters."
},
"text": {
"type": "string",
"description": "Please provide an answer of at least 205 characters."
}
},
"required": [
"title",
"text"
]
},
"speakerNotes": {
"type": "string",
"description": "Notes for the presenter about what to say during this slide"
}
},
"required": [
"title",
"form1",
"form2",
"form3",
"speakerNotes"
]
},
"slideOrder": {
"type": "number"
},
"presentationId": {
"type": "string"
}
},
"required": [
"Three_Cards_Layout",
"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_AddImageGalleryLayoutSlide": {
"post": {
"x-openai-isConsequential": false,
"operationId": "Presentations_AddImageGalleryLayoutSlide",
"summary": "Add with triple image slide to presentation",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"Image_Gallery_Layout": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Please provide an answer of at least 5 characters."
},
"text": {
"type": "string",
"description": "Please provide an answer of at least 400 characters."
},
"speakerNotes": {
"type": "string",
"description": "Notes for the presenter about what to say during this slide"
}
},
"required": [
"title",
"text",
"speakerNotes"
]
},
"imagePrompt": {
"type": "string"
},
"slideOrder": {
"type": "number"
},
"presentationId": {
"type": "string"
}
},
"required": [
"Image_Gallery_Layout",
"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_AddImageWithListSlide": {
"post": {
"x-openai-isConsequential": false,
"operationId": "Presentations_AddImageWithListSlide",
"summary": "Add with image and bullet points slide to presentation",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"Image_With_List": {
"type": "object",
"properties": {
"tableTitle": {
"type": "string",
"description": "Please provide an answer of at least 17 characters."
},
"tabularItem1": {
"type": "string",
"description": "Please provide an answer of at least 13 characters."
},
"tabularItem2": {
"type": "string",
"description": "Please provide an answer of at least 13 characters."
},
"tabularItem3": {
"type": "string",
"description": "Please provide an answer of at least 13 characters."
},
"tabularItem4": {
"type": "string",
"description": "Please provide an answer of at least 13 characters."
},
"tabularItem5": {
"type": "string",
"description": "Please provide an answer of at least 20 characters."
},
"speakerNotes": {
"type": "string",
"description": "Notes for the presenter about what to say during this slide"
}
},
"required": [
"tableTitle",
"tabularItem1",
"tabularItem2",
"tabularItem3",
"tabularItem4",
"tabularItem5",
"speakerNotes"
]
},
"imagePrompt": {
"type": "string"
},
"slideOrder": {
"type": "number"
},
"presentationId": {
"type": "string"
}
},
"required": [
"Image_With_List",
"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_AddTwoColumnLayoutSlide": {
"post": {
"x-openai-isConsequential": false,
"operationId": "Presentations_AddTwoColumnLayoutSlide",
"summary": "Add with image and dual questions slide to presentation",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"Two_Column_Layout": {
"type": "object",
"properties": {
"question1": {
"type": "string",
"description": "Please provide an answer of at least 24 characters."
},
"question2": {
"type": "string",
"description": "Please provide an answer of at least 24 characters."
},
"text1": {
"type": "string",
"description": "Please provide an answer of at least 140 characters."
},
"text2": {
"type": "string",
"description": "Please provide an answer of at least 150 characters."
},
"speakerNotes": {
"type": "string",
"description": "Notes for the presenter about what to say during this slide"
}
},
"required": [
"question1",
"question2",
"text1",
"text2",
"speakerNotes"
]
},
"imagePrompt": {
"type": "string"
},
"slideOrder": {
"type": "number"
},
"presentationId": {
"type": "string"
}
},
"required": [
"Two_Column_Layout",
"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_AddCoverSlide": {
"post": {
"x-openai-isConsequential": false,
"operationId": "Presentations_AddCoverSlide",
"summary": "Add with no image big title slide to presentation",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"Cover_Slide": {
"type": "object",
"properties": {
"bigTitle": {
"type": "string",
"description": "Please provide an answer of at least 13 characters."
},
"speakerNotes": {
"type": "string",
"description": "Notes for the presenter about what to say during this slide"
}
},
"required": [
"bigTitle",
"speakerNotes"
]
},
"slideOrder": {
"type": "number"
},
"presentationId": {
"type": "string"
}
},
"required": [
"Cover_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_AddFeaturedContentLayoutSlide": {
"post": {
"x-openai-isConsequential": false,
"operationId": "Presentations_AddFeaturedContentLayoutSlide",
"summary": "Add with image rotated title with flow slide to presentation",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"Featured_Content_Layout": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Please provide an answer of at least 8 characters."
},
"form1": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Please provide an answer of at least 30 characters."
},
"text": {
"type": "string",
"description": "Please provide an answer of at least 400 characters."
}
},
"required": [
"title",
"text"
]
},
"form2": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Please provide an answer of at least 150 characters."
}
},
"required": [
"text"
]
},
"speakerNotes": {
"type": "string",
"description": "Notes for the presenter about what to say during this slide"
}
},
"required": [
"title",
"form1",
"form2",
"speakerNotes"
]
},
"imagePrompt": {
"type": "string"
},
"slideOrder": {
"type": "number"
},
"presentationId": {
"type": "string"
}
},
"required": [
"Featured_Content_Layout",
"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_AddQuestionAnswerLayoutSlide": {
"post": {
"x-openai-isConsequential": false,
"operationId": "Presentations_AddQuestionAnswerLayoutSlide",
"summary": "Add with no image topic with question slide to presentation",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"Question_Answer_Layout": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Please provide an answer of at least 8 characters."
},
"question": {
"type": "string",
"description": "Please provide an answer of at least 20 characters."
},
"questionTopic": {
"type": "string",
"description": "Please provide an answer of at least 11 characters."
},
"text": {
"type": "string",
"description": "Please provide an answer of at least 107 characters."
},
"speakerNotes": {
"type": "string",
"description": "Notes for the presenter about what to say during this slide"
}
},
"required": [
"title",
"question",
"questionTopic",
"text",
"speakerNotes"
]
},
"slideOrder": {
"type": "number"
},
"presentationId": {
"type": "string"
}
},
"required": [
"Question_Answer_Layout",
"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_AddDiagramShowMe": {
"post": {
"operationId": "Presentations_AddDiagramShowMe",
"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."
},
"speakerNotes": {
"type": "string",
"description": "Notes for the presenter about what to say during this slide"
},
"presentationId": {
"type": "string"
},
"slideOrder": {
"type": "number"
}
},
"required": [
"diagramType",
"diagramString",
"diagramTitle",
"speakerNotes",
"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_AddDiagramBlAr": {
"post": {
"operationId": "Presentations_AddDiagramBlAr",
"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": [
"graph",
"class",
"sequence",
"mindmap",
"timeline",
"entity-relationship",
"pie-chart"
]
},
"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."
},
"speakerNotes": {
"type": "string",
"description": "Notes for the presenter about what to say during this slide"
},
"presentationId": {
"type": "string"
},
"slideOrder": {
"type": "number"
},
"diagramColor": {
"type": "string",
"description": "Color scheme for the diagram, defaults to \"rainbow\""
},
"drawStyle": {
"type": "string",
"description": "Drawing style for the diagram"
}
},
"required": [
"diagramType",
"diagramString",
"diagramTitle",
"speakerNotes",
"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_GetDiagramInstructions": {
"post": {
"operationId": "Presentations_GetDiagramInstructions",
"summary": "Get diagram syntax documentation for specific diagram type",
"x-openai-isConsequential": false,
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"diagramType": {
"type": "string",
"enum": [
"graph",
"class",
"sequence",
"mindmap",
"timeline",
"entity-relationship",
"pie-chart"
]
}
},
"required": [
"diagramType"
]
}
}
}
},
"responses": {
"200": {
"description": "Diagram syntax documentation",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"instructions": {
"type": "string",
"description": "Syntax documentation for the requested diagram type"
}
},
"required": [
"instructions"
]
}
}
}
},
"400": {
"description": "Invalid or unsupported diagram type",
"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_rR",
"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": {}
}