OAI November 6 2023 Release Expert

OAI November 6 2023 Release Expert · Acciones GPT

OpenAI Enhancements Documentation - After November 6, 2023

Provides API access to curated, detailed and updated documentation, necessary for GPT to assist Developers and Builders working with the latest OpenAI enhancements, including the Assistants API, Custom User-Built GPTs, GPT-4-Turbo with Vision, etc.

  • GET /node/{node_id}Retrieve Node and its Descendants

    Retrieves detailed information on given OpenAI topic, represented in a hierarchical JSON structure.

Esquema original API
{
    "openapi": "3.1.0",
    "info": {
        "title": "OpenAI Enhancements Documentation - After November 6, 2023",
        "description": "Provides API access to curated, detailed and updated documentation, necessary for GPT to assist Developers and Builders working with the latest OpenAI enhancements, including the Assistants API, Custom User-Built GPTs, GPT-4-Turbo with Vision, etc.",
        "version": "v1.0.0"
    },
    "servers": [
        {
            "url": "https://oai-dev-docs.onrender.com"
        }
    ],
    "paths": {
        "/node/{node_id}": {
            "get": {
                "summary": "Retrieve Node and its Descendants",
                "description": "Retrieves detailed information on given OpenAI topic, represented in a hierarchical JSON structure.",
                "operationId": "getNodeWithDescendants",
                "parameters": [
                    {
                        "name": "node_id",
                        "in": "path",
                        "description": "The ID of the node to retrieve",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Node and its children fetched successfully",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/NodeContent"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized, API key invalid or missing"
                    },
                    "404": {
                        "description": "Node not found."
                    }
                },
                "security": [
                    {
                        "ApiKeyAuth": []
                    }
                ]
            }
        }
    },
    "components": {
        "securitySchemes": {
            "ApiKeyAuth": {
                "type": "apiKey",
                "in": "header",
                "name": "X-API-KEY"
            }
        },
        "schemas": {
            "NodeContent": {
                "type": "object",
                "properties": {
                    "content": {
                        "type": "string"
                    },
                    "children": {
                        "type": "object",
                        "additionalProperties": {
                            "$ref": "#/components/schemas/NodeContent"
                        }
                    }
                }
            }
        }
    }
}