AmmanGPT
AmmanGPT · GPT 작업
Restaurant Listing Action
This action provides a list of restaurants with details such as name, Google Maps link, cuisine type, and description.
GET /list-restaurantsList RestaurantsRetrieves a list of restaurants with their details.
GET /list-eventsList EventsRetrieves a list of current events happening in Amman.
원본 API 스키마
{
"openapi": "3.1.0",
"info": {
"title": "Restaurant Listing Action",
"description": "This action provides a list of restaurants with details such as name, Google Maps link, cuisine type, and description.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://amman-gpt.com/api",
"description": "Base URL for the action API"
}
],
"paths": {
"/list-restaurants": {
"get": {
"summary": "List Restaurants",
"description": "Retrieves a list of restaurants with their details.",
"operationId": "listRestaurants",
"responses": {
"200": {
"description": "A list of restaurants",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the restaurant"
},
"maps_link": {
"type": "string",
"format": "uri",
"description": "Google Maps link for the restaurant"
},
"cuisine": {
"type": "array",
"description": "Type of cuisine the restaurant serves"
},
"description": {
"type": "string",
"description": "Brief description of the restaurant"
},
"opening_hours": {
"type": "string",
"description": "Opening hours of the restaurant"
},
"menuitem_set": {
"type": "array",
"description": "A list of items/dishes in the restaurant menu"
}
}
}
}
}
}
}
}
}
},
"/list-events": {
"get": {
"summary": "List Events",
"description": "Retrieves a list of current events happening in Amman.",
"operationId": "listEvents",
"responses": {
"200": {
"description": "A list of Events in Amman",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"event_title": {
"type": "string",
"description": "Title or the name of the event"
},
"event_date": {
"type": "string",
"description": "Date of the event (From-To)"
},
"event_time": {
"type": "array",
"description": "Times of the event (From-To)"
},
"description": {
"type": "string",
"description": "Brief description of the event"
},
"event_organizers": {
"type": "string",
"description": "Organizers of the event"
},
"event_location": {
"type": "string",
"description": "Name of the location and a URL of google maps to the location"
},
"booking_link": {
"type": "uri",
"description": "A link to book a ticket or reserve a spot for the event"
},
"social_media_links": {
"type": "array",
"description": "A list of social media links related to the event or other links needed for the event."
}
}
}
}
}
}
}
}
}
}
}
}