TriviaGPT
TriviaGPT · GPT Actions
Quiz Api
Interact with quizsets
GET /questionGetQuestionRetrieves a new Question
原始 API 定义
{
"openapi": "3.1.0",
"info": {
"title": "Quiz Api",
"description": "Interact with quizsets",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://quizdb.tsell.dev/api"
}
],
"paths": {
"/question": {
"get": {
"description": "Retrieves a new Question",
"operationId": "GetQuestion",
"parameters": [
{
"name": "difficulty",
"in": "query",
"description": "Difficulty of the question (1-15, where 1 is easy and 15 the hardest)",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "quizset",
"in": "query",
"description": "Always send the quizset en-general",
"required": true,
"schema": {
"type": "string"
}
}
],
"deprecated": false
}
}
},
"components": {
"schemas": {}
}
}