Holiday Lookup GPT
Holiday Lookup GPT · GPT-Aktionen
OpenAPI
POST /action/searchAction Search HolidaypostAn asynchronous function that handles POST requests to the "/action/search" endpoint.
Ursprüngliches API-Schema
{
"openapi": "3.0.2",
"info": {
"title": "OpenAPI",
"version": "3.1.0"
},
"paths": {
"/action/search": {
"post": {
"summary": "Action Search Holidaypost",
"description": "An asynchronous function that handles POST requests to the \"/action/search\" endpoint.",
"operationId": "action_search_post",
"x-openai-isConsequential": false,
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HolidayObject"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
},
"security": [
{
"HTTPBearer": []
}
]
}
}
},
"components": {
"schemas": {
"HTTPValidationError": {
"title": "HTTPValidationError",
"type": "object",
"properties": {
"detail": {
"title": "Detail",
"type": "array",
"items": {
"$ref": "#/components/schemas/ValidationError"
}
}
}
},
"HolidayObject": {
"title": "HolidayObject",
"type": "object",
"properties": {
"cc": {
"title": "Cc",
"type": "string"
},
"date": {
"title": "Date",
"type": "string"
},
"year": {
"title": "Year",
"type": "integer"
},
"name": {
"title": "Name",
"type": "string"
},
"type": {
"title": "Type",
"type": "string"
},
"start_date": {
"title": "Start Date",
"type": "string"
},
"end_date": {
"title": "End Date",
"type": "string"
}
}
},
"ValidationError": {
"title": "ValidationError",
"required": [
"loc",
"msg",
"type"
],
"type": "object",
"properties": {
"loc": {
"title": "Location",
"type": "array",
"items": {
"type": "string"
}
},
"msg": {
"title": "Message",
"type": "string"
},
"type": {
"title": "Error Type",
"type": "string"
}
}
}
},
"securitySchemes": {
"HTTPBearer": {
"type": "http",
"scheme": "bearer"
}
}
},
"servers": [
{
"url": "https://api.holidaylookup.com"
}
]
}